]> sourceware.org Git - glibc.git/blame - ChangeLog
Consolidate sin/cos table lookup code
[glibc.git] / ChangeLog
CommitLineData
5eea0404
SP
12013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2
b348e1e3
SP
3 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4 macro.
5 (__sin): Use it.
6 (__cos): Likewise.
7 (slow1): Likewise.
8 (slow2): Likewise.
9 (sloww1): Likewise.
10 (sloww2): Likewise.
11 (bsloww1): Likewise.
12 (bsloww2): Likewise.
13 (cslow2): Likewise.
14 (csloww1): Likewise.
15 (csloww2): Likewise.
16
6cce25f8
SP
17 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18 function.
19 (__sin): Use it.
20 (__cos): Likewise.
21
5eea0404
SP
22 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23 gotos.
24 (__cos): Likewise.
25
9c21573c
MR
262013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27
28 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33 * elf/cache.c (print_entry): Handle the new cache flags.
34
24d22e65
JM
352013-09-18 Joseph Myers <joseph@codesourcery.com>
36 Aldy Hernandez <aldyh@redhat.com>
37
38 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39 Change condition to [_SOFT_FLOAT].
40 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
49 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
51 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
55 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56 declaration.
57
d13ef066
JM
582013-09-18 Joseph Myers <joseph@codesourcery.com>
59
2e071de0
JM
60 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62 (__longjmp): Use LOAD_GP to load saved GPRs.
63 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
64 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
65 (__sigsetjmp): Use SAVE_GP to save GPRs.
66
d13ef066
JM
67 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
68 Do not append -msoft-float.
69 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
70
97a0650b
SP
712013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
72
73 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
74
11ca09e9
JM
752013-09-17 Joseph Myers <joseph@codesourcery.com>
76
77 [BZ #15966]
78 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
79 (_FPU_GETCW): Use initial "__" on variable and field names but not
80 on macro parameter name.
81 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
82 parentheses around reference to macro parameter.
83
08ffcf34
RS
842013-09-13 Richard Sandiford <richard@codesourcery.com>
85
86 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
87 prototype.
88 (ctype_startup): Use uint32_t in cast and sizeof for
89 ctype->charnames.
90
ae7080d3
JL
912013-09-11 Jia Liu <proljc@gmail.com>
92
93 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
94 __daddr_t_defined.
95 [__FreeBSD__]: Likewise.
96
5905e7b3
OB
972013-09-11 Ondřej Bílka <neleai@seznam.cz>
98
99 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
100 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
101 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
102 (strchr): Remove __strchr_sse42 ifunc selection.
103 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
104 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
105
b987c776
WN
1062013-09-11 Will Newton <will.newton@linaro.org>
107
108 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
109 parameter to RES. Remove hardcoded 1000 value.
110 * benchtests/bench-skeleton.c (main): Pass RES parameter
111 to TIMING_INIT and multiply result by 1000.
112
ddf985af
AZ
1132013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114
115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
116
ffdd3181
AS
1172013-09-11 Andreas Schwab <schwab@suse.de>
118
119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
120 if not defined.
121 (O_TMPFILE) [__USE_GNU]: Define.
122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
123 Define.
124
b73ed247
WN
1252013-09-11 Will Newton <will.newton@linaro.org>
126
127 [BZ #15857]
128 * malloc/malloc.c (__libc_memalign): Check the value of bytes
129 does not overflow.
130
55e17aad
WN
1312013-09-11 Will Newton <will.newton@linaro.org>
132
133 [BZ #15856]
134 * malloc/malloc.c (__libc_valloc): Check the value of bytes
135 does not overflow.
136
1159a193
WN
1372013-09-11 Will Newton <will.newton@linaro.org>
138
139 [BZ #15855]
140 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
141 does not overflow.
142
5905e7b3 1432013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
144
145 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
146 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
147 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
150
cdfc721b
AM
1512013-09-10 Allan McRae <allan@archlinux.org>
152
aa04af00
AM
153 [BZ #15748]
154 * manual/arith.texi (Parsing of Floats): Clarify
155 cross-reference.
156
cdfc721b
AM
157 [BZ #15849]
158 * manual/install.texi (Running make install): Mention
159 --enable-pt-chown.
160 * INSTALL: Regenerated.
161
95e7cf29
MR
1622013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
163
164 * csu/init-first.c (_init): Remove the !SHARED condition around
165 FPU control word initialization.
166 * elf/dl-support.c (_dl_fpu_control): New variable.
167 (_dl_aux_init) <AT_FPUCW>: Initialize it.
168 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
169 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
170 * math/test-fpucw-static.c: New file.
171 * math/test-fpucw-ieee.c: New file.
172 * math/test-fpucw-ieee-static.c: New file.
173 * math/Makefile (tests): Add `test-fpucw-ieee' and
174 `$(tests-static)'.
175 (tests-static): New variable.
176 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
177 dependency to...
178 [($(build-shared),yes)]
179 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
180 ... this.
181 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
182 New dependency.
183
83e43bf0
AM
1842013-09-09 Allan McRae <allan@archlinux.org>
185
a9f5ce09
AM
186 [BZ #15939]
187 * manual/string.texi (Collation Functions): Fix typo in
188 strcoll example.
189 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
190
34829bc2
AM
191 [BZ #15893]
192 * stdlib/isomac.c (get_null_defines): Fix memory leak.
193
3932737d
AM
194 [BZ #15892]
195 * libio/memstream.c (open_memstream): Fix memory leak.
196 * libio/wmemstream.c (open_wmemstream): Likewise.
197
83e43bf0
AM
198 [BZ #15895]
199 * nscd/netgroupcache.c: Fix nesting of ifdefs.
200
0c66b8e9
WN
2012013-09-09 Will Newton <will.newton@linaro.org>
202
203 * malloc/Makefile: Add tst-realloc to tests.
204 * malloc/tst-realloc.c: New file.
205
f6b00fd1
AM
2062013-09-09 Allan McRae <allan@archlinux.org>
207
208 [BZ #15844]
209 * COPYING: Update from GNU website to fix FSF address.
210 * COPYING.LIB: Likewise.
211
eec55e16
DM
2122013-09-06 David S. Miller <davem@davemloft.net>
213
214 * po/zh_TW.po: Update Chinese (traditional) translation from
215 translation project.
216
1ecbb381
RS
2172013-09-06 Richard Sandiford <richard@codesourcery.com>
218 Joseph Myers <joseph@codesourcery.com>
219
220 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
221 "localeinfo.h".
222 (obstack_chunk_alloc): New macro.
223 (obstack_chunk_free): Likewise.
224 (record_offset): New function.
225 (init_locale_data): Likewise.
226 (align_locale_data): Likewise.
227 (add_locale_empty): Likewise.
228 (add_locale_raw_data): Likewise.
229 (add_locale_raw_obstack): Likewise.
230 (add_locale_string): Likewise.
231 (add_locale_wstring): Likewise.
232 (add_locale_uint32): Likewise.
233 (add_locale_uint32_array): Likewise.
234 (add_locale_char): Likewise.
235 (start_locale_structure): Likewise.
236 (end_locale_structure): Likewise.
237 (start_locale_prelude): Likewise.
238 (end_locale_prelude): Likewise.
239 (write_locale_data): Take locale_file structure rather than an
240 iovec.
241 * locale/programs/locfile.h: Include "obstack.h".
242 (struct locale_file): Change to store locale file contents instead
243 of header.
244 (init_locale_data): New prototype.
245 (align_locale_data): Likewise.
246 (add_locale_empty): Likewise.
247 (add_locale_raw_data): Likewise.
248 (add_locale_raw_obstack): Likewise.
249 (add_locale_string): Likewise.
250 (add_locale_wstring): Likewise.
251 (add_locale_uint32): Likewise.
252 (add_locale_uint32_array): Likewise.
253 (add_locale_char): Likewise.
254 (start_locale_structure): Likewise.
255 (end_locale_structure): Likewise.
256 (start_locale_prelude): Likewise.
257 (end_locale_prelude): Likewise.
258 (write_locale_data): Update prototype.
259 * locale/programs/3level.h (struct TABLE): Remove result field.
260 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
261 Use new locale_file interface.
262 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
263 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
264 * locale/programs/ld-address.c (address_output): Use new
265 locale_file interface.
266 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
267 NO_ADD_LOCALE.
268 (collate_finish): Don't call collseq_table_finalize.
269 (collate_output): Use new locale_file interface.
270 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
271 in file.
272 (NO_FINALIZE): Change to NO_ADD_LOCALE.
273 (TABLE): Move defines earlier in file.
274 (ELEMENT): Likewise.
275 (DEFAULT): Likewise.
276 (wctrans_table_add): Move macro and inline function earlier in
277 file.
278 (struct wctype_table): Move type earlier in file.
279 (add_locale_wctype_table): New static prototype.
280 (struct locale_ctype_t): Use logical types instead of struct iovec
281 pointers for members.
282 (ctype_output): Use new locale_file interface.
283 (wctype_table_finalize): Change to add_locale_wctype_table. Use
284 new locale_file interface.
285 (allocate_arrays): Update for use of new locale_file interface.
286 * locale/programs/ld-identification.c (identification_output): Use
287 new locale_file interface.
288 * locale/programs/ld-measurement.c (measurement_output): Likewise.
289 * locale/programs/ld-messages.c (messages_output): Likewise.
290 * locale/programs/ld-monetary.c (monetary_output): Likewise.
291 * locale/programs/ld-name.c (name_output): Likewise.
292 * locale/programs/ld-numeric.c (numeric_output): Likewise.
293 * locale/programs/ld-paper.c (paper_output): Likewise.
294 * locale/programs/ld-telephone.c (telephone_output): Likewise.
295 * locale/programs/ld-time.c (time_output): Likewise.
296
e029e2e5
AZ
2972013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
298
299 * benchtests/Makefile: Add memrchr benchmark.
300 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
301 benchmark as memrchr.
302 * benchtests/bench-memrchr-ifunc.c: New file.
303 * benchtests/bench-memrchr.c: New file.
304
bbf6e8e4
WN
3052013-09-06 Will Newton <will.newton@linaro.org>
306
307 * benchtests/Makefile (string-bench): Add memcpy.
308
6c82a2f8
CD
3092013-09-05 Carlos O'Donell <carlos@redhat.com>
310 Cong Wang <amwang@redhat.com>
311
312 * sysdeps/unix/sysv/linux/bits/in.h
313 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
314 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
315 before __USE_KERNEL_IPV6_DEFS uses.
316 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
317 IPPROTO_BEETPH.
318 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
319 sockaddr_in6, or ipv6_mreq.
320
5430fc65
AZ
3212013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
322
323 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
324 memory access for final bytes in some large inputs.
325 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
326
4660856c
AZ
3272013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
328
329 * string/test-memrchr.c: New file.
330 * string/test-memrchr-ifunc.c: New file.
331 * string/Makefile: Add new memrchr testcase.
332
bb8ea713
MF
3332013-09-05 Mike Frysinger <vapier@gentoo.org>
334
335 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
336 fanotify_init returns EPERM.
337
b92a20b5
JM
3382013-09-04 Joseph Myers <joseph@codesourcery.com>
339
340 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
341 errors.
342 (top level): Treat second token from macro or constant entries for
343 allowed headers as allowed.
344 * include/complex.h: Condition internal declarations on
345 [!_ISOMAC].
346 * include/fenv.h: Condition include of <stdbool.h> and internal
347 declarations on [!_ISOMAC].
7447ccd9
CL
348
3492013-09-04 Chris Leonard <cjl@sugarlabs,.org>
350
351 [BZ #15923]
352 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
353
3f2e46a4
JM
3542013-09-04 Joseph Myers <joseph@codesourcery.com>
355
356 * configure.in (--enable-versioning): Remove configure option.
357 (libc_cv_asm_symver_directive): Remove configure test.
358 (libc_cv_ld_version_script_option): Likewise.
359 (VERSIONING): Remove variable and AC_SUBST.
360 (DO_VERSIONING): Remove AC_DEFINE.
361 * configure: Regenerated.
362 * config.h.in (DO_VERSIONING): Remove macro.
363 * Makerules [$(versioning) = yes]: Change conditionals to
364 [$(build-shared) = yes].
365 * config.make.in (versioning): Remove variable.
366 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
367 [$(build-shared) = yes].
368 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
369 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
370 * elf/Makefile [$(versioning) = yes]: Change conditionals to
371 [$(build-shared) = yes].
372 * extra-lib.mk [$(versioning) = yes]: Likewise.
373 * hurd/Makefile [$(versioning) = yes]: Likewise.
374 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
375 [SHARED].
376 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
377 [SHARED].
378 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
379 [SHARED && !NO_HIDDEN].
380 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
381 [SHARED].
382 [SHARED && DO_VERSIONING]: Likewise..
383 * libio/Makefile [$(versioning) = yes]: Change conditionals to
384 [$(build-shared) = yes].
385 * manual/install.texi (--disable-versioning): Remove
386 documentation.
387 * INSTALL: Regenerated.
388 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
389 to [SHARED].
390 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
391 [$(build-shared) = yes].
392 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
393 * sysdeps/i386/i686/multiarch/strstr-c.c
394 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
395 [SHARED && !NO_HIDDEN].
396 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
397 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
398 * sysdeps/powerpc/powerpc32/dl-machine.c
399 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
400 * sysdeps/powerpc/powerpc32/sysdep.h
401 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
402 to [SHARED && PIC && !NO_HIDDEN].
403 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
404 conditional to [SHARED].
405
44558701
WN
4062013-09-04 Will Newton <will.newton@linaro.org>
407
408 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
409 * benchtests/bench-string.h: Include bench-timing.h instead
410 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
411 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
412 call to HP_TIMING_DIFF_INIT.
413 * benchtests/bench-memccpy.c: Use bench-timing.h macros
414 instead of hp-timing.h macros.
415 * benchtests/bench-memchr.c: Likewise.
416 * benchtests/bench-memcmp.c: Likewise.
417 * benchtests/bench-memcpy.c: Likewise.
418 * benchtests/bench-memmem.c: Likewise.
419 * benchtests/bench-memmove.c: Likewise.
420 * benchtests/bench-memset.c: Likewise.
421 * benchtests/bench-rawmemchr.c: Likewise.
422 * benchtests/bench-strcasecmp.c: Likewise.
423 * benchtests/bench-strcasestr.c: Likewise.
424 * benchtests/bench-strcat.c: Likewise.
425 * benchtests/bench-strchr.c: Likewise.
426 * benchtests/bench-strcmp.c: Likewise.
427 * benchtests/bench-strcpy.c: Likewise.
428 * benchtests/bench-strcpy_chk.c: Likewise.
429 * benchtests/bench-strlen.c: Likewise.
430 * benchtests/bench-strncasecmp.c: Likewise.
431 * benchtests/bench-strncat.c: Likewise.
432 * benchtests/bench-strncmp.c: Likewise.
433 * benchtests/bench-strncpy.c: Likewise.
434 * benchtests/bench-strnlen.c: Likewise.
435 * benchtests/bench-strpbrk.c: Likewise.
436 * benchtests/bench-strrchr.c: Likewise.
437 * benchtests/bench-strspn.c: Likewise.
438 * benchtests/bench-strstr.c: Likewise.
439
cae16d66
WN
4402013-09-04 Will Newton <will.newton@linaro.org>
441
442 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
443
ffa3cd7f
JM
4442013-09-03 Joseph Myers <joseph@codesourcery.com>
445
446 [BZ #15427]
447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
448 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
449 * math/libm-test.inc (lgamma_test_data): Add more tests.
450 * sysdeps/i386/fpu/libm-test-ulps: Update.
451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
452
8f02859f
OB
4532013-09-03 Ondřej Bílka <neleai@seznam.cz>
454
455 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
457 Add ifunc.
458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
459 Add strcmp-sse2-unaligned
460 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
461
18d43716
MF
4622013-09-02 Mike Frysinger <vapier@gentoo.org>
463
464 * Versions.def (libc): Add GLIBC_2.19.
465
ac444012
MF
4662013-09-02 Mike Frysinger <vapier@gentoo.org>
467
468 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
469 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
470
b7835e32
JM
4712013-09-02 Joseph Myers <joseph@codesourcery.com>
472
473 [BZ #14155]
474 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
475 intermediate calculations in recurrence.
476 (__ieee754_ynf): Likewise.
477 * math/libm-test.inc (jn_test_data): Do not allow spurious
478 underflow exception. Add more tests.
479 (yn_test_data): Add more tests.
480 * sysdeps/i386/fpu/libm-test-ulps: Update.
481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
482
8220f4f0
OB
4832013-09-02 Ondřej Bílka <neleai@seznam.cz>
484
485 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
486
f24a6d08
OB
4872013-08-30 Ondřej Bílka <neleai@seznam.cz>
488
489 * csu/init-first.c: Fix then/than typos.
490 * locale/programs/ld-collate.c: Likewise.
491 * locale/programs/linereader.h: Likewise.
492 * manual/charset.texi: Likewise.
493 * manual/filesys.texi: Likewise.
494 * manual/stdio.texi: Likewise.
495 * manual/string.texi: Likewise.
496 * stdlib/fmtmsg.c: Likewise.
497 * sysdeps/i386/stpncpy.S: Likewise.
498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
499 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
501 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
502
382466e0
OB
5032013-08-30 Ondřej Bílka <neleai@seznam.cz>
504
505 * elf/dl-open.c: Fix typos.
506 * iconvdata/gbbig5.c: Likewise.
507 * iconvdata/iso-2022-jp.c: Likewise.
508 * iconv/gconv_int.h: Likewise.
509 * iconv/loop.c: Likewise.
510 * nis/rpcsvc/nis.h: Likewise.
511 * resolv/ns_name.c: Likewise.
512 * stdio-common/vfscanf.c: Likewise.
513 * streams/stropts.h: Likewise.
514 * sunrpc/rpc_thread.c: Likewise.
515 * sysdeps/i386/strpbrk.S: Likewise.
516 * sysdeps/ieee754/k_standard.c: Likewise.
517 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
519 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
520 * sysdeps/mach/hurd/profil.c: Likewise.
521 * sysdeps/s390/dl-procinfo.h: Likewise.
522 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
523 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
524 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
525 * sysdeps/x86_64/dl-trampoline.S: Likewise.
526 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
527
0186c6e9
OB
5282013-08-30 Ondřej Bílka <neleai@seznam.cz>
529
530 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
532
d4e16af1
OB
5332013-08-29 Ondřej Bílka <neleai@seznam.cz>
534
535 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
536 aix specific files.
537 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
538 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
539 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
540 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
544 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
545
88335980
TS
5462013-08-29 Thomas Schwinge <thomas@codesourcery.com>
547 Roland McGrath <roland@hack.frob.com>
548
549 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
550 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
551
ed479b02
ST
5522013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
553
554 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
555 __executable_start symbol instead of _start.
556
f1cc4c86
TS
5572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
558
d821f07c
TS
559 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
560 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
561 Move macros to...
562 * sysdeps/gnu/ldsodefs.h: ... this new file.
563
c54290cf
TS
564 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
565 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
566 instead of ELFOSABI_LINUX.
567
0007fc9b 568 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
569 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
570 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
571 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
572 Likewise.
573 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
574 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
575 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
576 Likewise.
577 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
578 (ibm_extended_long_double): Add ieee_nan member.
579 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
580 (do_test): New function.
581
f1cc4c86
TS
582 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
583 TEST_TRUNC.
584 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
585 functions, renamed from truncdfsf_test, trunctfsf_test,
586 trunctfdf_test.
587 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
588 functions.
589 (do_test): Run all these.
590
6f65e668
OB
5912013-08-29 Ondřej Bílka <neleai@seznam.cz>
592
593 * argp/argp-help.c: Fix typos.
594 * argp/argp-parse.c: Likewise.
595 * debug/backtracesyms.c: Likewise.
596 * elf/elf.h: Likewise.
597 * malloc/malloc.c: Likewise.
598 * nis/nis_print.c: Likewise.
599 * resolv/res_comp.c: Likewise.
600 * stdlib/stdlib.h: Likewise.
601 * sunrpc/clnt_tcp.c: Likewise.
602 * sunrpc/clnt_udp.c: Likewise.
603 * sunrpc/clnt_unix.c: Likewise.
604 * sysdeps/unix/bsd/ptsname.c: Likewise.
605 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
608 Likewise.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
610 Likewise.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
612 Likewise.
6f65e668
OB
613 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
614
3a309239
SP
6152013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
616
617 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
619
3b813b29
MF
6202013-08-27 Mike Frysinger <vapier@gentoo.org>
621
622 [BZ #15897]
623 * dlfcn/Makefile (tests): Add bug-dl-leaf.
624 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
625 ($(objpfx)bug-dl-leaf): New rule.
626 ($(objpfx)bug-dl-leaf.so): Likewise.
627 ($(objpfx)bug-dl-leaf.out): Likewise.
628 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
629 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
630 * dlfcn/bug-dl-leaf.c: New test.
631 * dlfcn/bug-dl-leaf-lib.c: Likewise.
632 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
633 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
634 (dlclose): Likewise.
635 (dlmopen): Likewise.
636
8cc3269f
RM
6372013-08-27 Roland McGrath <roland@hack.frob.com>
638
7f9d0034
RM
639 * include/netdb.h [!_ISOMAC]:
640 Don't include <tls.h>.
641 (h_errno, __libc_h_errno): Move declaration and macros out of
642 [_LIBC_REENTRANT].
643
fb431262
RM
644 * include/resolv.h [_RESOLV_H_]:
645 Don't include <tls.h>.
646 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
647 * resolv/res_libc.c: Don't include <tls.h>.
648 (_res): Use __attribute__ ((nocommon)) in place of
649 __attribute__ ((section (".bss"))).
650
bd81123a
RM
651 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
652 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
653
c4e42566
RM
654 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
655
f890a59b
RM
656 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
657 only under [SIOCGIFCONF && SIOCGIFNETMASK].
658
659 * resolv/res_mkquery.c: Include <sys/time.h>.
660
5d1f0a09
RM
661 * inet/ifreq.c: Moved to ...
662 * sysdeps/unix/ifreq.c: ... here.
663 * inet/ifreq.c: New file, true stub version.
664
6fcf28b3
RM
665 * socket/sa_len.c: New file.
666 * socket/Makefile (aux): Add it.
667 * sysdeps/unix/sysv/linux/Makefile
668 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
669 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
670 and #include <socket/sa_len.c>.
671 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
672 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
673
e041fb8b
RM
674 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
675 * bits/socket.h: ... here.
676
8cc3269f
RM
677 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
678 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
679 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
680
5d228a43
AS
6812013-08-27 Andreas Schwab <schwab@suse.de>
682
45b8accc
AS
683 [BZ #15736]
684 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
685 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
686 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
687 * string/test-strcasecmp.c (test_main): Run tests in several
688 locales.
689 * string/test-strncasecmp.c (test_main): Likewise.
690
5d228a43
AS
691 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
692 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
693 to __strcasecmp_nonascii and __strncasecmp_nonascii.
694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
695 (__strncasecmp_ssse3) [PIC]: Likewise.
696
59d112a4
RM
6972013-08-26 Roland McGrath <roland@hack.frob.com>
698
53234cc3
RM
699 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
700
59d112a4
RM
701 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
702 instead of explicitly declaring xdecrypt.
703 * nis/nss_nis/nis-publickey.c: Likewise.
704
595aba70
SP
7052013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
706
707 [BZ #15890]
708 * nscd/aicache.c: Include res_hconf.h.
709 (addhstaiX): Initialize res_hconf.
710
ffabd393
AS
7112013-08-26 Andreas Schwab <schwab@suse.de>
712
713 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
714 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
715
e0a69f5c
SP
7162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
717
718 * nscd/aicache.c (addhstaiX): Fix indentation.
719
8c12f01d
MF
7202013-08-25 Mike Frysinger <vapier@gentoo.org>
721
722 * configure.ac: Quote $build_pt_chown test.
723 * configure: Regenerated.
724
8fe89494
JM
7252013-08-23 Joseph Myers <joseph@codesourcery.com>
726
727 [BZ #15532]
728 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
729 * math/s_cexpf.c (__cexpf): Likewise.
730 * math/s_cexpl.c (__cexpl): Likewise.
731 * math/libm-test.inc (cexp_test_data): Correct expected return
732 value for NaN + i0. Add another test.
733
75b181d6
DM
7342013-08-22 David S. Miller <davem@davemloft.net>
735
736 * po/ca.po: Update Catalan translation from translation project.
936241e4 737 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 738
acd06bb1
JM
7392013-08-21 Joseph Myers <joseph@codesourcery.com>
740
741 [BZ #15797]
742 * math/s_fdim.c (__fdim): Check for infinite arguments if result
743 is infinite, not alongside NaN test.
744 * math/s_fdimf.c (__fdimf): Likewise.
745 * math/s_fdiml.c (__fdiml): Likewise.
746 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
747 errno is unchanged.
748
c0c3f78a
OB
7492013-08-21 Ondřej Bílka <neleai@seznam.cz>
750
751 * argp/argp-help.c: Fix typos.
752 * crypt/speeds.c: Likewise.
753 * csu/check_fds.c: Likewise.
754 * elf/dl-load.c: Likewise.
755 * elf/dl-open.c: Likewise.
756 * elf/reldep3.c: Likewise.
757 * elf/reldep.c: Likewise.
758 * elf/sprof.c: Likewise.
759 * iconv/iconv_charmap.c: Likewise.
760 * iconv/skeleton.c: Likewise.
761 * iconv/strtab.c: Likewise.
762 * io/lockf64.c: Likewise.
763 * libio/libioP.h: Likewise.
764 * resolv/gai_notify.c: Likewise.
765 * resolv/ns_name.c: Likewise.
766 * resolv/ns_samedomain.c: Likewise.
767 * resolv/res_send.c: Likewise.
768 * stdlib/random.c: Likewise.
769 * sunrpc/rpc/xdr.h: Likewise.
770 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
771 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
772 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
773 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
774 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
775 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
778 * sysdeps/mach/hurd/check_fds.c: Likewise.
779 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
780 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
782 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
783 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
784 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
785 * sysdeps/pthread/aio_notify.c: Likewise.
786 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
787 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
788 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
790 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
791
46ed1038
LD
7922013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
793
794 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
795 version if bit_Slow_SSE4_2 is set.
796 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
797 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
798
d400dcac
AZ
7992013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800
801 [BZ #15867]
802 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
803 trampoline stack frame information.
804 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
806 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
807 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
808 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
809 * sysdeps/unix/sysv/linux/powerpc/init-first.c
810 (_libc_vdso_platform_setup): Initialize the signal trampolines.
811 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
812 sa_flags value.
813 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
814 interrupting a syscall and set with option SA_SIGINFO.
815
42c8fdd8
JM
8162013-08-20 Joseph Myers <joseph@codesourcery.com>
817
c980f2f4
JM
818 [BZ #15531]
819 * math/s_cproj.c (__cproj): Only return an infinity if one part of
820 argument is infinite.
821 * math/s_cprojf.c (__cprojf): Likewise.
822 * math/s_cprojl.c (__cprojl): Likewise.
823 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
824 * math/libm-test.inc (cproj_test_data): Add more tests.
825
0716c4fc
JM
826 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
827
42c8fdd8
JM
828 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
829 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
830 size. Use __ffs to determine corresponding shift.
831
b31469d0
JM
8322013-08-20 Joseph Myers <joseph@codesourcery.com>
833 Roland McGrath <roland@hack.frob.com>
834
835 * Makefile (INSTALL): Remove trailing blank lines from output of
836 makeinfo.
837
4e39af6e
AK
8382013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
839
840 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
841 Align 32 bit compat elf_greg to 8 bytes.
842
f315524e
AA
8432013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
844
845 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
846
1326ba1a
SP
8472013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
848
849 * string/strcoll_l.c (coll_seq): New structure.
850 (get_next_seq_cached): New function.
851 (get_next_seq): New function.
852 (do_compare): New function.
853 (STRCOLL): Use GNU style definition. Simplify implementation
854 by using get_next_seq, get_next_seq_cached and do_compare.
855
91ce4085
FW
8562013-08-16 Florian Weimer <fweimer@redhat.com>
857
858 [BZ #14699]
859 CVE-2013-4237
860 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
861 member.
862 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
863 member.
864 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
865 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
866 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
867 conditional.
868 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
869 GETDENTS_64BIT_ALIGNED.
870 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
871 * manual/filesys.texi (Reading/Closing Directory): Document
872 ENAMETOOLONG return value of readdir_r. Recommend readdir more
873 strongly.
874 * manual/conf.texi (Limits for Files): Add portability note to
875 NAME_MAX, PATH_MAX.
876 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
877
ca0a6bc4
AS
8782013-08-13 Andreas Schwab <schwab@suse.de>
879
880 [BZ #15749]
881 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
882 of fabs.
883 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
884 LDBL_MAX_EXP >= 16384]: Add tests for it.
885
6c1fd795
DM
8862013-08-12 David S. Miller <davem@davemloft.net>
887
888 * version.h (RELEASE): Set to "development".
889 (VERSION): Set to "2.18.90".
890 * NEWS: Add 2.19 section.
891
31ad488d
DM
8922013-08-03 David S. Miller <davem@davemloft.net>
893
894 * po/ko.po: Update Korean translation from translation project.
895
db24e684
DM
8962013-08-01 David S. Miller <davem@davemloft.net>
897
898 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
899 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
900 Bilka.
901
f723285b
DM
9022013-07-30 David S. Miller <davem@davemloft.net>
903
904 * po/fr.po: Update French translation from translation project.
905
3cbc52db
DM
9062013-07-28 David S. Miller <davem@davemloft.net>
907
30bbc0cc
DM
908 * po/cs.po: Update Czech translation from translation project.
909
3cbc52db
DM
910 * po/sv.po: Update Swedish translation from translation project.
911
d492e6d0
DM
9122013-07-27 David S. Miller <davem@davemloft.net>
913
f1a7f492
DM
914 * po/eo.po: Update Esperanto translation from translation project.
915
90e62a4a
DM
916 * po/vi.po: Update Vietnamese translation from translation project.
917
d492e6d0
DM
918 * po/de.po: Update German translation from translation project.
919
d4baa62d
DM
9202013-07-26 David S. Miller <davem@davemloft.net>
921
641aa7b4
DM
922 * po/bg.po: Update Bulgarian translation from translation project.
923
d4baa62d
DM
924 * po/nl.po: Update Dutch translation from translation project.
925 * po/pl.po: Update Polish translation from translation project.
926 * po/ru.po: Update Russian translation from translation project.
927
61a9dcb9
DM
9282013-07-24 David S. Miller <davem@davemloft.net>
929
930 * po/libc.pot: Update.
931
7b1f8b58
AZ
9322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
933
934 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
935 variable page size.
936 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
937 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
938 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
939
a8fc7a03
AK
9402013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
941
942 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
943
e4608715
CD
9442013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
945 Andreas Schwab <schwab@suse.de>
946 Roland McGrath <roland@hack.frob.com>
947 Joseph Myers <joseph@codesourcery.com>
948 Carlos O'Donell <carlos@redhat.com>
949
950 [BZ #15755]
951 * config.h.in: Define HAVE_PT_CHOWN.
952 * config.make.in (build-pt-chown): New variable.
953 * configure.in (--enable-pt_chown): New configure option.
954 * configure: Regenerate.
955 * login/Makefile: Include Makeconfig. Build pt_chown only if
956 build-pt-chown is enabled.
957 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
958 pt_chown to fix pty ownership.
959 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
960 CLOSE_ALL_FDS.
961 * manual/install.texi (Configuring and compiling): Mention
962 --enable-pt_chown. Add @findex for grantpt.
963 * INSTALL: Regenerate.
964
da2d62df
DM
9652013-07-20 David S. Miller <davem@davemloft.net>
966
967 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
968 difference between 32-bit and 64-bit.
969
d7e06450
CD
9702013-07-15 Carlos O'Donell <carlos@redhat.com>
971
972 [BZ #15711]
973 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
974 Avoid system header dependency with -ffreestanding.
975 ($(objpfx)bits/syscall%d): Likewise.
976
f959cfd7
DM
9772013-07-13 David S. Miller <davem@davemloft.net>
978
979 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
980 underflows from atanl/atan2l due to bug 15319.
981 (casinh_test_data): Likewise.
982
c61f8513
DM
9832013-07-07 David S. Miller <davem@davemloft.net>
984
985 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
986
72c90ed0
JA
9872013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
988
989 * sysdeps/i386/fpu/libm-test-ulps: Update.
990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
991
52dfbe13
SP
9922013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
993
994 * configure.in (--enable-lock-elision): Fix message text.
995 * INSTALL: Regenerate.
996 * configure: Regenerate.
997
3f169543
AZ
9982013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
999
1000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1001
521c6785
AJ
10022013-07-03 Andreas Jaeger <aj@suse.de>
1003
1004 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1005 define.
1006 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1007 (ptrace_peeksiginfo_args): Add.
1008 (__ptrace_peeksiginfo_flags): Add.
1009 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1010 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1011 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1012
d2cc15cb
AM
10132013-07-03 Allan McRae <allan@archlinux.org>
1014
1015 * sysdeps/i386/fpu/libm-test-ulps: Update.
1016
3aaeeca7
DM
10172013-07-02 David S. Miller <davem@davemloft.net>
1018
1019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1020
5314ed1a
MT
10212013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1022
1023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1024
67338156
JM
10252013-07-02 Joseph Myers <joseph@codesourcery.com>
1026
1027 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1029
1717da59
AK
10302013-07-02 Andi Kleen <ak@linux.intel.com>
1031
1032 * config.h.in (ENABLE_LOCK_ELISION): Add.
1033 * configure.in (--enable-lock-elision): Add option.
1034 * manual/install.texi: Document --enable lock elision.
1035 * configure: Regenerate
1036 * INSTALL: Regenerate.
1037
1c81621c
L
10382013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1041 SSE4.2 strcasecmp for libc.a.
1042 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1043
77f01ab5
JM
10442013-07-02 Joseph Myers <joseph@codesourcery.com>
1045
1046 [BZ #13304]
1047 * soft-fp/op-common.h (_FP_FMA): New macro.
1048 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1049 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1050 (_FP_MUL_MEAT_1_imm): ... here.
1051 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1052 (_FP_MUL_MEAT_1_wide): ... here.
1053 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1054 (_FP_MUL_MEAT_1_hard): ... here.
1055 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1056 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1057 (_FP_MUL_MEAT_2_wide): ... here.
1058 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1059 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1060 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1061 (_FP_MUL_MEAT_2_gmp): ... here.
1062 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1063 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1064 (_FP_MUL_MEAT_4_wide): ... here.
1065 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1066 (_FP_MUL_MEAT_4_gmp): ... here.
1067 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1068 (_FP_WFRACBITS_DW_S): Likewise.
1069 (_FP_WFRACXBITS_DW_S): Likewise.
1070 (_FP_HIGHBIT_DW_S): Likewise.
1071 (FP_FMA_S): Likewise.
1072 (_FP_FRAC_HIGH_DW_S): Likewise.
1073 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1074 (_FP_WFRACBITS_DW_D): Likewise.
1075 (_FP_WFRACXBITS_DW_D): Likewise.
1076 (_FP_HIGHBIT_DW_D): Likewise.
1077 (FP_FMA_D): Likewise.
1078 (_FP_FRAC_HIGH_DW_D): Likewise.
1079 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1080 (_FP_WFRACBITS_DW_E): Likewise.
1081 (_FP_WFRACXBITS_DW_E): Likewise.
1082 (_FP_HIGHBIT_DW_E): Likewise.
1083 (FP_FMA_E): Likewise.
1084 (_FP_FRAC_HIGH_DW_E): Likewise.
1085 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1086 (_FP_WFRACBITS_DW_Q): Likewise.
1087 (_FP_WFRACXBITS_DW_Q): Likewise.
1088 (_FP_HIGHBIT_DW_Q): Likewise.
1089 (FP_FMA_Q): Likewise.
1090 (_FP_FRAC_HIGH_DW_Q): Likewise.
1091 * soft-fp/fmasf4.c: New file.
1092 * soft-fp/fmadf4.c: Likewise.
1093 * soft-fp/fmatf4.c: Likewise.
1094
6308fd9a
LD
10952013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1096
1097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1098 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1099 Silvermont.
1100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1101 macro.
1102 (index_Slow_SSE4_2): Likewise.
1103 (index_Prefer_PMINUB_for_stringop): Likewise.
1104 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1105 bit_Slow_SSE4_2 is set.
1106 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1108
89cd9569
RA
11092013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1112 rtld_global._dl_hwcap2.
1113 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1114 POWER8.
1115 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1116 POWER8 feature descriptions defined in _dl_hwcap2.
1117 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1118 string handling for POWER8 feature bits.
1119 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1120 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1121 _dl_powerpc_cap_flags.
1122 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1123 * sysdeps/powerpc/rtld-global-offsets.sym
1124 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1125 _dl_hwcap2 in the rtld_global_ro structure.
1126
1ae8bfe0
RA
11272013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1128
1129 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1130 hardware capabilities in support of AT_HWCAP2.
1131 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1132 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1133 GLRO(dl_hwcap2).
1134 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1135 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1136 explicitly the unknown a_type display mechanism is used.
1137 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1138 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1139 struct member.
1140 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1141 to macro prototype for AT_HWCAP2 support.
1142 * sysdeps/i386/dl-procinfo.h: Likewise.
1143 * sysdeps/s390/dl-procinfo.h: Likewise.
1144 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1145 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1146 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1147 return -1 for unknown a_type display fallback.
1148 * sysdeps/sparc/dl-procinfo.h: Likewise.
1149 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1150 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1151
8fbec010
JM
11522013-06-28 Joseph Myers <joseph@codesourcery.com>
1153
1154 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1155 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1156
0432680e
PY
11572013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1158
1159 [BZ #12492]
1160 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1161 mprotect making __stack_prot writable.
1162
ce61a2ad
NF
11632013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1164 Joseph Myers <joseph@codesourcery.com>
1165
1166 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1167 as being properly aligned.
1168
f91f1c0f
MR
11692013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1170
3d0f5d0c
MR
1171 * dlfcn/modstatic5.c: New file.
1172 * dlfcn/tststatic5.c: New file.
1173 * dlfcn/Makefile (tests): Add tststatic5.
1174 (tests-static): Likewise.
1175 (modules-names): Add modstatic5.
1176 (tststatic5-ENV): New variable.
1177 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1178
f91f1c0f
MR
1179 [BZ #15022]
1180 * elf/dl-support.c (_dl_main_map): New variable.
1181 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1182 (_dl_nns, _dl_load_adds): Set to 1.
1183 (_dl_initial_searchlist): Refer to _dl_main_map.
1184 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1185 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1186 call to _dl_get_origin.
1187 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1188 around call_map.
1189 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1190 * dlfcn/modstatic3.c: New file.
1191 * dlfcn/tststatic3.c: New file.
1192 * dlfcn/tststatic4.c: New file.
1193 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1194 (tests-static): Likewise.
1195 (modules-names): Add modstatic3.
1196 (tststatic3-ENV, tststatic4-ENV): New variables.
1197 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1198 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1199
cbe7d24b
JM
12002013-06-26 Joseph Myers <joseph@codesourcery.com>
1201
1202 * configure.in (CC): Require GCC version 4.4 or later.
1203 * configure: Regenerated.
1204 * manual/install.texi (Tools for Compilation): Update GCC version
1205 requirement.
1206 * INSTALL: Regenerated.
1207
11b8a0e1
LD
12082013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1209
1210 [BZ #15674]
bb5bb87c
L
1211 * string/test-memcmp.c (check2): New.
1212 (main): Call check2.
1213
11b8a0e1
LD
1214 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1215
b0037103
MR
12162013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1217
1218 [BZ #15022]
1219 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1220 over to...
1221 (dl_open_worker) [!SHARED]: ... here.
1222
c18c701d
RA
12232013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1224
1225 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1226
1d17fa5f
RH
12272013-06-25 Richard Henderson <rth@redhat.com>
1228
1229 * locale/programs/locarchive.c: Include <libc-internal.h>
1230
8fcb833a
JM
12312013-06-25 Joseph Myers <joseph@codesourcery.com>
1232
1233 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1234 trailing whitespace removed.
1235
17db6e8d
MF
12362013-06-24 Mike Frysinger <vapier@gentoo.org>
1237
1238 [BZ #10283]
17db6e8d
MF
1239 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1240 * locale/programs/locarchive.c: Include libc-mmap.h.
1241 (prepare_address_space): Take two new outputs (the mmap base and len).
1242 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1243 values.
1244 (create_archive): Declare new mmap base and len values for
1245 prepare_address_space, and store the result in ah.
1246 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1247 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1248 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1249 Declare new mmap base and len values for
1250 prepare_address_space, and store the result in new_ah.
1251 (open_archive): Declare new mmap base and len values for
1252 prepare_address_space, and store the result in ah.
1253 (close_archive): If ah->mmap_base is not NULL, use that and
1254 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1255 * sysdeps/generic/libc-mmap.h: New file.
1256
d605071e
MF
12572013-06-24 Mike Frysinger <vapier@gentoo.org>
1258
1259 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1260 (ALIGN_UP): Likewise.
1261 (PTR_ALIGN_DOWN): Likewise.
1262 (PTR_ALIGN_UP): Likewise.
1263
2f063a6e
RA
12642013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1265
1266 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1267 entry mapped to PPC_PLATFORM_POWER8.
1268 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1269 POWER8.
1270 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1271 (_dl_string_platform): Add case for exporting platform position for
1272 POWER8.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1274 search path to sysdeps/powerpc/powerpc32/power8 directory.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1276 search path to sysdeps/powerpc/powerpc64/power8 directory.
1277 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1278 power7 directories.
1279 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1280 power7 directories.
1281
a31ee4b3
SP
12822013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1283
a74ca98f
SP
1284 * INSTALL: Regenerate.
1285
a31ee4b3
SP
1286 * nscd/connections.c (nscd_init): Fix comment.
1287
695c378f
JM
12882013-06-22 Joseph Myers <joseph@codesourcery.com>
1289
d8412221
JM
1290 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1291
695c378f
JM
1292 [BZ #15667]
1293 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1294 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1295
d1d54715
MR
12962013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1297
1298 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1299 DL_DST_REQ_STATIC.
1300 (DL_DST_REQ_STATIC): Remove macro.
1301
8fdda7af
JM
13022013-06-21 Joseph Myers <joseph@codesourcery.com>
1303
1304 [BZ #7006]
1305 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1306 with a shift of 0 bits.
1307
f3bc5e5a
MR
13082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1309
1310 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1311 $(tststatic-ENV).
1312
be09e8c9
KK
13132013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1314
1315 [BZ #15655]
1316 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1317
85c2e611
AZ
13182013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1319
1320 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1321 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1322 accepts -fno-tree-loop-distribute-patterns.
1323 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1324 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1325 recursive call.
1326 * string/memset.c (memset): Likewise.
1327 * string/test-memmove.c (simple_memmove): Disable loop transformation
1328 to library calls.
1329 * string/test-memset.c (simple_memset): Likewise.
1330 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1331 * benchtests/bench-memset.c (simple_memset): Likewise.
1332 * configure: Regenerated.
1333
c91e0825
JM
13342013-06-20 Joseph Myers <joseph@codesourcery.com>
1335
b8c792af
JM
1336 * math/test-misc.c (main): Ignore fesetround failure when failures
1337 of subsequent rounding tests would be ignored.
1338
c91e0825
JM
1339 [BZ #15654]
1340 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1341 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1342 * math/fegetenv.c (__fegetenv): Return 0.
1343 * math/fegetexcept.c (fegetexcept): Return 0.
1344 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1345 FE_TONEAREST.
1346 * math/feholdexcpt.c (feholdexcept): Return 0.
1347 * math/fesetenv.c (__fesetenv): Return 0.
1348 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1349 argument FE_TONEAREST.
1350 * math/feupdateenv.c (__feupdateenv): Return 0.
1351 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1352
bfcacbde
RM
13532013-06-18 Roland McGrath <roland@hack.frob.com>
1354
1355 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1356 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1357 ($(objpfx)rtld-%.os rules): Use them.
1358
e55a9b25
AZ
13592013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1360
1361 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1362 fields.
1363
346d65b3
RM
13642013-06-17 Roland McGrath <roland@hack.frob.com>
1365
12086fb4
RM
1366 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1367 length of target pattern, then descending length of dependency pattern.
1368 * configure.in (AWK): Require gawk 3.1.2 or newer.
1369 * manual/install.texi (Tools for Compilation): Say that we do.
1370 * configure: Regenerated.
1371
346d65b3
RM
1372 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1373 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1374 * scripts/sysd-rules.awk: ... this new script.
1375 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1376 than a glob-style pattern.
1377
1a846317
JM
13782013-06-17 Joseph Myers <joseph@codesourcery.com>
1379
1380 * math/test-misc.c (main): Do not treat incorrectly rounded
1381 conversions as failure unless ROUNDING_TESTS passes.
1382
8fc75e6f
JM
13832013-06-15 Joseph Myers <joseph@codesourcery.com>
1384
3711a167
JM
1385 [BZ #15631]
1386 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1387 restore exception state around main square root computation, then
1388 check for inexactness explicitly.
1389
8fc75e6f
JM
1390 * math/libm-test.inc (fma_test_data): Add another test.
1391
61dd6208
SP
13922013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1393
adf23d2c
SP
1394 * manual/threads.texi (Non-POSIX Extensions): New document
1395 node. Document pthread_getattr_default_np and
1396 pthread_setattr_default_np.
1397
61dd6208
SP
1398 * Versions.def (libpthread): Add GLIBC_2.18.
1399 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1405 Likewise.
1406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1409 Likewise.
1410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1411 Likewise.
1412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1417 Likewise.
1418
d086fc7b
LD
14192013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1420
1421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1422 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1423
747ef469
SP
14242013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1425 H.J. Lu <hjl.tools@gmail.com>
1426
1427 [BZ #15627]
1428 * sysdeps/x86_64/rtld-memset.c: Remove file.
1429 * sysdeps/x86_64/rtld-memset.S: New file.
1430
1b2feed2
JM
14312013-06-14 Joseph Myers <joseph@codesourcery.com>
1432
1433 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1434 (test_in_one_mode): Take arguments for whether the rounding mode
1435 is supported for each floating-point type.
1436 (do_test): Pass new arguments to test_in_one_mode using
1437 ROUNDING_TESTS.
1438
a58ad3f8
RM
14392013-06-13 Roland McGrath <roland@hack.frob.com>
1440
1441 * posix/tst-waitid.c (do_test): Distinguish different instances of
1442 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1443 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1444 before entering the kernel for waitpid.
1445
c204ab28
SP
14462013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1447
1448 * NEWS: Fix note on clock function precision. Text by Roland
1449 McGrath.
1450
f4a29fba
RM
14512013-06-13 Roland McGrath <roland@hack.frob.com>
1452
1453 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1454 it into place only when and if the sanity check passes.
1455
1f24b9ad
JM
14562013-06-13 Joseph Myers <joseph@codesourcery.com>
1457
1458 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1459 output for whether conversion result is exact. Take argument
1460 indicating whether type is IBM long double.
1461 (round_for_all): Change need_exact field to ibm_ld.
1462 * stdlib/tst-strtod-round.c (struct exactness): New type.
1463 (struct test): Change bool ld_ok field to struct exactness exact.
1464 (TEST): Update all definitions for change to field.
1465 (tests): Regenerate array contents.
1466 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1467 field value. Check for IBM long double here.
1468 (do_test): Update calls to test_in_one_mode.
1469
58206c68
SP
14702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1471
1472 [BZ #12515]
1473 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1474 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1475
2d6f4c5b 14762013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1477
1478 [BZ #15605]
1479 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1480 generated by the compiler on loop optimizations.
1481 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1482 general definitions.
1483
94f2c076
JM
14842013-06-12 Joseph Myers <joseph@codesourcery.com>
1485
1486 * math/bug-nextafter.c: Include <math-tests.h>.
1487 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1488 the relevant type.
1489 * math/bug-nexttoward.c: Include <math-tests.h>.
1490 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1491 the relevant type.
1492 * math/test-misc.c: Include <math-tests.h>.
1493 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1494 the relevant type.
1495
e0e50a0a
AJ
14962013-06-12 Andreas Jaeger <aj@suse.de>
1497
1498 * po/ia.po: Update Interlingua translation from translation
1499 project.
1500
25061094
SP
15012013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1502
1503 * include/fenv.h: Include stdbool.h.
1504 (struct rm_ctx): New structure.
1505 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1506 Define macro.
1507 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1508 (SET_RESTORE_ROUNDF): Likewise.
1509 (SET_RESTORE_ROUNDL): Likewise.
1510 (SET_RESTORE_ROUND_NOEX): Likewise.
1511 (SET_RESTORE_ROUND_NOEXF): Likewise.
1512 (SET_RESTORE_ROUND_NOEXL): Likewise.
1513 (SET_RESTORE_ROUND_53BIT): Likewise.
1514 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1515 (libc_feresetround_noexf_ctx): Likewise.
1516 (libc_feresetround_noexl_ctx): Likewise.
1517 (libc_feholdsetround_53bit_ctx): Likewise.
1518 (libc_feresetround_53bit_ctx): Likewise.
1519 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1520 (libc_feholdexcept_setround_sse_ctx): New function.
1521 (libc_fesetenv_sse_ctx): Likewise.
1522 (libc_feupdateenv_sse_ctx): Likewise.
1523 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1524 (libc_feholdexcept_setround_387_ctx): Likewise.
1525 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1526 (libc_feholdsetround_387_prec_ctx): Likewise.
1527 (libc_feholdsetround_387_ctx): Likewise.
1528 (libc_feholdsetround_387_53bit_ctx): Likewise.
1529 (libc_feholdsetround_sse_ctx): Likewise.
1530 (libc_feresetround_sse_ctx): Likewise.
1531 (libc_feresetround_387_ctx): Likewise.
1532 (libc_feupdateenv_387_ctx): Likewise.
1533 (libc_feholdexcept_setroundf_ctx): Define macro.
1534 (libc_fesetenvf_ctx): Likewise.
1535 (libc_feupdateenvf_ctx): Likewise.
1536 (libc_feholdsetroundf_ctx): Likewise.
1537 (libc_feresetroundf_ctx): Likewise.
1538 (libc_feholdexcept_setround_ctx): Likewise.
1539 (libc_fesetenv_ctx): Likewise.
1540 (libc_feupdateenv_ctx): Likewise.
1541 (libc_feholdsetround_ctx): Likewise.
1542 (libc_feresetround_ctx): Likewise.
1543 (libc_feholdexcept_setroundl_ctx): Likewise.
1544 (libc_feupdateenvl_ctx): Likewise.
1545 (libc_feholdsetroundl_ctx): Likewise.
1546 (libc_feresetroundl_ctx): Likewise.
1547 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1548 (libc_feresetround_53bit_ctx): Likewise.
1549
59b30555
SP
15502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1551
1552 * locale/iso-639.def: Convert to UTF-8.
1553
f1d73d30
JM
15542013-06-11 Joseph Myers <joseph@codesourcery.com>
1555
1556 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1557 (EXCEPTION_TESTS_double): Likewise.
1558 (EXCEPTION_TESTS_long_double): Likewise.
1559 (EXCEPTION_TESTS): Likewise.
1560 * math/libm-test.inc (test_exceptions): Only test exceptions if
1561 EXCEPTION_TESTS (FLOAT).
1562
94aca5e7
SP
15632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1564
1565 * benchtests/Makefile (string-bench): Add strcpy_chk and
1566 stpcpy_chk.
1567 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1568 * benchtests/bench-stpcpy_chk.c: New file.
1569 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1570 * benchtests/bench-strcpy_chk.c: New file.
1571 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1572 code.
1573 (do_test): Likewise.
1574
fac0c5f2
RA
15752013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1576
1577 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1578 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1579 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1580 with tabs where appropriate.
1581 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1582 dl-procinfo.h.
1583 [PPC_PLATFORM_PPC440]: Likewise.
1584 [PPC_PLATFORM_PPC464]: Likewise.
1585 [PPC_PLATFORM_PPC476]: Likewise.
1586 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1587 ppc464, and ppc476 platform strings merging from ports/
1588 dl-procinfo.h.
1589
f22bc486
AS
15902013-06-11 Andreas Schwab <schwab@suse.de>
1591
1592 [BZ #14991]
1593 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1594 (from_ucs4_idx): Regenerate.
1595 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1596 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1597 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1598 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1599 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1600 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1601 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1602 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1603 from FROM_LOOP and TO_LOOP specific macros.
1604 (BODY): Handle combining characters.
1605 * iconvdata/BIG5HKSCS.irreversible: Update.
1606 * iconvdata/BIG5HKSCS.precomposed: New file.
1607 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1608 characters.
1609 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1610
c1f75dc3
SP
16112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1612
4eacded2
SP
1613 * include/sys/time.h: Fix indentation and add copyright header.
1614
fec799f8
SP
1615 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1616 (do_test): Likewise.
1617 * string/test-memchr.c (do_one_test): Likewise.
1618 (do_test): Likewise.
1619 * string/test-memcmp.c (do_one_test): Likewise.
1620 (do_test): Likewise.
1621 * string/test-memcpy.c (do_one_test): Likewise.
1622 (do_test): Likewise.
1623 * string/test-memmem.c (do_one_test): Likewise.
1624 (do_test): Likewise.
1625 (do_random_tests): Likewise.
1626 * string/test-memmove.c (do_one_test): Likewise.
1627 (do_test): Likewise.
1628 * string/test-memset.c (do_one_test): Likewise.
1629 (do_test): Likewise.
1630 * string/test-rawmemchr.c (do_one_test): Likewise.
1631 (do_test): Likewise.
1632 * string/test-strcasecmp.c (do_one_test): Likewise.
1633 (do_test): Likewise.
1634 * string/test-strcasestr.c (do_one_test): Likewise.
1635 (do_test): Likewise.
1636 * string/test-strcat.c (do_one_test): Likewise.
1637 (do_test): Likewise.
1638 * string/test-strchr.c (do_one_test): Likewise.
1639 (do_test): Likewise.
1640 * string/test-strcmp.c (do_one_test): Likewise.
1641 (do_test): Likewise.
1642 * string/test-strcpy.c (do_one_test): Likewise.
1643 (do_test): Likewise.
1644 * string/test-string.h: Likewise.
1645 (test_init): Likewise.
1646 * string/test-strlen.c (do_one_test): Likewise.
1647 (do_test): Likewise.
1648 * string/test-strncasecmp.c (do_one_test): Likewise.
1649 (do_test): Likewise.
1650 * string/test-strncat.c (do_one_test): Likewise.
1651 (do_test): Likewise.
1652 * string/test-strncmp.c (do_one_test): Likewise.
1653 (do_test_limit): Likewise.
1654 (do_test): Likewise.
1655 * string/test-strncpy.c (do_one_test): Likewise.
1656 (do_test): Likewise.
1657 * string/test-strnlen.c (do_one_test): Likewise.
1658 (do_test): Likewise.
1659 * string/test-strpbrk.c (do_one_test): Likewise.
1660 (do_test): Likewise.
1661 * string/test-strrchr.c (do_one_test): Likewise.
1662 (do_test): Likewise.
1663 * string/test-strspn.c (do_one_test): Likewise.
1664 (do_test): Likewise.
1665 * string/test-strstr.c (do_one_test): Likewise.
1666 (do_test): Likewise.
1667
97020474
SP
1668 * benchtests/Makefile (string-bench): Add string benchmarks.
1669 * benchtests/bench-bcopy-ifunc.c: New file.
1670 * benchtests/bench-bcopy.c: New file.
1671 * benchtests/bench-bzero-ifunc.c: New file.
1672 * benchtests/bench-bzero.c: New file.
1673 * benchtests/bench-memccpy-ifunc.c: New file.
1674 * benchtests/bench-memccpy.c: New file.
1675 * benchtests/bench-memchr-ifunc.c: New file.
1676 * benchtests/bench-memchr.c: New file.
1677 * benchtests/bench-memcmp-ifunc.c: New file.
1678 * benchtests/bench-memcmp.c: New file.
1679 * benchtests/bench-memmem-ifunc.c: New file.
1680 * benchtests/bench-memmem.c: New file.
1681 * benchtests/bench-memmove-ifunc.c: New file.
1682 * benchtests/bench-memmove.c: New file.
1683 * benchtests/bench-mempcpy-ifunc.c: New file.
1684 * benchtests/bench-mempcpy.c: New file.
1685 * benchtests/bench-memset-ifunc.c: New file.
1686 * benchtests/bench-memset.c: New file.
1687 * benchtests/bench-rawmemchr-ifunc.c: New file.
1688 * benchtests/bench-rawmemchr.c: New file.
1689 * benchtests/bench-stpcpy-ifunc.c: New file.
1690 * benchtests/bench-stpcpy.c: New file.
1691 * benchtests/bench-stpncpy-ifunc.c: New file.
1692 * benchtests/bench-stpncpy.c: New file.
1693 * benchtests/bench-strcasecmp-ifunc.c: New file.
1694 * benchtests/bench-strcasecmp.c: New file.
1695 * benchtests/bench-strcasestr-ifunc.c: New file.
1696 * benchtests/bench-strcasestr.c: New file.
1697 * benchtests/bench-strcat-ifunc.c: New file.
1698 * benchtests/bench-strcat.c: New file.
1699 * benchtests/bench-strchr-ifunc.c: New file.
1700 * benchtests/bench-strchr.c: New file.
1701 * benchtests/bench-strchrnul-ifunc.c: New file.
1702 * benchtests/bench-strchrnul.c: New file.
1703 * benchtests/bench-strcmp-ifunc.c: New file.
1704 * benchtests/bench-strcmp.c: New file.
1705 * benchtests/bench-strcpy-ifunc.c: New file.
1706 * benchtests/bench-strcpy.c: New file.
1707 * benchtests/bench-strcspn-ifunc.c: New file.
1708 * benchtests/bench-strcspn.c: New file.
1709 * benchtests/bench-strlen-ifunc.c: New file.
1710 * benchtests/bench-strlen.c: New file.
1711 * benchtests/bench-strncasecmp-ifunc.c: New file.
1712 * benchtests/bench-strncasecmp.c: New file.
1713 * benchtests/bench-strncat-ifunc.c: New file.
1714 * benchtests/bench-strncat.c: New file.
1715 * benchtests/bench-strncmp-ifunc.c: New file.
1716 * benchtests/bench-strncmp.c: New file.
1717 * benchtests/bench-strncpy-ifunc.c: New file.
1718 * benchtests/bench-strncpy.c: New file.
1719 * benchtests/bench-strnlen-ifunc.c: New file.
1720 * benchtests/bench-strnlen.c: New file.
1721 * benchtests/bench-strpbrk-ifunc.c: New file.
1722 * benchtests/bench-strpbrk.c: New file.
1723 * benchtests/bench-strrchr-ifunc.c: New file.
1724 * benchtests/bench-strrchr.c: New file.
1725 * benchtests/bench-strspn-ifunc.c: New file.
1726 * benchtests/bench-strspn.c: New file.
1727 * benchtests/bench-strstr-ifunc.c: New file.
1728 * benchtests/bench-strstr.c: New file.
1729
c1f75dc3
SP
1730 * benchtests/Makefile: Disable parallel execution of targets.
1731 (string-bench): Add memcpy.
1732 (benchset): New variable to store a list of benchmark sets.
1733 (bench-func): Renamed from bench.
1734 (bench-set): New target.
1735 (bench): Depend on bench-func and bench-set.
1736 * benchtests/README: Add section on benchmark sets.
1737 * benchtests/bench-memcpy-ifunc.c: New file.
1738 * benchtests/bench-memcpy.c: New file.
1739 * benchtests/bench-string.h: New file.
1740
50fd745b
AS
17412013-06-11 Andreas Schwab <schwab@suse.de>
1742
1743 [BZ #15577]
1744 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1745 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1746 values in the triple.
1747 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1748 terminator in the group key.
1749
3ee7e9fe
AJ
17502013-06-11 Andreas Jaeger <aj@suse.de>
1751
1752 * po/zh_TW.po: Update Chinese (traditional) translation from
1753 translation project.
1754
89fb6835
SP
17552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1756
1757 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1758 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1759 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1760 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1761 (clock_getcpuclockid): Likewise.
1762 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1763 Add weak_alias and libc_hidden_def.
1764 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1765 * rt/clock_gettime.c (clock_gettime): Rename to
1766 __clock_gettime. Add weak_alias and libc_hidden_def.
1767 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1768 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1769 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1770 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1771 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1772 Likewise.
1773 * rt/clock_settime.c (clock_settime): Rename to
1774 __clock_settime. Add weak_alias and libc_hidden_def.
1775 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1776
0efa6f8b
JM
17772013-06-10 Joseph Myers <joseph@codesourcery.com>
1778
b8c61b4b
JM
1779 * mach/err_boot.sub: Remove trailing whitespace.
1780 * mach/err_ipc.sub: Likewise.
1781 * mach/err_mach.sub: Likewise.
1782
0efa6f8b
JM
1783 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1784 (ROUNDING_TESTS_double): Likewise.
1785 (ROUNDING_TESTS_long_double): Likewise.
1786 (ROUNDING_TESTS): Likewise.
1787 * math/libm-test.inc: Include <math-tests.h>.
1788 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1789 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1790 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1791 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1792
50b818bf
SP
17932013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1794
1795 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1796 of assigning.
1797
60d2f8f3
JM
17982013-06-08 Joseph Myers <joseph@codesourcery.com>
1799
4902d2c3
JM
1800 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1801 otherwise empty TRANS lines.
1802 * sysdeps/gnu/errlist.c: Regenerated.
1803
60d2f8f3
JM
1804 * catgets/gencat.c (error_print): Use (void) in function
1805 definition.
1806 * crypt/crypt_util.c (__init_des): Likewise.
1807 * crypt/speeds.c (Stop): Likewise.
1808 (main): Likewise.
1809 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1810 * inet/ruserpass.c (token): Likewise.
1811 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1812 * intl/localealias.c (extend_alias_table): Likewise.
1813 * intl/plural-exp.c (init_germanic_plural): Likewise.
1814 * libio/fcloseall.c (__fcloseall): Likewise.
1815 * libio/genops.c (_IO_flush_all): Likewise.
1816 (_IO_flush_all_linebuffered): Likewise.
1817 (_IO_cleanup): Likewise.
1818 (_IO_iter_begin): Likewise.
1819 (_IO_iter_end): Likewise.
1820 (_IO_list_lock): Likewise.
1821 (_IO_list_unlock): Likewise.
1822 (_IO_list_resetlock): Likewise.
1823 * libio/getchar.c (getchar): Likewise.
1824 * libio/getchar_u.c (getchar_unlocked): Likewise.
1825 * libio/getwchar.c (getwchar): Likewise.
1826 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1827 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1828 * login/getpt.c (__getpt): Likewise.
1829 * login/tst-utmp.c (main): Likewise.
1830 * malloc/hooks.c (__malloc_check_init): Likewise.
1831 * malloc/malloc.c (__malloc_stats): Likewise.
1832 * malloc/mtrace.c (tr_break): Likewise.
1833 (mtrace): Likewise.
1834 (muntrace): Likewise.
1835 * misc/fstab.c (endfsent): Likewise.
1836 * misc/getclktck.c (__getclktck): Likewise.
1837 * misc/getdtsz.c (__getdtablesize): Likewise.
1838 * misc/gethostid.c (gethostid): Likewise.
1839 * misc/getpagesize.c (__getpagesize): Likewise.
1840 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1841 (__get_nprocs): Likewise.
1842 (__get_phys_pages): Likewise.
1843 (__get_avphys_pages): Likewise.
1844 * misc/getttyent.c (getttyent): Likewise.
1845 (setttyent): Likewise.
1846 (endttyent): Likewise.
1847 * misc/getusershell.c (getusershell): Likewise.
1848 (endusershell): Likewise.
1849 (setusershell): Likewise.
1850 (initshells): Likewise.
1851 * misc/hsearch.c (__hdestroy): Likewise.
1852 * misc/sync.c (sync): Likewise.
1853 * misc/syslog.c (closelog_internal): Likewise.
1854 (closelog): Likewise.
1855 * misc/ttyslot.c (ttyslot): Likewise.
1856 * misc/vhangup.c (vhangup): Likewise.
1857 * posix/fork.c (__fork): Likewise.
1858 * posix/getegid.c (__getegid): Likewise.
1859 * posix/geteuid.c (__geteuid): Likewise.
1860 * posix/getgid.c (__getgid): Likewise.
1861 * posix/getpid.c (__getpid): Likewise.
1862 * posix/getppid.c (__getppid): Likewise.
1863 * posix/getuid.c (__getuid): Likewise.
1864 * posix/pause.c (pause): Likewise.
1865 * posix/setpgrp.c (setpgrp): Likewise.
1866 * posix/setsid.c (__setsid): Likewise.
1867 * posix/test-vfork.c (noop): Likewise.
1868 * resolv/gethnamaddr.c (_endhtent): Likewise.
1869 (_gethtent): Likewise.
1870 (ht_endhostent): Likewise.
1871 (gethostent): Likewise.
1872 (dns_service): Likewise.
1873 * stdlib/drand48.c (drand48): Likewise.
1874 * stdlib/lrand48.c (lrand48): Likewise.
1875 * stdlib/mrand48.c (mrand48): Likewise.
1876 * stdlib/rand.c (rand): Likewise.
1877 * stdlib/random.c (__random): Likewise.
1878 * stdlib/setenv.c (clearenv): Likewise.
1879 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1880 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1881 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1882 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1883 (__get_nprocs): Likewise.
1884 (__get_phys_pages): Likewise.
1885 (__get_avphys_pages): Likewise.
1886 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1887 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1888 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1889 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1890 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1891 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1892 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1893 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1894 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1895 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1896 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1897 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1898 * sysdeps/posix/clock.c (clock): Likewise.
1899 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1900 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1901 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1902 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1903 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1905 (__get_nprocs_conf): Likewise.
1906 (__get_phys_pages): Likewise.
1907 (__get_avphys_pages): Likewise.
1908 * time/clock.c (clock): Likewise.
1909 * time/tzset.c (__tzname_max): Likewise.
1910
2e09a79a
JM
19112013-06-07 Joseph Myers <joseph@codesourcery.com>
1912
1913 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1914 (__bswap_32): Do not use "register".
1915 * crypt/crypt.c (_ufc_doit_r): Likewise.
1916 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1917 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1918 * gmon/gmon.c (__monstartup): Likewise.
1919 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1920 * hurd/hurdmalloc.c (more_memory): Likewise.
1921 (malloc): Likewise.
1922 (free): Likewise.
1923 (realloc): Likewise.
1924 (malloc_fork_prepare): Likewise.
1925 (malloc_fork_parent): Likewise.
1926 (malloc_fork_child): Likewise.
1927 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1928 (_svcauth_des): Likewise.
1929 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1930 * inet/inet_net.c (inet_network): Likewise.
1931 * inet/inet_netof.c (inet_netof): Likewise.
1932 * inet/rcmd.c (__validuser2_sa): Likewise.
1933 * io/fts.c (fts_open): Likewise.
1934 (fts_load): Likewise.
1935 (fts_close): Likewise.
1936 (fts_read): Likewise.
1937 (fts_children): Likewise.
1938 (fts_build): Likewise.
1939 (fts_stat): Likewise.
1940 (fts_sort): Likewise.
1941 (fts_alloc): Likewise.
1942 (fts_lfree): Likewise.
1943 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1944 (_IO_file_xsgetn): Likewise.
1945 (_IO_file_xsgetn_mmap): Likewise.
1946 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1947 (_IO_cookie_write): Likewise.
1948 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1949 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1950 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1951 * malloc/obstack.c (_obstack_begin): Likewise.
1952 (_obstack_begin_1): Likewise.
1953 (_obstack_newchunk): Likewise.
1954 (_obstack_allocated_p): Likewise.
1955 (obstack_free): Likewise.
1956 (_obstack_memory_used): Likewise.
1957 * misc/getttyent.c (getttynam): Likewise.
1958 (getttyent): Likewise.
1959 (skip): Likewise.
1960 (value): Likewise.
1961 * misc/getusershell.c (initshells): Likewise.
1962 * misc/syslog.c (__vsyslog_chk): Likewise.
1963 * misc/ttyslot.c (ttyslot): Likewise.
1964 * nis/nis_hash.c (__nis_hash): Likewise.
1965 * posix/fnmatch_loop.c (FCT): Likewise.
1966 * posix/getconf.c (print_all): Likewise.
1967 (main): Likewise.
1968 * posix/getopt.c (exchange): Likewise.
1969 * posix/glob.c (globfree): Likewise.
1970 (prefix_array): Likewise.
1971 (__glob_pattern_type): Likewise.
1972 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1973 (NS_GET32): Likewise.
1974 (NS_PUT16): Likewise.
1975 (NS_PUT32): Likewise.
1976 * resolv/gethnamaddr.c (getanswer): Likewise.
1977 (gethostbyname2): Likewise.
1978 (gethostbyaddr): Likewise.
1979 (_gethtent): Likewise.
1980 (_gethtbyname2): Likewise.
1981 (_gethtbyaddr): Likewise.
1982 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1983 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1984 * resolv/res_init.c (__res_vinit): Likewise.
1985 (net_mask): Likewise.
1986 * resolv/res_mkquery.c (outchar): Likewise.
1987 (PRINT): Likewise.
1988 * stdio-common/printf_fp.c (outchar): Likewise.
1989 (PRINT): Likewise.
1990 * stdio-common/printf_fphex.c (outchar): Likewise.
1991 (PRINT): Likewise.
1992 * stdio-common/printf_size.c (outchar): Likewise.
1993 (PRINT): Likewise.
1994 * stdio-common/test_rdwr.c (main): Likewise.
1995 * stdio-common/tfformat.c (matches): Likewise.
1996 * stdio-common/vfprintf.c (outchar): Likewise.
1997 (printf_unknown): Likewise.
1998 (buffered_vfprintf): Likewise.
1999 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2000 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2001 (ReadFile): Likewise.
2002 * stdlib/qsort.c (SWAP): Likewise.
2003 (_quicksort): Likewise.
2004 * stdlib/setenv.c (__add_to_environ): Likewise.
2005 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2006 * stdlib/strtol_l.c (__strtol_l): Likewise.
2007 * stdlib/tst-strtod.c (main): Likewise.
2008 * stdlib/tst-strtol.c (main): Likewise.
2009 * stdlib/tst-strtoll.c (main): Likewise.
2010 * string/bits/string2.h (__strcmp_cc): Likewise.
2011 (__strcmp_cg): Likewise.
2012 (__strcspn_c1): Likewise.
2013 (__strcspn_c2): Likewise.
2014 (__strcspn_c3): Likewise.
2015 (__strspn_c1): Likewise.
2016 (__strspn_c2): Likewise.
2017 (__strspn_c3): Likewise.
2018 (__strsep_1c): Likewise.
2019 (__strsep_2c): Likewise.
2020 (__strsep_3c): Likewise.
2021 * string/memccpy.c (__memccpy): Likewise.
2022 * string/stpcpy.c (__stpcpy): Likewise.
2023 * string/strcmp.c (strcmp): Likewise.
2024 * string/strrchr.c (strrchr): Likewise.
2025 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2026 Likewise.
2027 * sysdeps/mach/hurd/getcwd.c
2028 (_hurd_canonicalize_directory_name_internal): Likewise.
2029 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2030 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2031 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2032 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2033 Likewise, in both definitions.
2034 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2035 definitions.
2036 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2037 64] (__bswap_64): Likewise.
2038 * time/test_time.c (main): Likewise.
2039 * time/tzfile.c (__tzfile_read): Likewise.
2040 (__tzfile_compute): Likewise.
2041 * time/tzset.c (__tzset_parse_tz): Likewise.
2042 (tzset_internal): Likewise.
2043 (compute_change): Likewise.
2044 * wcsmbs/wcscat.c (__wcscat): Likewise.
2045 * wcsmbs/wcschr.c (wcschr): Likewise.
2046 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2047 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2048 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2049 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2050 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2051 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2052 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2053 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2054 * wcsmbs/wmemset.c (wmemset): Likewise.
2055
9e54314b
JM
20562013-06-06 Joseph Myers <joseph@codesourcery.com>
2057
2058 * scripts/config.guess: Update to version 2013-05-16.
2059 * scripts/config.sub: Update to version 2013-04-24.
2060 * scripts/install-sh: Update to version 2011-11-20.07.
2061 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2062 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2063
350635a5
OB
20642013-06-06 Ondřej Bílka <neleai@seznam.cz>
2065
2066 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2067 * elf/sln.c: Likewise.
2068 * hurd/hurd/ioctl.h: Likewise.
2069 * hurd/hurdmalloc.c: Likewise.
2070 * hurd/xattr.c: Likewise.
2071 * include/shlib-compat.h: Likewise.
2072 * inet/ruserpass.c: Likewise.
2073 * libio/iofgets_u.c: Likewise.
2074 * libio/iofgetws_u.c: Likewise.
2075 * locale/programs/ld-identification.c: Likewise.
2076 * locale/programs/ld-time.c: Likewise.
2077 * mach/msg-destroy.c: Likewise.
2078 * nss/nss_files/files-netgrp.c: Likewise.
2079 * resolv/res_data.c: Likewise.
2080 * soft-fp/op-1.h: Likewise.
2081 * soft-fp/op-2.h: Likewise.
2082 * soft-fp/op-4.h: Likewise.
2083 * soft-fp/op-common.h: Likewise.
2084 * stdio-common/printf_fphex.c: Likewise.
2085 * stdlib/strtod_l.c: Likewise.
2086 * sunrpc/rpc/clnt.h: Likewise.
2087 * sysdeps/generic/framestate.c: Likewise.
2088 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2089 * sysdeps/i386/bsd-setjmp.S: Likewise.
2090 * sysdeps/i386/__longjmp.S: Likewise.
2091 * sysdeps/i386/setjmp.S: Likewise.
2092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2093 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2110 * sysdeps/ieee754/support.c: Likewise.
2111 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2112 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2113 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2114 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2115 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2116 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2117 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2118 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2119 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2120 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2121 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2122 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2123 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2124 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2125 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2126 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2127 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2129
44a988af
OB
21302013-06-05 Ondřej Bílka <neleai@seznam.cz>
2131
25506f09 2132 * posix/transbug.c: Remove executable mode.
44a988af 2133
9c84384c
JM
21342013-06-05 Joseph Myers <joseph@codesourcery.com>
2135
2136 * crypt/speeds.c: Remove trailing whitespace.
2137 * dlfcn/default.c: Likewise.
2138 * elf/ifuncdep2.c: Likewise.
2139 * elf/ifuncmain1.c: Likewise.
2140 * elf/ifuncmain1vis.c: Likewise.
2141 * elf/testobj.h: Likewise.
2142 * elf/tst-stackguard1.c: Likewise.
2143 * gmon/sys/gmon.h: Likewise.
2144 * hurd/hurdmsg.c: Likewise.
2145 * hurd/new-fd.c: Likewise.
2146 * hurd/ports-get.c: Likewise.
2147 * iconvdata/ibm1008_420.c: Likewise.
2148 * inet/tst-getni1.c: Likewise.
2149 * inet/tst-getni2.c: Likewise.
2150 * libio/ioungetc.c: Likewise.
2151 * libio/wfiledoalloc.c: Likewise.
2152 * manual/libm-err-tab.pl: Likewise.
2153 * math/w_dremf.c: Likewise.
2154 * misc/ftruncate.c: Likewise.
2155 * posix/bug-glob2.c: Likewise.
2156 * posix/tst-pcre.c: Likewise.
2157 * posix/wait4.c: Likewise.
2158 * resolv/README: Likewise.
2159 * resolv/res_debug.h: Likewise.
2160 * resolv/tst-inet_ntop.c: Likewise.
2161 * setjmp/bug269-setjmp.c: Likewise.
2162 * soft-fp/extended.h: Likewise.
2163 * soft-fp/op-1.h: Likewise.
2164 * soft-fp/op-2.h: Likewise.
2165 * soft-fp/op-4.h: Likewise.
2166 * soft-fp/op-8.h: Likewise.
2167 * soft-fp/testit.c: Likewise.
2168 * stdio-common/bug16.c: Likewise.
2169 * stdlib/random.c: Likewise.
2170 * sunrpc/rpcsvc/rquota.x: Likewise.
2171 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2172 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2173 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2174 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2175 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2176 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2177 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2178 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2179 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2180 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2181 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2200 * sysdeps/ieee754/s_lib_version.c: Likewise.
2201 * sysdeps/mach/hurd/check_fds.c: Likewise.
2202 * sysdeps/mach/hurd/getsockname.c: Likewise.
2203 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2204 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2205 * sysdeps/powerpc/bits/link.h: Likewise.
2206 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2207 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2208 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2209 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2210 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2211 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2212 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2213 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2214 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2215 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2216 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2217 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2218 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2219 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2220 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2221 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2222 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2223 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2225 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2226 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2227 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2229 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2230 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2231 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2232 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2233 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2234 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2235 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2236 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2237 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2238 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2239 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2240 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2241 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2242 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2243 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2244 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2245 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2246 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2247 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2248 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2249 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2250 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2251 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2252 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2253 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2254 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2255 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2258 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2260 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2261 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2262 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2263 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2264 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2265 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2266 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2267 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2268 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2269 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2270 * sysdeps/powerpc/sysdep.h: Likewise.
2271 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2272 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2273 * sysdeps/sh/dl-trampoline.S: Likewise.
2274 * sysdeps/sh/memset.S: Likewise.
2275 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2276 * sysdeps/sh/strlen.S: Likewise.
2277 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2278 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2279 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2280 * sysdeps/sparc/sparc32/rem.S: Likewise.
2281 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2282 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2283 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2284 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2285 * sysdeps/sparc/sparc32/urem.S: Likewise.
2286 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2287 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2288 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2289 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2290 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2291 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2292 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2293 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2294 * sysdeps/unix/bsd/times.c: Likewise.
2295 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2296 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2301 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2302 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2303 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2304 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2305 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2306 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2307 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2308 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2309 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2310 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2311 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2313 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2314 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2315 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2316 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2317 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2318 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2319 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2320 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2321 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2322 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2323 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2324 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2325 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2326 * sysdeps/x86_64/strcspn.S: Likewise.
2327
869378a5
RA
23282013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2329
2330 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2331 generated file. Regenerate properly from gen-translit.pl.
2332 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2333 locale/C-translit.h.
2334
840e2943
AS
23352013-06-05 Andreas Schwab <schwab@suse.de>
2336
2337 [BZ #15100]
2338 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2339 week as 6 instead of -1.
2340 * time/tst-strptime.c (day_tests): Add test case.
2341
4c60cb0c
SP
23422013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2343
2344 * sysdeps/generic/math_private.h
2345 (libc_feholdexcept_setround_53bit): Replace with
2346 libc_feholdsetround_53bit.
2347 (libc_feupdateenv_53bit): Replace with
2348 libc_feresetround_53bit.
2349 (SET_RESTORE_ROUND_53BIT): Adjust.
2350
d180203e
SP
23512013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2352
96df079a
SP
2353 * string/test-strchrnul.c: Add copyright header.
2354
d180203e
SP
2355 * posix/tst-getaddrinfo4.c: Increase test timeout.
2356
8b0ccb2d
CD
23572013-06-03 Carlos O'Donell <carlos@redhat.com>
2358
2359 [BZ #15536]
2360 * math/libm-test.inc (MAX_EXP): Remove
2361 (MIN_EXP): Define.
2362 (ulp): Use MIN_EXP - MANT_DIG.
2363 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2364
3b3c4d40
CD
23652013-05-31 Carlos O'Donell <carlos@redhat.com>
2366
2367 * po/be.po: Revert last change.
2368 * po/zh_CN.po: Likewise.
2369 * po/header.pot: Likewise.
2370
fab7ce3f
JM
23712013-05-31 Joseph Myers <joseph@codesourcery.com>
2372
2373 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2374 link-libc-deps to empty as target-specific variable.
2375 * Makerules (link-libc-args): New variable.
2376 (libc-for-link): Likewise.
2377 (link-libc-deps): Likewise.
2378 (lib%.so): Depend on $(link-libc-deps). Link with
2379 $(link-libc-args).
2380 (build-module): Link with $(link-libc-args).
2381 (build-module-asneeded): Likewise.
2382 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2383 list of objects.
2384 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2385 target-specific variable.
2386 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2387 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2388 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2389 libc.
2390 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2391 libc and ld.so.
2392 ($(objpfx)libpcprofile.so): Likewise.
2393 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2394 libc_nonshared.a.
2395 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2396 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2397 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2398 $(link-libc-deps).
2399 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2400 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2401 * login/Makefile ($(objpfx)libutil.so): Likewise.
2402 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2403 * math/Makefile ($(objpfx)libm.so): Likewise.
2404 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2405 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2406 variable instead of depending directly on libc.
2407 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2408 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2409 $(link-libc-deps).
2410 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2411 libc.
2412 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2413 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2414 ($(objpfx)libanl.so): Likewise.
2415 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2416 ld.so.
2417 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2418 $(link-libc-deps).
2419 * sysdeps/i386/fpu/Makefile: Remove file.
2420 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2421 ($(objpfx)libm.so): Remove dependency on ld.so.
2422
eca5920c
PF
24232013-05-30 Patsy Franklin <pfrankli@redhat.com>
2424
2425 [BZ # 15553]
2426 * nis/yp_xdr.c (XDRMAXNAME): Define.
2427 (XDRMAXRECORD): Define.
2428 (xdr_domainname): Use XDRMAXNAME.
2429 (xdr_mapname): Likewise.
2430 (xdr_peername): Likewise.
2431 (xdr_keydat): Use XDRMAXRECORD.
2432 (xdr_valdat): Likewise.
2433
24342013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2435
2436 [BZ #14256]
2437 * manual/errno.texi (ESTALE): Update to account for more than
2438 just NFS file systems.
2439 * sysdeps/gnu/errlist.c: Regenerated.
2440
b9375348
SP
24412013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2442
2443 [BZ #15465]
2444 * elf/Makefile (tests): Add tst-null-argv.
2445 (modules-names): Add tst-null-argv-lib.
2446 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2447 (tst-null-argv-ENV): Set environment for tst-null-argv.
2448 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2449 (RTLD_PROGNAME): New macro.
2450 * elf/tst-null-argv.c: New test case.
2451 * elf/tst-null-argv-lib.c: Library for test case.
2452 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2453 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2454 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2455 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2456 * elf/dl-init.c (call_init): Likewise.
2457 (_dl_init): Likewise.
2458 * elf/dl-load.c (print_search_path): Likewise.
2459 (_dl_map_object): Likewise.
2460 * elf/dl-lookup.c (do_lookup_x): Likewise.
2461 (add_dependency): Likewise.
2462 (_dl_lookup_symbol_x): Likewise.
2463 (_dl_debug_bindings): Likewise.
2464 * elf/dl-open.c (_dl_show_scope): Likewise.
2465 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2466 * elf/dl-version.c (match_symbol): Likewise.
2467 (_dl_check_map_versions): Likewise.
2468 * elf/rtld.c (dl_main): Likewise.
2469 (print_unresolved): Use RTLD_PROGNAME.
2470 (print_missing_version): Likewise.
2471 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2472 (elf_machine_rela): Likewise.
2473 * sysdeps/powerpc/powerpc32/dl-machine.c
2474 (__process_machine_rela): Likewise.
2475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2476 Likewise.
2477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2478 Likewise.
2479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2480 Likewise.
2481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2483 Likewise.
2484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2485 Likewise.
2486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2487
8a9f20c8
CD
24882013-05-28 Carlos O'Donell <carlos@redhat.com>
2489
2490 * po/be.po: Add descriptive title.
2491 * po/zh_CN.po: Likewise.
2492 * po/header.pot: Likewise.
2493
0e60d68e
MF
24942013-05-28 Mike Frysinger <vapier@gentoo.org>
2495
2496 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2497 error message.
2498 (enlarge_archive): Likewise.
2499
56b672e9
BN
25002013-05-28 Ben North <ben@redfrontdoor.org>
2501
2502 * manual/arith.texi (frexp): It is the magnitude of the return
2503 value which lies in [0.5, 1), not the return value itself.
2504
5e056687
AZ
25052013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2506
2507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2508
2b66ef5d
TS
25092013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2510
528c2405
TS
2511 * stdio-common/bug26.c (main): Correct fscanf template.
2512
07b4c13d
TS
2513 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2514 declare _dl_skip_args.
2515
ec9dd97c
TS
2516 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2517 Don't declare.
2518
2b66ef5d
TS
2519 * manual/platform.texi: Add missing @end deftypefun.
2520
4f8dfe27
JM
25212013-05-24 Joseph Myers <joseph@codesourcery.com>
2522
0323d086
JM
2523 [BZ #15529]
2524 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2525 bit of mantissa of 2^16382.
2526 * math/libm-test.inc (hypot_test_data): Add more tests.
2527
dd4259b9
JM
2528 * math/libm-test.inc: Add drem and pow10 to list of tested
2529 functions.
2530 (pow10_test): New function.
2531 (drem_test): Likewise.
2532 (drem_test_tonearest): Likewise.
2533 (drem_test_towardzero): Likewise.
2534 (drem_test_downward): Likewise.
2535 (drem_test_upward): Likewise.
2536 (main): Call the new functions.
2537
4f8dfe27
JM
2538 * math/libm-test.inc (finite_test_data): Remove.
2539 (finite_test): Run tests from isfinite_test_data.
2540 (gamma_test_data): Remove.
2541 (gamma_test): Run tests from lgamma_test_data.
2542 * sysdeps/i386/fpu/libm-test-ulps: Update.
2543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2544
d116b7c4
AZ
25452013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2546
2547 * manual/platform.texi: Add PowerPC PPR function set documentation.
2548 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2549 implementation.
2550
e96e3767
CD
25512013-05-24 Carlos O'Donell <carlos@redhat.com>
2552
2553 * math/libm-test.inc (MAX_EXP): Define.
2554 (ULPDIFF): Define.
2555 (ulp): New function.
2556 (check_float_internal): Use ULPDIFF.
2557 (cpow_test): Disable failing test.
2558 (check_ulp): Test ulp() implemetnation.
2559 (main): Call check_ulp before starting tests.
2560
b679a606
JM
25612013-05-24 Joseph Myers <joseph@codesourcery.com>
2562
e8bdba36
JM
2563 * math/gen-libm-test.pl (generate_testfile): Do not handle
2564 START_DATA and END_DATA.
2565 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2566 END_DATA.
2567 (acos_tonearest_test_data): Likewise.
2568 (acos_towardzero_test_data): Likewise.
2569 (acos_downward_test_data): Likewise.
2570 (acos_upward_test_data): Likewise.
2571 (acosh_test_data): Likewise.
2572 (asin_test_data): Likewise.
2573 (asin_tonearest_test_data): Likewise.
2574 (asin_towardzero_test_data): Likewise.
2575 (asin_downward_test_data): Likewise.
2576 (asin_upward_test_data): Likewise.
2577 (asinh_test_data): Likewise.
2578 (atan_test_data): Likewise.
2579 (atanh_test_data): Likewise.
2580 (atan2_test_data): Likewise.
2581 (cabs_test_data): Likewise.
2582 (cacos_test_data): Likewise.
2583 (cacosh_test_data): Likewise.
2584 (carg_test_data): Likewise.
2585 (casin_test_data): Likewise.
2586 (casinh_test_data): Likewise.
2587 (catan_test_data): Likewise.
2588 (catanh_test_data): Likewise.
2589 (cbrt_test_data): Likewise.
2590 (ccos_test_data): Likewise.
2591 (ccosh_test_data): Likewise.
2592 (ceil_test_data): Likewise.
2593 (cexp_test_data): Likewise.
2594 (cimag_test_data): Likewise.
2595 (clog_test_data): Likewise.
2596 (clog10_test_data): Likewise.
2597 (conj_test_data): Likewise.
2598 (copysign_test_data): Likewise.
2599 (cos_test_data): Likewise.
2600 (cos_tonearest_test_data): Likewise.
2601 (cos_towardzero_test_data): Likewise.
2602 (cos_downward_test_data): Likewise.
2603 (cos_upward_test_data): Likewise.
2604 (cosh_test_data): Likewise.
2605 (cosh_tonearest_test_data): Likewise.
2606 (cosh_towardzero_test_data): Likewise.
2607 (cosh_downward_test_data): Likewise.
2608 (cosh_upward_test_data): Likewise.
2609 (cpow_test_data): Likewise.
2610 (cproj_test_data): Likewise.
2611 (creal_test_data): Likewise.
2612 (csin_test_data): Likewise.
2613 (csinh_test_data): Likewise.
2614 (csqrt_test_data): Likewise.
2615 (ctan_test_data): Likewise.
2616 (ctan_tonearest_test_data): Likewise.
2617 (ctan_towardzero_test_data): Likewise.
2618 (ctan_downward_test_data): Likewise.
2619 (ctan_upward_test_data): Likewise.
2620 (ctanh_test_data): Likewise.
2621 (ctanh_tonearest_test_data): Likewise.
2622 (ctanh_towardzero_test_data): Likewise.
2623 (ctanh_downward_test_data): Likewise.
2624 (ctanh_upward_test_data): Likewise.
2625 (erf_test_data): Likewise.
2626 (erfc_test_data): Likewise.
2627 (exp_test_data): Likewise.
2628 (exp_tonearest_test_data): Likewise.
2629 (exp_towardzero_test_data): Likewise.
2630 (exp_downward_test_data): Likewise.
2631 (exp_upward_test_data): Likewise.
2632 (exp10_test_data): Likewise.
2633 (exp2_test_data): Likewise.
2634 (expm1_test_data): Likewise.
2635 (fabs_test_data): Likewise.
2636 (fdim_test_data): Likewise.
2637 (finite_test_data): Likewise.
2638 (floor_test_data): Likewise.
2639 (fma_test_data): Likewise.
2640 (fma_towardzero_test_data): Likewise.
2641 (fma_downward_test_data): Likewise.
2642 (fma_upward_test_data): Likewise.
2643 (fmax_test_data): Likewise.
2644 (fmin_test_data): Likewise.
2645 (fmod_test_data): Likewise.
2646 (fpclassify_test_data): Likewise.
2647 (frexp_test_data): Likewise.
2648 (gamma_test_data): Likewise.
2649 (hypot_test_data): Likewise.
2650 (ilogb_test_data): Likewise.
2651 (isfinite_test_data): Likewise.
2652 (isgreater_test_data): Likewise.
2653 (isgreaterequal_test_data): Likewise.
2654 (isinf_test_data): Likewise.
2655 (isless_test_data): Likewise.
2656 (islessequal_test_data): Likewise.
2657 (islessgreater_test_data): Likewise.
2658 (isnan_test_data): Likewise.
2659 (isnormal_test_data): Likewise.
2660 (issignaling_test_data): Likewise.
2661 (isunordered_test_data): Likewise.
2662 (j0_test_data): Likewise.
2663 (j1_test_data): Likewise.
2664 (jn_test_data): Likewise.
2665 (ldexp_test_data): Likewise.
2666 (lgamma_test_data): Likewise.
2667 (lrint_test_data): Likewise.
2668 (lrint_tonearest_test_data): Likewise.
2669 (lrint_towardzero_test_data): Likewise.
2670 (lrint_downward_test_data): Likewise.
2671 (lrint_upward_test_data): Likewise.
2672 (llrint_test_data): Likewise.
2673 (llrint_tonearest_test_data): Likewise.
2674 (llrint_towardzero_test_data): Likewise.
2675 (llrint_downward_test_data): Likewise.
2676 (llrint_upward_test_data): Likewise.
2677 (log_test_data): Likewise.
2678 (log10_test_data): Likewise.
2679 (log1p_test_data): Likewise.
2680 (log2_test_data): Likewise.
2681 (logb_test_data): Likewise.
2682 (logb_downward_test_data): Likewise.
2683 (lround_test_data): Likewise.
2684 (llround_test_data): Likewise.
2685 (modf_test_data): Likewise.
2686 (nearbyint_test_data): Likewise.
2687 (nextafter_test_data): Likewise.
2688 (nexttoward_test_data): Likewise.
2689 (pow_test_data): Likewise.
2690 (pow_tonearest_test_data): Likewise.
2691 (pow_towardzero_test_data): Likewise.
2692 (pow_downward_test_data): Likewise.
2693 (pow_upward_test_data): Likewise.
2694 (remainder_test_data): Likewise.
2695 (remainder_tonearest_test_data): Likewise.
2696 (remainder_towardzero_test_data): Likewise.
2697 (remainder_downward_test_data): Likewise.
2698 (remainder_upward_test_data): Likewise.
2699 (remquo_test_data): Likewise.
2700 (rint_test_data): Likewise.
2701 (rint_tonearest_test_data): Likewise.
2702 (rint_towardzero_test_data): Likewise.
2703 (rint_downward_test_data): Likewise.
2704 (rint_upward_test_data): Likewise.
2705 (round_test_data): Likewise.
2706 (scalb_test_data): Likewise.
2707 (scalbn_test_data): Likewise.
2708 (scalbln_test_data): Likewise.
2709 (signbit_test_data): Likewise.
2710 (sin_test_data): Likewise.
2711 (sin_tonearest_test_data): Likewise.
2712 (sin_towardzero_test_data): Likewise.
2713 (sin_downward_test_data): Likewise.
2714 (sin_upward_test_data): Likewise.
2715 (sincos_test_data): Likewise.
2716 (sinh_test_data): Likewise.
2717 (sinh_tonearest_test_data): Likewise.
2718 (sinh_towardzero_test_data): Likewise.
2719 (sinh_downward_test_data): Likewise.
2720 (sinh_upward_test_data): Likewise.
2721 (sqrt_test_data): Likewise.
2722 (tan_test_data): Likewise.
2723 (tan_tonearest_test_data): Likewise.
2724 (tan_towardzero_test_data): Likewise.
2725 (tan_downward_test_data): Likewise.
2726 (tan_upward_test_data): Likewise.
2727 (tanh_test_data): Likewise.
2728 (tgamma_test_data): Likewise.
2729 (trunc_test_data): Likewise.
2730 (y0_test_data): Likewise.
2731 (y1_test_data): Likewise.
2732 (yn_test_data): Likewise.
2733 (significand_test_data): Likewise.
2734
b679a606
JM
2735 * math/gen-libm-test.pl (@functions): Remove variable.
2736 (generate_testfile): Don't handle START and END lines.
2737 * math/libm-test.inc (START): New macro.
2738 (END): Likewise.
2739 (END_COMPLEX): Likewise.
2740 (acos_test): Use END macro without arguments.
2741 (acos_test_tonearest): Likewise.
2742 (acos_test_towardzero): Likewise.
2743 (acos_test_downward): Likewise.
2744 (acos_test_upward): Likewise.
2745 (acosh_test): Likewise.
2746 (asin_test): Likewise.
2747 (asin_test_tonearest): Likewise.
2748 (asin_test_towardzero): Likewise.
2749 (asin_test_downward): Likewise.
2750 (asin_test_upward): Likewise.
2751 (asinh_test): Likewise.
2752 (atan_test): Likewise.
2753 (atanh_test): Likewise.
2754 (atan2_test): Likewise.
2755 (cabs_test): Likewise.
2756 (cacos_test): Use END_COMPLEX macro without arguments.
2757 (cacosh_test): Likewise.
2758 (carg_test): Use END macro without arguments.
2759 (casin_test): Use END_COMPLEX macro without arguments.
2760 (casinh_test): Likewise.
2761 (catan_test): Likewise.
2762 (catanh_test): Likewise.
2763 (cbrt_test): Use END macro without arguments.
2764 (ccos_test): Use END_COMPLEX macro without arguments.
2765 (ccosh_test): Likewise.
2766 (ceil_test): Use END macro without arguments.
2767 (cexp_test): Use END_COMPLEX macro without arguments.
2768 (cimag_test): Use END macro without arguments.
2769 (clog_test): Use END_COMPLEX macro without arguments.
2770 (clog10_test): Likewise.
2771 (conj_test): Likewise.
2772 (copysign_test): Use END macro without arguments.
2773 (cos_test): Likewise.
2774 (cos_test_tonearest): Likewise.
2775 (cos_test_towardzero): Likewise.
2776 (cos_test_downward): Likewise.
2777 (cos_test_upward): Likewise.
2778 (cosh_test): Likewise.
2779 (cosh_test_tonearest): Likewise.
2780 (cosh_test_towardzero): Likewise.
2781 (cosh_test_downward): Likewise.
2782 (cosh_test_upward): Likewise.
2783 (cpow_test): Use END_COMPLEX macro without arguments.
2784 (cproj_test): Likewise.
2785 (creal_test): Use END macro without arguments.
2786 (csin_test): Use END_COMPLEX macro without arguments.
2787 (csinh_test): Likewise.
2788 (csqrt_test): Likewise.
2789 (ctan_test): Likewise.
2790 (ctan_test_tonearest): Likewise.
2791 (ctan_test_towardzero): Likewise.
2792 (ctan_test_downward): Likewise.
2793 (ctan_test_upward): Likewise.
2794 (ctanh_test): Likewise.
2795 (ctanh_test_tonearest): Likewise.
2796 (ctanh_test_towardzero): Likewise.
2797 (ctanh_test_downward): Likewise.
2798 (ctanh_test_upward): Likewise.
2799 (erf_test): Use END macro without arguments.
2800 (erfc_test): Likewise.
2801 (exp_test): Likewise.
2802 (exp_test_tonearest): Likewise.
2803 (exp_test_towardzero): Likewise.
2804 (exp_test_downward): Likewise.
2805 (exp_test_upward): Likewise.
2806 (exp10_test): Likewise.
2807 (exp2_test): Likewise.
2808 (expm1_test): Likewise.
2809 (fabs_test): Likewise.
2810 (fdim_test): Likewise.
2811 (finite_test): Likewise.
2812 (floor_test): Likewise.
2813 (fma_test): Likewise.
2814 (fma_test_towardzero): Likewise.
2815 (fma_test_downward): Likewise.
2816 (fma_test_upward): Likewise.
2817 (fmax_test): Likewise.
2818 (fmin_test): Likewise.
2819 (fmod_test): Likewise.
2820 (fpclassify_test): Likewise.
2821 (frexp_test): Likewise.
2822 (gamma_test): Likewise.
2823 (hypot_test): Likewise.
2824 (ilogb_test): Likewise.
2825 (isfinite_test): Likewise.
2826 (isgreater_test): Likewise.
2827 (isgreaterequal_test): Likewise.
2828 (isinf_test): Likewise.
2829 (isless_test): Likewise.
2830 (islessequal_test): Likewise.
2831 (islessgreater_test): Likewise.
2832 (isnan_test): Likewise.
2833 (isnormal_test): Likewise.
2834 (issignaling_test): Likewise.
2835 (isunordered_test): Likewise.
2836 (j0_test): Likewise.
2837 (j1_test): Likewise.
2838 (jn_test): Likewise.
2839 (ldexp_test): Likewise.
2840 (lgamma_test): Likewise.
2841 (lrint_test): Likewise.
2842 (lrint_test_tonearest): Likewise.
2843 (lrint_test_towardzero): Likewise.
2844 (lrint_test_downward): Likewise.
2845 (lrint_test_upward): Likewise.
2846 (llrint_test): Likewise.
2847 (llrint_test_tonearest): Likewise.
2848 (llrint_test_towardzero): Likewise.
2849 (llrint_test_downward): Likewise.
2850 (llrint_test_upward): Likewise.
2851 (log_test): Likewise.
2852 (log10_test): Likewise.
2853 (log1p_test): Likewise.
2854 (log2_test): Likewise.
2855 (logb_test): Likewise.
2856 (logb_test_downward): Likewise.
2857 (lround_test): Likewise.
2858 (llround_test): Likewise.
2859 (modf_test): Likewise.
2860 (nearbyint_test): Likewise.
2861 (nextafter_test): Likewise.
2862 (nexttoward_test): Likewise.
2863 (pow_test): Likewise.
2864 (pow_test_tonearest): Likewise.
2865 (pow_test_towardzero): Likewise.
2866 (pow_test_downward): Likewise.
2867 (pow_test_upward): Likewise.
2868 (remainder_test): Likewise.
2869 (remainder_test_tonearest): Likewise.
2870 (remainder_test_towardzero): Likewise.
2871 (remainder_test_downward): Likewise.
2872 (remainder_test_upward): Likewise.
2873 (remquo_test): Likewise.
2874 (rint_test): Likewise.
2875 (rint_test_tonearest): Likewise.
2876 (rint_test_towardzero): Likewise.
2877 (rint_test_downward): Likewise.
2878 (rint_test_upward): Likewise.
2879 (round_test): Likewise.
2880 (scalb_test): Likewise.
2881 (scalbn_test): Likewise.
2882 (scalbln_test): Likewise.
2883 (signbit_test): Likewise.
2884 (sin_test): Likewise.
2885 (sin_test_tonearest): Likewise.
2886 (sin_test_towardzero): Likewise.
2887 (sin_test_downward): Likewise.
2888 (sin_test_upward): Likewise.
2889 (sincos_test): Likewise.
2890 (sinh_test): Likewise.
2891 (sinh_test_tonearest): Likewise.
2892 (sinh_test_towardzero): Likewise.
2893 (sinh_test_downward): Likewise.
2894 (sinh_test_upward): Likewise.
2895 (sqrt_test): Likewise.
2896 (tan_test): Likewise.
2897 (tan_test_tonearest): Likewise.
2898 (tan_test_towardzero): Likewise.
2899 (tan_test_downward): Likewise.
2900 (tan_test_upward): Likewise.
2901 (tanh_test): Likewise.
2902 (tgamma_test): Likewise.
2903 (trunc_test): Likewise.
2904 (y0_test): Likewise.
2905 (y1_test): Likewise.
2906 (yn_test): Likewise.
2907 (significand_test): Likewise.
2908
bae143d2
OB
29092013-05-24 Ondřej Bílka <neleai@seznam.cz>
2910
2911 [BZ #15381]
2912 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2913
9323d39b
EM
29142013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2915
d4ea44a0 2916 [BZ #14894]
9323d39b
EM
2917 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2918 __ppc_mdoio and __ppc_mdoom.
2919 * manual/platform.texi: Document new functions __ppc_yield,
2920 __ppc_mdoio and __ppc_mdoom.
2921
13e23af7
CD
29222013-05-22 Carlos O'Donell <carlos@redhat.com>
2923
2924 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2925 (main): Mention "tls" pseudo-hwcap is legacy.
2926 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2927
351fe550
JM
29282013-05-22 Joseph Myers <joseph@codesourcery.com>
2929
2930 * math/gen-libm-test.pl (parse_args): Output only string of
2931 arguments as text for test name, not full call or descriptions of
2932 tests for extra outputs.
2933 (generate_testfile): Do not pass function name to parse_args.
2934 Generate this_func variable from START.
2935 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2936 field to arg_str.
2937 (struct test_ff_f_data): Likewise.
2938 (test_ff_f_data_nexttoward): Likewise.
2939 (struct test_fi_f_data): Likewise.
2940 (struct test_fl_f_data): Likewise.
2941 (struct test_if_f_data): Likewise.
2942 (struct test_fff_f_data): Likewise.
2943 (struct test_c_f_data): Likewise.
2944 (struct test_f_f1_data): Likewise. Remove field extra_name.
2945 (struct test_fF_f1_data): Likewise.
2946 (struct test_ffI_f1_data): Likewise.
2947 (struct test_c_c_data): Rename test_name field to arg_str.
2948 (struct test_cc_c_data): Likewise.
2949 (struct test_f_i_data): Likewise.
2950 (struct test_ff_i_data): Likewise.
2951 (struct test_f_l_data): Likewise.
2952 (struct test_f_L_data): Likewise.
2953 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2954 and extra2_name.
2955 (COMMON_TEST_SETUP): New macro.
2956 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2957 (COMMON_TEST_CLEANUP): Likewise.
2958 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2959 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2960 macros.
2961 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2962 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2963 macros.
2964 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2965 (RUN_TEST_fff_f): Take argument string. Call new setup and
2966 cleanup macros.
2967 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2968 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2969 macros.
2970 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2971 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2972 macros.
2973 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2974 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2975 cleanup macros.
2976 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2977 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2978 cleanup macros.
2979 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2980 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2981 cleanup macros.
2982 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2983 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2984 macros.
2985 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2986 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2987 macros.
2988 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2989 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2990 macros.
2991 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2992 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2993 cleanup macros.
2994 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2995 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2996 cleanup macros.
2997 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2998 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2999 macros.
3000 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3001 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3002 cleanup macros.
3003 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3004 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3005 macros.
3006 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
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_fFF_11): Take argument string. Call new setup and
3011 cleanup macros.
3012 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3013
85118d4d
EBM
30142013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3015
3016 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3017 to _sifields.sigfault.
3018 (si_addr_lsb): Define new macro.
3019 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3021 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3022
7a44c18f
CD
30232013-05-03 Carlos O'Donell <carlos at redhat.com>
3024
3025 [BZ #15441]
3026 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3027 returns -1.
3028 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3029 null return -1.
3030 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3031 loading the domain.
3032
b50a7181
JM
30332013-05-22 Joseph Myers <joseph@codesourcery.com>
3034
3035 * math/gen-libm-test.pl (parse_args): Do not include expected
3036 result in test name.
3037 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3038 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3039 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3040 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3041 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3043
051063c8
SP
30442013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3045
3ce9e010
SP
3046 * benchtests/Makefile: Sort function entries.
3047
051063c8
SP
3048 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3049 tanh, asinh, acosh, atanh.
3050 * benchtests/acos-inputs: New file.
3051 * benchtests/acosh-inputs: New file.
3052 * benchtests/asin-inputs: New file.
3053 * benchtests/asinh-inputs: New file.
3054 * benchtests/atanh-inputs: New file.
3055 * benchtests/cosh-inputs: New file.
3056 * benchtests/log-inputs: New file.
3057 * benchtests/sinh-inputs: New file.
3058 * benchtests/tanh-inputs: New file.
3059
47c22455
DL
30602013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3061
3062 [BZ #15339]
3063 * posix/tst-getaddrinfo4.c: New test.
3064 * posix/Makefile (tests): Add it.
3065
3d04f5db
SP
30662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3067
3068 [BZ #15339]
3069 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3070 when no services were used.
3071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3072 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3073
d5dd6189
AS
30742013-05-21 Andreas Schwab <schwab@suse.de>
3075
3076 [BZ #15014]
3077 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3078 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3079 successful.
3080 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3081 redundant variable declarations and reallocation of buffer when
3082 parsing as IPv6 address. Always set NSS status when called from
3083 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3084 buffer too small. Correct computation of needed size.
3085 * nss/Makefile (tests): Add test-digits-dots.
3086 * nss/test-digits-dots.c: New test.
3087
fef94eab
SP
30882013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3089
3090 * benchtests/Makefile: Remove instructions for adding
3091 benchmark tests.
3092 * benchtests/README: New file to explain how to execute and
3093 enhance the benchmark tests.
3094
e39adf43
AS
30952013-05-21 Andreas Schwab <schwab@suse.de>
3096
3097 [BZ #15493]
3098 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3099 * setjmp/tst-sigsetjmp.c: New test.
3100
b2b671b6
OB
31012013-05-20 Ondřej Bílka <neleai@seznam.cz>
3102
3103 * sysdeps/x86_64/memset.S (memset): New implementation.
3104 (__bzero): Likewise.
3105 (__memset_tail): New function.
3106
2d48b41c
OB
31072013-05-20 Ondřej Bílka <neleai@seznam.cz>
3108
3109 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3110 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3111 __memcpy_sse2_unaligned ifunc selection.
3112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3113 Add memcpy-sse2-unaligned.S.
3114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3115 Add: __memcpy_sse2_unaligned.
3116
f16cc3eb
JM
31172013-05-19 Joseph Myers <joseph@codesourcery.com>
3118
3e694268
JM
3119 [BZ #15490]
3120 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3121 math_force_eval before restoring floating-point envrionment.
3122 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3124 Likewise.
3125 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3126 <math_private.h>.
3127 (__nearbyintl): Use math_force_eval before restoring
3128 floating-point environment.
3129 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3130
db62a907
JM
3131 * math/gen-libm-test.pl (special_functions): Remove.
3132 (parse_args): Don't handle TEST_extra. Handle functions with no
3133 return value.
3134 * math/libm-test.inc (struct test_sincos_data): Replace with
3135 struct test_fFF_11_data.
3136 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3137 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3138 (sincos_test_data): Change element type to struct
3139 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3140 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3141 RUN_TEST_LOOP_sincos.
3142 * math/README.libm-test: Don't mention special handling of
3143 individual functions.
3144 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3145 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3146 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3147 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3148 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3150
f16cc3eb
JM
3151 * math/gen-libm-test.pl (get_variable): Remove function.
3152 (parse_args): Don't show pointer parameters to call in test
3153 names. Use "extra output N" in test names for extra outputs
3154 rather than naming variables.
3155
3779b5b6
JM
31562013-05-18 Joseph Myers <joseph@codesourcery.com>
3157
2ee094ff
JM
3158 [BZ #15488]
3159 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3160 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3161 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3162 double tests.
3163 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3164 disable.
3165 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3166 check_long_double.
3167
3779b5b6
JM
3168 * math/gen-libm-test.pl (@tests): Remove variable.
3169 ($count): Likewise.
3170 (new_test): Remove function.
3171 (show_exceptions): New function.
3172 (special_functions): Use show_exceptions instead of new_test.
3173 (parse_args): Likewise.
3174 (generate_testfile): Pass only function name in generated call to
3175 print_max_error or print_complex_max_error.
3176 (get_ulps): Do not handle complex tests specially.
3177 (output_test): Rename to ...
3178 (get_all_ulps_for_test): ... this. Return a string rather than
3179 printing to a file. Require ulps to be present.
3180 (output_ulps): Generate arrays rather than #defines.
3181 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3182 (struct ulp_data): New type.
3183 (BUILD_COMPLEX_ULP): Remove macro.
3184 (compare_ulp_data): New function.
3185 (find_ulps): Likewise.
3186 (find_test_ulps): Likewise.
3187 (find_function_ulps): Likewise.
3188 (find_complex_function_ulps): Likewise.
3189 (print_max_error): Determine allowed ulps using
3190 find_function_ulps.
3191 (print_complex_max_error): Determine allowed ulps using
3192 find_complex_function_ulps.
3193 (check_float_internal): Determine max ulps using find_test_ulps.
3194 (check_float): Do not take max_ulp parameter. Update call to
3195 check_float_internal.
3196 (check_complex): Likewise.
3197 (check_int): Do not take max_ulp parameter.
3198 (check_long): Likewise.
3199 (check_bool): Likewise.
3200 (check_longlong): Likewise.
3201 (struct test_f_f_data): Remove max_ulp field.
3202 (struct test_ff_f_data): Likewise.
3203 (struct test_ff_f_data_nexttoward): Likewise.
3204 (struct test_fi_f_data): Likewise.
3205 (struct test_fl_f_data): Likewise.
3206 (struct test_if_f_data): Likewise.
3207 (struct test_fff_f_data): Likewise.
3208 (struct test_c_f_data): Likewise.
3209 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3210 (struct test_fF_f1_data): Likewise.
3211 (struct test_ffI_f1_data): Likewise.
3212 (struct test_c_c_data): Remove max_ulp field.
3213 (struct test_cc_c_data): Likewise.
3214 (struct test_f_i_data): Likewise.
3215 (struct test_ff_i_data): Likewise.
3216 (struct test_f_l_data): Likewise.
3217 (struct test_f_L_data): Likewise.
3218 (struct test_sincos_data): Likewise.
3219 (RUN_TEST_f_f): Do not handle ulps.
3220 (RUN_TEST_LOOP_f_f): Likewise.
3221 (RUN_TEST_2_f): Likewise.
3222 (RUN_TEST_LOOP_2_f): Likewise.
3223 (RUN_TEST_fff_f): Likewise.
3224 (RUN_TEST_LOOP_fff_f): Likewise.
3225 (RUN_TEST_c_f): Likewise.
3226 (RUN_TEST_LOOP_c_f): Likewise.
3227 (RUN_TEST_f_f1): Likewise.
3228 (RUN_TEST_LOOP_f_f1): Likewise.
3229 (RUN_TEST_fF_f1): Likewise.
3230 (RUN_TEST_LOOP_fF_f1): Likewise.
3231 (RUN_TEST_fI_f1): Likewise.
3232 (RUN_TEST_LOOP_fI_f1): Likewise.
3233 (RUN_TEST_ffI_f1): Likewise.
3234 (RUN_TEST_LOOP_ffI_f1): Likewise.
3235 (RUN_TEST_c_c): Likewise.
3236 (RUN_TEST_LOOP_c_c): Likewise.
3237 (RUN_TEST_cc_c): Likewise.
3238 (RUN_TEST_LOOP_cc_c): Likewise.
3239 (RUN_TEST_f_i): Likewise.
3240 (RUN_TEST_LOOP_f_i): Likewise.
3241 (RUN_TEST_f_i_tg): Likewise.
3242 (RUN_TEST_LOOP_f_i_tg): Likewise.
3243 (RUN_TEST_ff_i_tg): Likewise.
3244 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3245 (RUN_TEST_f_b): Likewise.
3246 (RUN_TEST_LOOP_f_b): Likewise.
3247 (RUN_TEST_f_b_tg): Likewise.
3248 (RUN_TEST_LOOP_f_b_tg): Likewise.
3249 (RUN_TEST_f_l): Likewise.
3250 (RUN_TEST_LOOP_f_l): Likewise.
3251 (RUN_TEST_f_L): Likewise.
3252 (RUN_TEST_LOOP_f_L): Likewise.
3253 (RUN_TEST_sincos): Likewise.
3254 (RUN_TEST_LOOP_sincos): Likewise.
3255
8269107f
JM
32562013-05-17 Joseph Myers <joseph@codesourcery.com>
3257
bb38759d
JM
3258 [BZ #15480]
3259 [BZ #15485]
3260 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3261 main case of finite arguments, set rounding mode to FE_TONEAREST
3262 and discard exceptions.
3263 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3264 exceptions.
3265 (remainder_tonearest_test_data): New variable.
3266 (remainder_test_tonearest): New function.
3267 (remainder_towardzero_test_data): New variable.
3268 (remainder_test_towardzero): New function.
3269 (remainder_downward_test_data): New variable.
3270 (remainder_test_downward): New function.
3271 (remainder_upward_test_data): New variable.
3272 (remainder_test_upward): New function.
3273 (main): Call the new test functions.
3274
a00bdcf0
JM
3275 * math/libm-test.inc (struct test_f_f1_data): Remove field
3276 extra_init.
3277 (struct test_fF_f1_data): Likewise.
3278 (struct test_ffI_f1_data): Likewise.
3279 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3280 based on value of EXTRA_EXPECTED.
3281 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3282 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3283 EXTRA_VAR based on value of EXTRA_EXPECTED.
3284 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3285 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3286 EXTRA_VAR based on value of EXTRA_EXPECTED.
3287 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3288 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3289 EXTRA_VAR based on value of EXTRA_EXPECTED.
3290 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3291 * math/gen-libm-test.pl (parse_args): Don't output initializers
3292 for extra output values.
3293
de407f79
JM
3294 * math/libm-test.inc (check_int): Expect result to be exactly
3295 equal to expected value and do not handle ulps.
3296 (check_long): Likewise.
3297 (check_longlong): Likewise.
3298
8269107f
JM
3299 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3300 exceptions.
3301 (cimag_test_data): Likewise.
3302 (conj_test_data): Likewise.
3303 (copysign_test_data): Likewise.
3304 (cproj_test_data): Likewise.
3305 (creal_test_data): Likewise.
3306 (fabs_test_data): Likewise.
3307 (fdim_test_data): Likewise.
3308 (finite_test_data): Likewise.
3309 (floor_test_data): Likewise.
3310 (fmax_test_data): Likewise.
3311 (fmin_test_data): Likewise.
3312 (fmod_test_data): Likewise.
3313 (fpclassify_test_data): Likewise.
3314 (frexp_test_data): Likewise.
3315 (ilogb_test_data): Likewise.
3316 (isfinite_test_data): Likewise.
3317 (isgreater_test_data): Likewise.
3318 (isgreaterequal_test_data): Likewise.
3319 (isinf_test_data): Likewise.
3320 (isless_test_data): Likewise.
3321 (islessequal_test_data): Likewise.
3322 (islessgreater_test_data): Likewise.
3323 (isnan_test_data): Likewise.
3324 (isnormal_test_data): Likewise.
3325 (issignaling_test_data): Likewise.
3326 (isunordered_test_data): Likewise.
3327 (ldexp_test_data): Likewise.
3328 (lrint_test_data): Likewise.
3329 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3330 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3331 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3332 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3333 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3334 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3335 test input.
3336 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3337 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3338 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3339 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3340 that test input.
3341 (lrint_downward_test_data): Test for "inexact" exceptions.
3342 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3343 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3344 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3345 test input.
3346 (lrint_upward_test_data): Test for "inexact" exceptions.
3347 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3348 test input.
3349 (llrint_test_data): Test for "inexact" exceptions.
3350 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3351 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3352 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3353 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3354 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3355 (llrint_downward_test_data): Test for "inexact" exceptions.
3356 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3357 (llrint_upward_test_data): Test for "inexact" exceptions.
3358 (logb_test_data): Likewise.
3359 (logb_downward_test_data): Likewise.
3360 (nextafter_test_data): Likewise.
3361 (nexttoward_test_data): Likewise.
3362 (remainder_test_data): Likewise.
3363 (remquo_test_data): Likewise.
3364 (scalbn_test_data): Likewise.
3365 (scalbln_test_data): Likewise.
3366 (signbit_test_data): Likewise.
3367 (sqrt_test_data): Likewise.
3368 (significand_test_data): Likewise.
3369
48a18de1
SP
33702013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
3372 [BZ #15424]
3373 * benchtests/bench-modf.c (struct args): Mark arg0 as
3374 volatile.
3375 * scripts/bench.pl: Mark members of struct args as volatile.
3376
13d3b41a
AZ
33772013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3378
68191c1d 3379 [BZ # 15497]
13d3b41a
AZ
3380 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3381 negative infinity on POWER6 or lower.
3382 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3383
2848b105
MR
33842013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3385
3386 [BZ #15442]
3387 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3388 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3389 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3390 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3391 (_FP_SETQNAN): New macro.
3392 (_FP_SETQNAN_SEMIRAW): Likewise.
3393 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3394 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3395 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3396 (FP_EXTEND): Use _FP_FRAC_SNANP.
3397 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3398 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3399 into account.
3400 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3401 New macro.
3402 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3403 Likewise.
3404
323e5cb7
JM
34052013-05-16 Joseph Myers <joseph@codesourcery.com>
3406
c58b274f
JM
3407 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3408 with DIVIDE_BY_ZERO_EXCEPTION.
3409 (gamma_test_data): Likewise.
3410 (lgamma_test_data): Likewise.
3411 (log_test_data): Likewise.
3412 (log10_test_data): Likewise.
3413 (log2_test_data): Likewise.
3414 (tgamma_test_data): Likewise.
3415
0ab34904
JM
3416 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3417 (acos_test_tonearest): Likewise.
3418 (acos_test_towardzero): Likewise.
3419 (acos_test_downward): Likewise.
3420 (acos_test_upward): Likewise.
3421 (acosh_test): Likewise.
3422 (asin_test): Likewise.
3423 (asin_test_tonearest): Likewise.
3424 (asin_test_towardzero): Likewise.
3425 (asin_test_downward): Likewise.
3426 (asin_test_upward): Likewise.
3427 (asinh_test): Likewise.
3428 (atan_test): Likewise.
3429 (atanh_test): Likewise.
3430 (atan2_test): Likewise.
3431 (cabs_test): Likewise.
3432 (cacos_test): Likewise.
3433 (cacosh_test): Likewise.
3434 (casin_test): Likewise.
3435 (casinh_test): Likewise.
3436 (catan_test): Likewise.
3437 (catanh_test): Likewise.
3438 (cbrt_test): Likewise.
3439 (ccos_test): Likewise.
3440 (ccosh_test): Likewise.
3441 (cexp_test): Likewise.
3442 (clog_test): Likewise.
3443 (clog10_test): Likewise.
3444 (cos_test): Likewise.
3445 (cos_test_tonearest): Likewise.
3446 (cos_test_towardzero): Likewise.
3447 (cos_test_downward): Likewise.
3448 (cos_test_upward): Likewise.
3449 (cosh_test): Likewise.
3450 (cosh_test_tonearest): Likewise.
3451 (cosh_test_towardzero): Likewise.
3452 (cosh_test_downward): Likewise.
3453 (cosh_test_upward): Likewise.
3454 (cpow_test): Likewise.
3455 (csin_test): Likewise.
3456 (csinh_test): Likewise.
3457 (csqrt_test): Likewise.
3458 (ctan_test): Likewise.
3459 (ctan_test_tonearest): Likewise.
3460 (ctan_test_towardzero): Likewise.
3461 (ctan_test_downward): Likewise.
3462 (ctan_test_upward): Likewise.
3463 (ctanh_test): Likewise.
3464 (ctanh_test_tonearest): Likewise.
3465 (ctanh_test_towardzero): Likewise.
3466 (ctanh_test_downward): Likewise.
3467 (ctanh_test_upward): Likewise.
3468 (erf_test): Likewise.
3469 (erfc_test): Likewise.
3470 (exp_test): Likewise.
3471 (exp_test_tonearest): Likewise.
3472 (exp_test_towardzero): Likewise.
3473 (exp_test_downward): Likewise.
3474 (exp_test_upward): Likewise.
3475 (exp10_test): Likewise.
3476 (exp2_test): Likewise.
3477 (expm1_test): Likewise.
3478 (fmod_test): Likewise.
3479 (gamma_test): Likewise.
3480 (hypot_test): Likewise.
3481 (j0_test): Likewise.
3482 (j1_test): Likewise.
3483 (jn_test): Likewise.
3484 (lgamma_test): Likewise.
3485 (log_test): Likewise.
3486 (log10_test): Likewise.
3487 (log1p_test): Likewise.
3488 (log2_test): Likewise.
3489 (logb_test_downward): Likewise.
3490 (pow_test): Likewise.
3491 (pow_test_tonearest): Likewise.
3492 (pow_test_towardzero): Likewise.
3493 (pow_test_downward): Likewise.
3494 (pow_test_upward): Likewise.
3495 (remainder_test): Likewise.
3496 (remquo_test): Likewise.
3497 (sin_test): Likewise.
3498 (sin_test_tonearest): Likewise.
3499 (sin_test_towardzero): Likewise.
3500 (sin_test_downward): Likewise.
3501 (sin_test_upward): Likewise.
3502 (sincos_test): Likewise.
3503 (sinh_test): Likewise.
3504 (sinh_test_tonearest): Likewise.
3505 (sinh_test_towardzero): Likewise.
3506 (sinh_test_downward): Likewise.
3507 (sinh_test_upward): Likewise.
3508 (sqrt_test): Likewise.
3509 (tan_test): Likewise.
3510 (tan_test_tonearest): Likewise.
3511 (tan_test_towardzero): Likewise.
3512 (tan_test_downward): Likewise.
3513 (tan_test_upward): Likewise.
3514 (tanh_test): Likewise.
3515 (tgamma_test): Likewise.
3516 (y0_test): Likewise.
3517 (y1_test): Likewise.
3518 (yn_test): Likewise.
3519
323e5cb7
JM
3520 * math/gen-libm-test.pl (adjust_arg): Remove function.
3521 (special_function): Remove argument $in_func. Only handle
3522 generating output for tables of tests, not inside functions.
3523 (parse_args): Likewise.
3524 (generate_testfile): Remove variable $in_func. Update call to
3525 parse_args.
3526 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3527 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3528 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3529 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3530 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3531 (MAX_VALUE_INIT): Rename macro to max_value.
3532 (MIN_VALUE_INIT): Rename macro to min_value.
3533 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3534 (plus_zero): Remove variable.
3535 (minus_zero): Likewise.
3536 (plus_infty): Likewise.
3537 (minus_infty): Likewise.
3538 (qnan_value): Likewise.
3539 (max_value): Likewise.
3540 (min_value): Likewise.
3541 (min_subnorm_value): Likewise.
3542
e054f494
RA
35432013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3544
3545 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3546 uint64_t or uint32_t usage.
3547 * crypt/sha256-block.c: Likewise.
3548 * crypt/sha256-crypt.c: Likewise.
3549 * crypt/sha256.c: Likewise.
3550 * crypt/sha512-block.c: Likewise.
3551 * crypt/sha512-crypt.c: Likewise.
3552 * crypt/sha512.c: Likewise.
3553 * debug/backtrace-tst.c: Likewise.
3554 * debug/pcprofiledump.c: Likewise.
3555 * elf/cache.c: Likewise.
3556 * elf/dl-cache.c: Likewise.
3557 * elf/dl-misc.c: Likewise.
3558 * elf/dl-profile.c: Likewise.
3559 * elf/dl-support.c: Likewise.
3560 * elf/ldconfig.c: Likewise.
3561 * elf/sprof.c: Likewise.
3562 * iconv/dummy-repertoire.c: Likewise.
3563 * iconv/iconv_charmap.c: Likewise.
3564 * iconv/skeleton.c: Likewise.
3565 * iconvdata/8bit-generic.c: Likewise.
3566 * iconvdata/cp737.h: Likewise.
3567 * iconvdata/cp775.h: Likewise.
3568 * iconvdata/ibm1008.h: Likewise.
3569 * iconvdata/ibm1025.h: Likewise.
3570 * iconvdata/ibm1046.h: Likewise.
3571 * iconvdata/ibm1097.h: Likewise.
3572 * iconvdata/ibm1112.h: Likewise.
3573 * iconvdata/ibm1122.h: Likewise.
3574 * iconvdata/ibm1123.h: Likewise.
3575 * iconvdata/ibm1124.h: Likewise.
3576 * iconvdata/ibm1129.h: Likewise.
3577 * iconvdata/ibm1130.h: Likewise.
3578 * iconvdata/ibm1132.h: Likewise.
3579 * iconvdata/ibm1133.h: Likewise.
3580 * iconvdata/ibm1137.h: Likewise.
3581 * iconvdata/ibm1140.h: Likewise.
3582 * iconvdata/ibm1141.h: Likewise.
3583 * iconvdata/ibm1142.h: Likewise.
3584 * iconvdata/ibm1143.h: Likewise.
3585 * iconvdata/ibm1144.h: Likewise.
3586 * iconvdata/ibm1145.h: Likewise.
3587 * iconvdata/ibm1146.h: Likewise.
3588 * iconvdata/ibm1147.h: Likewise.
3589 * iconvdata/ibm1148.h: Likewise.
3590 * iconvdata/ibm1149.h: Likewise.
3591 * iconvdata/ibm1153.h: Likewise.
3592 * iconvdata/ibm1154.h: Likewise.
3593 * iconvdata/ibm1155.h: Likewise.
3594 * iconvdata/ibm1156.h: Likewise.
3595 * iconvdata/ibm1157.h: Likewise.
3596 * iconvdata/ibm1158.h: Likewise.
3597 * iconvdata/ibm1160.h: Likewise.
3598 * iconvdata/ibm1161.h: Likewise.
3599 * iconvdata/ibm1162.h: Likewise.
3600 * iconvdata/ibm1163.h: Likewise.
3601 * iconvdata/ibm1164.h: Likewise.
3602 * iconvdata/ibm1166.h: Likewise.
3603 * iconvdata/ibm1167.h: Likewise.
3604 * iconvdata/ibm12712.h: Likewise.
3605 * iconvdata/ibm1390.h: Likewise.
3606 * iconvdata/ibm1399.h: Likewise.
3607 * iconvdata/ibm16804.h: Likewise.
3608 * iconvdata/ibm4517.h: Likewise.
3609 * iconvdata/ibm4899.h: Likewise.
3610 * iconvdata/ibm4909.h: Likewise.
3611 * iconvdata/ibm4971.h: Likewise.
3612 * iconvdata/ibm5347.h: Likewise.
3613 * iconvdata/ibm803.h: Likewise.
3614 * iconvdata/ibm856.h: Likewise.
3615 * iconvdata/ibm901.h: Likewise.
3616 * iconvdata/ibm902.h: Likewise.
3617 * iconvdata/ibm9030.h: Likewise.
3618 * iconvdata/ibm9066.h: Likewise.
3619 * iconvdata/ibm921.h: Likewise.
3620 * iconvdata/ibm922.h: Likewise.
3621 * iconvdata/ibm9448.h: Likewise.
3622 * iconvdata/isiri-3342.h: Likewise.
3623 * iconvdata/jis0201.h: Likewise.
3624 * include/link.h: Likewise.
3625 * include/netdb.h: Likewise.
3626 * inet/check_native.c: Likewise.
3627 * inet/check_pf.c: Likewise.
3628 * inet/getipv4sourcefilter.c: Likewise.
3629 * inet/getnameinfo.c: Likewise.
3630 * inet/getsourcefilter.c: Likewise.
3631 * inet/htonl.c: Likewise.
3632 * inet/setipv4sourcefilter.c: Likewise.
3633 * inet/setsourcefilter.c: Likewise.
3634 * inet/test-inet6_opt.c: Likewise.
3635 * inet/tst-network.c: Likewise.
3636 * locale/C-collate.c: Likewise.
3637 * locale/C-ctype.c: Likewise.
3638 * locale/C-time.c: Likewise.
3639 * locale/C-translit.h: Likewise.
3640 * locale/loadarchive.c: Likewise.
3641 * locale/programs/3level.h: Likewise.
3642 * locale/programs/charmap.c: Likewise.
3643 * locale/programs/charmap.h: Likewise.
3644 * locale/programs/ld-address.c: Likewise.
3645 * locale/programs/ld-collate.c: Likewise.
3646 * locale/programs/ld-ctype.c: Likewise.
3647 * locale/programs/ld-identification.c: Likewise.
3648 * locale/programs/ld-measurement.c: Likewise.
3649 * locale/programs/ld-messages.c: Likewise.
3650 * locale/programs/ld-monetary.c: Likewise.
3651 * locale/programs/ld-name.c: Likewise.
3652 * locale/programs/ld-numeric.c: Likewise.
3653 * locale/programs/ld-paper.c: Likewise.
3654 * locale/programs/ld-telephone.c: Likewise.
3655 * locale/programs/ld-time.c: Likewise.
3656 * locale/programs/linereader.c: Likewise.
3657 * locale/programs/locale.c: Likewise.
3658 * locale/programs/locarchive.c: Likewise.
3659 * locale/programs/locfile.h: Likewise.
3660 * locale/programs/repertoire.c: Likewise.
3661 * locale/programs/simple-hash.c: Likewise.
3662 * locale/programs/simple-hash.h: Likewise.
3663 * malloc/memusage.c: Likewise.
3664 * malloc/memusagestat.c: Likewise.
3665 * nis/nis_defaults.c: Likewise.
3666 * nis/nis_hash.c: Likewise.
3667 * nis/nis_print.c: Likewise.
3668 * nis/nis_xdr.c: Likewise.
3669 * nscd/connections.c: Likewise.
3670 * nscd/hstcache.c: Likewise.
3671 * nscd/nscd_gethst_r.c: Likewise.
3672 * nscd/nscd_getserv_r.c: Likewise.
3673 * nscd/nscd_helper.c: Likewise.
3674 * nscd/servicescache.c: Likewise.
3675 * nss/makedb.c: Likewise.
3676 * nss/nss_db/db-XXX.c: Likewise.
3677 * nss/nss_db/db-initgroups.c: Likewise.
3678 * nss/nss_db/db-netgrp.c: Likewise.
3679 * nss/nss_files/files-network.c: Likewise.
3680 * nss/nss_files/files-parse.c: Likewise.
3681 * posix/bug-regex5.c: Likewise.
3682 * posix/fnmatch_loop.c: Likewise.
3683 * posix/regcomp.c: Likewise.
3684 * posix/regexec.c: Likewise.
3685 * posix/tst-rfc3484-2.c: Likewise.
3686 * posix/tst-rfc3484-3.c: Likewise.
3687 * posix/tst-rfc3484.c: Likewise.
3688 * resolv/nss_dns/dns-canon.c: Likewise.
3689 * resolv/nss_dns/dns-network.c: Likewise.
3690 * resolv/res_init.c: Likewise.
3691 * resolv/res_mkquery.c: Likewise.
3692 * resolv/tst-aton.c: Likewise.
3693 * stdlib/cxa_atexit.c: Likewise.
3694 * stdlib/cxa_finalize.c: Likewise.
3695 * stdlib/gen-fpioconst.c: Likewise.
3696 * stdlib/strtol_l.c: Likewise.
3697 * string/tst-endian.c: Likewise.
3698 * sunrpc/auth_des.c: Likewise.
3699 * sunrpc/clnt_udp.c: Likewise.
3700 * sunrpc/rtime.c: Likewise.
3701 * sunrpc/svcauth_des.c: Likewise.
3702 * sunrpc/xdr.c: Likewise.
3703 * sunrpc/xdr_intXX_t.c: Likewise.
3704 * sunrpc/xdr_rec.c: Likewise.
3705 * sysdeps/generic/ldconfig.h: Likewise.
3706 * sysdeps/generic/ldsodefs.h: Likewise.
3707 * sysdeps/generic/memusage.h: Likewise.
3708 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3709 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3710 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3711 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3714 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3718 * sysdeps/posix/getaddrinfo.c: Likewise.
3719 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3720 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3721 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3722 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3723 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3724 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3725 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3726 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3727 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3728 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3729 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3730 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3731 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3732 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3734 * sysdeps/x86_64/dl-tls.h: Likewise.
3735 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3736 * time/alt_digit.c: Likewise.
3737 * time/era.c: Likewise.
3738 * wcsmbs/tst-c16c32-1.c: Likewise.
3739
8c75f674
JM
37402013-05-16 Joseph Myers <joseph@codesourcery.com>
3741
3742 * math/libm-test.inc (struct test_sincos_data): New type.
3743 (RUN_TEST_LOOP_sincos): New macro.
3744 (sincos_test_data): New variable.
3745 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3746
e6e49e59
RH
37472013-05-16 Richard Henderson <rth@redhat.com>
3748
3749 * math/atest-exp2.c (LIMB64): New macro.
3750 (CONSTSZ): New macro.
3751 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3752 (hexdig): Move ...
3753 (print_mpn_fp): ... to function scope.
3754 (read_mpn_hex): Remove.
3755 (get_log2): Remove.
3756 (exp2_mpn): Use mp_log2.
3757 (main): Use mp_exp1.
3758
15c7c18d
JM
37592013-05-16 Joseph Myers <joseph@codesourcery.com>
3760
105a07df
JM
3761 * math/libm-test.inc: Remove comment about not testing "inexact"
3762 exceptions.
3763 (INEXACT_EXCEPTION): New macro.
3764 (NO_INEXACT_EXCEPTION): Likewise.
3765 (INVALID_EXCEPTION_OK): Update value.
3766 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3767 (OVERFLOW_EXCEPTION_OK): Likewise.
3768 (UNDERFLOW_EXCEPTION_OK): Likewise.
3769 (IGNORE_ZERO_INF_SIGN): Likewise.
3770 (ERRNO_UNCHANGED): Likewise.
3771 (ERRNO_EDOM): Likewise.
3772 (ERRNO_ERANGE): Likewise.
3773 (test_exceptions): Handle testing "inexact" exceptions.
3774 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3775 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3776 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3777 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3778 INEXACT_EXCEPTION.
3779 (rint_towardzero_test_data): Likewise.
3780 (rint_downward_test_data): Likewise.
3781 (rint_upward_test_data): Likewise.
3782
e9eee333
JM
3783 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3784 with OVERFLOW_EXCEPTION.
3785 (exp10_test_data): Likewise.
3786 (exp2_test_data): Likewise.
3787 (expm1_test_data): Likewise.
3788 (lgamma_test_data): Likewise.
3789 (pow_test_data): Likewise.
3790 (tgamma_test_data): Likewise.
3791 (yn_test_data): Remove duplicate test of overflow.
3792
1c38ff73
JM
3793 * math/libm-test.inc (struct test_cc_c_data): New type.
3794 (RUN_TEST_LOOP_cc_c): New macro.
3795 (cpow_test_data): New variable.
3796 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3797
15c7c18d
JM
3798 * math/libm-test.inc (struct test_f_L_data): New type.
3799 (RUN_TEST_LOOP_f_L): New macro.
3800 (llrint_test_data): New variable.
3801 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3802 (llrint_tonearest_test_data): New variable.
3803 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3804 (llrint_towardzero_test_data): New variable.
3805 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3806 (llrint_downward_test_data): New variable.
3807 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3808 (llrint_upward_test_data): New variable.
3809 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3810 (llround_test_data): New variable.
3811 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3812
f137ff13
PC
38132013-05-13 Peter Collingbourne <pcc@google.com>
3814
3815 * math/atest-exp2.c (get_log2): Remove const attribute.
3816
3608cb24
JM
38172013-05-15 Joseph Myers <joseph@codesourcery.com>
3818
3819 * math/libm-test.inc (struct test_f_l_data): New type.
3820 (RUN_TEST_LOOP_f_l): New macro.
3821 (lrint_test_data): New variable.
3822 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3823 (lrint_tonearest_test_data): New variable.
3824 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3825 (lrint_towardzero_test_data): New variable.
3826 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3827 (lrint_downward_test_data): New variable.
3828 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3829 (lrint_upward_test_data): New variable.
3830 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3831 (lround_test_data): New variable.
3832 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3833
39b1f617
PC
38342013-05-15 Peter Collingbourne <pcc@google.com>
3835
1deff3dc
PC
3836 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3837 (EXTRACT_WORDS64) Use where appropriate.
3838 (INSERT_WORDS64) Likewise.
3839
791f3ba0
PC
3840 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3841 constraints with x constraints.
3842 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3843
39b1f617
PC
3844 * malloc/obstack.c (_obstack_compat): Add initializer.
3845
12fba011
EM
38462013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3847
3848 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3849 si_trapno and add si_addr_lsb to _sifields.sigfault.
3850 (si_trapno): Remove macro.
3851 (si_addr_lsb): Define new macro.
3852 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3853
d369f531
JM
38542013-05-15 Joseph Myers <joseph@codesourcery.com>
3855
b861c6c4
JM
3856 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3857 instead of TEST_f_l.
3858 (llrint_test_tonearest): Likewise.
3859 (llrint_test_towardzero): Likewise.
3860 (llrint_test_downward): Likewise.
3861 (llrint_test_upward): Likewise.
3862 (llround_test): Likewise.
3863
7abeee12
JM
3864 * math/libm-test.inc (struct test_f_i_data): Add comment.
3865 (RUN_TEST_LOOP_f_b): New macro.
3866 (RUN_TEST_LOOP_f_b_tg): Likewise.
3867 (finite_test_data): New variable.
3868 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3869 (isfinite_test_data): New variable.
3870 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3871 (isinf_test_data): New variable.
3872 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3873 (isnan_test_data): New variable.
3874 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3875 (isnormal_test_data): New variable.
3876 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3877 (issignaling_test_data): New variable.
3878 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3879 (signbit_test_data): New variable.
3880 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3881
cbe8c4d3
JM
3882 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3883 with INVALID_EXCEPTION.
3884 (acosh_test_data): Likewise.
3885 (asin_test_data): Likewise.
3886 (atanh_test_data): Likewise.
3887 (fmod_test_data): Likewise.
3888 (log_test_data): Likewise.
3889 (log10_test_data): Likewise.
3890 (log2_test_data): Likewise.
3891 (pow_test_data): Likewise.
3892 (sqrt_test_data): Likewise.
3893 (y0_test_data): Likewise.
3894 (y1_test_data): Likewise.
3895 (yn_test_data): Likewise.
3896
5575c0e5
JM
3897 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3898 function contents.
3899
d369f531
JM
3900 * math/libm-test.inc (struct test_ff_i_data): New type.
3901 (RUN_TEST_LOOP_ff_i_tg): New macro.
3902 (isgreater_test_data): New variable.
3903 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3904 (isgreaterequal_test_data): New variable.
3905 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3906 (isless_test_data): New variable.
3907 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3908 (islessequal_test_data): New variable.
3909 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3910 (islessgreater_test_data): New variable.
3911 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3912 (isunordered_test_data): New variable.
3913 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3914
781fd748
DM
39152013-05-14 David S. Miller <davem@davemloft.net>
3916
3917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3918
87aa21df
JM
39192013-05-14 Joseph Myers <joseph@codesourcery.com>
3920
5e908270
JM
3921 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3922
f71172e5
JM
3923 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3924 extra_test to int.
3925 (struct test_f_i_data): Change type of max_ulp to int.
3926
8cfa635a
JM
3927 * math/libm-test.inc (test_ffI_f1_data): New type.
3928 (RUN_TEST_LOOP_ffI_f1): New macro.
3929 (remquo_test_data): New variable.
3930 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3931
2bcb36b2
JM
3932 * setjmp/tst-setjmp-fp.c: New file.
3933 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3934 (link-libm): New variable.
3935 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3936
acbd839a
JM
3937 * math/libm-test.inc (struct test_f_i_data): New type.
3938 (RUN_TEST_LOOP_f_i): New macro.
3939 (RUN_TEST_LOOP_f_i_tg): Likewise.
3940 (fpclassify_test_data): New variable.
3941 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3942 (ilogb_test_data): New variable.
3943 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3944
e414d745
JM
3945 * math/libm-test.inc (scalbln_test): Correct function name in END
3946 call.
3947
d9c2a0fd
JM
3948 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3949 (RUN_TEST_LOOP_fI_f1): New macro.
3950 (frexp_test_data): New variable.
3951 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3952
9dc9095d
JM
3953 * math/libm-test.inc (struct test_fF_f1_data): New type.
3954 (RUN_TEST_LOOP_fF_f1): New macro.
3955 (modf_test_data): New variable.
3956 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3957
87aa21df
JM
3958 * math/libm-test.inc (struct test_f_f1_data): New type.
3959 (RUN_TEST_LOOP_f_f1): New macro.
3960 (gamma_test_data): New variable.
3961 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3962 (lgamma_test_data): New variable.
3963 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3964
141af660
CD
39652013-05-13 Carlos O'Donell <carlos@redhat.com>
3966
3967 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3968 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3969 (main): Comment "tls" pseudo-hwcap.
3970
6d33265c
JM
39712013-05-13 Joseph Myers <joseph@codesourcery.com>
3972
68fc074c
JM
3973 * math/libm-test.inc (struct test_fl_f_data): New type.
3974 (RUN_TEST_LOOP_fl_f): New variable.
3975 (scalbln_test_data): New variable.
3976 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3977
243216e1
JM
3978 * math/libm-test.inc (struct test_fi_f_data): New type.
3979 (RUN_TEST_LOOP_fi_f): New macro.
3980 (ldexp_test_data): New variable.
3981 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3982 (scalbn_test_data): New variable.
3983 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3984
6a1992e2
JM
3985 * math/libm-test.inc (struct test_c_f_data): New type.
3986 (RUN_TEST_LOOP_c_f): New macro.
3987 (cabs_test_data): New variable.
3988 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3989 (carg_test_data): New variable.
3990 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3991 (cimag_test_data): New variable.
3992 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3993 (creal_test_data): New variable.
3994 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3995
0e400df5
JM
3996 * math/libm-test.inc (struct test_if_f_data): New type.
3997 (RUN_TEST_LOOP_if_f): New macro.
3998 (jn_test_data): New variable.
3999 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4000 (yn_test_data): New variable.
4001 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4002
6d33265c
JM
4003 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4004
f98ece5f
AZ
40052013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4006
4007 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4008 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4009
0f7d347b
SP
40102013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4011
43fe811b
SP
4012 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4013 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4014 (bench-deps): Add bench-timing.h.
4015 * benchtests-bench-skeleton.c: Include bench-timing.h.
4016 (main): Use TIMING_* macros instead of clock_gettime.
4017 * benchtests/bench-timing.h: New file.
4018
0f7d347b
SP
4019 [BZ #14582]
4020 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4021 Renamed from _LIB_VERSION.
4022 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4023
601a3a5f
JM
40242013-05-12 Joseph Myers <joseph@codesourcery.com>
4025
4f184d30
JM
4026 * math/libm-test.inc (struct test_fff_f_data): New type.
4027 (RUN_TEST_LOOP_fff_f): New macro.
4028 (fma_test_data): New variable.
4029 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4030 (fma_towardzero_test_data): New variable.
4031 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4032 (fma_downward_test_data): New variable.
4033 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4034 (fma_upward_test_data): New variable.
4035 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4036
08198877
JM
4037 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4038 (struct test_c_c_data): New type.
4039 (RUN_TEST_LOOP_c_c): New macro.
4040 (cacos_test_data): New variable.
4041 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4042 (cacosh_test_data): New variable.
4043 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4044 (casin_test_data): New variable.
4045 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4046 (casinh_test_data): New variable.
4047 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4048 (catan_test_data): New variable.
4049 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4050 (catanh_test_data): New variable.
4051 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4052 (ccos_test_data): New variable.
4053 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4054 (ccosh_test_data): New variable.
4055 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4056 (cexp_test_data): New variable.
4057 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4058 (clog_test_data): New variable.
4059 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4060 (clog10_test_data): New variable.
4061 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4062 (conj_test_data): New variable.
4063 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4064 (cproj_test_data): New variable.
4065 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4066 (csin_test_data): New variable.
4067 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4068 (csinh_test_data): New variable.
4069 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4070 (csqrt_test_data): New variable.
4071 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4072 (ctan_test_data): New variable.
4073 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4074 (ctan_tonearest_test_data): New variable.
4075 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4076 (ctan_towardzero_test_data): New variable.
4077 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4078 (ctan_downward_test_data): New variable.
4079 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4080 (ctan_upward_test_data): New variable.
4081 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4082 (ctanh_test_data): New variable.
4083 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4084 (ctanh_tonearest_test_data): New variable.
4085 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4086 (ctanh_towardzero_test_data): New variable.
4087 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4088 (ctanh_downward_test_data): New variable.
4089 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4090 (ctanh_upward_test_data): New variable.
4091 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4092 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4093 of BUILD_COMPLEX.
4094
601a3a5f
JM
4095 * math/libm-test.inc (struct test_ff_f_data): New type.
4096 (struct test_ff_f_data_nexttoward): Likewise.
4097 (RUN_TEST_LOOP_2_f): New macro.
4098 (RUN_TEST_LOOP_ff_f): Likewise.
4099 (atan2_test_data): New variable.
4100 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4101 (copysign_test_data): New variable.
4102 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4103 (fdim_test_data): New variable.
4104 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4105 (fmax_test_data): New variable.
4106 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4107 (fmin_test_data): New variable.
4108 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4109 (fmod_test_data): New variable.
4110 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4111 (hypot_test_data): New variable.
4112 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4113 (nextafter_test_data): New variable.
4114 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4115 (nexttoward_test_data): New variable.
4116 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4117 (pow_test_data): New variable.
4118 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4119 (pow_tonearest_test_data): New variable.
4120 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4121 (pow_towardzero_test_data): New variable.
4122 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4123 (pow_downward_test_data): New variable.
4124 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4125 (pow_upward_test_data): New variable.
4126 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4127 (remainder_test_data): New variable.
4128 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4129 (scalb_test_data): New variable.
4130 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4131 * sysdeps/i386/fpu/libm-test-ulps: Update.
4132
74c57478
JM
41332013-05-11 Joseph Myers <joseph@codesourcery.com>
4134
8329e4da
JM
4135 * math/libm-test.inc (fma_test): Use max_value instead of local
4136 variable fltmax.
4137 (nextafter_test): Likewise.
4138
74c57478
JM
4139 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4140 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4141 (acos_downward_test_data): New variable.
4142 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4143 (acos_upward_test_data): New variable.
4144 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4145 (acosh_test_data): New variable.
4146 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4147 (asin_test_data): New variable.
4148 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4149 (asin_tonearest_test_data): New variable.
4150 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4151 (asin_towardzero_test_data): New variable.
4152 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4153 (asin_downward_test_data): New variable.
4154 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4155 (asin_upward_test_data): New variable.
4156 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4157 (asinh_test_data): New variable.
4158 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4159 (atan_test_data): New variable.
4160 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4161 (atanh_test_data): New variable.
4162 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4163 (cbrt_test_data): New variable.
4164 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4165 (ceil_test_data): New variable.
4166 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4167 (cos_test_data): New variable.
4168 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4169 (cos_tonearest_test_data): New variable.
4170 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4171 (cos_towardzero_test_data): New variable.
4172 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4173 (cos_downward_test_data): New variable.
4174 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4175 (cos_upward_test_data): New variable.
4176 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4177 (cosh_test_data): New variable.
4178 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4179 (cosh_tonearest_test_data): New variable.
4180 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4181 (cosh_towardzero_test_data): New variable.
4182 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4183 (cosh_downward_test_data): New variable.
4184 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4185 (cosh_upward_test_data): New variable.
4186 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4187 (erf_test_data): New variable.
4188 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4189 (erfc_test_data): New variable.
4190 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4191 (exp_test_data): New variable.
4192 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4193 (exp_tonearest_test_data): New variable.
4194 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4195 (exp_towardzero_test_data): New variable.
4196 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4197 (exp_downward_test_data): New variable.
4198 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4199 (exp_upward_test_data): New variable.
4200 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4201 (exp10_test_data): New variable.
4202 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4203 (exp2_test_data): New variable.
4204 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4205 (expm1_test_data): New variable.
4206 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4207 (fabs_test_data): New variable.
4208 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4209 (floor_test_data): New variable.
4210 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4211 (j0_test_data): New variable.
4212 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4213 (j1_test_data): New variable.
4214 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4215 (log_test_data): New variable.
4216 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4217 (log10_test_data): New variable.
4218 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4219 (log1p_test_data): New variable.
4220 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4221 (log2_test_data): New variable.
4222 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4223 (logb_test_data): New variable.
4224 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4225 (logb_downward_test_data): New variable.
4226 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4227 (nearbyint_test_data): New variable.
4228 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4229 (rint_test_data): New variable.
4230 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4231 (rint_tonearest_test_data): New variable.
4232 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4233 (rint_towardzero_test_data): New variable.
4234 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4235 (rint_downward_test_data): New variable.
4236 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4237 (rint_upward_test_data): New variable.
4238 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4239 (round_test_data): New variable.
4240 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4241 (sin_test_data): New variable.
4242 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4243 (sin_tonearest_test_data): New variable.
4244 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4245 (sin_towardzero_test_data): New variable.
4246 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4247 (sin_downward_test_data): New variable.
4248 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4249 (sin_upward_test_data): New variable.
4250 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4251 (sinh_test_data): New variable.
4252 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4253 (sinh_tonearest_test_data): New variable.
4254 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4255 (sinh_towardzero_test_data): New variable.
4256 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4257 (sinh_downward_test_data): New variable.
4258 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4259 (sinh_upward_test_data): New variable.
4260 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4261 (sqrt_test_data): New variable.
4262 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4263 (tan_test_data): New variable.
4264 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4265 (tan_tonearest_test_data): New variable.
4266 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4267 (tan_towardzero_test_data): New variable.
4268 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4269 (tan_downward_test_data): New variable.
4270 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4271 (tan_upward_test_data): New variable.
4272 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4273 (tanh_test_data): New variable.
4274 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4275 (tgamma_test_data): New variable.
4276 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4277 (trunc_test_data): New variable.
4278 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4279 (y0_test_data): New variable.
4280 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4281 (y1_test_data): New variable.
4282 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4283 (significand_test_data): New variable.
4284 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4285
7187d844
CG
42862013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4287
4288 [BZ #12387]
4289 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4290
f63fae73
PT
42912013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4292
4293 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4294
8a67a4b3
AJ
42952013-05-10 Andreas Jaeger <aj@suse.de>
4296
4297 [BZ #15448]
4298 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4299 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4300
51df539d
JM
43012013-05-10 Joseph Myers <joseph@codesourcery.com>
4302
4303 * math/gen-libm-test.pl (adjust_arg): New function.
4304 (special_functions): Handle generating output in both functions
4305 and arrays.
4306 (parse_args): Likewise.
4307 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4308 $in_func argument to parse_args.
4309 * math/libm-test.inc (struct test_f_f_data): New type.
4310 (IF_ROUND_INIT_): New macro.
4311 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4312 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4313 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4314 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4315 (ROUND_RESTORE_): Likewise.
4316 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4317 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4318 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4319 (ROUND_RESTORE_FE_UPWARD): Likewise.
4320 (RUN_TEST_LOOP_f_f): New macro.
4321 (acos_test_data): New variable.
4322 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4323 (acos_tonearest_test_data): New variable.
4324 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4325
5c637fe5
SP
43262013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4327
4328 * benchtests/bench-skeleton.c (startup): Fix coding style.
4329
ab2b9461
JM
43302013-05-10 Joseph Myers <joseph@codesourcery.com>
4331
4332 [BZ #6809]
4333 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4334 negative infinity argument.
4335 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4336 negative infinity argument.
4337 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4338 negative infinity argument.
4339 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4340 domain errors.
4341
4c0fe6fe
FW
43422013-05-10 Florian Weimer <fweimer@redhat.com>
4343
4344 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4345 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4346 * iconv/iconv_prog.c (main): Likewise.
4347 * locale/programs/charmap-dir.c (charmap_readdir)
4348 (fopen_uncompressed): Likewise.
4349 * locale/programs/locfile.c (siblings_uncached)
4350 (write_locale_data): Use lstat64 instead of lstat.
4351 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4352 stat.
4353
a3375d29
AJ
43542013-05-10 Andreas Jaeger <aj@suse.de>
4355
4356 [BZ #15395]
4357 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4358 localization.
4359 Include <locale.h>.
4360
36129722
CD
43612013-05-09 Carlos O'Donell <carlos@redhat.com>
4362
4363 * elf/dl-close.c (_dl_close_worker): Add comments.
4364
faa7f811
JM
43652013-05-09 Joseph Myers <joseph@codesourcery.com>
4366
ed41ffef
JM
4367 [BZ #15359]
4368 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4369 high part of pi/2.
4370 (__ieee754_rem_pio2l): Update comments.
4371
d0213cd0
JM
4372 [BZ #15429]
4373 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4374 high part of pi/2.
4375 (__ieee754_rem_pio2l): Update comments.
4376
0d3e777a
JM
4377 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4378 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4379
24f56066
JM
4380 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4381 M_PI_4l.
4382
faa7f811
JM
4383 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4384 (M_PI_34_LOG10El): Likewise.
4385 (M_PI2_LOG10El): Likewise.
4386 (M_PI4_LOG10El): Likewise.
4387 (M_PI_LOG10El): Likewise.
4388
e9a5e0fd
AZ
43892013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4390
4391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4392
d8cd06db
JM
43932013-05-08 Joseph Myers <joseph@codesourcery.com>
4394
a0d9f9d7
JM
4395 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4396 (MINUS_ZERO_INIT): Likewise.
4397 (PLUS_INFTY_INIT): Likewise.
4398 (MINUS_INFTY_INIT): Likewise.
4399 (QNAN_VALUE_INIT): Likewise.
4400 (MAX_VALUE_INIT): Likewise.
4401 (MIN_VALUE_INIT): Likewise.
4402 (MIN_SUBNORM_VALUE_INIT): Likewise.
4403 (plus_zero): Initialize with PLUS_ZERO_INIT.
4404 (minus_zero): Initialize with MINUS_ZERO_INIT.
4405 (plus_infty): Initialize with PLUS_INFTY_INIT.
4406 (minus_infty): Initialize with MINUS_INFTY_INIT.
4407 (qnan_value): Initialize with QNAN_VALUE_INIT.
4408 (max_value): Initialize with MAX_VALUE_INIT.
4409 (min_value): Initialize with MIN_VALUE_INIT.
4410 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4411
ae08db3b
JM
4412 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4413 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4414 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4415 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4416
f44bf14a
JM
4417 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4418 (RUN_TEST_2_f): Likewise.
4419 (RUN_TEST_ff_f): Likewise.
4420 (RUN_TEST_fi_f): Likewise.
4421 (RUN_TEST_fl_f): Likewise.
4422 (RUN_TEST_fff_f): Likewise.
4423 (RUN_TEST_c_f): Likewise.
4424 (RUN_TEST_f_f1): Likewise.
4425 (RUN_TEST_fF_f1): Likewise.
4426 (RUN_TEST_fI_f1): Likewise.
4427 (RUN_TEST_ffI_f1): Likewise.
4428 (RUN_TEST_c_c): Likewise.
4429 (RUN_TEST_cc_c): Likewise.
4430 (RUN_TEST_f_i): Likewise.
4431 (RUN_TEST_f_i_tg): Likewise.
4432 (RUN_TEST_ff_i_tg): Likewise.
4433 (RUN_TEST_f_b): Likewise.
4434 (RUN_TEST_f_b_tg): Likewise.
4435 (RUN_TEST_f_l): Likewise.
4436 (RUN_TEST_f_L): Likewise.
4437 (RUN_TEST_sincos): Likewise.
4438 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4439 whether to show exceptions. Do not include ");\n" in return
4440 value.
4441 (special_functions): Output call to RUN_TEST_sincos instead of
4442 check_float calls. Update calls to new_test.
4443 (parse_args): Output call to single RUN_TEST_* macro instead of
4444 check_* calls and other assignments. Update calls to new_test.
4445
d8cd06db
JM
4446 [BZ #2546]
4447 [BZ #2560]
4448 [BZ #5159]
4449 [BZ #15426]
4450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4451 input to result for tgamma overflow.
4452 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4453 (gamma_coeff): New variable.
4454 (NCOEFF): New macro.
4455 (gamma_positive): New function.
4456 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4457 underflow here. Use gamma_positive instead of exp (lgamma) for
4458 other arguments.
4459 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4460 (gamma_coeff): New variable.
4461 (NCOEFF): New macro.
4462 (gammaf_positive): New function.
4463 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4464 underflow here. Use gamma_positive instead of exp (lgamma) for
4465 other arguments.
4466 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4467 (gamma_coeff): New variable.
4468 (NCOEFF): New macro.
4469 (gammal_positive): New function.
4470 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4471 underflow here. Use gamma_positive instead of exp (lgamma) for
4472 other arguments.
4473 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4474 (gamma_coeff): New variable.
4475 (NCOEFF): New macro.
4476 (gammal_positive): New function.
4477 (__ieee754_gammal_r): Handle positive infinity, overflow and
4478 underflow here. Handle NaN the same as positive infinity. Remove
4479 check x < 0xffffffff for negative integers. Use gamma_positive
4480 instead of exp (lgamma) for other arguments.
4481 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4482 (gamma_coeff): New variable.
4483 (NCOEFF): New macro.
4484 (gammal_positive): New function.
4485 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4486 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4490 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4491 * sysdeps/generic/math_private.h (__gamma_productf): New
4492 prototype.
4493 (__gamma_product): Likewise.
4494 (__gamma_productl): Likewise.
4495 * math/Makefile (libm-calls): Add gamma_product.
4496 * math/libm-test.inc (tgamma_test): Add more tests.
4497 * sysdeps/i386/fpu/libm-test-ulps: Update.
4498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4499
bb7cf681
OB
45002013-05-08 Ondřej Bílka <neleai@seznam.cz>
4501
4502 * benchtests/bench-skeleton.c (main): Preheat CPU.
4503
ba853947
AJ
45042013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4505
4506 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4507
8347c74c
RM
45082013-05-07 Roland McGrath <roland@hack.frob.com>
4509
4510 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4511 and _dl_skip_args_internal.
4512
e8dd4791
CD
45132013-05-07 Carlos O'Donell <carlos@redhat.com>
4514
4515 * manual/message.texi (Message Translation): Talk about users.
4516 Message to key mapping impacts design.
4517
c7405830
RM
45182013-05-06 Roland McGrath <roland@hack.frob.com>
4519
a9173057
RM
4520 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4521
976e2f03
RM
4522 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4523
9723ffc5
RM
4524 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4525 * sysdeps/wordsize-64/glob64.c: ... here.
4526
962e6658
RM
4527 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4528 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4529 New macros.
4530
ee586a6d
RM
4531 * debug/getlogin_r_chk.c: Moved to ...
4532 * login/getlogin_r_chk.c: ... here.
4533 * debug/Makefile (routines): Move getlogin_r_chk to ...
4534 * login/Makefile (routines): ... here.
4535 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4536 * login/Versions (libc: GLIBC_2.4): ... here.
4537
355f9165
RM
4538 * io/poll.c (__poll): Renamed from poll.
4539 Add libc_hidden_def.
4540 (poll): Define as weak alias.
4541
bd9ffde6
RM
4542 * debug/ptsname_r_chk.c: Moved to ...
4543 * login/ptsname_r_chk.c: ... here.
4544 * debug/Makefile (routines): Move ptsname_r_chk to ...
4545 * login/Makefile (routines): ... here.
4546 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4547 * login/Versions (libc: GLIBC_2.4): ... here.
4548
8fb16a04
RM
4549 * posix/getlogin.c: Moved to ...
4550 * login/getlogin.c: ... here.
4551 * posix/getlogin_r.c: Moved to ...
4552 * login/getlogin_r.c: ... here.
4553 * posix/getlogin_r.c: Moved to ...
4554 * login/getlogin_r.c: ... here.
4555 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4556 * login/Makefile (routines): ... here.
4557 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4558 * login/Versions (libc: GLIBC_2.0): ... here.
4559
b99b892f
RM
4560 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4561 (setrlimit): Define as weak alias.
4562
c7405830
RM
4563 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4564 Call __ names for open, ftruncate, and close.
4565 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4566 (truncate): Define as weak alias.
4567
5bf96de5
JM
45682013-05-06 Joseph Myers <joseph@codesourcery.com>
4569
9ea3513c
JM
4570 * math/gen-libm-test.pl (parse_args): Initialize x before each
4571 test of frexp, modf and remquo.
4572
5bf96de5
JM
4573 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4574 test signgam value.
4575
16e616a7
AZ
45762013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4577
4578 [BZ #15418]
4579 [BZ #15419]
4580 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4581 internal tests.
4582 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4583
d5e82754
RM
45842013-05-06 Roland McGrath <roland@hack.frob.com>
4585
4586 * elf/dl-writev.h: New file.
4587 * elf/dl-misc.c: Include it.
4588 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4589 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4590
a7548d41
JM
45912013-05-04 Joseph Myers <joseph@codesourcery.com>
4592
b7dab1e4
JM
4593 * math/libm-test.inc (noXFails): Remove variable.
4594 (noXPasses): Likewise.
4595 (BUILD_COMPLEX_INT): Remove macro.
4596 (print_screen): Remove xfail argument.
4597 (print_screen_max_error): Likewise.
4598 (update_stats): Likewise.
4599 (print_max_error): Likewise. Update calls to other affected
4600 functions.
4601 (print_complex_max_error): Likewise.
4602 (test_single_exception): Update calls to print_screen.
4603 (test_single_errno): Likewise.
4604 (check_float_internal): Remove xfail argument. Update calls to
4605 other affected functions.
4606 (check_float): Likewise.
4607 (check_complex): Likewise.
4608 (check_int): Likewise.
4609 (check_long): Likewise.
4610 (check_bool): Likewise.
4611 (check_longlong): Likewise.
4612 (main): Don't print noXFails and noXPasses.
4613 * math/gen-libm-test.pl (top level): Don't mention expected
4614 failure handling in comment.
4615 (new_test): Don't handle expected failures.
4616 (parse_args): Don't mention expected failure handling in comment.
4617 (generate_testfile): Don't handle expected failures.
4618 (parse_ulps): Likewise.
4619 (print_ulps_file): Likewise.
4620 (get_failure): Remove function.
4621 (output_test): Don't handle expected failures.
4622 * make/README.libm-test: Don't mention expected failure handling.
4623
a7548d41
JM
4624 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4625 (minus_zero): Likewise.
4626 (plus_infty): Likewise.
4627 (minus_infty): Likewise.
4628 (qnan_value): Likewise.
4629 (max_value): Likewise.
4630 (min_value): Likewise.
4631 (min_subnorm_value): Likewise.
4632 (initialize): Do not initialize those variables dynamically.
4633
60bfd54c
RM
46342013-05-03 Roland McGrath <roland@hack.frob.com>
4635
cc0e6ed8
RM
4636 * io/open.c (__open_2): Moved to ...
4637 * io/open_2.c: ... this new file.
4638 * io/open64.c (__open64_2): Moved to ...
4639 * io/open64_2.c: ... this new file.
4640 * io/openat.c (__openat_2): Moved to ...
4641 * io/openat_2.c: ... this new file.
4642 * io/openat64.c (__openat64_2): Moved to ...
4643 * io/openat64_2.c: ... this new file.
4644 * io/Makefile (routines): Add them.
4645 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4646 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4647 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4648 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4649 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4650 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4651 (__openat64): Add hidden_ver.
4652 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4653 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4654
60bfd54c
RM
4655 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4656 Separately conditionalize setting of GLRO(dl_sysinfo) so
4657 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4658 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4659
83e7640f
AZ
46602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4661
4662 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4663 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4664 definition.
4665 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4666 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4667 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4668 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4669 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4670
d5dc2af3
JM
46712013-05-03 Joseph Myers <joseph@codesourcery.com>
4672
c31a5b1e
JM
4673 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4674 test signgam value.
4675
d5dc2af3
JM
4676 * math/libm-test.inc (hypot_test): Do not use
4677 IGNORE_ZERO_INF_SIGN.
4678
164fd39d
AJ
46792013-05-03 Andreas Jaeger <aj@suse.de>
4680
4681 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4682 Linux 3.9.
4683 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4684 (PF_MAX): Adjust for VSOCK change.
4685
8237f48c
AZ
46862013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4687
4688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4689
9df02941
CD
46902013-05-02 Carlos O'Donell <carlos@redhat.com>
4691
4692 [BZ #15264]
4693 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4694 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4695 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4696
d422395e
DM
46972013-05-02 David S. Miller <davem@davemloft.net>
4698
4699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4700
a07c5731
OB
47012013-05-01 Ondřej Bílka <neleai@seznam.cz>
4702
4703 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4704
1324e37f
RM
47052013-05-01 Roland McGrath <roland@hack.frob.com>
4706
4707 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4708
0695940b
RS
47092013-05-01 Richard Smith <richard@metafoo.co.uk>
4710
bb5f27ad 4711 [BZ #14952]
0695940b
RS
4712 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4713 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4714 Use __attribute__ ((__gnu_inline__)).
4715 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4716 Don't use __attribute__ ((__gnu_inline__)).
4717
10de07f5
JM
47182013-05-01 Joseph Myers <joseph@codesourcery.com>
4719
4720 [BZ #15423]
4721 * math/s_catan.c (__catan): Handle small real or imaginary part of
4722 input specially to avoid spurious underflow.
4723 * math/s_catanf.c (__catanf): Likewise.
4724 * math/s_catanh.c (__catanh): Likewise.
4725 * math/s_catanhf.c (__catanhf): Likewise.
4726 * math/s_catanhl.c (__catanhl): Likewise.
4727 * math/s_catanl.c (__catanl): Likewise.
4728 * math/libm-test.inc (catan_test): Add more tests.
4729 (catanh_test): Likewise.
4730 * sysdeps/i386/fpu/libm-test-ulps: Update.
4731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4732
cb4d5414
AZ
47332013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4734
4735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4736
caf84319
JM
47372013-04-30 Joseph Myers <joseph@codesourcery.com>
4738
4739 [BZ #15416]
4740 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4741 accurately for denominator in atan2.
4742 * math/s_catanf.c (__catanf): Likewise.
4743 * math/s_catanh.c (__catanh): Likewise.
4744 * math/s_catanhf.c (__catanhf): Likewise.
4745 * math/s_catanhl.c (__catanhl): Likewise.
4746 * math/s_catanl.c (__catanl): Likewise.
4747 * math/libm-test.inc (catan_test): Add more tests.
4748 (catanh_test): Likewise.
4749 * sysdeps/i386/fpu/libm-test-ulps: Update.
4750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4751
d569c6ee
SP
47522013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4753
6dbe713d
SP
4754 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4755
f0ee064b
SP
4756 * benchtests/Makefile (bench): Remove slow benchmarks.
4757 * benchtests/atan-inputs: Add slow benchmark inputs.
4758 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4759 (BENCH_FUNC): Accept variant offset.
4760 (VARIANT): Define.
4761 * benchtests/bench-skeleton.c (main): Run benchmark for each
4762 variant.
4763 * benchtests/cos-inputs: Add slow benchmark inputs.
4764 * benchtests/exp-inputs: Likewise.
4765 * benchtests/pow-inputs: Likewise.
4766 * benchtests/sin-inputs: Likewise.
4767 * benchtests/slowatan-inputs: Remove.
4768 * benchtests/slowatan.c: Remove.
4769 * benchtests/slowcos-inputs: Remove.
4770 * benchtests/slowcos.c: Remove.
4771 * benchtests/slowexp-inputs: Remove.
4772 * benchtests/slowexp.c: Remove.
4773 * benchtests/slowpow-inputs: Remove.
4774 * benchtests/slowpow.c: Remove.
4775 * benchtests/slowsin-inputs: Remove.
4776 * benchtests/slowsin.c: Remove.
4777 * benchtests/slowtan-inputs: Remove.
4778 * benchtests/slowtan.c: Remove.
4779 * benchtests/tan-inputs: Add slow benchmark inputs.
4780 * scripts/bench.pl: Parse comments and directives.
4781
d569c6ee
SP
4782 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4783 in CPPFLAGS.
4784 ($(objpfx)bench-%.c): Remove *-ITER.
4785 * benchtests/bench-modf.c: Remove definition of ITER.
4786 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4787 (main): Loop for DURATION seconds instead of fixed number of
4788 iterations.
4789 * scripts/bench.pl: Don't expect iterations in parameters.
4790
a6a242fe
RM
47912013-04-29 Roland McGrath <roland@hack.frob.com>
4792
4793 * io/fchdir.c (__fchdir): Renamed from fchdir.
4794 (fchdir): Define as weak alias.
4795
f2da7793
JM
47962013-04-29 Joseph Myers <joseph@codesourcery.com>
4797
4798 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4799 (ERRNO_EDOM): Likewise.
4800 (ERRNO_ERANGE): Likewise.
4801 (noErrnoTests): New variable.
4802 (init_max_error): Set errno to 0.
4803 (test_single_errno): New function.
4804 (test_errno): Likewise.
4805 (check_float_internal): Call test_errno. Set errno to 0.
4806 (check_complex): Refer to errno tests in comment.
4807 (check_int): Call test_errno. Set errno to 0.
4808 (check_long): Likewise.
4809 (check_bool): Likewise.
4810 (check_longlong): Likewise.
4811 (cos_test): Use ERRNO_* flags for errno tests instead of
4812 check_int.
4813 (expm1_test): Likewise.
4814 (fmod_test): Likewise.
4815 (ilogb_test): Likewise.
4816 (lgamma_test): Likewise.
4817 (pow_test): Likewise.
4818 (remainder_test): Likewise.
4819 (sin_test): Likewise.
4820 (tan_test): Likewise.
4821 (yn_test): Likewise.
4822 (initialize): Set errno to 0.
4823 (main): Print number of errno tests.
4824 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4825
b1a36ceb
AJ
48262013-04-29 Andreas Jaeger <aj@suse.de>
4827
c3ed8088
AJ
4828 [BZ #15084]
4829 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4830 and RES_USEVC.
4831
f1a24198
AJ
4832 [BZ #15085]
4833 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4834 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4835 unimplemented.
4836
9ce3b2cb
AJ
4837 [BZ #15380]
4838 * stdlib/random.c (__initstate): Return NULL if
4839 __initstate fails.
4840
f1a24198 4841 [BZ #15086]
b1a36ceb
AJ
4842 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4843 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4844 RES_SNGLKUPREOP.
4845
7e7b6f36
AZ
48462013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4847
4848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4849
4d14f449
JM
48502013-04-29 Joseph Myers <joseph@codesourcery.com>
4851
4852 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4853 of individual tests.
4854 (casin_test): Likewise.
4855 (casinh_test): Likewise.
4856
5b4217d7
JM
48572013-04-27 Joseph Myers <joseph@codesourcery.com>
4858
4859 [BZ #15409]
4860 * math/s_catan.c (__catan): Handle arguments with large real or
4861 imaginary part separately without squaring.
4862 * math/s_catanf.c (__catanf): Likewise.
4863 * math/s_catanh.c (__catanh): Likewise.
4864 * math/s_catanhf.c (__catanhf): Likewise.
4865 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4866 and redefine.
4867 (__catanhl): Handle arguments with large real or imaginary part
4868 separately without squaring.
4869 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4870 and redefine.
4871 (__catanl): Handle arguments with large real or imaginary part
4872 separately without squaring.
4873 * math/libm-test.inc (catan_test): Add more tests.
4874 (catanh_test): Likewise.
4875 * sysdeps/i386/fpu/libm-test-ulps: Update.
4876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877
4220c3ef
AJ
48782013-04-27 Andreas Jaeger <aj@suse.de>
4879
4880 [BZ #15007]
4881 * stdlib/stdlib.h: Update guards for qecvt.
4882 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4883 <stdlib.h>.
4884
4721b2d1
AM
48852013-04-27 Allan McRae <allan@archlinux.org>
4886
4887 * sysdeps/i386/fpu/libm-test-ulps: Update.
4888
f0302940
JM
48892013-04-26 Joseph Myers <joseph@codesourcery.com>
4890
9457fd95
JM
4891 [BZ #15406]
4892 * math/s_catan.c: Include <float.h>.
4893 (__catan): Ensure underflow exception occurs for underflowed
4894 result.
4895 * math/s_catanf.c: Include <float.h>.
4896 (__catanf): Ensure underflow exception occurs for underflowed
4897 result.
4898 * math/s_catanh.c: Include <float.h>.
4899 (__catanh): Ensure underflow exception occurs for underflowed
4900 result.
4901 * math/s_catanhf.c: Include <float.h>.
4902 (__catanhf): Ensure underflow exception occurs for underflowed
4903 result.
4904 * math/s_catanhl.c: Include <float.h>.
4905 (__catanhl): Ensure underflow exception occurs for underflowed
4906 result.
4907 * math/s_catanl.c: Include <float.h>.
4908 (__catanl): Ensure underflow exception occurs for underflowed
4909 result.
4910 * math/libm-test.inc (catan_test): Add more tests.
4911 (catanh_test): Likewise.
4912
f0302940
JM
4913 [BZ #15405]
4914 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4915 underflowed result.
4916 * math/s_ccoshf.c (__ccoshf): Likewise.
4917 * math/s_ccoshl.c (__ccoshl): Likewise.
4918 * math/s_csin.c (__csin): Likewise.
4919 * math/s_csinf.c (__csinf): Likewise.
4920 * math/s_csinh.c (__csinh): Likewise.
4921 * math/s_csinhf.c (__csinhf): Likewise.
4922 * math/s_csinhl.c (__csinhl): Likewise.
4923 * math/s_csinl.c (__csinl): Likewise.
4924 * math/libm-test.inc (ccos_test): Add more tests.
4925 (ccosh_test): Likewise.
4926 (csin_test): Likewise.
4927 (csinh_test): Likewise.
4928
aa630f59
AZ
49292013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4930
4931 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4932 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4933 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4934 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4935 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4936 powerpc/power5+/fpu folders.
4937 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4938
4939
1b835983
MT
49402013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4941
4942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4943
73709b26
JM
49442013-04-25 Joseph Myers <joseph@codesourcery.com>
4945
4946 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4947 additions to variable.
4948 [$(config-machine) = x86_64] (modules-names): Likewise.
4949 ($(objpfx)tst-audit3): Remove dependency.
4950 ($(objpfx)tst-audit3.out): Likewise.
4951 ($(objpfx)tst-audit4): Likewise.
4952 ($(objpfx)tst-audit4.out): Likewise.
4953 ($(objpfx)tst-audit5): Likewise.
4954 ($(objpfx)tst-audit5.out): Likewise.
4955 ($(objpfx)tst-audit6): Likewise.
4956 ($(objpfx)tst-audit6.out): Likewise.
4957 ($(objpfx)tst-audit7): Likewise.
4958 ($(objpfx)tst-audit7.out): Likewise.
4959 (tst-audit3-ENV): Remove variable.
4960 (tst-audit4-ENV): Likewise.
4961 (tst-audit5-ENV): Likewise.
4962 (tst-audit6-ENV): Likewise.
4963 (tst-audit7-ENV): Likewise.
4964 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4965 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4966 addition to variable.
4967 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4968 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4969 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4970 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4972 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4973 tst-audit3, tst-audit4 and tst-audit5.
4974 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4975 tst-audit6 and tst-audit7.
4976 [$(subdir) = elf] (modules-names): Add audit modules for those
4977 tests.
4978 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4979 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4980 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4981 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4982 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4983 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4984 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4985 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4986 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4987 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4988 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4989 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4990 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4991 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4992 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4993 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4994 Likewise.
4995 [$(subdir) = elf && $(config-cflags-avx) = yes]
4996 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4997 [$(subdir) = elf && $(config-cflags-avx) = yes]
4998 (CFLAGS-tst-auditmod4a.c): Likewise.
4999 [$(subdir) = elf && $(config-cflags-avx) = yes]
5000 (CFLAGS-tst-auditmod4b.c): Likewise.
5001 [$(subdir) = elf && $(config-cflags-avx) = yes]
5002 (CFLAGS-tst-auditmod6b.c): Likewise.
5003 [$(subdir) = elf && $(config-cflags-avx) = yes]
5004 (CFLAGS-tst-auditmod6c.c): Likewise.
5005 [$(subdir) = elf && $(config-cflags-avx) = yes]
5006 (CFLAGS-tst-auditmod7b.c): Likewise.
5007 * elf/tst-audit3.c: Move to ...
5008 * sysdeps/x86_64/tst-audit3.c: ... here.
5009 * elf/tst-audit4.c: Move to ...
5010 * sysdeps/x86_64/tst-audit4.c: ... here.
5011 * elf/tst-audit5.c: Move to ...
5012 * sysdeps/x86_64/tst-audit5.c: ... here.
5013 * elf/tst-audit6.c: Move to ...
5014 * sysdeps/x86_64/tst-audit6.c: ... here.
5015 * elf/tst-audit7.c: Move to ...
5016 * sysdeps/x86_64/tst-audit7.c: ... here.
5017 * elf/tst-auditmod3a.c: Move to ...
5018 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5019 * elf/tst-auditmod3b.c: Move to ...
5020 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5021 * elf/tst-auditmod4a.c: Move to ...
5022 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5023 * elf/tst-auditmod4b.c: Move to ...
5024 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5025 * elf/tst-auditmod5a.c: Move to ...
5026 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5027 * elf/tst-auditmod5b.c: Move to ...
5028 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5029 * elf/tst-auditmod6a.c: Move to ...
5030 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5031 * elf/tst-auditmod6b.c: Move to ...
5032 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5033 * elf/tst-auditmod6c.c: Move to ...
5034 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5035 * elf/tst-auditmod7a.c: Move to ...
5036 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5037 * elf/tst-auditmod7b.c: Move to ...
5038 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5039
1ef74943
PP
50402013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5041
5042 [BZ #15366]
5043 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5044 define unconditionally.
5045 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5046 define unconditionally.
5047 (INT8_C, INT16_C, etc.): Likewise.
5048
93fd48c5
MR
50492013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5050
ae9552cf
MR
5051 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5052 __ehdr_start with hidden visibility.
5053
93fd48c5
MR
5054 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5055
418601aa
CD
50562013-04-24 Carlos O'Donell <carlos@redhat.com>
5057
5058 * math/libm-test.inc (cos_test): Use accurate hex constants.
5059 (sincost_test): Likewise.
5060
2f38fbfe
JM
50612013-04-24 Joseph Myers <joseph@codesourcery.com>
5062
5e221800
JM
5063 * math/libm-test.inc (catan_test): Add more tests.
5064 (catanh_test): Likewise.
5065
77f143fd
JM
5066 * math/s_catanf.c (__catanf): Use suffixed floating-point
5067 constants.
5068 * math/s_catanhf.c (__catanhf): Likewise.
5069 * math/s_catanhl.c (__catanhl): Likewise.
5070 * math/s_catanl.c (__catanl): Likewise.
5071
2f38fbfe
JM
5072 [BZ #15394]
5073 * math/s_catan.c (__catan): Calculate imaginary part of result
5074 with log1p not log unless computing log of number close to 0.
5075 * math/s_catanf.c (__catanf): Likewise.
5076 * math/s_catanl.c (__catanl): Likewise.
5077 * math/s_catanh.c (__catanh): Calculate real part of result with
5078 log1p not log unless computing log of number close to 0.
5079 * math/s_catanhf.c (__catanhf): Likewise.
5080 * math/s_catanhl.c (__catanhl): Likewise.
5081 * math/libm-test.inc (catan_test): Add more tests.
5082 (catanh_test): Likewise.
5083 * sysdeps/i386/fpu/libm-test-ulps: Update.
5084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5085
45d69176
SP
50862013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5087
5088 * benchtests/Makefile: Mention files in which fast and slow
5089 paths of math functions are implemented.
5090
87f51853
RM
50912013-04-23 Roland McGrath <roland@hack.frob.com>
5092
5093 * sysdeps/posix/timespec_get.c: New file.
5094
3c026539
AZ
50952013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096
5097 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5098 POWER.
5099 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5100 for POWER.
5101 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5102 powerpc/power5/fpu folders.
5103 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5104 * benchtests/Makefile: Add modf testcase.
5105 * benchtests/bench-modf.c: New file: Benchmark test for mo
5106
ff491d14
SP
51072013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5108
5109 [BZ #14888]
5110 * time/Makefile (tests): Add tst-strptime-whitespace.
5111 * time/strptime_l.c (get_number): Use ISSPACE.
5112 (__strptime_internal): Likewise.
5113 * time/tst-strptime-whitespace.c: New test case.
5114
7ed3f4e8
AS
51152013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5116
5117 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5118 member.
5119 (_nss_files_init): Set it here.
5120
5c95f7b6
HC
51212013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5122
5123 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5124 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5125 unsigned.
5126
d34c9158
JBG
51272013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5128
5129 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5130
2169712d
SP
51312013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5132
5133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5134 size just once.
5135
29c5de99
DM
51362013-04-21 David S. Miller <davem@davemloft.net>
5137
5138 * po/ru.po: Update Russion translation from translation project.
5139
ccdad15d
AC
51402013-04-17 Adam Conrad <adconrad@0c3.net>
5141
5142 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5143 and setfsgid.
5144
0f122b8d
CD
51452013-04-17 Carlos O'Donell <carlos@redhat.com>
5146
5c5b07da 5147 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5148 * configure: Regenerate.
5c5b07da 5149 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5150 Add example to error message.
5151 * sysdeps/i386/configure: Regenerate.
5152
037714dd
SP
51532013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5154
5155 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5156 slowtan.
5157 * benchtests/cos-inputs: New file.
5158 * benchtests/slowcos-inputs: New file.
5159 * benchtests/slowcos.c: New file.
5160 * benchtests/slowtan-inputs: New file.
5161 * benchtests/slowtan.c: New file.
5162 * benchtests/tan-inputs: New file.
5163
e913141d
RM
51642013-04-16 Roland McGrath <roland@hack.frob.com>
5165
5166 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5167 considered kosher.
5168
a2964074
SP
51692013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5170
4856bcd2
SP
5171 * benchtests/Makefile: Include cppflags-iterator.mk to add
5172 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5173
a2964074
SP
5174 * Makefile.in (bench-clean): New target.
5175 * benchtests/Makefile (bench-clean): Likewise.
5176
9fbf9aca
DH
51772013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5178
5179 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5180
207d1e2a
TS
51812013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5182
5183 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5184
306dfba9
AS
51852013-04-15 Andreas Schwab <schwab@suse.de>
5186
5187 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5189 * nscd/pwdcache.c (cache_addpw): Likewise.
5190 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5191 more than recsize.
5192
206a6699
SP
51932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5194
5195 * benchtests/Makefile (bench): Write all output to
5196 bench-out.tmp together.
5197
0582f6b3
AS
51982013-04-15 Andreas Schwab <schwab@suse.de>
5199
5200 * nscd/nscd.c (main): Don't fork again after closing files.
5201
acb4325f
SP
52022013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5203
5cb26d0a
SP
5204 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5205
acb4325f
SP
5206 * benchtests/Rules (bench-deps): Collect dependencies into a
5207 single variable. Add Makefile to dependencies.
5208 ($(objpfx)bench-%.c): Depend on bench-deps.
5209
47792506
RM
52102013-04-12 Roland McGrath <roland@hack.frob.com>
5211 Xavier Roche <roche+kml2@exalead.com>
5212
5213 [BZ #15361]
5214 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5215 just that it's a file descriptor.
5216 * manual/llio.texi (Synchronizing AIO Operations): Update description
5217 for EBADF error from aio_fsync.
5218
8fc1bee5
SP
52192013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5220
5221 * Rules (bench): Move target definition...
5222 * benchtests/Makefile: ... here.
5223
aba5e333
CD
52242013-04-11 Carlos O'Donell <carlos@redhat.com>
5225
5226 * math/libm-test.inc (cos_test): Fix PI/2 test.
5227 (sincos_test): Likewise.
5228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5229 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5230
273cdee8
AS
52312013-04-11 Andreas Schwab <schwab@suse.de>
5232
6ecec3b6
AS
5233 [BZ #13988]
5234 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5235 accept exponent character only when digits were seen.
5236 * stdio-common/Makefile (tests): Add bug26.
5237 * stdio-common/bug26.c: New file.
5238
273cdee8
AS
5239 [BZ #14293]
5240 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5241 non-freeable.
5242
8da491f5
SP
52432013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5244
01dc6df9
SP
5245 * Makeconfig (rtld-prefix): Define built linker prefix.
5246 * Rules (run-bench): Use it.
5247 * math/Makefile (run-regen-ulps): Likewise.
5248
8da491f5
SP
5249 * Rules (bench): Remove eval.
5250
abe7f530
SP
52512013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5252 Roland McGrath <roland@hack.frob.com>
5253 Ondrej Bilka <neleai@seznam.cz>
5254
5255 [BZ #15346]
5256 * time/getdate.c: Include ctype.h and alloca.h.
5257 (__getdate_r): Trim leading and trailing spaces of input.
5258 * time/tst-getdate.c (tests): Add tests with leading and
5259 trailing spaces.
5260
61c23e62
RM
52612013-04-08 Roland McGrath <roland@hack.frob.com>
5262
5263 [BZ #14280]
5264 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5265 when computing value.
5266
7208a313
CD
52672013-04-06 Carlos O'Donell <carlos@redhat.com>
5268
085b2d41
CD
5269 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5270 Use testrun.sh to run libm tests.
5271
7208a313
CD
5272 [BZ #15309]
5273 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5274
872c0acd
MM
52752013-04-06 Marko Myllynen <myllynen@redhat.com>
5276
5277 [BZ #15264]
5278 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5279
26510bdd
CD
52802013-04-06 Carlos O'Donell <carlos@redhat.com>
5281
5282 * Makefile.in (regen-ulps): New target.
5283 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5284 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5285 [ifneq (no,$(PERL)] (regen-ulps): New target.
5286 [ifeq (no,$(PERL)] (regen-ulps): New target.
5287 * math/libm-test.inc (ulps_file_name): Define.
5288 (output_dir): New variable.
5289 (options): Add "output-dir" option.
5290 (parse_opt): Handle 'o' case.
5291 (main): If output_dir is non-NULL use it as a prefix
5292 otherwise use "".
5293 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5294
a01f19c8
CD
52952013-04-06 Carlos O'Donell <carlos@redhat.com>
5296
5297 [BZ #10060, #10062]
5298 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5299 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5300 fail configure if __sync_val_compare_and_swap is not inlined.
5301 * sysdeps/i386/configure: Regenerate.
5302 * configure.in: Build for i686 when configured for i386.
5303 * configure: Regenerate.
5304 * README: Remove i386 reference.
5305
b7a329a5
CD
53062013-04-06 Carlos O'Donell <carlos@redhat.com>
5307
5308 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5309 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5310
bf0f50df
TS
53112013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5312
ee091edf
TS
5313 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5314 (lmsnanval): New variables.
5315 (F): Add conversion tests.
5316 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5317 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5318
a8b792d6
TS
5319 * stdio-common/tstdiomisc.c (F): Properly collect individual
5320 tests' results.
5321
a1cbf437
TS
5322 [BZ #14686, #15336]
5323 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5324 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5325 Instead, use input NaN values or generate a qNaN by arithmetic
5326 operation. Also fix bugs to comply with the standard.
5327 * math/libm-test.inc (remainder_test): Add more tests.
5328
8b43a0c9
TS
5329 [BZ #15335, #15342]
5330 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5332 input NaN values or generate a qNaN by arithmetic operation.
5333
d91da4ce
TS
5334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5335 unreachable code.
5336
bf0f50df
TS
5337 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5338 definitions.
5339
05e166c8
JM
53402013-04-03 Joseph Myers <joseph@codesourcery.com>
5341
5342 [BZ #14478]
5343 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5344 underflowed result.
5345 * math/s_cexpf.c (__cexpf): Likewise.
5346 * math/s_cexpl.c (__cexpl): Likewise.
5347 * math/libm-test.inc (cexp_test): Add more tests.
5348
1cef1b19
AS
53492013-04-03 Andreas Schwab <schwab@suse.de>
5350
5351 [BZ #15330]
5352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5353 order arrays from heap if bigger than alloca cutoff.
5354
74d87055
TS
53552013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5356
5357 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5358 (SNAN_TESTS_double): Refer to GCC PR56831.
5359 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5360 GCC PR56828.
5361
d755bba4
SP
53622013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5363
90d5d5bb
SP
5364 * Rules (bench): Move bench.out after the run is complete.
5365
73e0cd5d
SP
5366 * Rules (bench): Echo currently running benchmark.
5367
64aabd4b
SP
5368 * benchtests/Makefile (bench): Add atan and slowatan.
5369 * benchtests/atan-inputs: New file.
5370 * benchtests/slowatan-inputs: New file.
5371 * benchtests/slowatan.c: New file.
5372
c871eccd
SP
5373 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5374 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5375 its value.
5376
d755bba4
SP
5377 [BZ #15305]
5378 * sysdeps/unix/sysv/linux/kernel-features.h
5379 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5380 __ASSUME_XFS_RESTRICTED_CHOWN.
5381 * sysdeps/unix/sysv/linux/pathconf.c
5382 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5383 Save and restore errno.
5384
52ce4860
JM
53852013-04-02 Joseph Myers <joseph@codesourcery.com>
5386
5387 [BZ #15327]
5388 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5389 arguments using __kernel_casinh.
5390 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5391 arguments using __kernel_casinhf.
5392 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5393 arguments using __kernel_casinhl.
5394 * math/libm-test.inc (cacosh_test): Add more tests.
5395 * sysdeps/i386/fpu/libm-test-ulps: Update.
5396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5397
81f311c2
SP
53982013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5399
e7906a47
SP
5400 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5402
92e3664b
SP
5403 * bench/Makefile (bench): Add sin and slowsin.
5404 * benchtests/sin-inputs: New file.
5405 * benchtests/slowsin-inputs: New file.
5406 * benchtests/slowsin.c: New file.
5407
81f311c2
SP
5408 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5409 (bench): Add slowexp and slowpow.
5410 (exp-ITER): Increase iterations.
5411 (pow-ITER): Likewise.
5412 * benchtests/exp-inputs: Change input.
5413 * benchtests/pow-inputs: Likewise.
5414 * benchtests/slowexp-inputs: New file.
5415 * benchtests/slowexp.c: New file.
5416 * benchtests/slowpow-inputs: New file.
5417 * benchtests/slowpow.c: New file.
5418
ab0f1aa9
AZ
54192013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5420
5421 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5422 instructions.
5423 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5424 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5425 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5426 * benchtests/Makefile: Add rint benchtest.
5427 * benchtests/rint-inputs: Input for rint benchtest.
5428
57267616
TS
54292013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5430
5431 * Versions.def (libm): Add GLIBC_2.18.
5432 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5433 hidden libm prototypes.
5434 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5435 * math/Makefile (libm-calls): Add s_issignaling.
5436 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5437 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5438 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5439 declaration.
5440 * math/math.h [__USE_GNU] (issignaling): New macro.
5441 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5442 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5443 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5444 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5447 * manual/arith.texi (issignaling): New section.
5448 * manual/libm-err-tab.pl (@all_functions): Update comment.
5449 * math/gen-libm-test.pl (parse_args): Apply special handling for
5450 issignaling.
5451 * math/libm-test.inc (print_float, issignaling_test): New
5452 functions.
5453 (check_float_internal): Add issignaling checks.
5454 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5455 default definition.
5456 * sysdeps/powerpc/math-tests.h: New file.
5457 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5458 tests.
5459 * math/test-snan.c (TEST_FUNC): Likewise.
5460
6142896d
DM
54612013-03-30 David S. Miller <davem@davemloft.net>
5462
5463 * po/de.po: Update from translation team.
5464
ccc8cadf
JM
54652013-03-30 Joseph Myers <joseph@codesourcery.com>
5466
5467 [BZ #10357]
5468 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5469 imaginary part less than 1.0 and real part less than 0.5
5470 specially.
5471 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5472 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5473 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5474 (cacos_test): Add more tests.
5475 (casin_test): Likewise.
5476 (casinh_test): Likewise.
5477 * sysdeps/i386/fpu/libm-test-ulps: Update.
5478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5479
0f6a8d4b
SP
54802013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5481
0d1029de
SP
5482 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5483 ONE with its value.
5484
c2d94018
SP
5485 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5486 (__pow_mp): Replace ONE and MONE with their values.
5487 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5489 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5490 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5491 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5492 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5493
27ec37f1
SP
5494 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5495
a64d7e0e
SP
5496 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5497 (__pow_mp): Replace ZERO and MZERO with their values.
5498 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5500 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5502 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5503 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5504 (__sqr): Likewise.
5505
d26dd3eb
SP
5506 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5507
0f6a8d4b
SP
5508 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5509
e57b0c61
RM
55102013-03-28 Roland McGrath <roland@hack.frob.com>
5511
5512 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5513 Declare with __attribute__ ((weak)).
5514 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5515 Call __call_tls_dtors only if it's not NULL.
5516
356b3480
RM
55172013-03-28 Roland McGrath <roland@hack.frob.com>
5518
288f7d79
RM
5519 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5520 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5521 magic __ehdr_start linker symbol if it's defined.
5522 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5523 them up here if it was already done.
5524
dc0a0263
RM
5525 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5526 (_dl_aux_init): Use const in cast when setting it.
5527 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5528 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5529 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5530
3d3436ae
RM
5531 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5532 Declare them here.
5533 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5534 * csu/libc-tls.c: Nor here.
5535 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5536
356b3480
RM
5537 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5538 (__libc_message): Never call vsyslog.
5539
b0f1246a
AM
55402013-03-28 Alan Modra <amodra@gmail.com>
5541
5542 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5543 Define as empty.
5544 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5545 Likewise.
5546
fbbe2b9a
AZ
55472013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5548
5549 [BZ #15214]
5550 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5551 underflow.
5552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5553
1728ab37
SP
55542013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5555
7a86be6e
SP
5556 [BZ #15304]
5557 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5558 Don't add gid passed as argument.
5559
1728ab37
SP
5560 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5561
3a7182a1
JM
55622013-03-27 Joseph Myers <joseph@codesourcery.com>
5563
5564 [BZ #15307]
5565 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5566 imaginary part between 1.0 and 1.5 and real part less than 0.5
5567 specially.
5568 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5569 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5570 * math/libm-test.inc (cacos_test): Add more tests.
5571 (casin_test): Likewise.
5572 (casinh_test): Likewise.
5573 * sysdeps/i386/fpu/libm-test-ulps: Update.
5574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5575
6f2e90e7
SP
55762013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5577
5739f705
SP
5578 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5579 constants.
5580 (norm): Likewise.
5581 (denorm): Likewise.
5582 (__dbl_mp): Likewise.
5583 (add_magnitudes): Likewise.
5584 (sub_magnitudes): Likewise.
5585 (__add): Likewise.
5586 (__sub): Likewise.
5587 (__mul): Likewise.
5588 (__sqr): Likewise.
5589 (__inv): Likewise.
5590 (__dvd): Likewise.
5591
e375e83d
SP
5592 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5593 commented code.
5594 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5595 (__dubcos): Likewise.
5596 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5597 (__ieee754_acos): Likewise.
5598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5599 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5600 (__exp1): Likewise.
5601 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5603 (log1): Likewise.
5604 (my_log2): Likewise.
5605 (checkint): Likewise.
5606 * sysdeps/ieee754/dbl-64/e_remainder.c
5607 (__ieee754_remainder): Likewise.
5608 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5610 (bsloww): Likewise.
5611 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5612
6f2e90e7
SP
5613 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5614 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5615 MANTISSA_STORE_T to store computations on mantissa. Use
5616 macros for rounding and division.
5617 (denorm): Likewise.
5618 (__dbl_mp): Likewise.
5619 (add_magnitudes): Likewise.
5620 (sub_magnitudes): Likewise.
5621 (__mul): Likewise.
5622 (__sqr): Likewise.
5623 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5624 powers of two in terms of TWOPOW macro.
5625 (mp_no): Make type of mantissa as MANTISSA_T.
5626 [!RADIXI]: Define RADIXI.
5627 [!TWO52]: Define TWO52.
5628 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5629
fce14d4e
AZ
56302013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631
5632 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5633 llroundl symbol when building for PPC32.
5634
9ad027fb
MW
56352013-03-24 Mark H Weaver <mhw@netris.org>
5636
5637 * manual/arith.texi (Normalization Functions): Fix prototypes for
5638 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5639
e42a38dd
AZ
56402013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641
5642 [BZ #13889]
5643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5644 high value to check if expl overflow.
5645 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5646 to check for underflow and overflow.
5647 * math/libm-test.inc: Add exp test.
5648
2e0fb521
DL
56492013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5650
5651 [BZ #11120]
5652 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5653 with NOT_IN_libc.
5654
b5784d95
AZ
56552013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5656
5657 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5658 symbol.
5659
5aa4a1a1
TS
56602013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5661
bdef0be7
TS
5662 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5663 wrap blocks consisting of several statements.
5664
5aa4a1a1
TS
5665 * sysdeps/generic/math-tests.h: New file.
5666 * sysdeps/i386/fpu/math-tests.h: Likewise.
5667 * math/test-snan.c: Include it.
5668 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5669
98c48fe5
JM
56702013-03-21 Joseph Myers <joseph@codesourcery.com>
5671
5672 [BZ #15285]
5673 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5674 (__ieee754_j0l): Do not improve calculations using cos of twice
5675 input for inputs above LDBL_MAX / 2.0L.
5676 (__ieee754_y0l): Likewise.
5677 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5678 (__ieee754_j1l): Do not improve calculations using cos of twice
5679 input for inputs above LDBL_MAX / 2.0L.
5680 (__ieee754_y1l): Likewise.
5681 * math/libm-test.inc (j0_test): Add another test.
5682 (j1_test): Likewise.
5683 (y0_test): Likewise.
5684 (y1_test): Likewise.
5685 * sysdeps/i386/fpu/libm-test-ulps: Update.
5686
3775a8bc
SP
56872013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5688
5689 * Rules ($(objpfx)bench-%.c): Include code from a C source
5690 file.
5691
0a1b2ae6
JM
56922013-03-21 Joseph Myers <joseph@codesourcery.com>
5693
5694 [BZ #15287]
5695 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5696 imaginary part 1.0 and real part less than 0.5 specially.
5697 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5698 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5699 * math/libm-test.inc (cacos_test): Add more tests.
5700 (casin_test): Likewise.
5701 (casinh_test): Likewise.
5702 * sysdeps/i386/fpu/libm-test-ulps: Update.
5703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5704
b33d4ce4
SP
57052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5706
5707 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5708 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5709
bef0b507
JM
57102013-03-20 Joseph Myers <joseph@codesourcery.com>
5711
5712 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5713 * config.make.in (config-cflags-sse4): Remove variable.
5714 (config-cflags-avx): Likewise.
5715 (config-cflags-sse2avx): Likewise.
5716 (config-cflags-novzeroupper): Likewise.
5717 (config-asflags-i686): Likewise.
5718 (have-mfma4): Likewise.
5719 (have-as-vis3): Likewise.
5720 (MIG): Likewise.
5721 * configure.in (MIG): Do not AC_SUBST.
5722 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5723 (libc_cv_cc_sse4): Do not AC_SUBST.
5724 (libc_cv_cc_avx): Likewise.
5725 (libc_cv_cc_sse2avx): Likewise.
5726 (libc_cv_cc_novzeroupper): Likewise.
5727 (libc_cv_cc_fma4): Likewise.
5728 (libc_cv_as_i686): Likewise.
5729 (libc_cv_sparc_as_vis3): Likewise.
5730 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5731 LIBC_CONFIG_VAR.
5732 (config-asflags-i686): Likewise.
5733 (config-cflags-avx): Likewise.
5734 (config-cflags-sse2avx): Likewise.
5735 (have-mfma4): Likewise.
5736 (config-cflags-novzeroupper): Likewise.
5737 * sysdeps/mach/configure.in (MIG): Likewise.
5738 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5739 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5740 LIBC_CONFIG_VAR.
5741 (config-cflags-avx): Likewise.
5742 (config-cflags-sse2avx): Likewise.
5743 (have-mfma4): Likewise.
5744 (config-cflags-novzeroupper): Likewise.
5745 * configure: Regenerated.
5746 * sysdeps/i386/configure: Likewise.
5747 * sysdeps/mach/configure: Likewise.
5748 * sysdeps/sparc/configure: Likewise.
5749 * sysdeps/x86_64/configure: Likewise.
5750
912cc4b3
RM
57512013-03-20 Roland McGrath <roland@hack.frob.com>
5752
5753 [BZ #14812]
5754 * locale/programs/localedef.c (options): Put N_ translation marker
5755 on argument names, not just descriptions.
5756
04eed2b0
MS
57572013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5758
5759 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5760
a065ceff
OB
57612013-03-20 Ondřej Bílka <neleai@seznam.cz>
5762
9bb2a810 5763 [BZ #14176]
a065ceff
OB
5764 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5765
a600e5ce
RM
57662013-03-19 Roland McGrath <roland@hack.frob.com>
5767
5768 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5769 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5770 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5771 [!BEFORE_ABORT] (before_abort): New function.
5772 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5773 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5774 (writev_for_fatal): New function.
5775 (WRITEV_FOR_FATAL): New macro; call that.
5776 (backtrace_and_maps): New function.
5777 (BEFORE_ABORT): New macro; call that.
5778 (struct str_list): Type removed.
5779 (__libc_message, __libc_fatal): Functions removed.
5780 Include <sysdeps/posix/libc_fatal.c> instead.
5781
6b18bea6
JM
57822013-03-19 Joseph Myers <joseph@codesourcery.com>
5783
5784 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5785 constants.
5786 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5787 double constants.
5788
aaa8cb4b
AS
57892013-03-19 Andreas Schwab <schwab@suse.de>
5790
44673770
AS
5791 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5792 * sysdeps/gnu/configure: Regenerate.
5793
aaa8cb4b
AS
5794 * configure.in: Substitute libc_cv_rtlddir.
5795 * configure: Regenerate.
5796 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5797 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5798 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5799 * elf/Makefile (install-others, CFLAGS-interp.c)
5800 (ldso_install, common-ldd-rewrite): Likewise.
5801 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5802 $(inst_slibdir)/$(rtld-installed-name).
5803 * scripts/rellns-sh: Add -p option.
5804 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5805 for source.
5806
d3cfc668
SP
58072013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5808
5809 * manual/nptl.texi: Renamed to ...
5810 * manual/threads.texi: ... this.
5811 * manual/Makefile (chapters): Update.
5812
0e2b9cdd
RM
58132013-03-18 Roland McGrath <roland@hack.frob.com>
5814
5815 [BZ #14812]
5816 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5817 on argument names, not just descriptions.
0e2b9cdd
RM
5818 * malloc/memusagestat.c (options): Likewise.
5819 * nss/getent.c (options): Likewise.
63270c24
RM
5820
58212013-03-18 Benno Schulenberg <bensberg@justemail.net>
5822
5823 [BZ #14812]
5824 * iconv/iconv_prog.c (options): Put N_ translation marker
5825 on argument names, not just descriptions.
5826 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5827
b2e1393c
OB
58282013-03-18 Ondrej Bilka <neleai@seznam.cz>
5829
5830 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5831 implementation which is faster on all x86_64 architectures.
5832 Tested on AMD, Intel Nehalem, SNB, IVB.
5833 * sysdeps/x86_64/strnlen.S: Likewise.
5834
5835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5836 Remove all multiarch strlen and strnlen versions.
5837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5838 Remove strlen and strnlen related parts.
5839
5840 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5841 Inline strlen part.
5842 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5843
5844 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5845 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5846 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5847 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5848 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5849 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5850
ec4ff04d
CD
58512013-03-17 Carlos O'Donell <carlos@redhat.com>
5852
5853 * manual/memory.texi (Malloc Tunable Parameters):
5854 Sort parameters alphabetically. Add comments for missing entries.
5855
cd18e90a
DM
58562013-03-17 David S. Miller <davem@davemloft.net>
5857
5858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5859
2a185d32
JM
58602013-03-16 Joseph Myers <joseph@codesourcery.com>
5861
d2f9799e
JM
5862 [BZ #15283]
5863 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5864 for arguments at most half maximum finite value.
5865 * math/libm-test.inc (j0_test): Add more tests.
5866 (j1_test): Likewise.
5867 (y0_test): Likewise.
5868 (y1_test): Likewise.
5869 * sysdeps/i386/fpu/libm-test-ulps: Update.
5870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5871
2a185d32
JM
5872 [BZ #14155]
5873 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5874 1 / x and functions P and Q for arguments above 0x1p256L.
5875 (__ieee754_y0l): Likewise.
5876 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5877 (__ieee754_y1l): Likewise.
5878 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5879 (j1_test): Likewise.
5880 (y0_test): Likewise.
5881 (y1_test): Likewise.
5882
6cbec759
TS
58832013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5884
5885 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5886 variable.
5887
bc16e260
RM
58882013-03-15 Roland McGrath <roland@hack.frob.com>
5889
aefc9b8c
RM
5890 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5891 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5892 zero since it's initialized to EXEC_PAGESIZE.
5893
bc16e260
RM
5894 * sysdeps/unix/sysv/linux/ldsodefs.h
5895 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5896 * sysdeps/generic/ldsodefs.h: ... here.
5897
a57da955
TS
58982013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5899
af00a34d
TS
5900 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5901
495ded2c
TS
5902 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5903 math/test-snan.c.
5904 * math/test-snan.c: Renamed from
5905 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5906 * math/Makefile (tests): Add test-snan.
5907 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5908 test-powerpc-snan.
5909
777b0332
TS
5910 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5911 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5912 functions.
5913 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5914 __builtin_nan family of functions.
5915 * math/libm-test.inc (initialize): Initialize qnan_value with
5916 __builtin_nan family of functions.
5917 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5918 Remove variables.
5919 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5920 Remove functions.
5921 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5922 storage class. Initialize qNaN_var and sNaN_var with
5923 __builtin_nan and __builtin_nans families of functions,
5924 respectively.
5925
64d063b8
TS
5926 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5927 (sqrt_test): Remove duplicate test with qNaN input.
5928 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5929 (round_test, signbit_test, significand_test): Note missing +/-Inf
5930 as well as qNaN tests.
5931
67e971f1
TS
5932 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5933 qNaN_var. Fix a few strings, too.
5934 * math/libm-test.inc (nan_value): Rename to qnan_value.
5935 * math/gen-libm-test.pl (%beautify): Adjust to that.
5936 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5937 * math/test-misc.c (main): Likewise.
5938 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5939 to __qnan_bytes, and __qnan_union, respectively.
5940 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5941 Likewise.
5942 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5943 and lqnanval, respectively.
5944 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5945 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5946 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5947 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5948
64487e12
TS
5949 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5950 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5951 doubles.
5952
e015e27b
TS
5953 * math/test-misc.c (main): Fix copy'n'pastos.
5954 * misc/tst-efgcvt.c (special): Likewise.
5955
a57da955
TS
5956 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5957 Remove declarations.
5958
1e380345
SP
59592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5960
5961 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5962 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5963 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5964 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5965
ef26eece
AZ
59662013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967
5968 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5969 macro to return vdso values correctly in IFUNC implementations.
5970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5971 Optimization by using IFUNC.
5972
8cfdb7e0
SP
59732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5974 Richard Henderson <rth@redhat.com>
5975 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5976
5977 * Makefile.in (bench): New target.
5978 * NEWS: Mention the benchmark framework.
5979 * Rules (bench): Likewise.
5980 (binaries-bench): Generate binaries for functions to
5981 benchmark.
5982 * benchtests/Makefile: New makefile for benchmark tests.
5983 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5984 programs.
5985 * benchtests/exp-inputs: New input file for EXP function.
5986 * benchtests/pow-inputs: New input file for POW function.
5987 * scripts/bench.pl: New script to generate source files for
5988 benchmark programs.
5989
bcda9880
SP
59902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5991
d22ca8cd
SP
5992 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5993 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5994 computations on mantissa. Use macros for rounding and
5995 division.
5996 (denorm): Likewise.
5997 (__dbl_mp): Likewise.
5998 (add_magnitudes): Likewise.
5999 (sub_magnitudes): Likewise.
6000 (__mul): Likewise.
6001 (__sqr): Likewise.
6002 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6003 powers of two in terms of TWOPOW macro.
6004 (mp_no): Make type of mantissa as MANTISSA_T.
6005 [!RADIXI]: Define RADIXI.
6006 [!TWO52]: Define TWO52.
6007 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6008
bcda9880
SP
6009 * manual/nptl.texi (cindex): Modify threads to pthreads.
6010
06d5adfb
JM
60112013-03-15 Joseph Myers <joseph@codesourcery.com>
6012
6013 * sysdeps/x86_64/preconfigure: Regenerated.
6014
41c7328e
JM
60152013-03-14 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #14155]
6018 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6019 0x1p28 and above.
6020 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6021 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6022 0x1p28 and above.
6023 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6024 * math/libm-test.inc (j0_test): Do not allow one spurious
6025 underflow exception.
6026 (y1_test): Likewise.
6027
e25cfa60
SP
60282013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6029
0409959c
SP
6030 * manual/Makefile (chapters): Add nptl.
6031 * manual/debug.texi (Debugging Support): Add link to Threads
6032 chapter.
6033 * manual/nptl.texi: New file.
6034
e25cfa60
SP
6035 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6036
58a1335e
PB
60372013-03-14 Petr Baudis <pasky@ucw.cz>
6038
6039 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6040 for non-NULL pointer before the memory validity test. Pointed
6041 out by Holger Brunck <holger.brunck@keymile.com>.
6042
9dc7c64f
AS
60432013-03-13 Andreas Schwab <schwab@suse.de>
6044
6045 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6046 instead of .os.
6047
54206aa6
JM
60482013-03-13 Joseph Myers <joseph@codesourcery.com>
6049
6050 * timezone/zic.c: Update from tzcode 2013b.
6051
e98cdb38
CD
60522013-03-12 Carlos O'Donell <carlos@redhat.com>
6053
6054 * manual/install.texi (Configuring and compiling):
6055 Mention i686 and i586.
6056 * INSTALL: Regenerate.
6057
9967e003
RM
60582013-03-12 Roland McGrath <roland@hack.frob.com>
6059
6060 * sysdeps/init_array/elf-init.c: New file.
6061 * csu/elf-init.c
6062 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6063 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6064
6065 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6066 __gmon_start__ as global, but as static with a .preinit_array pointer.
6067 * sysdeps/init_array/gmon-start.c: New file. Use that.
6068 * sysdeps/init_array/crti.S: New file, empty except for comments.
6069 * sysdeps/init_array/crtn.S: Likewise.
6070
e6b5a293 60712013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6072
6073 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6074 definining bcopy.
80f844c9
OB
6075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6076 Remove Prefer_SSE_for_memop.
6077 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6078 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6079 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6081 memset-x86-64.
80f844c9 6082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6083 Remove bzero, memset ifunc support.
80f844c9
OB
6084 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6085 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6086 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6087 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6088
fb6b0fcb
AS
60892013-03-11 Andreas Schwab <schwab@suse.de>
6090
6091 [BZ #15234]
6092 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6093 by SHLIB_COMPAT.
6094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6095 (GLIBC_2.16): Remove pthread_atfork.
6096
3e6bd4b1
PP
60972013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6098
6099 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6100 (ptestcases.h): Likewise.
6101
222d7f00
RM
61022013-03-08 Roland McGrath <roland@hack.frob.com>
6103
6104 * Makeconfig ($(common-objpfx)config.status): Depend on
6105 sysdeps/*/preconfigure{,.in} too.
6106
1ba4f030
JM
61072013-03-08 Joseph Myers <joseph@codesourcery.com>
6108
a222d91a
JM
6109 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6110 (__free_hook): Use void * instead of __malloc_ptr_t.
6111 (__malloc_hook): Likewise.
6112 (__realloc_hook): Likewise.
6113 (__memalign_hook): Likewise.
6114 (__after_morecore_hook): Likewise.
6115 * malloc/arena.c (save_malloc_hook): Likewise.
6116 (save_free_hook): Likewise.
6117 * malloc/hooks.c (malloc_hook_ini): Likewise.
6118 (realloc_hook_ini): Likewise.
6119 (memalign_hook_ini): Likewise.
6120 * malloc/malloc.c (malloc_hook_ini): Likewise.
6121 (realloc_hook_ini): Likewise.
6122 (memalign_hook_ini): Likewise.
6123 (__free_hook): Likewise.
6124 (__malloc_hook): Likewise.
6125 (__realloc_hook): Likewise.
6126 (__memalign_hook): Likewise.
6127 (__libc_malloc): Likewise.
6128 (__libc_free): Likewise.
6129 (__libc_realloc): Likewise.
6130 (__libc_memalign): Likewise.
6131 (__libc_valloc): Likewise.
6132 (__libc_pvalloc): Likewise.
6133 (__libc_calloc): Likewise.
6134 (__posix_memalign): Likewise.
6135 * malloc/morecore.c (__sbrk): Likewise.
6136 (__default_morecore): Likewise.
6137
5cc45e10
JM
6138 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6139
dd54b864
JM
6140 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6141 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6142 __malloc_ptrdiff_t.
6143
1ba4f030
JM
6144 * malloc/malloc.h (__malloc_size_t): Remove macro.
6145 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6146 __malloc_size_t.
6147 (old_memalign_hook): Likewise.
6148 (old_realloc_hook): Likewise.
6149 (struct hdr): Likewise.
6150 (flood): Likewise.
6151 (mallochook): Likewise.
6152 (memalignhook): Likewise.
6153 (reallochook): Likewise.
6154 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6155 (tr_old_realloc_hook): Likewise.
6156 (tr_old_memalign_hook): Likewise.
6157 (tr_mallochook): Likewise.
6158 (tr_reallochook): Likewise.
6159 (tr_memalignhook): Likewise.
6160
edf66e57
AZ
61612013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6162
6163 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6164 default_ldbl_pack and using as default implementation.
6165 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6166 implementation.
6167 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6168 redundant definition.
6169 (ldbl_insert_mantissa): Likewise.
6170 (ldbl_canonicalize): Likewise.
6171 (ldbl_nearbyint): Likewise.
6172 (ldbl_pack): Rename to ldbl_pack_ppc.
6173 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6174 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6175 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6176
6d9145d8
SP
61772013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6178
6179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6180 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6181 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6182 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6184 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6185 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6186 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6187
4dd4e157
AJ
61882013-03-07 Andreas Jaeger <aj@suse.de>
6189
6190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6191 bits/mman-linux.h.
6192
adbb8027
SP
61932013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6194
ce544b5b
SP
6195 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6196 Include mpa.h and declare __MPEXP.
6197 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6198 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6199 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6200 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6201 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6202 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6203 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6204
4cc149fd
SP
6205 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6206 (__slowpow): Use long double EXPL and LOGL functions to
6207 compute POW.
6208 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6209 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6210 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6211 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6212 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6213 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6214
e6ebd4a7
SP
6215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6216 intermediate variable to calculate exponent.
6217 (__sqr): Likewise.
6218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6219 Likewise.
6220 (__sqr): Likewise.
6221
82a9811d
SP
6222 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6223 [!NO__SQR]: Define __sqr.
6224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6225 and NO__SQR. Remove all code except __mul and __sqr. Include
6226 sysdeps/ieee754/dbl-64/mpa.c.
6227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6228
adbb8027
SP
6229 [BZ #12723]
6230 * posix/Makefile (tests): Add tst-pathconf.
6231 * posix/tst-pathconf.c: New test case.
6232 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6233 _PC_PIPE_BUF.
6234 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6235
39120df9
PF
62362013-03-06 Patsy Franklin <pfrankli@redhat.com>
6237
6238 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6239
67525cb8
AJ
62402013-03-06 Andreas Jaeger <aj@suse.de>
6241
664a9ce4
AJ
6242 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6243 definition via __MAP_ANONYMOUS.
6244
8e39047d
AJ
6245 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6246 it's not part of Linux headers.
6247
67525cb8
AJ
6248 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6249 (MAP_HUGE_MASK): Define.
6250
6251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6252 Define.
6253 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6255 Define.
6256 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6257 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6258 Define.
6259 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6261 Define.
6262 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6263
6264 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6265 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6266 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6267 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6268 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6269 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6270
6271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6272 Handle f2fs.
6273
6274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6275 Handle f2fs and efivarfs.
6276
6277 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6278 f2fs.
6279
6280 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6281 (EFIVARFS_MAGIC): Add.
6282 (F2FS_LINK_MAX): Add.
6283
e1b42695
PP
62842013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6285
6286 * stdio-common/vfprintf.c: Replace __builtin_expect with
6287 __glibc_unlikely.
6288
2d67d91a
JM
62892013-03-06 Joseph Myers <joseph@codesourcery.com>
6290
6291 [BZ #13550]
6292 * sysdeps/generic/bp-sym.h: Remove file.
6293 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6294 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6295 <bp-sym.h> and <bp-asm.h>.
6296 (__longjmp): Don't use BP_SYM.
6297 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6298 and <bp-asm.h>.
6299 (memcpy): Don't use BP_SYM.
6300 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6301 <bp-sym.h> and <bp-asm.h>.
6302 (memcpy): Don't use BP_SYM.
6303 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6304 <bp-asm.h>.
6305 (memcpy): Don't use BP_SYM.
6306 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6307 <bp-asm.h>.
6308 (memset): Don't use BP_SYM.
6309 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6310 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6311 (__bzero): Don't use BP_SYM.
6312 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6313 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6314 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6315 <bp-sym.h> and <bp-asm.h>.
6316 (memcmp): Don't use BP_SYM. Remove comment about bounded
6317 pointers.
6318 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6319 <bp-sym.h> and <bp-asm.h>.
6320 (memcpy): Don't use BP_SYM.
6321 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6322 <bp-sym.h> and <bp-asm.h>.
6323 (memset): Don't use BP_SYM.
6324 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6325 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6326 (__bzero): Don't use BP_SYM.
6327 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6328 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6329 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6330 <bp-sym.h> and <bp-asm.h>.
6331 (strncmp): Don't use BP_SYM. Remove comment about bounded
6332 pointers.
6333 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6334 <bp-sym.h> and <bp-asm.h>.
6335 (memcpy): Don't use BP_SYM.
6336 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6337 <bp-sym.h> and <bp-asm.h>.
6338 (memset): Don't use BP_SYM.
6339 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6340 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6341 (__bzero): Don't use BP_SYM.
6342 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6343 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6344 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6345 <bp-sym.h> and <bp-asm.h>.
6346 (__memchr): Don't use BP_SYM.
6347 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6348 <bp-sym.h> and <bp-asm.h>.
6349 (memcmp): Don't use BP_SYM. Remove comment about bounded
6350 pointers.
6351 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6352 <bp-sym.h> and <bp-asm.h>.
6353 (memcpy): Don't use BP_SYM.
6354 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6355 <bp-sym.h> and <bp-asm.h>.
6356 (__mempcpy): Don't use BP_SYM.
6357 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6358 <bp-sym.h> and <bp-asm.h>.
6359 (__memrchr): Don't use BP_SYM.
6360 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6361 <bp-sym.h> and <bp-asm.h>.
6362 (memset): Don't use BP_SYM.
6363 (__bzero): Likewise.
6364 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6365 <bp-sym.h> and <bp-asm.h>.
6366 (__rawmemchr): Don't use BP_SYM.
6367 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6368 <bp-sym.h> and <bp-asm.h>.
6369 (__STRCMP): Don't use BP_SYM.
6370 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6371 <bp-sym.h> and <bp-asm.h>.
6372 (strchr): Don't use BP_SYM.
6373 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6374 <bp-sym.h> and <bp-asm.h>.
6375 (__strchrnul): Don't use BP_SYM.
6376 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6377 <bp-sym.h> and <bp-asm.h>.
6378 (strlen): Don't use BP_SYM.
6379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6380 <bp-sym.h> and <bp-asm.h>.
6381 (strncmp): Don't use BP_SYM. Remove comment about bounded
6382 pointers.
6383 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6384 <bp-sym.h> and <bp-asm.h>.
6385 (__strnlen): Don't use BP_SYM.
6386 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6387 <bp-sym.h> and <bp-asm.h>.
6388 (__GI__setjmp): Don't use BP_SYM.
6389 (_setjmp): Likewise.
6390 (__sigsetjmp): Likewise.
6391 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6392 (L(start_addresses)): Don't use BP_SYM.
6393 (_start): Likewise.
6394 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6395 <bp-asm.h>.
6396 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6397 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6398 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6399 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6400 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6401 <bp-asm.h>.
6402 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6403 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6404 about bounded pointers.
6405 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6406 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6407 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6408 <bp-asm.h>.
6409 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6410 about bounded pointers. Remove GKM FIXME comments.
6411 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6412 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6413 <bp-asm.h>.
6414 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6415 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6416 Remove GKM FIXME comments.
6417 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6418 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6419 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6420 <bp-asm.h>.
6421 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6422 about bounded pointers. Remove GKM FIXME comment.
6423 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6424 and <bp-asm.h>.
6425 (strncmp): Don't use BP_SYM. Remove comment about bounded
6426 pointers.
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6428 <bp-sym.h> and <bp-asm.h>.
6429 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6431 <bp-sym.h> and <bp-asm.h>.
6432 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6433 comment.
6434
cdcf361f
PP
64352013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6436
6437 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6438 call free(NULL).
6439
3c4a2b15
DM
64402013-03-05 David S. Miller <davem@davemloft.net>
6441
6442 * po/es.po: Update from translation team.
6443
cdcf361f 64442013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6445
6446 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6447 <bits/mman-linux.h>.
6448 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6449 is fine.
6450 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6451 <bits/mman-linux.h> to end of file.
6452 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6453 is fine.
6454 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6455 <bits/mman-linux.h> to end of file.
6456 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6457 is fine.
6458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6459 <bits/mman-linux.h> to end of file.
6460
6461 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6462 (MCL_CURRENT, MCL_FUTURE): Define here.
6463
5f67c04f
AK
64642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6465
8a4473cc 6466 [BZ #15232]
5f67c04f
AK
6467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6468 attribute_hidden.
6469 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6470
c3e94a95
AK
64712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6472
6473 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6474 fourth parameter needed for rt_sigprocmask syscall.
6475 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6476 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6477 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6478 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6479 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6480 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6481
cfb6382a
JM
64822013-03-04 Joseph Myers <joseph@codesourcery.com>
6483
6484 [BZ #13550]
6485 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6486 comment about bounded pointers.
6487 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6488 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6489
539d8e01
AJ
64902013-03-04 Andreas Jaeger <aj@suse.de>
6491
6492 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6493 common definitions.
6494
6495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6496 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6497 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6498 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6501
2e167a70 65022013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6503
6504 [BZ #15055]
6505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6506 __ieee754_sqrl instead of __sqrl.
6507
68508633
JM
65082013-03-01 Joseph Myers <joseph@codesourcery.com>
6509
6510 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6511 * sysdeps/powerpc/fpu_control.h: ... here.
6512 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6513 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6514 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6515 * sysdeps/powerpc/bits/mathinline.h: ... here.
6516
7775448e
RM
65172013-03-01 Roland McGrath <roland@hack.frob.com>
6518
6519 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6520 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6521 to just [NEED_DL_SYSINFO_DSO].
6522 * elf/dl-support.c: Likewise.
6523 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6524 * elf/rtld.c (dl_main): Likewise.
6525 * elf/setup-vdso.h (setup_vdso): Likewise.
6526 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6527 * sysdeps/unix/sysv/linux/dl-sysdep.c
6528 (_dl_discover_osversion): Likewise.
6529
4e9b5995
CD
65302013-03-01 Carlos O'Donell <carlos@redhat.com>
6531
6532 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6533 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6534
e23872c8
SP
65352013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6536
e5c74c63
SP
6537 * NEWS: Mention libm performance improvements and non-x86 PI
6538 futex support.
6539
e23872c8
SP
6540 * csu/libc-start.c (__pthread_initialize_minimal): Change
6541 function arguments.
6542 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6543
b5510883
JM
65442013-02-28 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #13550]
6547 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6548 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6549 <bp-sym.h> and <bp-asm.h>.
6550 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6551 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6552 and <bp-asm.h>.
6553 (memcpy): Don't use BP_SYM.
6554 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6555 <bp-asm.h>.
6556 (__mpn_add_n): Don't use BP_SYM.
6557 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6558 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6559 and <bp-asm.h>.
6560 (__mpn_addmul_1): Don't use BP_SYM.
6561 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6562 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6563 <bp-sym.h>.
6564 (_setjmp): Don't use BP_SYM.
6565 (__novmx_setjmp): Likewise.
6566 (__GI__setjmp): Likewise.
6567 (__vmx_setjmp): Likewise.
6568 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6569 <bp-sym.h>.
6570 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6571 (__bzero): Don't use BP_SYM.
6572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6574 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6575 <bp-sym.h> and <bp-asm.h>.
6576 (memcpy): Don't use BP_SYM.
6577 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6578 <bp-sym.h> and <bp-asm.h>.
6579 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6581 <bp-sym.h> and <bp-asm.h>.
6582 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6583 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6584 <bp-asm.h>.
6585 (__mpn_lshift): Don't use BP_SYM.
6586 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6587 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6588 <bp-asm.h>.
6589 (memset): Don't use BP_SYM.
6590 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6591 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6592 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6593 <bp-asm.h>.
6594 (__mpn_mul_1): Don't use BP_SYM.
6595 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6597 <bp-sym.h> and <bp-asm.h>.
6598 (memcmp): Don't use BP_SYM.
6599 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6600 <bp-sym.h> and <bp-asm.h>.
6601 (memcpy): Don't use BP_SYM.
6602 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6603 <bp-sym.h> and <bp-asm.h>.
6604 (memset): Don't use BP_SYM.
6605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6606 <bp-sym.h> and <bp-asm.h>.
6607 (strncmp): Don't use BP_SYM.
6608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6609 <bp-sym.h> and <bp-asm.h>.
6610 (memcpy): Don't use BP_SYM.
6611 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6612 <bp-sym.h> and <bp-asm.h>.
6613 (memset): Don't use BP_SYM.
6614 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6615 <bp-sym.h> and <bp-asm.h>.
6616 (__memchr): Don't use BP_SYM.
6617 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6618 <bp-sym.h> and <bp-asm.h>.
6619 (memcmp): Don't use BP_SYM.
6620 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6621 <bp-sym.h> and <bp-asm.h>.
6622 (memcpy): Don't use BP_SYM.
6623 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6624 <bp-sym.h> and <bp-asm.h>.
6625 (__mempcpy): Don't use BP_SYM.
6626 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6627 <bp-sym.h> and <bp-asm.h>.
6628 (__memrchr): Don't use BP_SYM.
6629 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6630 <bp-sym.h> and <bp-asm.h>.
6631 (memset): Don't use BP_SYM.
6632 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6633 <bp-sym.h> and <bp-asm.h>.
6634 (__rawmemchr): Don't use BP_SYM.
6635 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6636 <bp-sym.h> and <bp-asm.h>.
6637 (__STRCMP): Don't use BP_SYM.
6638 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6639 <bp-sym.h> and <bp-asm.h>.
6640 (strchr): Don't use BP_SYM.
6641 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6642 <bp-sym.h> and <bp-asm.h>.
6643 (__strchrnul): Don't use BP_SYM.
6644 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6645 <bp-sym.h> and <bp-asm.h>.
6646 (strlen): Don't use BP_SYM.
6647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6648 <bp-sym.h> and <bp-asm.h>.
6649 (strncmp): Don't use BP_SYM.
6650 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6651 <bp-sym.h> and <bp-asm.h>.
6652 (__strnlen): Don't use BP_SYM.
6653 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6654 <bp-asm.h>.
6655 (__mpn_rshift): Don't use BP_SYM.
6656 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6657 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6658 <bp-sym.h> and <bp-asm.h>.
6659 (__sigsetjmp): Don't use BP_SYM.
6660 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6661 (L(start_addresses)): Don't use BP_SYM.
6662 (_start): Likewise.
6663 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6664 <bp-asm.h>.
6665 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6666 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6667 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6668 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6669 <bp-asm.h>.
6670 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6671 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6672 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6673 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6674 <bp-asm.h>.
6675 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6676 comments.
6677 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6678 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6679 <bp-asm.h>.
6680 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6681 FIXME comments.
6682 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6683 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6684 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6685 <bp-asm.h>.
6686 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6687 comment.
6688 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6689 and <bp-asm.h>.
6690 (strncmp): Don't use BP_SYM,
6691 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6692 <bp-asm.h>.
6693 (__mpn_sub_n): Don't use BP_SYM.
6694 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6695 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6696 and <bp-asm.h>.
6697 (__mpn_submul_1): Don't use BP_SYM.
6698 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6700 <bp-sym.h> and <bp-asm.h>.
6701 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6703 <bp-sym.h> and <bp-asm.h>.
6704 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6705 comment.
6706
8d19fe64
SP
67072013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6708
6709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6710 Use ZK to minimize writes to Z.
6711 (sub_magnitudes): Simplify code a bit.
6712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6713 Use ZK to minimize writes to Z.
6714 (sub_magnitudes): Simplify code a bit.
6715
85bd816a
RM
67162013-02-27 Roland McGrath <roland@hack.frob.com>
6717
6718 * csu/gmon-start.c: Add special exception to license text.
6719
b5977bf2
RH
67202013-02-27 Richard Henderson <rth@redhat.com>
6721
6722 * scripts/config.guess: Update from config.git.
6723 * scripts/config.sub: Likewise.
6724
11d6e2f2
SP
67252013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6726
09c14ed2
SP
6727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6728
a688864e
SP
6729 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6730
6295157a
SP
6731 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6732
b8de2202
SP
6733 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6734
11d6e2f2
SP
6735 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6736
7e80ddb8
RM
67372013-02-26 Roland McGrath <roland@hack.frob.com>
6738
6739 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6740 [$(build-shared = yes].
7e80ddb8 6741
7da6d9ed
SP
67422013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6743
45f05884
SP
6744 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6745 (__mul): Reduce iterations for calculating mantissa.
6746
2236d359
SP
6747 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6748 MPTWO.
6749 (__mpranred): Likewise.
6750
7da6d9ed
SP
6751 [BZ #15160]
6752 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6753 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6754
b7688c42
PE
67552013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6756
6757 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6758 Define __attribute__.
6759
53a5c423
SP
67602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6761
6762 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6763 unused.
6764 * posix/regex_internal.h (__attribute): Remove.
6765 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6766 (re_string_context_at): Likewise.
6767 (bitset_not): Use __attribute__ and mark function as possibly
6768 unused.
6769 (bitset_merge): Likewise.
6770 (bitset_mask): Likewise.
6771 (re_string_char_size_at): Likewise.
6772 (re_string_wchar_at): Likewise.
6773 (re_string_elem_size_at): Likewise.
6774
60f5a8b5
SP
67752013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6776
2a983a2e
SP
6777 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6778 code.
6779 (cc32): Likewise.
6780
e69804d1
SP
6781 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6782 (__acr): Likewise.
6783 (__cpy): Likewise.
6784 (norm): Likewise.
6785 (denorm): Likewise.
6786 (__dbl_mp): Likewise.
6787 (add_magnitudes): Likewise.
6788 (sub_magnitudes): Likewise.
6789 (__mul): Likewise.
6790 (__inv): Likewise.
6791
2f22a1e8
SP
6792 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6793 style.
6794
8930ddc7
SP
6795 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6796 style.
6797
dc60cb11
SP
6798 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6799 code.
6800
60f5a8b5
SP
6801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6802 up changes with default code.
6803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6804 Likewise.
6805
b4d1fd33
AM
68062013-02-24 Allan McRae <allan@archlinux.org>
6807
faf6f8bc
AM
6808 * manual/socket.texi (The Internet Namespace): Order menu items
6809 to match that in the file.
6810
b4d1fd33
AM
6811 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6812 node listing of the info page menu.
6813
2366713d
JM
68142013-02-21 Joseph Myers <joseph@codesourcery.com>
6815
6816 [BZ #13550]
6817 * sysdeps/i386/bp-asm.h: Remove file.
6818 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6819 (PARMS): Do not use macros from bp-asm.h.
6820 (S1): Likewise.
6821 (S2): Likewise.
6822 (SIZE): Likewise.
6823 (__mpn_add_n): Do not use BP_SYM
6824 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6825 "bp-asm.h".
6826 (PARMS): Do not use macros from bp-asm.h.
6827 (S1): Likewise.
6828 (SIZE): Likewise.
6829 (__mpn_addmul_1): Do not use BP_SYM
6830 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6831 "bp-asm.h".
6832 (PARMS): Do not use macros from bp-asm.h.
6833 (SIGMSK): Likewise.
6834 (_setjmp): Likewise. Do not use BP_SYM.
6835 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6836 "bp-asm.h".
6837 (PARMS): Do not use macros from bp-asm.h.
6838 (SIGMSK): Likewise.
6839 (setjmp): Likewise. Do not use BP_SYM.
6840 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6841 "bp-asm.h".
6842 (PARMS): Do not use macros from bp-asm.h.
6843 (__frexp): Do not use BP_SYM.
6844 (frexp): Likewise.
6845 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6846 "bp-asm.h".
6847 (PARMS): Do not use macros from bp-asm.h.
6848 (__frexpf): Do not use BP_SYM.
6849 (frexpf): Likewise.
6850 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6851 "bp-asm.h".
6852 (PARMS): Do not use macros from bp-asm.h.
6853 (__frexpl): Do not use BP_SYM.
6854 (frexpl): Likewise.
6855 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6856 "bp-asm.h".
6857 (PARMS): Do not use macros from bp-asm.h.
6858 (__remquo): Do not use BP_SYM.
6859 (remquo): Likewise.
6860 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6861 "bp-asm.h".
6862 (PARMS): Do not use macros from bp-asm.h.
6863 (__remquof): Do not use BP_SYM.
6864 (remquof): Likewise.
6865 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6866 "bp-asm.h".
6867 (PARMS): Do not use macros from bp-asm.h.
6868 (__remquol): Do not use BP_SYM.
6869 (remquol): Likewise.
6870 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6871 "bp-asm.h".
6872 (PARMS): Do not use macros from bp-asm.h.
6873 (DEST): Likewise.
6874 (SRC): Likewise.
6875 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6876 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6877 "bp-asm.h".
6878 (PARMS): Do not use macros from bp-asm.h.
6879 (strlen): Do not use BP_SYM.
6880 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6881 "bp-asm.h".
6882 (PARMS): Do not use macros from bp-asm.h.
6883 (S1): Likewise.
6884 (S2): Likewise.
6885 (SIZE): Likewise.
6886 (__mpn_add_n): Do not use BP_SYM.
6887 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6888 "bp-asm.h".
6889 (PARMS): Do not use macros from bp-asm.h.
6890 (S1): Likewise.
6891 (SIZE): Likewise.
6892 (__mpn_addmul_1): Do not use BP_SYM.
6893 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6894 weak_alias.
6895 (bzero): Likewise.
6896 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6897 "bp-asm.h".
6898 (PARMS): Do not use macros from bp-asm.h.
6899 (S): Likewise.
6900 (SIZE): Likewise.
6901 (__mpn_lshift): Do not use BP_SYM.
6902 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6903 "bp-asm.h".
6904 (PARMS): Do not use macros from bp-asm.h.
6905 (DEST): Likewise.
6906 (SRC): Likewise.
6907 (LEN): Likewise.
6908 (memcpy): Likewise. Do not use BP_SYM.
6909 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6910 libc_hidden_def and weak_alias.
6911 (mempcpy): Do not use BP_SYM in weak_alias.
6912 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6913 "bp-asm.h".
6914 (PARMS): Do not use macros from bp-asm.h.
6915 (DEST): Likewise.
6916 (LEN): Likewise.
6917 [!BZERO_P] (CHR): Likewise.
6918 (memset): Likewise. Do not use BP_SYM.
6919 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6920 "bp-asm.h".
6921 (PARMS): Do not use macros from bp-asm.h.
6922 (S1): Likewise.
6923 (SIZE): Likewise.
6924 (__mpn_mul_1): Do not use BP_SYM.
6925 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6926 "bp-asm.h".
6927 (PARMS): Do not use macros from bp-asm.h.
6928 (S): Likewise.
6929 (SIZE): Likewise.
6930 (__mpn_rshift): Do not use BP_SYM.
6931 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6932 "bp-asm.h".
6933 (PARMS): Do not use macros from bp-asm.h.
6934 (STR): Likewise.
6935 (CHR): Likewise.
6936 (strchr): Likewise. Do not use BP_SYM.
6937 (index): Do not use BP_SYM in weak_alias.
6938 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6939 "bp-asm.h".
6940 (PARMS): Do not use macros from bp-asm.h.
6941 (DEST): Likewise.
6942 (SRC): Likewise.
6943 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6944 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6945 "bp-asm.h".
6946 (PARMS): Do not use macros from bp-asm.h.
6947 (strlen): Do not use BP_SYM.
6948 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6949 "bp-asm.h".
6950 (PARMS): Do not use macros from bp-asm.h.
6951 (S1): Likewise.
6952 (S2): Likewise.
6953 (SIZE): Likewise.
6954 (__mpn_sub_n): Do not use BP_SYM.
6955 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6956 "bp-asm.h".
6957 (PARMS): Do not use macros from bp-asm.h.
6958 (S1): Likewise.
6959 (SIZE): Likewise.
6960 (__mpn_submul_1): Do not use BP_SYM.
6961 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6962 "bp-asm.h".
6963 (PARMS): Do not use macros from bp-asm.h.
6964 (S1): Likewise.
6965 (S2): Likewise.
6966 (SIZE): Likewise.
6967 (__mpn_add_n): Do not use BP_SYM.
6968 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6969 weak_alias.
6970 (bzero): Likewise.
6971 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6972 "bp-asm.h".
6973 (PARMS): Do not use macros from bp-asm.h.
6974 (BLK2): Likewise.
6975 (LEN): Likewise.
6976 (memcmp): Do not use BP_SYM.
6977 (bcmp): Do not use BP_SYM in weak_alias.
6978 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6979 "bp-asm.h".
6980 (PARMS): Do not use macros from bp-asm.h.
6981 (DEST): Likewise.
6982 (SRC): Likewise.
6983 (LEN): Likewise.
6984 (memcpy): Likewise. Do not use BP_SYM.
6985 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6986 "bp-asm.h".
6987 (PARMS): Do not use macros from bp-asm.h.
6988 (DEST): Likewise.
6989 (SRC): Likewise.
6990 (LEN): Likewise.
6991 (memmove): Likewise. Do not use BP_SYM.
6992 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6993 "bp-asm.h".
6994 (PARMS): Do not use macros from bp-asm.h.
6995 (DEST): Likewise.
6996 (SRC): Likewise.
6997 (LEN): Likewise.
6998 (__mempcpy): Likewise. Do not use BP_SYM.
6999 (mempcpy): Do not use BP_SYM in weak_alias.
7000 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7001 "bp-asm.h".
7002 (PARMS): Do not use macros from bp-asm.h.
7003 (DEST): Likewise.
7004 (LEN): Likewise.
7005 [!BZERO_P] (CHR): Likewise.
7006 (memset): Likewise. Do not use BP_SYM.
7007 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7008 "bp-asm.h".
7009 (PARMS): Do not use macros from bp-asm.h.
7010 (STR2): Likewise.
7011 (strcmp): Do not use BP_SYM.
7012 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7013 "bp-asm.h".
7014 (PARMS): Do not use macros from bp-asm.h.
7015 (STR): Likewise.
7016 (DELIM): Likewise.
7017 [USE_AS_STRTOK_R] (SAVE): Likewise.
7018 (FUNCTION): Likewise. Do not use BP_SYM.
7019 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7020 aliases.
7021 (strtok_r): Likewise.
7022 (__GI___strtok_r): Likewise.
7023 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7024 (PARMS): Do not use macros from bp-asm.h.
7025 (S): Likewise.
7026 (SIZE): Likewise.
7027 (__mpn_lshift): Do not use BP_SYM.
7028 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7029 (PARMS): Do not use macros from bp-asm.h.
7030 (STR): Likewise.
7031 (CHR): Likewise.
7032 (__memchr): Do not use BP_SYM.
7033 (memchr): Do not use BP_SYM in weak_alias.
7034 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7035 (PARMS): Do not use macros from bp-asm.h.
7036 (BLK2): Likewise.
7037 (LEN): Likewise.
7038 (memcmp): Do not use BP_SYM.
7039 (bcmp): Do not use BP_SYM in weak_alias.
7040 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7041 (PARMS): Do not use macros from bp-asm.h.
7042 (S1): Likewise.
7043 (SIZE): Likewise.
7044 (__mpn_mul_1): Do not use BP_SYM.
7045 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7046 "bp-asm.h".
7047 (PARMS): Do not use macros from bp-asm.h.
7048 (STR): Likewise.
7049 (CHR): Likewise.
7050 (__rawmemchr): Do not use BP_SYM.
7051 (rawmemchr): Do not use BP_SYM in weak_alias.
7052 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7053 (PARMS): Do not use macros from bp-asm.h.
7054 (S): Likewise.
7055 (SIZE): Likewise.
7056 (__mpn_rshift): Do not use BP_SYM.
7057 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7058 (PARMS): Do not use macros from bp-asm.h.
7059 (SIGMSK): Likewise.
7060 (__sigsetjmp): Likewise. Do not use BP_SYM.
7061 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7062 (_start): Do not use BP_SYM.
7063 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7064 (PARMS): Do not use macros from bp-asm.h.
7065 (DEST): Likewise.
7066 (SRC): Likewise.
7067 (__stpcpy): Likewise. Do not use BP_SYM.
7068 (stpcpy): Do not use BP_SYM in weak_alias.
7069 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7070 "bp-asm.h".
7071 (PARMS): Do not use macros from bp-asm.h.
7072 (DEST): Likewise.
7073 (SRC): Likewise.
7074 (LEN): Likewise.
7075 (__stpncpy): Likewise. Do not use BP_SYM.
7076 (stpncpy): Do not use BP_SYM in weak_alias.
7077 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7078 (PARMS): Do not use macros from bp-asm.h.
7079 (STR): Likewise.
7080 (CHR): Likewise.
7081 (strchr): Likewise. Do not use BP_SYM.
7082 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7083 "bp-asm.h".
7084 (PARMS): Do not use macros from bp-asm.h.
7085 (STR): Likewise.
7086 (CHR): Likewise.
7087 (__strchrnul): Likewise. Do not use BP_SYM.
7088 (strchrnul): Do not use BP_SYM in weak_alias.
7089 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7090 "bp-asm.h".
7091 (PARMS): Do not use macros from bp-asm.h.
7092 (STOP): Likewise.
7093 (strcspn): Do not use BP_SYM.
7094 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7095 "bp-asm.h".
7096 (PARMS): Do not use macros from bp-asm.h.
7097 (STR): Likewise.
7098 (STOP): Likewise.
7099 (strpbrk): Likewise. Do not use BP_SYM.
7100 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7101 "bp-asm.h".
7102 (PARMS): Do not use macros from bp-asm.h.
7103 (STR): Likewise.
7104 (CHR): Likewise.
7105 (strrchr): Likewise. Do not use BP_SYM.
7106 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7107 (PARMS): Do not use macros from bp-asm.h.
7108 (SKIP): Likewise.
7109 (strspn): Do not use BP_SYM.
7110 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7111 (PARMS): Do not use macros from bp-asm.h.
7112 (STR): Likewise.
7113 (DELIM): Likewise.
7114 (SAVE): Likewise.
7115 (FUNCTION): Likewise. Do not use BP_SYM.
7116 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7117 aliases.
7118 (strtok_r): Likewise.
7119 (__GI___strtok_r): Likewise.
7120 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7121 (PARMS): Do not use macros from bp-asm.h.
7122 (S1): Likewise.
7123 (S2): Likewise.
7124 (SIZE): Likewise.
7125 (__mpn_sub_n): Do not use BP_SYM.
7126 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7127 "bp-asm.h".
7128 (PARMS): Do not use macros from bp-asm.h.
7129 (S1): Likewise.
7130 (SIZE): Likewise.
7131 (__mpn_submul_1): Do not use BP_SYM.
7132 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7133 <bp-sym.h>.
7134 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7135 and <bp-asm.h>.
7136 (PARMS): Do not use macros from bp-asm.h.
7137 (FLAGS): Likewise.
7138 (PTID): Likewise.
7139 (TLS): Likewise.
7140 (CTID): Likewise.
7141 (__clone): Do not use BP_SYM.
7142 (clone): Do not use BP_SYM in weak_alias.
7143 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7144 and <bp-asm.h>.
7145 (PARMS): Do not use macros from bp-asm.h.
7146 (LEN): Likewise.
7147 (__mmap64): Do not use BP_SYM.
7148 (mmap64): Do not use BP_SYM in weak_alias.
7149 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7150 <bp-sym.h> and <bp-asm.h>.
7151 (PARMS): Do not use macros from bp-asm.h.
7152 (__posix_fadvise64_l64): Do not use BP_SYM.
7153 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7154 (PARMS): Do not use macros from bp-asm.h.
7155 (NSOPS): Likewise.
7156 (semtimedop): Do not use BP_SYM.
7157 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7158 and <bp-asm.h>.
7159
582a3cff
AM
71602013-02-21 Allan McRae <allan@archlinux.org>
7161
7162 * manual/message.texi (Charset conversion in gettext):
7163 Move @end statement to beginning of line.
7164
bab8a695
SP
71652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7166
80945231
SP
7167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7168 static.
7169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7170 Likewise.
7171
bab8a695
SP
7172 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7173 (denorm): Likewise.
7174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7176
e21d7aa7
AK
71772013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7178
7179 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7180 tail-call to the resolved function if pltexit isn't needed.
7181
4c7a4263
SP
71822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7183
7184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7185 or Y being zero as being unlikely.
7186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7187 Likewise.
7188
41f49342
CD
71892013-02-20 Carlos O'Donell <carlos@redhat.com>
7190
7191 * manual/nss.texi (System Databases and Name Service Switch):
7192 Remove frobnicate @pxref.
7193
50022a93
TS
71942013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7195
7196 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7197 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7198
08cbd996
PM
71992013-02-20 Petr Machata <pmachata@redhat.com>
7200
7201 * elf/elf.h (R_ARM_TARGET1): New macro.
7202 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7203 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7204 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7205 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7206 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7207 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7208 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7209 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7210 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7211 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7212 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7213 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7214 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7215 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7216 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7217 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7218 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7219 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7220 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7221 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7222 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7223 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7224 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7225 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7226 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7227 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7228 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7229 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7230 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7231 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7232 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7233 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7234 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7235 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7236 (R_ARM_THM_GOT_BREL12): Likewise.
7237 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7238 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7239 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7240 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7241 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7242 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7243 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7244 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7245 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7246
c7b275d6
TS
72472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7248
7249 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7250 __attribute_used__ to __attribute__ ((unused)).
7251
20cd7fb3
SP
72522013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7253
7254 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7255 powerpc mpa.c.
7256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7257 comment formatting.
7258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7259
92945b52
JM
72602013-02-19 Joseph Myers <joseph@codesourcery.com>
7261
7262 [BZ #13550]
7263 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7264 Remove macro.
7265 (ENTER): Remove both macro definitions.
7266 (LEAVE): Likewise.
7267 (CHECK_BOUNDS_LOW): Likewise.
7268 (CHECK_BOUNDS_HIGH): Likewise.
7269 (CHECK_BOUNDS_BOTH): Likewise.
7270 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7271 (RETURN_BOUNDED_POINTER): Likewise.
7272 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7273 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7274 (POP_ERRNO_LOCATION_RETURN): Likewise.
7275 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7276 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7277 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7278 macros.
7279 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7280 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7281 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7282 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7283 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7284 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7285 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7286 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7287 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7288 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7289 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7290 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7291 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7292 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7293 removed macros.
7294 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7295 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7296 macros.
7297 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7298 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7299 * sysdeps/i386/i586/memset.S (memset): Likewise.
7300 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7301 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7302 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7303 macros.
7304 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7305 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7306 Change uses of L(2) to L(out).
7307 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7308 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7309 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7310 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7311 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7312 removed macros.
7313 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7314 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7315 macros.
7316 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7317 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7318 (RETURN): Do not use macro LEAVE.
7319 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7320 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7321 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7322 * sysdeps/i386/i686/memset.S (memset): Likewise.
7323 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7324 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7325 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7326 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7327 Likewise.
7328 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7329 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7330 L(1_2) and L(1_3) into L(1).
7331 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7332 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7333 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7334 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7335 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7336 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7337 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7339 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7340 macros.
7341 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7342 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7343 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7344 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7345 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7346 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7347 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7348 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7349 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7350 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7351 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7352 * sysdeps/i386/strspn.S (strspn): Likewise.
7353 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7354 conditional code.
7355 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7356 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7357 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7358 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7359 L(1_3) into L(1_1).
7360 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7361 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7362 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7363 macros.
7364 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7365
2389741a
JJ
73662013-02-19 Jakub Jelinek <jakub@redhat.com>
7367
7368 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7369 macro.
7370
2016b3cd
SP
73712013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7372
e4f22324
SP
7373 * math/atest-exp.c (exp_mpn): Remove ROUND.
7374 * math/atest-exp2.c (exp_mpn): Likewise.
7375 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7376
2016b3cd
SP
7377 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7378 * stdlib/tst-tls-atexit-lib.c: Likewise.
7379 * stdlib/tst-tls-atexit.c: Likewise.
7380
4be9b544
MF
73812013-02-18 Mike Frysinger <vapier@gentoo.org>
7382
7383 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7384 and __attribute_alloc_size__.
7385
2f62b9ee
MF
73862013-02-18 Mike Frysinger <vapier@gentoo.org>
7387
7388 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7389 __attribute_alloc_size__.
7390 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7391 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7392
6ff444c4
MF
73932013-02-18 Mike Frysinger <vapier@gentoo.org>
7394
7395 * include/programs/xmalloc.h: New file.
7396 * catgets/gencat.c: Include it.
7397 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7398 * elf/pldd.c: Likewise.
7399 * iconv/iconv_charmap.c: Likewise.
7400 * iconv/iconvconfig.c: Likewise.
7401 * iconv/strtab.c: Likewise.
7402 * locale/programs/locale.c: Likewise.
7403 * locale/programs/localedef.h: Likewise.
7404 * locale/programs/simple-hash.c: Likewise.
7405 * nscd/nscd.h: Likewise.
7406 * nss/makedb.c: Likewise.
7407 * sysdeps/generic/ldconfig.h: Likewise.
7408
be179c8a
SP
74092013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7410
ba384f6e
SP
7411 * Versions.def: Add GLIBC_2.18.
7412 * include/link.h (struct link_map): New member l_tls_dtor_count.
7413 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7414 (__call_tls_dtors): Likewise.
7415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7416 __cxa_thread_atexit_impl.
7417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7418 Likewise.
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7420 Likewise.
7421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7422 Likewise.
7423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7424 Likewise.
7425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7427 Likewise.
7428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7429 Likewise.
7430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7432 Likewise.
7433 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7434 (tests): Add test case tst-tls-atexit.
7435 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7436 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7437 (GLIBC_PRIVATE): Add __call_tls_dtors.
7438 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7439 for libstdc++.
7440 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7441 * stdlib/tst-tls-atexit.c: New test case.
7442 * stdlib/tst-tls-atexit-lib.c: New test case.
7443
ffaa74cf 7444 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7445
be179c8a
SP
7446 * elf/Versions (ld): Add _dl_find_dso_for_object.
7447 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7448 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7449 (dl_open_worker): Use _dl_find_dso_for_object.
7450 * elf/dl-sym.c (do_sym): Likewise.
7451 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7452
f78b5caa
AK
74532013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7454
7455 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7456 Syntactic changes only.
7457 (_dl_runtime_profile): Do a tail-call to the resolved function.
7458
29691210
JM
74592013-02-17 Joseph Myers <joseph@codesourcery.com>
7460
7461 [BZ #13550]
7462 * sysdeps/x86_64/bp-asm.h: Remove file.
7463 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7464 <bp-sym.h> and <bp-asm.h>.
7465 (__clone): Do not use BP_SYM.
7466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7467 <bp-sym.h> and <bp-asm.h>.
7468 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7469 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7470 "bp-asm.h".
7471 (_setjmp): Do not use BP_SYM.
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/mempcpy.S (__mempcpy): Do not use BP_SYM in
7476 libc_hidden_def.
7477 (mempcpy): Do not use BP_SYM in weak_alias.
7478 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7479 "bp-asm.h".
7480 (strchr): Do not use BP_SYM.
7481 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7482 "bp-asm.h".
7483 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7484 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7485 (_start): Do not use BP_SYM.
7486 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7487 "bp-asm.h".
7488 (strcat): Do not use BP_SYM.
7489 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7490 "bp-asm.h".
7491 (STRCMP): Do not use BP_SYM.
7492 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7493 "bp-asm.h".
7494 (STRCPY): Do not use BP_SYM.
7495 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7496 "bp-asm.h".
7497 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7498 "bp-asm.h".
7499 (FUNCTION): Do not use BP_SYM.
7500 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7501 weak_alias.
7502 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7503
f238fd19
AJ
75042013-02-17 Andreas Jaeger <aj@suse.de>
7505
7506 * time/Versions: Sort entries.
7507 * string/Versions: Likewise.
7508 * resolv/Versions: Likewise.
7509 * posix/Versions: Likewise.
7510 * iconv/Versions: Likewise.
7511 * elf/Versions: Likewise.
7512 * wcsmbs/Versions: Likewise.
7513
bd07f23c 75142013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7515
22af19f9
SP
7516 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7517 loop termination condition.
7518
4709fe76
SP
7519 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7520 variable to calculate EZ.
7521 (__sqr): Likewise.
2d0e0f29
SP
7522
7523 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7524 the lower precision input.
7525
daaa7713
JM
75262013-02-15 Joseph Myers <joseph@codesourcery.com>
7527
7528 [BZ #13550]
7529 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7530 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7531 (run-via-rtld-prefix): Do not handle %-bp tests.
7532 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7533 (all-object-suffixes): Remove .ob.
7534 (bppfx): Remove variable.
7535 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7536 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7537 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7538 [$(build-bounded) = yes] (libtype.ob): Likewise.
7539 * Makerules (elide-routines.ob): Remove variable.
7540 (do-tests-clean): Do not handle *-bp.out.
7541 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7542 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7543 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7544 (tests): Do not include $(tests-bp.out).
7545 (xtests): Do not include $(xtests-bp.out).
7546 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7547 [$(build-bounded) = yes] ($(addprefix
7548 $(objpfx),$(binaries-bounded))): Remove rule.
7549 ($(objpfx)%-bp.out): Remove rule.
7550 * config.make.in (build-bounded): Remove variable.
7551 * crypt/Makefile [$(build-bounded) = yes]
7552 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7553 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7554 append to variable.
7555 [$(build-bounded) = yes] (install-lib): Likewise.
7556 [$(build-bounded) = yes] (generated): Likewise.
7557 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7558 Remove rule.
7559 * intl/Makefile [$(build-bounded) = yes]
7560 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7561 * math/Makefile [$(build-bounded) = yes]
7562 ($(tests:%=$(objpfx)%-bp): Likewise.
7563 * misc/Makefile [$(build-bounded) = yes]
7564 ($(objpfx)tst-tsearch-bp): Likewise.
7565 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7566 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7567 Remove dependency.
7568 * string/Makefile (o-objects.ob): Remove variable.
7569 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7570 (CFLAGS-.ob): Remove variable.
7571 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7572 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7573 both definitions of variable.
7574 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7575 (ASFLAGS-.ob): Remove variable.
7576
e97ed6dd
JM
75772013-02-14 Joseph Myers <joseph@codesourcery.com>
7578
2bdd4ca6
JM
7579 [BZ #13550]
7580 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7581 Remove __BOUNDED_POINTERS__ from condition.
7582 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7583 * string/bits/string2.h [!__NO_STRING_INLINES &&
7584 !__BOUNDED_POINTERS__]: Likewise.
7585 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7586 Likewise.
7587 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7588 Remove conditional code.
7589 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7590 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7591 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7592 condition.
7593
e97ed6dd
JM
7594 [BZ #13550]
7595 * csu/libc-start.c: Do not include <bp-sym.h>.
7596 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7597 * elf/dl-open.c: Do not include <bp-sym.h>.
7598 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7599 * math/fegetenv.c: Do not include <bp-sym.h>.
7600 (fegetenv): Do not use BP_SYM in versioned symbols.
7601 * nptl/sysdeps/pthread/bits/libc-lockP.h
7602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7603 <bp-sym.h>.
7604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7605 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7607 (__pthread_mutex_destroy): Likewise.
7608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7609 (__pthread_mutex_lock): Likewise.
7610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7611 (__pthread_mutex_trylock): Likewise.
7612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7613 (__pthread_mutex_unlock): Likewise.
7614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7615 (__pthread_mutexattr_init): Likewise.
7616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7617 (__pthread_mutexattr_destroy): Likewise.
7618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7619 (__pthread_mutexattr_settype): Likewise.
7620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7621 (__pthread_rwlock_init): Likewise.
7622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7623 (__pthread_rwlock_destroy): Likewise.
7624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7625 (__pthread_rwlock_rdlock): Likewise.
7626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7627 (__pthread_rwlock_tryrdlock): Likewise.
7628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7629 (__pthread_rwlock_wrlock): Likewise.
7630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7631 (__pthread_rwlock_trywrlock): Likewise.
7632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7633 (__pthread_rwlock_unlock): Likewise.
7634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7635 (__pthread_key_create): Likewise.
7636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7637 (__pthread_setspecific): Likewise.
7638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7639 (__pthread_getspecific): Likewise.
7640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7641 Likewise.
7642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7643 (_pthread_cleanup_push_defer): Likewise.
7644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7645 (_pthread_cleanup_pop_restore): Likewise.
7646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7647 (pthread_setcancelstate): Likewise.
7648 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7649 <bp-sym.h>.
7650 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7651 (memchr): Do not use BP_SYM in weak_alias.
7652 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7653 (fegetenv): Do not use BP_SYM in versioned symbols.
7654 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7655 (fesetenv): Do not use BP_SYM in versioned symbols.
7656 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7657 (feupdateenv): Do not use BP_SYM in versioned symbols.
7658 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7659 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7660 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7661 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7662 (open64): Do not use BP_SYM in weak_alias.
7663 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7664 (fegetenv): Do not use BP_SYM in versioned symbols.
7665 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7666 (fesetenv): Do not use BP_SYM in versioned symbols.
7667 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7668 (feupdateenv): Do not use BP_SYM in versioned symbols.
7669 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7670 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7671 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7672 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7673 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7674 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7675 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7676 <bp-sym.h>.
7677 (__libc_start_main): Do not use BP_SYM.
7678
d6752ccd
SP
76792013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7680
cb57ce60
SP
7681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7682 redundant return line.
7683 (norm): Likewise.
7684 (denorm): Likewise.
7685 (dbl_mp): Likewise.
7686 (sub_magnitudes): Likewise.
7687 (__add): Likewise.
7688 (__sub): Likewise.
7689 (__mul): Likewise.
7690 (__inv): Likewise.
7691 (__dvd): Likewise.
7692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7693 (norm): Likewise.
7694 (denorm): Likewise.
7695 (dbl_mp): Likewise.
7696 (sub_magnitudes): Likewise.
7697 (__add): Likewise.
7698 (__sub): Likewise.
7699 (__mul): Likewise.
7700 (__inv): Likewise.
7701 (__dvd): Likewise.
7702
f414520d
SP
7703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7704 instead of __mul.
7705 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7706 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7707 (cc32): Likewise.
7708
d6752ccd
SP
7709 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7710 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7712 of __mul for squares.
7713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7714 function
7715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7716 Likewise.
7717 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7719
70d9946a
JM
77202013-02-13 Joseph Myers <joseph@codesourcery.com>
7721
7722 [BZ #13550]
7723 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7724 code.
7725 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7726 prototype or function definition. Rename ubp_* variables and
7727 parameters. Remove argv definitions conditional on
7728 [__BOUNDED_POINTERS__].
7729 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7730 * elf/dl-runtime.c (_dl_fixup): Likewise.
7731 * include/set-hooks.h (RUN_HOOK): Likewise.
7732 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7733 definition.
7734 * string/strcpy.c (strcpy): Do not use __unbounded.
7735 * sysdeps/generic/frame.h (struct layout): Likewise.
7736 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7737 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7738 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7739 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7740 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7741 (__backtrace): Likewise.
7742 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7743 use __ptrvalue.
7744 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7745 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7746 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7747 Likewise.
7748 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7749 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7750 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7751 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7752 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7753 Do not use __unbounded.
7754 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7755 Rename __unboundedrlimits parameter to rlimits in prototype.
7756 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7757 Do not use __unbounded.
7758 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7759 not use __ptrvalue.
7760 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7761 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7762 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7763 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7764 __ptrvalue or __unbounded.
7765 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7766 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7767 use __unbounded.
7768 (__new_msgctl): Do not use __ptrvalue.
7769 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7770 __unbounded.
7771 (__libc_msgrcv): Do not use __ptrvalue.
7772 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7773 startup_info): Do not use __unbounded.
7774 (__libc_start_main): Likewise. Rename ubp_* variables and
7775 parameters. Remove argv definitions conditional on
7776 [__BOUNDED_POINTERS__].
7777 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7778 __ptrvalue.
7779 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7780 use __unbounded.
7781 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7782 or __ptrvalue.
7783 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7784 use __unbounded.
7785 (__new_shmctl): Do not use __ptrvalue.
7786 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7787 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7788 Likewise.
7789 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7790 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7791 (__libc_sigaction): Likewise.
7792 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7793 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7794 Likewise.
7795 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7796
cc7834d6
OB
77972013-02-13 Ondřej Bílka <neleai@seznam.cz>
7798
ffb1ec7b 7799 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7800
7801 * string/mempcpy.c: Implement by calling memcpy.
7802
bdf02814
SP
78032013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7804
c2af38aa
SP
7805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7806
4e92d59e
SP
7807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7808 evaluation.
7809
909279a5
SP
7810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7811 values in the mantissa.
7812
bdf02814
SP
7813 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7814 minimize writes to Z.
7815 (sub_magnitudes): Simplify code a bit.
7816
cd525923
RM
78172013-02-12 Roland McGrath <roland@hack.frob.com>
7818
7819 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7820 from the message. The linker prefixes all warnings with that already.
7821
7e2f0d2d
AS
78222013-02-12 Andreas Schwab <schwab@suse.de>
7823
a445af0b
AS
7824 [BZ #15078]
7825 * posix/regexec.c (extend_buffers): Add parameter min_len.
7826 (check_matching): Pass minimum needed length.
7827 (clean_state_log_if_needed): Likewise.
7828 (get_subexp): Likewise.
7829 * posix/Makefile (tests): Add bug-regex34.
7830 (bug-regex34-ENV): Define.
7831 * posix/bug-regex34.c: New file.
7832
7e2f0d2d
AS
7833 [BZ #11561]
7834 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7835 elements compare against the byte sequence of it, not its name.
7836 * posix/Makefile (tests): Add bug-regex35.
7837 (bug-regex35-ENV): Define.
7838 * posix/bug-regex35.c: New file.
7839
a175b684
TV
78402013-02-11 Tom de Vries <tom@codesourcery.com>
7841
7842 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7843 comment.
7844 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7845 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7846 (CHECK_EOL): Add undef.
7847
310998fe 78482013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7849
7850 * bits/stdlib-bsearch.h: New file.
7851 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7852 * stdlib/stdlib.h: Likewise.
41eda41d 7853
8ded91fb
RM
78542013-02-11 Roland McGrath <roland@hack.frob.com>
7855
7856 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7857 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7858 declaration.
7859 * manual/search.texi (Array Search Function): Add missing const in
7860 lfind prototype.
7861 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7862 declaration to use rlim_t.
7863 (Basic Scheduling Functions): Remove erroneous const from
7864 sched_getparam prototype. Remove erroneous * from
7865 sched_get_priority_max and sched_get_priority_min prototypes.
7866 (Resource Usage): Fix summary @comment on vtimes to refer to
7867 sys/vtimes.h rather than vtimes.h.
7868 Add missing *s in vtimes prototype.
7869 (Limits on Resources): Fix ulimit prototype to return long int.
7870 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7871 prototypes to use long int rather than double.
7872 (BSD Random): Fix initstate and setstate to use char *, not void *.
7873 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7874 prototype to make second argument 'struct aiocb64 *const[]'.
7875 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7876 (Status of AIO Operations): Remove erroneous const in aio_return and
7877 aio_return64 prototypes.
7878 (Synchronizing I/O): Fix sync prototype to return void.
7879 * manual/startup.texi (Suboptions): Remove an erroneous const in
7880 getsubopt prototype.
7881 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7882 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7883 use size_t rather than int.
7884 (Scanning All Users): Likewise for getpwent_r.
7885 (Setting Groups): Add missing const to setgroups prototype.
7886 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7887 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7888 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7889 'const void *' rather than 'const char *'.
7890 (Host Address Functions): Likewise for inet_ntop.
7891 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7892 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7893 ssize_t for return value.
7894 (Sending Data): Likewise for send, sendto, sendmsg.
7895 (Socket Option Functions): Add a missing const in setsockopt prototype.
7896 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7897 use wchar_t for the argument.
7898 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7899 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7900 take no arguments.
7901 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7902 double/float/long double for second argument.
7903 Fix return types of significand, significandf, significandl.
7904 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7905 argument in fchmod prototype.
7906 (File Owner): Use uid_t and gid_t in fchown prototype.
7907 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7908 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7909 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7910 use 'const struct dirent **' as argument types to CMP function pointer
7911 argument.
7912 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7913 (File Times): Fix summary magic @comment for struct utimbuf and utime
7914 to refer to utime.h, not time.h.
7915 * manual/string.texi (Argz Functions): Add missing const in
7916 argz_extract and argz_next prototypes.
7917 (Finding Tokens in a String): Likewise for basename.
7918 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7919 (Copying and Concatenation): Fix typo in wmemmove prototype.
7920 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7921 (Signal Stack): Remove erroneous const in sigstack prototype.
7922 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7923 prototype.
7924 (Simple Calendar Time): Likewise for stime.
7925 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7926 prototype.
7927 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7928 say sys/sysctl.h instead.
7929 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7930 and vsyslog prototypes.
7931
fe77fe6d
TV
79322013-02-11 Tom de Vries <tom@codesourcery.com>
7933
7934 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7935 Remove.
7936
3a09b620
RM
79372013-02-11 Roland McGrath <roland@hack.frob.com>
7938
7939 * misc/sys/mman.h: Fix typo in mremap comment.
7940
550a0b89
RM
79412013-02-08 Roland McGrath <roland@hack.frob.com>
7942
7943 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7944 the '\0' terminator.
7945
a2da1673
JM
79462013-02-08 Joseph Myers <joseph@codesourcery.com>
7947
7948 [BZ #13550]
7949 * debug/segfault.c: Don't include <bp-checks.h>.
7950 * sysdeps/generic/bp-checks.h: Remove file.
7951 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7952 (__GETDENTS): Don't use CHECK_N.
7953 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7955 (__getgroups): Don't use CHECK_N.
7956 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7957 (setgroups): Don't use CHECK_N.
7958 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7959 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7960 (__libc_msgrcv): Don't use CHECK_N.
7961 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7962 (__libc_msgsnd): Don't use CHECK_N.
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7964 <bp-checks.h>.
7965 (__libc_pread): Don't use CHECK_N.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7967 include <bp-checks.h>.
7968 (__libc_pread64): Don't use CHECK_N.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7970 include <bp-checks.h>.
7971 (__libc_pwrite): Don't use CHECK_N.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7973 include <bp-checks.h>.
7974 (__libc_pwrite64): Don't use CHECK_N.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7976 <bp-checks.h>.
7977 (__libc_pread): Don't use CHECK_N.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7979 include <bp-checks.h>.
7980 (__libc_pread64): Don't use CHECK_N.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7982 include <bp-checks.h>.
7983 (__libc_pwrite): Don't use CHECK_N.
7984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7985 include <bp-checks.h>.
7986 (__libc_pwrite64): Don't use CHECK_N.
7987 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7988 (do_pread): Don't use CHECK_N.
7989 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7990 (do_pread64): Don't use CHECK_N.
7991 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7992 (do_pwrite): Don't use CHECK_N.
7993 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7994 (do_pwrite64): Don't use CHECK_N.
7995 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7996 (__libc_readv): Don't use CHECK_N.
7997 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7998 (semop): Don't use CHECK_N.
7999 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8000 <bp-checks.h>.
8001 (semtimedop): Don't use CHECK_N.
8002 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8003 (__libc_pread): Don't use CHECK_N.
8004 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8005 <bp-checks.h>.
8006 (__libc_pread64): Don't use CHECK_N.
8007 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8008 <bp-checks.h>.
8009 (__libc_pwrite): Don't use CHECK_N.
8010 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8011 <bp-checks.h>.
8012 (__libc_pwrite64): Don't use CHECK_N.
8013 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8014 <bp-checks.h>.
8015 (__libc_msgrcv): Don't use CHECK_N.
8016 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8017 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8018 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8019 (__libc_writev): Don't use CHECK_N.
8020
b84660a8
RM
80212013-02-08 Roland McGrath <roland@hack.frob.com>
8022
7f3e75f8
RM
8023 * string/strcpy.c: Removed unused variable.
8024
b84660a8
RM
8025 * Makeconfig (+sysdep-includes): Define with := rather than =.
8026 Use an existing include/ subdir of each sysdeps dir before it.
8027
471514d3
CD
80282013-02-08 Carlos O'Donell <carlos@redhat.com>
8029
8030 * nscd/connection.c (register_traced_file): Comment function.
8031 [HAVE_INOTIFY] (union __inev): Define.
8032 [HAVE_INOTIFY] (inotify_check_files): New function.
8033 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8034 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8035 clear_db_cache.
8036 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8037
b2d3c3be
CD
80382013-02-08 Carlos O'Donell <carlos@redhat.com>
8039
8040 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8041 loaded if not already and that a failure is permanent.
8042
b39949d2
CD
80432013-02-08 Carlos O'Donell <carlos@redhat.com>
8044
ddacd1db 8045 [BZ #15006]
b39949d2
CD
8046 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8047 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8048
b2c9eff4
JM
80492013-02-08 Joseph Myers <joseph@codesourcery.com>
8050
f3aae3f3
JM
8051 [BZ #13550]
8052 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8053 (CHECK_1_NULL_OK): Likewise.
8054 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8055 (__fxstat): Do not use CHECK_1.
8056 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8057 <bp-checks.h>.
8058 (___fxstat64): Do not use CHECK_1.
8059 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8060 <bp-checks.h>.
8061 (__fxstatat): Do not use CHECK_1.
8062 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8063 <bp-checks.h>.
8064 (__fxstatat64): Do not use CHECK_1.
8065 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8066 <bp-checks.h>.
8067 (__fxstat): Do not use CHECK_1.
8068 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8069 <bp-checks.h>.
8070 (__fxstatat): Do not use CHECK_1.
8071 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8072 <bp-checks.h>.
8073 (__getresgid): Do not use CHECK_1.
8074 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8075 <bp-checks.h>.
8076 (__getresuid): Do not use CHECK_1.
8077 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8078 <bp-checks.h>.
8079 (__lxstat): Do not use CHECK_1.
8080 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8081 <bp-checks.h>.
8082 (__old_msgctl): Do not use CHECK_1.
8083 (__new_msgctl): Likewise.
8084 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8085 <bp-checks.h>.
8086 (__new_setrlimit): Do not use CHECK_1.
8087 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8088 <bp-checks.h>.
8089 (__old_shmctl): Do not use CHECK_1.
8090 (__new_shmctl): Likewise.
8091 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8092 <bp-checks.h>.
8093 (__xstat): Do not use CHECK_1.
8094 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8095 (__lxstat): Do not use CHECK_1.
8096 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8097 <bp-checks.h>.
8098 (___lxstat64): Do not use CHECK_1.
8099 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8100 (__old_msgctl): Do not use CHECK_1.
8101 (__new_msgctl): Likewise.
8102 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8103 <bp-checks.h>.
8104 (__gettimeofday): Do not use CHECK_1.
8105 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8106 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8107 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8108 <bp-checks.h>.
8109 (__gettimeofday): Do not use CHECK_1.
8110 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8111 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8112 (__new_shmctl): Do not use CHECK_1.
8113 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8114 <bp-checks.h>.
8115 (do_sigtimedwait): Do not use CHECK_1.
8116 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8117 <bp-checks.h>.
8118 (do_sigwaitinfo): Do not use CHECK_1.
8119 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8120 <bp-checks.h>.
8121 (msgctl): Do not use CHECK_1.
8122 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8123 <bp-checks.h>.
8124 (shmctl): Do not use CHECK_1.
8125 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8126 (ustat): Do not use CHECK_1.
8127 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8128 <bp-checks.h>.
8129 (__fxstat): Do not use CHECK_1.
8130 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8131 <bp-checks.h>.
8132 (__fxstatat): Do not use CHECK_1.
8133 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8134 <bp-checks.h>.
8135 (__lxstat): Do not use CHECK_1.
8136 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8137 <bp-checks.h>.
8138 (__xstat): Do not use CHECK_1.
8139 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8140 (__xstat): Do not use CHECK_1.
8141 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8142 (___xstat64): Do not use CHECK_1.
8143
b2c9eff4
JM
8144 [BZ #13550]
8145 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8146 definitions.
8147 (CHECK_BOUNDS_HIGH): Likewise.
8148 * string/strcpy.c: Do not include <bp-checks.h>.
8149 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8150
f1d70dad
RM
81512013-02-07 Roland McGrath <roland@hack.frob.com>
8152
8153 * nscd/nscd-client.h (__nscd_drop_map_ref):
8154 Add __attribute__ ((unused)).
8155 * nis/nss-nisplus.h (niserr2nss): Likewise.
8156
8157 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8158 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8159
8160 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8161 Remove inline keyword.
8162 * include/rounding-mode.h (round_away): Likewise.
8163 * libio/wfileops.c (adjust_wide_data): Likewise.
8164 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8165 (__m128i_strloadu_tolower): Likewise.
8166 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8167 (__m128i_strloadu_tolower): Likewise.
8168 * time/mktime.c (ydhms_diff): Likewise.
8169 * locale/elem-hash.h (elem_hash): Likewise.
8170 * locale/setlocale.c (setdata): Likewise.
8171 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8172 (re_string_wchar_at): Likewise.
8173 (bitset_not, bitset_merge, bitset_mask): Likewise.
8174 [!(__GNUC__ > 3)] (inline): Remove macro.
8175 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8176 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8177 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8178 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8179 * string/memcmp.c (memcmp_bytes): Likewise.
8180 * locale/programs/locarchive.c (compute_hashval): Likewise.
8181 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8182 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8183 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8184 * nss/getent.c (print_rpc, print_protocols): Likewise.
8185 (print_passwd, print_group, print_aliases): Likewise.
8186 * nis/nss-nisplus.h (niserr2nss): Likewise.
8187 * nscd/connections.c (restart_p): Likewise.
8188 Change return type to bool.
8189
eab55bfb
RM
81902013-02-05 Roland McGrath <roland@hack.frob.com>
8191
7bd642f5
RM
8192 * Makeconfig (all-Depend-files): Add existing
8193 $(sorted-subdirs:=/Depend) files.
8194 (all-subdirs): Remove nss.
8195 * sysdeps/unix/inet/Subdirs: Add it here instead.
8196 * hesiod/Depend: New file.
8197
573c29b2
RM
8198 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8199 instead of calling alloca.
8200
b2e25af0
RM
8201 * io/lseek.c (__lseek): Rename to __libc_lseek.
8202 Define __lseek as an alias.
8203
eab55bfb
RM
8204 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8205
9a0d1941
CD
82062013-02-04 Carlos O'Donell <carlos@redhat.com>
8207
8208 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8209 else clause and remove check for non-standard endianness.
8210
b83bbec4
DM
82112013-02-04 David S. Miller <davem@davemloft.net>
8212
8213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8214
6277fdab
JM
82152013-02-04 Joseph Myers <joseph@codesourcery.com>
8216
8217 [BZ #13550]
8218 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8219 (__ubp_memchr): Remove prototype.
8220 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8221 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8222 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8223 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8224 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8225 Remove alias.
8226 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8227 (__ubp_memchr): Likewise.
8228 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8229 (__ubp_memchr): Likewise.
8230 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8231 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8232 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8233 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8234 CHECK_STRING.
8235 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8236 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8237 (__getcwd): Do not use CHECK_STRING.
8238 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8239 <bp-checks.h>.
8240 (__real_chown): Do not use CHECK_STRING.
8241 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8242 <bp-checks.h>.
8243 (fchownat): Do not use CHECK_STRING.
8244 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8245 CHECK_STRING.
8246 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8247 <bp-checks.h>.
8248 (__lchown): Do not use CHECK_STRING.
8249 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8250 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8251 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8252 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8254 include <bp-checks.h>.
8255 (truncate64): Do not use CHECK_STRING.
8256 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8257 <bp-checks.h>.
8258 (__real_chown): Do not use CHECK_STRING.
8259 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8260 <bp-checks.h>.
8261 (__lchown): Do not use CHECK_STRING.
8262 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8263 <bp-checks.h>.
8264 (__chown): Do not use CHECK_STRING.
8265 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8266 <bp-checks.h>.
8267 (truncate64): Do not use CHECK_STRING.
8268 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8269 Likewise.
8270 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8271 (__xmknod): Do not use CHECK_STRING.
8272 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8273 <bp-checks.h>.
8274 (__xmknodat): Do not use CHECK_STRING.
8275 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8276 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8277
903ae060
AS
82782013-02-04 Andreas Schwab <schwab@suse.de>
8279
8280 [BZ #14142]
8281 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8282 * include/netdb.h: Likewise for h_errno.
8283 * elf/tst-stackguard1.c: Include <tls.h>.
8284
542f9466
JK
82852013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8286
8287 * elf/link.h (struct link_map): Extend the l_addr comment.
8288 * include/link.h (struct link_map): Likewise.
8289
e782a927
JM
82902013-02-01 Joseph Myers <joseph@codesourcery.com>
8291
8292 [BZ #13550]
8293 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8294 (BOUNDED_1): Remove macro.
8295 * debug/backtrace.c: Don't include <bp-checks.h>.
8296 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8297 (__backtrace): Likewise.
8298 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8299 <bp-checks.h>.
8300 (__backtrace): Don't use BOUNDED_1.
8301 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8302 <bp-checks.h>.
8303 (__backtrace): Don't use BOUNDED_1.
8304 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8305 (__backtrace): Don't use BOUNDED_1.
8306 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8307 (shmat): Don't use BOUNDED_N.
8308
8cf28c5e
JM
83092013-01-31 Joseph Myers <joseph@codesourcery.com>
8310
3a7ac8a0
JM
8311 [BZ #13550]
8312 * sysdeps/generic/bp-start.h: Remove file.
8313 * csu/libc-start.c: Don't include <bp-start.h>.
8314 (LIBC_START_MAIN): Set up __environ directly instead of using
8315 INIT_ARGV_and_ENVIRON.
8316 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8317 <bp-start.h>.
8318
f3499f95
JM
8319 [BZ #13550]
8320 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8321 definitions.
8322 (CHECK_FCNTL): Likewise.
8323 (CHECK_N_PAGES): Likewise.
8324
32a45bea
JM
8325 [BZ #13550]
8326 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8327 definitions.
8328 (CHECK_SIGSET_NULL_OK): Likewise.
8329 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8330 <bp-checks.h>.
8331 (sigpending): Don't use CHECK_SIGSET.
8332 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8333 <bp-checks.h>.
8334 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8335 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8336 <bp-checks.h>.
8337 (do_sigsuspend): Don't use CHECK_SIGSET.
8338 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8339 use CHECK_SIGSET.
8340 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8341 (do_sigwait): Don't use CHECK_SIGSET.
8342 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8343 use CHECK_SIGSET.
8344 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8345 include <bp-checks.h>.
8346 (sigpending): Don't use CHECK_SIGSET.
8347 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8348 include <bp-checks.h>.
8349 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8350 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8351 <bp-checks.h>.
8352 (sigpending): Don't use CHECK_SIGSET.
8353 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8354 <bp-checks.h>.
8355 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8356
2e8a5c8c
JM
8357 [BZ #13550]
8358 * sysdeps/generic/bp-semctl.h: Remove file.
8359 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8360 <bp-checks.h> and <bp-semctl.h>.
8361 (__old_semctl): Don't use CHECK_SEMCTL.
8362 (__new_semctl): Likewise.
8363 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8364 and <bp-semctl.h>.
8365 (__old_semctl): Don't use CHECK_SEMCTL.
8366 (__new_semctl): Likewise.
8367 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8368 <bp-checks.h> and <bp-semctl.h>.
8369 (__old_semctl): Don't use CHECK_SEMCTL.
8370 (__new_semctl): Likewise.
8371 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8372 <bp-checks.h> and <bp-semctl.h>.
8373 (semctl): Don't use CHECK_SEMCTL.
8374
c2d54929
JM
8375 [BZ #13550]
8376 * Makerules (elide-bp-thunks): Remove variable.
8377 (elide-routines.oS): Don't use $(elide-bp-thunks).
8378 (elide-routines.os): Likewise.
8379 (elide-routines.o): Likewise.
8380 (elide-routines.op): Likewise.
8381 (elide-routines.og): Likewise.
8382 (objects): Don't use $(bp-thunks).
8383 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8384 include.
8385 (common-generated): Do not add s-proto-bp.d.
8386 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8387 (int): Likewise.
8388 (typ): Likewise.
8389 Do not generate makefile rules for bounded-pointer thunks.
8390 * sysdeps/generic/bp-thunks.h: Remove file.
8391 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8392 * sysdeps/unix/s-proto-bp.S: Likewise.
8393
8cf28c5e
JM
8394 [BZ #15062]
8395 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8396 parts of result separately when argument is not close to line from
8397 -i to i and one part of argument is small.
8398 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8399 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8400 * math/libm-test.inc (cacos_test): Add more tests.
8401 (casin_test): Likewise.
8402 (casinh_test): Likewise.
8403 * sysdeps/i386/fpu/libm-test-ulps: Update.
8404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8405
c4e33b8d
DM
84062013-01-31 David S. Miller <davem@davemloft.net>
8407
8408 * po/de.po: Update from translation team.
8409
3b60b421
MK
84102013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8411
8412 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8413
bb931195
TS
84142013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8415
b5a5da23
TS
8416 * configure.in (_AC_PROG_CC_C89): New definition.
8417 * configure: Regenerate.
8418
bb931195
TS
8419 * configure.in (AC_PROG_CPP): New definition.
8420 * configure: Regenerate.
8421
8c53a12c
JM
84222013-01-23 Joseph Myers <joseph@codesourcery.com>
8423
8424 * debug/tst-backtrace.h: New file.
8425 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8426 (ret): Remove variable.
8427 (x): Likewise.
8428 (FAIL): Remove macro.
8429 (NO_INLINE): Likewise.
8430 (fn1): Use match function instead of strstr.
8431 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8432 (ret): Remove variable.
8433 (x): Likewise.
8434 (FAIL): Remove macro.
8435 (NO_INLINE): Likewise.
8436 (fn): Use match function instead of strstr.
8437 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8438 (ret): Remove variable.
8439 (x): Likewise.
8440 (FAIL): Remove macro.
8441 (NO_INLINE): Likewise.
8442 (handle_signal): Use match function instead of strstr.
8443 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8444 (ret): Remove variable.
8445 (x): Likewise.
8446 (FAIL): Remove macro.
8447 (NO_INLINE): Likewise.
8448 (handle_signal): Use match function instead of strstr.
8449
4858fa2a
RM
84502013-01-23 Roland McGrath <roland@hack.frob.com>
8451
8452 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8453
bae8e7f5
DM
84542013-01-23 David S. Miller <davem@davemloft.net>
8455
8456 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8457 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8458 argument of CAS if possible.
8459 * sysdeps/sparc/sparc64/bits/atomic.h
8460 (__arch_compare_and_exchange_val_32_acq): Likewise.
8461 (__arch_compare_and_exchange_val_64_acq): Likewise.
8462
9cbbc4ae
PT
84632013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8464
8465 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8466 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8467 Include <limits.h>.
67b3f58c 8468 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8469
5655a0b5
AC
84702013-01-23 Adam Conrad <adconrad@0c3.net>
8471
8472 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8473 (LDFLAGS-tst-array5): Likewise.
8474
052aff95
JM
84752013-01-23 Joseph Myers <joseph@codesourcery.com>
8476
8477 [BZ #15036]
8478 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8479 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8480 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8481 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8482
7c1e01aa
DM
84832013-01-21 David S. Miller <davem@davemloft.net>
8484
8485 * sysdeps/sparc/backtrace.c: New file.
8486 * sysdeps/sparc/sparc32/backtrace.h: New file.
8487 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8488 * sysdeps/sparc/sparc64/backtrace.h: New file.
8489 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8490 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8491 -funwind-tables.
8492
ab087e0a
AS
84932013-01-21 Andreas Schwab <schwab@suse.de>
8494
8495 [BZ #15020]
8496 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8497 closed its stdout.
8498
ed689c2f
AS
84992013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8500
8501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8502 "mpa2.h".
8503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8504
31d470ac
JM
85052013-01-18 Joseph Myers <joseph@codesourcery.com>
8506 Mark Mitchell <mark@codesourcery.com>
8507 Tom de Vries <tom@codesourcery.com>
8508 Paul Pluzhnikov <ppluzhnikov@google.com>
8509
8510 * debug/tst-backtrace2.c: New file.
8511 * debug/tst-backtrace3.c: Likewise.
8512 * debug/tst-backtrace4.c: Likewise.
8513 * debug/tst-backtrace5.c: Likewise.
8514 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8515 (CFLAGS-tst-backtrace3.c): Likewise.
8516 (CFLAGS-tst-backtrace4.c): Likewise.
8517 (CFLAGS-tst-backtrace5.c): Likewise.
8518 (LDFLAGS-tst-backtrace2): Likewise.
8519 (LDFLAGS-tst-backtrace3): Likewise.
8520 (LDFLAGS-tst-backtrace4): Likewise.
8521 (LDFLAGS-tst-backtrace5): Likewise.
8522 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8523 tst-backtrace4 and tst-backtrace5.
8524
90567f30 85252013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8526 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8527
8528 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8529 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8530 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8531 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8533 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8534 "+r" and remove output regs list as redundant. Add explicit inline
8535 asm to specify register of return val to work around compiler codegen
8536 bug. Remove (int) cast on return value. Add return type parameter to
8537 use in macro so that this macro does not truncate return value for
8538 64-bit values.
8539 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8540 pass to INTERNAL_VSYSCALL_NCS.
8541 (INLINE_VSYSCALL): Add 'long int' as return type to
8542 INTERNAL_VSYSCALL_NCS macro invocation.
8543 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8544 INTERNAL_VSYSCALL_NCS macro invocation.
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8546
d3b9ea61
SP
85472013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8548
0b57daeb
SP
8549 [BZ #14496]
8550 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8551 Fix application of SIMD FP exception mask.
8552
caa99d06
SP
8553 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8554 mp_no from a power of two.
8555 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8556 __mpexp_twomm1. Use __pow_mp.
8557
d3b9ea61
SP
8558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8559 multiplication.
8560
1dbaee3c
DM
85612013-01-17 David S. Miller <davem@davemloft.net>
8562
8563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8564
728d7b43
JM
85652013-01-17 Joseph Myers <joseph@codesourcery.com>
8566
8567 [BZ #15023]
8568 * include/complex.h: Condition contents on [!_COMPLEX_H].
8569 (__kernel_casinhf): New prototype.
8570 (__kernel_casinh): Likewise.
8571 (__kernel_casinhl): Likewise.
8572 * math/Makefile (libm_calls): Add k_casinh.
8573 * math/k_casinh.c: New file.
8574 * math/k_casinhf.c: Likewise.
8575 * math/k_casinhl.c: Likewise.
8576 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8577 finite nonzero arguments.
8578 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8579 finite nonzero arguments.
8580 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8581 finite nonzero arguments.
8582 * math/s_casinh.c: Do not include <float.h>.
8583 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8584 * math/s_casinhf.c: Do not include <float.h>.
8585 (__casinhf): Move code for finite nonzero arguments to
8586 k_casinhf.c.
8587 * math/s_casinhl.c: Do not include <float.h>.
8588 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8589 redefine.
8590 (__casinhl): Move code for finite nonzero arguments to
8591 k_casinhl.c.
8592 * math/libm-test.inc (cacos_test): Add more tests.
8593 * sysdeps/i386/fpu/libm-test-ulps: Update.
8594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8595
2a26ef3a
PT
85962013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8597
8598 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8599 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8600 [!HAVE_MREMAP]: Remove [defined linux] case.
8601 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8602
a897655d
SP
86032013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8604
8605 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8606
881ebe89 86072013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8608
8609 * elf/elf.h (R_386_SIZE32): New relocation.
8610 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8611 R_386_SIZE32.
8612 (elf_machine_rela): Likewise.
8613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8614 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8615
59981e9b
JM
86162013-01-17 Joseph Myers <joseph@codesourcery.com>
8617
8618 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8619 (FP_FAST_FMA): Do not define.
8620 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8621 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8622 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8623 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8624 !_SOFT_FLOAT]: Likewise.
8625 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8626 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8627 value.
8628 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8629 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8630 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8631 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8632 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8633 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8634 file.
8635
cfa8054f
AS
86362013-01-16 Andreas Schwab <schwab@suse.de>
8637
8638 [BZ #14327]
8639 * include/stdlib.h (__mktemp): Add declaration.
8640 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8641 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8642
dd930cc5
SP
86432013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8644
881ebe89
SP
8645 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8646 definitions.
8647 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8648 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8649 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8650 definitions here.
8651 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8652 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8653 definitions.
8654 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8655 and ONE.
8656 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8657 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8658 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8659 definitions.
8660 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8661 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8662 definitions.
8663 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8664
dd930cc5
SP
8665 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8666
c19a9f89
DM
86672013-01-15 David S. Miller <davem@davemloft.net>
8668
1aa61767
DM
8669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8670 trunc{,f} to libm-sysdep_routes.
8671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8673 file.
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8676 file.
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8678 file.
8679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8681 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8682 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8683 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8684 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8685 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8686 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8687
c42d5e98
DM
8688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8689 nearbyint{,f} to libm-sysdep_routes.
8690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8692 New file.
8693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8694 file.
8695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8696 New file.
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8698 file.
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8702 file.
8703 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8705 file.
8706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8707 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8708 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8709
c19a9f89
DM
8710 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8711 libc_feholdexcept and libc_fesetenv.
8712
357679d2
MF
87132013-01-15 Mike Frysinger <vapier@gentoo.org>
8714
8715 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8716
65a82e3d
DM
87172013-01-14 David S. Miller <davem@davemloft.net>
8718
8b954ab9
DM
8719 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8720 (SPARC_ASM_VIS2_IFUNC): Likewise.
8721 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8723 use of 'siam' instruction.
8724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8725 Likewise.
8726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8727 Likewise.
8728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8729 Likewise.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8735 file.
8736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8737 file.
8738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8739 file.
8740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8741 file.
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8747 new VIS2 routines.
8748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8751 Likewise.
8752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8757 routines to libm-sysdep_routines.
8758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8759
65a82e3d
DM
8760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8761 fdim/fdimf to libm-sysdep_routines.
8762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8763 file.
8764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8766 file.
8767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8770 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8771 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8772 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8773 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8774
e34ab705
SP
87752013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8776
2a91b573
SP
8777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8778 to optimize copies.
8779
1066a534
SP
8780 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8783
e34ab705
SP
8784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8785 local variable MPTWO.
8786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8787 Likewise.
8788
aba5e596
MF
87892013-01-13 Mike Frysinger <vapier@gentoo.org>
8790
8791 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8792 GLOB_NOESCAPE.
8793
e557e9e5
MF
87942013-01-13 Mike Frysinger <vapier@gentoo.org>
8795
8796 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8797
0428cec9
MF
87982013-01-13 Mike Frysinger <vapier@gentoo.org>
8799
8800 * manual/pattern.texi (glob_t): Document gl_flags.
8801 (glob64_t): Likewise.
8802
8794a964
DM
88032013-01-11 David S. Miller <davem@davemloft.net>
8804
66438c3f
RM
8805 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8806 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8807 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8808 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8809 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8810 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8811 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8812 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8813 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8814 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8815 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8816 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8817 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8818
4ae4244d
DM
8819 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8820 sparc V9 rather than using V8 code.
8821 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8822 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8823
8794a964
DM
8824 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8825 Move to...
8826 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8827 Here.
8828
6270516e
RM
88292013-01-11 Roland McGrath <roland@hack.frob.com>
8830
8831 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8832 not in the main loop.
8833 * configure: Regenerated.
8834
6a57d931
JM
88352013-01-11 Joseph Myers <joseph@codesourcery.com>
8836
8837 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8838 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8839 to just #else.
8840 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8841 [!__GLIBC_HAVE_LONG_LONG] case.
8842 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8843 condition to just #else.
8844 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8845 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8846 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8847 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8848 unconditional.
8849 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8850 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8851 #elif condition to just #else.
8852 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8853 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8854 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8855 #elif condition to just #else.
8856
0e8529e9
SE
88572013-01-11 Steve Ellcey <sellcey@mips.com>
8858
8859 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8860 (EF_MIPS_ARCH_64): Fix value.
8861 (EF_MIPS_ARCH_32R2): New.
8862 (EF_MIPS_ARCH_64R2): New.
8863
740b3dbe
L
88642013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8865
8866 * Makeconfig (+link-pie-before-libc): New.
8867 (+link-pie-after-libc): Likewise.
8868 (+link-pie-tests): Likewise.
8869 (+link-pie): Rewritten.
8870 (link-before-libc): Remove $(config-LDFLAGS).
8871 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8872 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8873 (config-LDFLAGS): Renamed to ...
8874 (rtld-LDFLAGS): This.
8875 (rtld-tests-LDFLAGS): New macro.
8876 (link-libc-rpath-link): Likewise.
8877 (link-libc-tests-rpath-link): Likewise.
8878 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8879 (link-libc): Prepand $(link-libc-rpath-link).
8880 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8881 (test-program-prefix): New macro.
8882 (test-via-rtld-prefix): Likewise.
8883 (test-program-cmd): Likewise.
8884 (host-test-program-cmd): Likewise.
8885 * Makefile ($(common-objpfx)testrun.sh): Replace
8886 $(run-program-prefix) with $(test-program-prefix).
8887 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8888 $(rtld-LDFLAGS).
8889 ($(common-objpfx)shlib.lds): Likewise.
8890 (build-module-helper): Likewise.
8891 ($(common-objpfx)format.lds): Likewise.
8892 * Rules (binaries-pie-tests): New.
8893 (binaries-pie-notests): Likewise.
8894 (binaries-pie): Rewritten.
8895 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8896 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8897 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8898 (make-test-out): Replace $(host-built-program-cmd) with
8899 $(host-test-program-cmd).
8900 * config.make.in (build-hardcoded-path-in-tests): New variable.
8901 * configure.in (--enable-hardcoded-path-in-tests): New configure
8902 option.
8903 (hardcoded_path_in_tests): New AC_SUBST.
8904 * configure: Regenerated.
8905 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8906 $(built-program-cmd) with $(test-program-cmd).
8907 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8908 (test_program_cmd): This.
8909 * elf/Makefile ($(objpfx)order.out): Run test with
8910 $(test-program-prefix).
8911 ($(objpfx)order2.out): Likewise.
8912 ($(objpfx)tst-initorder.out): Likewise.
8913 ($(objpfx)tst-initorder2.out): Likewise.
8914 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8915 $(test-program-cmd).
8916 ($(objpfx)tst-array1-static.out): Likewise.
8917 ($(objpfx)tst-array2.out): Likewise.
8918 ($(objpfx)tst-array3.out): Likewise.
8919 ($(objpfx)tst-array4.out): Likewise.
8920 ($(objpfx)tst-array5.out): Likewise.
8921 ($(objpfx)tst-array5-static.out): Likewise.
8922 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8923 $(test-program-cmd).
8924 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8925 $(run-program-prefix) with $(test-program-prefix).
8926 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8927 (test_program_prefix): This.
8928 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8929 $(run-program-prefix) with $(test-program-prefix).
8930 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8931 (test_program_prefix): This.
8932 * iconvdata/tst-tables.sh: Likewise.
8933 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8934 $(run-program-prefix) with $(test-program-prefix).
8935 ($(objpfx)tst-translit.out): Likewise.
8936 ($(objpfx)tst-gettext2.out): Likewise.
8937 ($(objpfx)tst-gettext4.out): Likewise.
8938 ($(objpfx)tst-gettext6.out): Likewise.
8939 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8940 (test_program_prefix): This.
8941 * intl/tst-gettext2.sh: Likewise.
8942 * intl/tst-gettext4.sh Likewise.
8943 * intl/tst-gettext6.sh: Likewise.
8944 * intl/tst-translit.sh: Likewise.
8945 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8946 with $(test-program-cmd).
8947 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8948 $(run-program-prefix) with $(test-program-prefix).
8949 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8950 (test_program_prefix): This.
8951 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8952 $(run-program-prefix) with $(test-program-prefix).
8953 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8954 (test_program_prefix): This.
8955 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8956 * posix/Makefile ($(objpfx)globtest.out): Replace
8957 $(run-via-rtld-prefix) and $(test-wrapper) with
8958 $(test-program-prefix) and $(test-via-rtld-prefix).
8959 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8960 $(test-program-prefix).
8961 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8962 $(host-test-program-cmd).
8963 (tst-spawn-ARGS): Likewise.
8964 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8965 $(test-program-prefix).
8966 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8967 (test_via_rtld_prefix): This.
8968 (test_wrapper): Renamed to ...
8969 (test_program_prefix): This.
8970 (run_program_prefix): Replaced by test_program_prefix.
8971 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8972 (test_program_prefix): This.
8973 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8974 with $(host-test-program-cmd).
8975 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8976 $(run-program-prefix) with $(test-program-prefix).
8977 ($(objpfx)tst-printf.out): Likewise.
8978 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8979 $(test-program-cmd).
8980 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8981 (test_program_prefix): This.
8982 * stdio-common/tst-unbputc.sh: Likewise.
8983 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8984 $(run-program-prefix) with $(test-program-prefix).
8985 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8986 (test_program_prefix): This.
8987 * string/Makefile ($(objpfx)tst-svc.out): Replace
8988 $(built-program-cmd) with $(test-program-cmd).
8989
c6fe55cf
AJ
89902013-01-11 Andreas Jaeger <aj@suse.de>
8991
8992 [BZ #15003]
8993 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8994 value. Sync with Linux 3.7.
8995
9e6919c8
DM
89962013-01-10 David S. Miller <davem@davemloft.net>
8997
8998 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8999 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9000 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9001
1c9f1a02
RM
90022013-01-10 Roland McGrath <roland@hack.frob.com>
9003
9004 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9005 never set.
9006 * configure: Regenerated.
9007
b9de2dde
DM
90082013-01-10 David S. Miller <davem@davemloft.net>
9009
9010 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9011 sparc V9 rather than using V8 code.
9012 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9013 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9014
e7f68ef4
RM
90152013-01-10 Roland McGrath <roland@hack.frob.com>
9016
9017 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9018 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9019 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9020 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9021 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9022 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9023 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9024 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9025 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9026 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9027 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9028 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9029 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9030 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9031 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9032 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9033 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9034 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9035 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9036 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9037 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9038 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9039 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9040 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9041 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9042 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9043 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9044
5a47cc9c
DM
90452013-01-10 David S. Miller <davem@davemloft.net>
9046
9047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9048
4cf8f209
L
90492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9050
9051 * posix/Makefile (tests-static): New variable.
9052 (tests): Add $(tests-static).
9053 (tst-exec-static-ARGS): New variable.
9054 (tst-spawn-static-ARGS): Likewise.
9055 * posix/tst-exec-static.c: New file.
9056 * posix/tst-spawn-static.c: Likewise.
9057 * posix/tst-exec.c: Support run directly.
9058 * posix/tst-spawn.c: Likewise.
9059
fed0faa1
JM
90602013-01-10 Joseph Myers <joseph@codesourcery.com>
9061
828beb13
JM
9062 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9063 long.
9064 * math/bits/mathcalls.h (llrint): Likewise.
9065 (llround): Likewise.
9066 * stdlib/stdlib.h (struct drand48_data): Likewise.
9067 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9068 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9069 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9070 Likewise.
9071 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9072 Likewise.
9073 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9074 (elf_greg_t): Likewise.
9075 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9076 (__jmp_buf): Likewise.
9077 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9078 definitions.
9079 (llrint): Likewise, for all definitions.
9080 (llrintl): Likewise.
9081
fed0faa1
JM
9082 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9083 Remove [__GNUC__] condition.
9084 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9085 condition to just [__USE_ISOC99].
9086 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9087
1a20cb20
L
90882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9089
9090 [BZ #14200]
9091 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9092 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9093 defined.
9094 (_POSIX_V6_ILP32_OFF32): Likewise.
9095 (_XBS5_ILP32_OFF32): Likewise.
9096 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9097 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9098
751b85f7
SP
90992013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9100
7490eb81
SP
9101 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9102
751b85f7
SP
9103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9104 doubles __mpexp_twomm1. Adjust usage.
9105 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9106 Remove.
9107
988197f0
AS
91082013-01-10 Andreas Schwab <schwab@suse.de>
9109
9110 [BZ #14964]
9111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9112 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9113
e83d7298
DM
91142013-01-09 David S. Miller <davem@davemloft.net>
9115
034ed64b 9116 [BZ #15003]
e83d7298
DM
9117 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9118 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9119 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9120 TCP_FASTOPEN): Define.
9121 (tcp_repair_opt): New structure.
9122 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9123 enum values.
9124 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9125 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9126 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9127 (tcp_cookie_transactions): New structure.
9128
d5e0b9bd
AB
91292013-01-09 Anton Blanchard <anton@samba.org>
9130
9131 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9132 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9134 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9135
0c07e3ea
JM
91362013-01-09 Joseph Myers <joseph@codesourcery.com>
9137
9138 * include/features.h (__USE_ANSI): Remove.
9139
232f7002
RM
91402013-01-09 Roland McGrath <roland@hack.frob.com>
9141
ad98e30c
RM
9142 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9143
232f7002
RM
9144 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9145
950c99ca
SP
91462013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9147
b5792741
SP
9148 * sysdeps/s390/fpu/libm-test-ulps: Update.
9149
47cf2278
SP
9150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9151
950c99ca
SP
9152 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9153 (__acr): Likewise.
9154 (__cpy): Likewise.
9155 (norm): Likewise.
9156 (denorm): Likewise.
9157 (__mp_dbl): Likewise.
9158 (__dbl_mp): Likewise.
9159 (add_magnitudes): Likewise.
9160 (sub_magnitudes): Likewise.
9161 (__add): Likewise.
9162 (__sub): Likewise.
9163 (__mul): Likewise.
9164 (__inv): Likewise.
9165 (__dvd): Likewise.
9166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9167 (__acr): Likewise.
9168 (__cpy): Likewise.
9169 (norm): Likewise.
9170 (denorm): Likewise.
9171 (__mp_dbl): Likewise.
9172 (__dbl_mp): Likewise.
9173 (add_magnitudes): Likewise.
9174 (sub_magnitudes): Likewise.
9175 (__add): Likewise.
9176 (__sub): Likewise.
9177 (__mul): Likewise.
9178 (__inv): Likewise.
9179 (__dvd): Likewise.
9180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9181 (__acr): Likewise.
9182 (__cpy): Likewise.
9183 (norm): Likewise.
9184 (denorm): Likewise.
9185 (__mp_dbl): Likewise.
9186 (__dbl_mp): Likewise.
9187 (add_magnitudes): Likewise.
9188 (sub_magnitudes): Likewise.
9189 (__add): Likewise.
9190 (__sub): Likewise.
9191 (__mul): Likewise.
9192 (__inv): Likewise.
9193 (__dvd): Likewise.
9194
eede9df9
JM
91952013-01-08 Joseph Myers <joseph@codesourcery.com>
9196
9197 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9198 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9199 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9200 2 && __USE_EXTERN_INLINES]: Likewise.
9201
c40ea3d9
AJ
92022013-01-08 Andreas Jaeger <aj@suse.de>
9203
9204 [BZ# 14985]
9205 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9206 Remove.
9207 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9208 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9209
2ccdea26
AB
92102013-01-07 Anton Blanchard <anton@samba.org>
9211
9212 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9213 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9214 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9215 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9216 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9217 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9218 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9219 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9221 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9222 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9223 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9224 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9225 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9226 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9227 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9228 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9229 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9230 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9231 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9233 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9235 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9236 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9237 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9238 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9239 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9241 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9242 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9244 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9245 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9246 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9247 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9248 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9250 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9252 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9254 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9255
a9708fed
JM
92562013-01-07 Joseph Myers <joseph@codesourcery.com>
9257
375607b9
JM
9258 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9259 (__MALLOC_PMT): Likewise.
9260 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9261 [__GNUC__], only on [_LIBC].
9262 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9263 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9264 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9265 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9266 forward declaration.
9267 (realloc_hook_ini): Likewise.
9268 (memalign_hook_ini): Likewise.
9269 (__libc_memalign): Do not use __MALLOC_PMT in variable
9270 declaration.
9271 (__libc_valloc): Likewise.
9272 (__libc_pvalloc): Likewise.
9273 (__libc_calloc): Likewise.
9274 (__posix_memalign): Likewise.
9275
a9708fed
JM
9276 [BZ #14996]
9277 * math/s_casinh.c: Include <float.h>.
9278 (__casinh): Do not do computation with squaring and square root
9279 for large arguments.
9280 * math/s_casinhf.c: Include <float.h>.
9281 (__casinhf): Do not do computation with squaring and square root
9282 for large arguments.
9283 * math/s_casinhl.c: Include <float.h>.
9284 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9285 (__casinhl): Do not do computation with squaring and square root
9286 for large arguments.
9287 * math/libm-test.inc (casin_test): Add more tests.
9288 (casinh_test): Likewise.
9289 * sysdeps/i386/fpu/libm-test-ulps: Update.
9290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9291
afec409a
L
92922013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9293
9294 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9295 (__x86_64_raw_data_cache_size): Likewise.
9296 (__x86_64_data_cache_size_half): Likewise.
9297 (__x86_64_raw_data_cache_size_half): Likewise.
9298 (__x86_64_shared_cache_size): Likewise.
9299 (__x86_64_raw_shared_cache_size): Likewise.
9300 (__x86_64_shared_cache_size_half): Likewise.
9301 (__x86_64_raw_shared_cache_size_half): Likewise.
9302 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9303 to ...
9304 (__x86_data_cache_size): This.
9305 (__x86_64_raw_data_cache_size): Renamed to ...
9306 (__x86_raw_data_cache_size): This.
9307 (__x86_64_data_cache_size_half): Renamed to ...
9308 (__x86_data_cache_size_half): This.
9309 (__x86_64_raw_data_cache_size_half): Renamed to ...
9310 (__x86_raw_data_cache_size_half): This.
9311 (__x86_64_shared_cache_size): Renamed to ...
9312 (__x86_shared_cache_size): This.
9313 (__x86_64_raw_shared_cache_size): Renamed to ...
9314 (__x86_raw_shared_cache_size): This.
9315 (__x86_64_shared_cache_size_half): Renamed to ...
9316 (__x86_shared_cache_size_half): This.
9317 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9318 (__x86_raw_shared_cache_size_half): This.
9319 * sysdeps/x86_64/memcpy.S: Updated.
9320 * sysdeps/x86_64/memset.S: Likewise.
9321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9324
0b3986d0
DM
93252013-01-04 David S. Miller <davem@davemloft.net>
9326
9327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9328
e47686e9
AS
93292013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9330
d643bac1
AS
9331 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9332 1 to avoid redefinition warning.
9333 (__USE_GNU): Don't define.
9334 (init_signaling_nan): Protoize.
9335
e47686e9
AS
9336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9337
b18decba
SP
93382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9339
fffb407f
SP
9340 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9342 (__cpymn): Likewise.
9343 (norm): Remove commented code.
9344 (denorm): Likewise.
9345 (__mp_dbl): Likewise.
9346 (__inv): Likewise.
9347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9348 (__cpymn): Likewise.
9349 (norm): Remove commented code.
9350 (denorm): Likewise.
9351 (__mp_dbl): Likewise.
9352 (__inv): Likewise.
9353
b18decba
SP
9354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9355 mp_no value for 1.0 and 2.0.
9356 (norm): Use RADIXI instead of radixi.d.
9357 (denorm): Likewise.
9358 (__mul): Use 0.0 instead of zero.d.
9359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9360 mp_no value for 1.0 and 2.0.
9361 (norm): Use RADIXI instead of radixi.d.
9362 (denorm): Likewise.
9363 (__mul): Use 0.0 instead of zero.d.
9364
cdc1c96f
JM
93652013-01-04 Joseph Myers <joseph@codesourcery.com>
9366
9367 [BZ #14994]
9368 * math/s_casinh.c (__casinh): Reduce finite argument to first
9369 quadrant then set signs of results at the end.
9370 * math/s_casinhf.c (__casinhf): Likewise.
9371 * math/s_casinhl.c (__casinhl): Likewise.
9372 * math/libm-test.inc (casin_test): Add more tests.
9373 (casinh_test): Likewise.
9374 * sysdeps/i386/fpu/libm-test-ulps: Update.
9375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9376
302913e1
SP
93772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9378
6420d207
SP
9379 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9380
a9e48ab4
SP
9381 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9382
b7837264
SP
9383 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9384 declarations.
9385 (denorm): Likewise.
9386 (__mp_dbl): Likewise.
9387 (__inv): Likewise.
9388
f8af25d2
SP
9389 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9390 and adjust the header comment.
9391
302913e1
SP
9392 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9393 variable name from declaration.
9394
5d7dd1ca
L
93952013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9396
9397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9398 Initialize COMMON_CPUID_INDEX_7 element.
9399 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9400 (CPUID_RTM): Likewise.
9401 (HAS_RTM): Likewise.
9402 (COMMON_CPUID_INDEX_7): New enum.
9403
2f5f40f4
AS
94042013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9405
9406 [BZ #14981]
9407 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9408 size is zero, record memory as freed.
9409
4056f4a0
AJ
94102013-01-03 Andreas Jaeger <aj@suse.de>
9411
9412 * po/ia.po: Add new Interlingua translation.
9413
ab15736f 94142012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9415
9416 * locale/programs/localedef.c: Fix description of '--posix' flag.
9417
568035b7
JM
94182013-01-02 Joseph Myers <joseph@codesourcery.com>
9419
e6898b8d
JM
9420 * NEWS: Update dates in second copyright notice.
9421 * README: Update copyright dates in example.
9422 * manual/libc.texinfo: Update copyright dates.
9423 * scripts/test-installation.pl: Update copyright date in --version
9424 output.
9425
0e2f9562
JM
9426 * hurd/ctty-input.c: Fix copyright notice formatting.
9427 * hurd/ctty-output.c: Likewise.
9428 * hurd/dtable.c: Likewise.
9429 * hurd/hurd-raise.c: Likewise.
9430 * hurd/hurdprio.c: Likewise.
9431 * hurd/msgportdemux.c: Likewise.
9432 * misc/sys/file.h: Likewise.
9433 * misc/sys/ioctl.h: Likewise.
9434 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9435 * sysdeps/mach/hurd/chdir.c: Likewise.
9436 * sysdeps/mach/hurd/fchdir.c: Likewise.
9437 * sysdeps/mach/hurd/rename.c: Likewise.
9438 * sysdeps/mach/hurd/rmdir.c: Likewise.
9439 * sysdeps/mach/hurd/seekdir.c: Likewise.
9440 * sysdeps/mach/hurd/setsid.c: Likewise.
9441 * sysdeps/posix/wait3.c: Likewise.
9442
568035b7
JM
9443 * All files with FSF copyright notices: Update copyright dates
9444 using scripts/update-copyrights.
9445 * intl/plural.c: Regenerated.
9446 * locale/programs/charmap-kw.h: Likewise.
9447 * locale/programs/locfile-kw.h: Likewise.
9448
da08f647
SP
94492013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9450
0f5477af
SP
9451 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9452 four values.
9453
44e0d4c2
SP
9454 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9455 calculation loop and add branch prediction.
9456
4d55b4e5
SP
9457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9458 check access beyond bounds of m1np.
9459
da08f647
SP
9460 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9461 MPTWO.
9462 (__inv): Remove local variable MPTWO to use the global
9463 constant.
9464 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9466 variable MPTWO.
9467 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9468 MP3HALFS static const.
9469
8e051029
DM
94702013-01-01 David S. Miller <davem@davemloft.net>
9471
9472 * po/ca.po: Update from translation team.
9473
f4cf5f2d
JM
94742013-01-01 Joseph Myers <joseph@codesourcery.com>
9475
9476 * scripts/update-copyrights: New file.
9477 * Makeconfig: Reformat copyright notice.
9478 * ctype/ctype.h: Likewise.
9479 * debug/swprintf_chk.c: Likewise.
9480 * elf/dl-cache.c: Likewise.
9481 * elf/dl-debug.c: Likewise.
9482 * elf/dl-object.c: Likewise.
9483 * grp/initgroups.c: Likewise.
9484 * hurd/Makefile: Likewise.
9485 * hurd/hurd/signal.h: Likewise.
9486 * hurd/hurdfault.c: Likewise.
9487 * hurd/hurdioctl.c: Likewise.
9488 * hurd/hurdlookup.c: Likewise.
9489 * hurd/intr-msg.c: Likewise.
9490 * iconv/gconv_open.c: Likewise.
9491 * libio/swprintf.c: Likewise.
9492 * locale/lc-ctype.c: Likewise.
9493 * locale/nl_langinfo.c: Likewise.
9494 * mach/Machrules: Likewise.
9495 * mach/Makefile: Likewise.
9496 * malloc/obstack.h: Likewise.
9497 * manual/Makefile: Likewise.
9498 * manual/tsort.awk: Likewise.
9499 * misc/bits/stab.def: Likewise.
9500 * nis/nis_print_group_entry.c: Likewise.
9501 * nis/nis_table.c: Likewise.
9502 * nis/nss_compat/compat-pwd.c: Likewise.
9503 * nis/nss_compat/compat-spwd.c: Likewise.
9504 * po/Makefile: Likewise.
9505 * posix/fnmatch.c: Likewise.
9506 * posix/regex.h: Likewise.
9507 * resolv/Makefile: Likewise.
9508 * resolv/nss_dns/dns-network.c: Likewise.
9509 * resolv/res_hconf.c: Likewise.
9510 * scripts/gen-sorted.awk: Likewise.
9511 * soft-fp/soft-fp.h: Likewise.
9512 * stdio-common/printf.h: Likewise.
9513 * stdlib/monetary.h: Likewise.
9514 * stdlib/random.c: Likewise.
9515 * stdlib/random_r.c: Likewise.
9516 * sysdeps/generic/Makefile: Likewise.
9517 * sysdeps/gnu/Makefile: Likewise.
9518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9546 * sysdeps/mach/hurd/errnos.awk: Likewise.
9547 * sysdeps/mach/hurd/fork.c: Likewise.
9548 * sysdeps/mach/hurd/getcwd.c: Likewise.
9549 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9550 * sysdeps/mach/hurd/mmap.c: Likewise.
9551 * sysdeps/mach/hurd/utimes.c: Likewise.
9552 * sysdeps/mach/hurd/xmknod.c: Likewise.
9553 * sysdeps/posix/profil.c: Likewise.
9554 * sysdeps/posix/readdir_r.c: Likewise.
9555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9556 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9557 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9558 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9560 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9561 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9562 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9564 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9565 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9566 * sysdeps/pthread/lio_listio.c: Likewise.
9567 * sysdeps/sparc/dl-procinfo.h: Likewise.
9568 * sysdeps/unix/i386/sysdep.S: Likewise.
9569 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9570 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9571 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9572 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9574 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9575 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9576 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9577 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9578 * sysdeps/wordsize-32/divdi3.c: Likewise.
9579 * time/sys/time.h: Likewise.
9580 * wcsmbs/Makefile: Likewise.
9581
0549fbba
DM
95822013-01-01 David S. Miller <davem@davemloft.net>
9583
a141f1a7
DM
9584 * po/fr.po: Update from translation team.
9585
0549fbba
DM
9586 * catgets/gencat.c: Update copyright year.
9587 * csu/version.c: Likewise.
9588 * debug/catchsegv.sh: Likewise.
9589 * debug/pcprofiledump.c: Likewise.
9590 * debug/xtrace.sh: Likewise.
9591 * elf/ldconfig.c: Likewise.
9592 * elf/ldd.bash.in: Likewise.
9593 * elf/pldd.c: Likewise.
9594 * elf/sotruss.ksh: Likewise.
9595 * elf/sprof.c: Likewise.
9596 * iconv/iconv_prog.c: Likewise.
9597 * iconv/iconvconfig.c: Likewise.
9598 * locale/programs/locale.c: Likewise.
9599 * locale/programs/localedef.c: Likewise.
9600 * login/programs/pt_chown.c: Likewise.
9601 * malloc/memusage.sh: Likewise.
9602 * malloc/memusagestat.c: Likewise.
9603 * malloc/mtrace.pl: Likewise.
9604 * nscd/nscd.c: Likewise.
9605 * nss/getent.c: Likewise.
9606 * nss/makedb.c: Likewise.
9607 * posix/getconf.c: Likewise.
9608
18ea052c
SP
96092012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9610
9611 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9612 numbers.
9613
9c89fca6
MF
96142012-12-30 Mike Frysinger <vapier@gentoo.org>
9615
9616 * math/bits/mathcalls.h (modf): Use __nonnull.
9617
085ec079
SP
96182012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9619
9620 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9621 (split): Use macro CN instead of the bare value.
9622 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9623 could be used.
9624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9625 instead of the bare value.
9626 (power1): Likewise.
9627
6d9f97e1
SP
96282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9629
d63f73be
SP
9630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9631 __ATAN_TWOM.
9632 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9633
6d9f97e1
SP
9634 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9635 their values.
9636 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9637 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9638 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9639 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9640
4c4febf5
AJ
96412012-12-28 Andreas Jaeger <aj@suse.de>
9642
af5843ef
AJ
9643 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9644 values are from Linux 3.7.
9645
4c4febf5
AJ
9646 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9647 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9648
99136f82
SP
96492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9650
2f216c3c 9651 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9652 TRUE case.
9653
99136f82
SP
9654 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9655 (norm): Likewise.
9656 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9657 variables with preprocessor constants.
9658 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9659 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9660 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9661
7fffbdff
BH
96622012-12-27 Bruno Haible <bruno@clisp.org>
9663
9664 [BZ #14317]
9665 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9666 only if needed.
9667
b76eb5f0
SP
96682012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9669
31a7fe5c
SP
9670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9671 and use variable directly.
9672 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9673
b76eb5f0
SP
9674 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9675 MPONE.
9676 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9678 variable MPONE.
9679 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9681 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9682 include directive. Remove local variable MPONE.
9683 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9684 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9686
2c8bfe7d
DM
96872012-12-25 David S. Miller <davem@davemloft.net>
9688
9689 * version.h (RELEASE): Set to "development".
9690 (VERSION): Set to "2.17.90".
9691 * NEWS: Add 2.18 section.
9692
147d03b0
DM
96932012-12-21 David S. Miller <davem@davemloft.net>
9694
9695 * po/hr.po: Update from translation team.
9696
a8ebb2b9
AK
96972012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9698
9699 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9700
95b4f1b6
SE
97012012-12-19 Steve Ellcey <sellcey@mips.com>
9702
b2d94007 9703 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9704
cedb2a90
MS
97052012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9706
9707 * manual/contrib.texi (Contributors): Spelling correction.
9708
bbf527d6
DM
97092012-12-15 David S. Miller <davem@davemloft.net>
9710
9711 * po/ru.po: Update from translation team.
9712
bc38c906
DM
97132012-12-13 David S. Miller <davem@davemloft.net>
9714
85429b1a
DM
9715 * NEWS: Mention IFUNC testsuite enhancements.
9716
d283e353
DM
9717 * po/pl.po: Update from translation team.
9718 * po/bg.po: Likewise.
9719
bc38c906
DM
9720 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9721 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9722
a181b0d7
DM
97232012-12-11 David S. Miller <davem@davemloft.net>
9724
4641d57e
DM
9725 * po/sv.po: Update from translation team.
9726
f7bc6495
DM
9727 * po/vi.po: Update from translation team.
9728
6fc9048f
DM
9729 * po/cs.po: Update from translation team.
9730
a181b0d7
DM
9731 * po/de.po: Update from translation team.
9732 * po/eo.po: Likewise.
9733 * po/nl.po: Likewise.
9734
f70bfe80
SP
97352012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9736
3c8b4190
SP
9737 [BZ #14246]
9738 * manual/argp.texi (Argp Helper Functions): Move node to follow
9739 Argp Parsing State.
9740
f70bfe80
SP
9741 [BZ #14872]
9742 * manual/conf.texi (Limits on File System Capacity): Mention if
9743 terminating null is included in the max size.
9744
188f0adf
AJ
97452012-12-10 Andreas Jaeger <aj@suse.de>
9746
9747 * po/cs.po: Update from translation team.
9748
56e7d3ad
SP
97492012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9750
9751 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9752 void pointer and cast to uintptr_t.
9753 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9754 path.
9755 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9756 * sysdeps/s390/s390-64/memset.S: Likewise.
9757
76f2d2ea 97582012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9759
9760 [BZ #14833]
9761 * menual/message.texi (Message Translation): Fix typos.
9762 (Helper programs for gettext): Likewise.
9763
67cbf9a2
AS
97642012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9765
9766 [BZ #14898]
9767 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9768 Change to -1.
9769
682d0e9a
DM
97702012-12-07 David S. Miller <davem@davemloft.net>
9771
9772 * po/libc.pot: Update.
9773
573cd484
RH
97742012-12-07 Richard Henderson <rth@redhat.com>
9775
7e9da188 9776 [BZ #10114]
573cd484
RH
9777 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9778 normal/normal case to before the switch.
9779 (_FP_DIV): Likewise.
9780
e933a943
MF
97812012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9782 Mike Frysinger <vapier@gentoo.org>
9783
9784 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9785 check for __NR_fadvise64_64.
9786
82123268
CM
97872012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9788
9789 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9790 0, not just to plain "0" as a statement.
9791 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9792 with cw.
9793
d9814526
JM
97942012-12-06 Joseph Myers <joseph@codesourcery.com>
9795
9796 * NEWS: Use sourceware.org in Bugzilla URL.
9797
7728c574
SP
97982012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9799
f16946dd
SP
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9801 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9802
5704bbcb
SP
9803 * stdio-common/tst-put-error.c (do_test): Add newline to the
9804 padded test to ensure flush.
9805
17aa0516
JL
98062012-12-05 Jeff Law <law@redhat.com>
9807
9808 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9809
363313b5
JM
98102012-12-05 Joseph Myers <joseph@codesourcery.com>
9811
effbd42a
JM
9812 * README: Don't refer to ports add-on as distributed separately.
9813 Mention AArch64 in list of systems supported in the ports add-on.
9814
87600365
JM
9815 * LICENSES: Add more non-FSF copyright and license notices.
9816
a0d7066a
JM
9817 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9818 ((unused)).
9819
66ca5a5b
JM
9820 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9821
363313b5
JM
9822 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9823 10000 as width of padded output.
9824
b37984ad
JM
98252012-12-04 Joseph Myers <joseph@codesourcery.com>
9826
9003570a
JM
9827 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9828
b37984ad
JM
9829 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9830 variable LX with __attribute__ ((unused)).
9831 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9832 Likewise.
9833 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9836 with __attribute__ ((unused)).
9837
c8df52ec
DM
98382012-12-04 David S. Miller <davem@abraco.davemloft.net>
9839
9840 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9841
b3b099af
JM
98422012-12-04 Joseph Myers <joseph@codesourcery.com>
9843
c33aa6e3
JM
9844 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9845 (CFLAGS-nldbl-acos.c): New variable.
9846 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9847 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9848 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9849 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9850 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9851 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9852 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9853 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9854 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9855 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9856 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9857 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9858 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9859 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9860 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9861 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9862 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9863 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9864 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9865 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9866 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9867 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9868 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9869 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9870 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9871 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9872 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9873 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9874 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9875 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9876 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9878 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9879 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9887 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9888 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9889 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9890 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9891 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9892 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9893 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9894 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9895 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9896 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9897 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9898 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9899 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9929 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9930 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9943
20f0018d
JM
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9945 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9946
b3b099af
JM
9947 [BZ #14914]
9948 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9949 whole low double instead of just low 47 bits when splitting values
9950 into two parts.
9951
029264d1
AM
99522012-12-03 Allan McRae <allan@archlinux.org>
9953
9954 * manual/stdio.texi (Predefined Printf Handlers): Remove
9955 @hsep and @vsep usage.
9956
c9d6789e
MF
99572012-12-03 Mike Frysinger <vapier@gentoo.org>
9958
9959 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9960 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9961
4b7634a5
JL
99622012-12-03 Jeff Law <law@redhat.com>
9963
9964 * time/sys/time.h (settimeofday): Do not mark TV argument
9965 as __nonnull.
9966
eb6cbd24
MF
99672012-12-01 Mike Frysinger <vapier@gentoo.org>
9968
9969 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9970 when currently writing and seek to current position when not.
9971 * libio/Makefile (tests): Remove bug-fclose1.
9972 * libio/bug-fclose1.c: Delete.
9973
f638872a
JM
99742012-12-01 Joseph Myers <joseph@codesourcery.com>
9975
9976 * manual/arith.texi (feenableexcept): Fix typo.
9977 (fedisableexcept): Likewise.
9978
48085d14
RM
99792012-11-30 Roland McGrath <roland@hack.frob.com>
9980
9981 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9982 second, differently-typed declaration, rather than a cast.
9983
1a538b9f
SP
99842012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9985
9986 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9987 * include/rpc/svc.h: ... here.
9988
d07f2ff1 99892012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9990
9991 [BZ #13013]
9992 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9993 depending n and resplen2 to catch cases where answer
9994 equals answerp2.
9995
c93ec1f0
CD
99962012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9997
9998 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9999 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10000
37db69de
MF
100012012-11-29 Mike Frysinger <vapier@gentoo.org>
10002
10003 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10004
e10c4e4f
RM
100052012-11-29 Roland McGrath <roland@hack.frob.com>
10006
10007 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10008
2af1b328
JL
100092012-11-28 Jeff Law <law@redhat.com>
10010
10011 [BZ #13761]
10012 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10013 dataset_temporary. Track alloca usage into alloca_used.
10014 If dataset is large allocate and release it via malloc/free.
10015
111db5b1
FW
100162012-06-04 Florian Weimer <fweimer@redhat.com>
10017
f06cc227 10018 [BZ #14197]
111db5b1
FW
10019 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10020
dd694abd
DM
100212012-11-28 David S. Miller <davem@davemloft.net>
10022
10023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10024
9984dd01
JM
100252012-11-28 Joseph Myers <joseph@codesourcery.com>
10026
10027 [BZ #14803]
10028 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10029 of pi/2 rounded to nearest to 64 bits.
10030 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10031 nearest to 64 bits.
10032 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10033 bits.
10034
14bc93a9
JL
100352012-11-28 Jeff Law <law@redhat.com>
10036 Martin Osvald <mosvald@redhat.com>
10037
10038 [BZ #14889]
10039 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10040 * sunrpc/svc.c: Include time.h.
10041 (__svc_accept_failed): New function.
10042 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10043 any reason other than EINTR, call __svc_accept_failed.
10044 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10045 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10046
e3c6aa3a
AS
100472012-11-28 Andreas Schwab <schwab@suse.de>
10048
10049 * scripts/abilist.awk: Also handle indirect functions in .opd
10050 section.
10051
1bead169
JM
100522012-11-28 Joseph Myers <joseph@codesourcery.com>
10053
10054 [BZ #13881]
10055 * sysdeps/x86/fpu/powl_helper.c: New file.
10056 * sysdeps/x86/fpu/Makefile: Likewise.
10057 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10058 (p3): New object.
10059 (__ieee754_powl): Use __powl_helper for finite arguments except
10060 integer exponents below 8.
10061 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10062 (p3): New object.
10063 (__ieee754_powl): Use __powl_helper for finite arguments except
10064 integer exponents below 8.
10065 * math/libm-test.inc (pow_test): Add more tests and enable some
10066 previously disabled tests.
10067 * sysdeps/i386/fpu/libm-test-ulps: Update.
10068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10069
0817d63d
SP
100702012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10071 Carlos O'Donell <carlos_odonell@mentor.com>
10072
10073 * nss/makedb.c (is_prime): Assert that input is odd and greater
10074 than 4. Note that fact in a comment too.
10075 (next_prime): Add 4 to input.
10076
de2fd463
SP
100772012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10078
10079 [BZ #11741]
10080 * libio/Makefile (tests): Add test case tst-fwrite-error.
10081 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10082 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10083 * libio/tst-fwrite-error.c: New test case.
10084
c515fb51
L
100852012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10086
10087 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10088 before casting to void *.
10089 * include/libc-internal.h (__pointer_type): New macro.
10090 (__integer_if_pointer_type_sub): Likewise.
10091 (__integer_if_pointer_type): Likewise.
10092 (cast_to_integer): Likewise.
10093 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10094 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10095 before casting to atomic64_t.
10096 (atomic_exchange_acq): Likewise.
10097 (__arch_exchange_and_add_body): Likewise.
10098 (__arch_add_body): Likewise.
10099 (atomic_add_negative): Likewise.
10100 (atomic_add_zero): Likewise.
10101
4cf77aa9
JM
101022012-11-26 Joseph Myers <joseph@codesourcery.com>
10103
10104 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10105 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10106 (add_fdes): Likewise.
10107 (linear_search_fdes): Likewise.
10108 (binary_search_unencoded_fdes): Likewise.
10109
d260b3b4
AS
101102012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10111
10112 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10113
67060746
AC
101142012-11-24 Adam Conrad <adconrad@0c3.net>
10115
10116 * configure.in: Autodetect C++ header directories.
10117 * configure: Regenerated.
10118
800938a1
MF
101192012-11-23 Mike Frysinger <vapier@gentoo.org>
10120
10121 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10122
4e6e34e6
AS
101232012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10124
10125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10126
7c7feb47
JM
101272012-11-22 Joseph Myers <joseph@codesourcery.com>
10128
7184dcdf
JM
10129 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10130 LDBL_MANT_DIG == 106]: Disable some tests.
10131 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10132 Likewise.
10133 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10134 Likewise.
10135
0a42601f
JM
10136 [BZ #14871]
10137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10138 input for small inputs. Return +/- pi/2 for large inputs.
10139 * math/libm-test.inc (atan_test): Add more tests.
10140
79c9b9fe
JM
10141 * sysdeps/generic/unwind-dw2-fde-glibc.c
10142 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10143 __attribute__ ((unused)).
10144
c60d3bf2
JM
10145 [BZ #14645]
10146 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10147 x * y if x and y are nonzero and z is zero.
10148
ef1e0867
JM
10149 [BZ #14811]
10150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10151 nonzero exponents with absolute value below 0x1p-117 to +/-
10152 0x1p-117.
10153
1468ded3
JM
10154 [BZ #14869]
10155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10156 up arguments below 2**-450, not just those below 2**-500.
10157 * math/libm-test.inc (hypot_test): Add another test.
10158
8e27e3cc
JM
10159 [BZ #14868]
10160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10161 Return a+b for ratio over 2**120, not 2**60.
10162 * math/libm-test.inc (hypot_test): Add another test.
10163
c9c0279b
JM
10164 * math/libm-test.inc (clog_test): Use
10165 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10166 (clog10_test): Likewise.
10167
7c7feb47
JM
10168 [BZ #6778]
10169 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10170
fff1530e
AS
101712012-11-22 Andreas Schwab <schwab@suse.de>
10172
10173 * sysdeps/i386/fpu/libm-test-ulps: Update.
10174
94558d30
PT
101752012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10176
10177 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10178 printf output with newline.
10179
7e1be741
L
101802012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10181
6bfea974
L
10182 [BZ #14865]
10183 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10184 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10185 -z nodlopen, -z initfirst and -z execstack support.
10186 * configure: Regenerated.
10187
7e1be741
L
10188 * elf/elf.h (DF_1_NODIRECT): New macro.
10189 (DF_1_IGNMULDEF): Likewise.
10190 (DF_1_NOKSYMS): Likewise.
10191 (DF_1_NOHDR): Likewise.
10192 (DF_1_EDITED): Likewise.
10193 (DF_1_NORELOC): Likewise.
10194 (DF_1_SYMINTPOSE): Likewise.
10195 (DF_1_GLOBAUDIT): Likewise.
10196 (DF_1_SINGLETON): Likewise.
10197 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10198 DT_1_SUPPORTED_MASK bits.
10199 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10200
105ce2ce
CD
102012012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10202
10203 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10204
123be9de
TS
102052012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10206
d072f3f7
TS
10207 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10208 macro.
10209
123be9de
TS
10210 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10211 (sendmmsg): Move declarations...
10212 * socket/sys/socket.h: ... here.
10213 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10214 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10215 include it from...
10216 * socket/recvmmsg.c: ... this new file.
10217 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10218 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10219 definition of __sendmmsg hidden.
10220 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10221 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10222 Move ENOSYS stub into and include it from...
10223 * socket/sendmmsg.c: ... this new file.
10224 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10225 (sysdep_routines): Move recvmmsg and sendmmsg...
10226 * socket/Makefile (routines): ... here.
10227 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10228 (GLIBC_PRIVATE): Add __sendmmsg.
10229 * include/sys/socket.h (__sendmmsg): Add declarations.
10230 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10231 sendmmsg.
10232
cf9a5d18
JM
102332012-11-20 Joseph Myers <joseph@codesourcery.com>
10234
10235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10236 variable I1 with __attribute__ ((unused)).
10237 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10238
ecd4caf9
JM
102392012-11-19 Joseph Myers <joseph@codesourcery.com>
10240
be14d48f
JM
10241 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10242 DUMMY variables with __attribute__ ((unused)).
10243
ecd4caf9
JM
10244 * bits/byteswap.h: Include <bits/types.h>.
10245 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10246
986cab95
PT
102472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10248
10249 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10250 string_t. Do not manually set errno.
10251 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10252 length with __strnlen. Make sure to both set errno and return it on
10253 failure.
10254
6d33cc9d
DM
102552012-11-19 David S. Miller <davem@davemloft.net>
10256
10257 With help from Joseph Myers.
10258 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10259 very large arguments properly.
10260 * math/libm-test.inc (atan_test): New tests.
10261 (atan2_test): New tests.
10262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10264
ee663277
JM
102652012-11-19 Joseph Myers <joseph@codesourcery.com>
10266
877f2d8e
JM
10267 [BZ #14856]
10268 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10269 Define to 3.
10270
116fc08a
JM
10271 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10272 [POSIX] (EADDRNOTAVAIL): Likewise.
10273 [POSIX] (EAFNOSUPPORT): Likewise.
10274 [POSIX] (EALREADY): Likewise.
10275 [POSIX] (ECONNABORTED): Likewise.
10276 [POSIX] (ECONNREFUSED): Likewise.
10277 [POSIX] (ECONNRESET): Likewise.
10278 [POSIX] (EDESTADDRREQ): Likewise.
10279 [POSIX] (EDQUOT): Likewise.
10280 [POSIX] (EHOSTUNREACH): Likewise.
10281 [POSIX] (EIDRM): Likewise.
10282 [POSIX] (EISCONN): Likewise.
10283 [POSIX] (ELOOP): Likewise.
10284 [POSIX] (EMULTIHOP): Likewise.
10285 [POSIX] (ENETDOWN): Likewise.
10286 [POSIX] (ENETUNREACH): Likewise.
10287 [POSIX] (ENOBUFS): Likewise.
10288 [POSIX] (ENODATA): Likewise.
10289 [POSIX] (ENOLINK): Likewise.
10290 [POSIX] (ENOMSG): Likewise.
10291 [POSIX] (ENOPROTOOPT): Likewise.
10292 [POSIX] (ENOSR): Likewise.
10293 [POSIX] (ENOSTR): Likewise.
10294 [POSIX] (ENOTCONN): Likewise.
10295 [POSIX] (ENOTSOCK): Likewise.
10296 [POSIX] (EOPNOTSUPP): Likewise.
10297 [POSIX] (EOVERFLOW): Likewise.
10298 [POSIX] (EPROTO): Likewise.
10299 [POSIX] (EPROTONOSUPPORT): Likewise.
10300 [POSIX] (EPROTOTYPE): Likewise.
10301 [POSIX] (ESTALE): Likewise.
10302 [POSIX] (ETIME): Likewise.
10303 [POSIX] (ETXTBSY): Likewise.
10304 [POSIX] (EWOULDBLOCK): Likewise.
10305 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10306 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10307 [POSIX] (SEEK_CUR): Likewise.
10308 [POSIX] (SEEK_END): Likewise.
10309 [POSIX || UNIX98] (mode_t): Do not require.
10310 [POSIX] (off_t): Likewise.
10311 [POSIX] (pid_t): Likewise.
10312 [POSIX] (sys/stat.h): Do not allow header.
10313 [POSIX] (unistd.h): Likewise.
10314 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10315 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10316 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10317 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10318 require.
10319 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10320 sigevent): Specify elements.
10321 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10322 entry.
10323 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10324 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10325
a483863f
JM
10326 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10327 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10328 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10329 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10330 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10331 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10332 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10333 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10334 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10335 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10336 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10337 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10338 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10339 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10340 Likewise.
10341 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10342 Likewise.
10343 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10344 Likewise.
10345 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10346 Likewise.
10347 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10348 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10349 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10350 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10351 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10352 Specify lower bound on value.
10353 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10354 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10355 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10356 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10357 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10358 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10359 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10360 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10361 value.
10362 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10363 as optional.
10364 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10365 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10366 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10367 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10368 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10369 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10370 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10371 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10372 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10373 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10375 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10376 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10380 entry.
10381 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10382 optional.
10383 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10384 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10385 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10386 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10389 Likewise.
10390 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10391 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10392 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10393 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10395 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10396 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10397 as optional.
10398 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10399 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10402 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10403 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10404 specify as optional.
10405 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10406 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10408 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10409 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10410 [XPG3] (NL_LANGMAX): Likewise.
10411 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10412 [POSIX || XPG3] (NL_NMAX): Likewise.
10413 [POSIX || XPG3] (NL_SETMAX): Likewise.
10414 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10415 [XPG3] (NZERO): Likewise.
10416 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10417 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10418 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10419 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10420 (REG_ERANGE): Expect.
10421 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10422 optional-constant.
10423 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10424 Use (void) in prototype.
10425 [POSIX] (*_t): Allow.
10426 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10427 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10428 (WRDE_BADVAL): Expect.
10429
5ba924e3
JM
10430 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10431 expect.
10432 [XPG3 || XPG4] (O_RSYNC): Likewise.
10433 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10434 Likewise.
10435 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10436 [XPG3 || XPG4] (sigqueue): Likewise.
10437 [XPG3 || XPG4] (sigtimedwait): Likewise.
10438 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10439 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10440 [XPG3 || XPG4] (vsnprintf): Likewise.
10441 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10442 Likewise.
10443 [XPG3 || XPG4] (blksize_t): Likewise.
10444 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10445 Likewise.
10446 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10447 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10448 [XPG3 || XPG4] (struct itimerspec): Likewise.
10449 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10450 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10451 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10452 [XPG3 || XPG4] (clockid_t): Likewise.
10453 [XPG3 || XPG4] (timer_t): Likewise.
10454 [XPG3 || XPG4] (clock_getres): Likewise.
10455 [XPG3 || XPG4] (clock_gettime): Likewise.
10456 [XPG3 || XPG4] (clock_settime): Likewise.
10457 [XPG3 || XPG4] (nanosleep): Likewise.
10458 [XPG3 || XPG4] (timer_create): Likewise.
10459 [XPG3 || XPG4] (timer_delete): Likewise.
10460 [XPG3 || XPG4] (timer_gettime): Likewise.
10461 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10462 [XPG3 || XPG4] (timer_settime): Likewise.
10463 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10464 [XPG3 || XPG4] (getlogin_r): Likewise.
10465 [XPG3 || XPG4] (pread): Likewise.
10466 [XPG3 || XPG4] (pthread_atfork): Likewise.
10467 [XPG3 || XPG4] (pwrite): Likewise.
10468
ee663277
JM
10469 [BZ #14835]
10470 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10471 <bits/siginfo.h>.
10472
942caa16
PT
104732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10474
e19af380
PT
10475 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10476 finalizing MALLSTREAM.
10477
942caa16
PT
10478 * sysdeps/mach/hurd/syncfs.c: New file.
10479
cfde9b46
SP
104802012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10481
10482 [BZ #14719]
10483 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10484 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10485 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10486 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10487 (_nss_dns_gethostbyname4_r): Likewise.
10488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10489 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10490
f6da27e5
PH
104912012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10492
10493 [BZ #13763]
10494 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10495
6665d4a2
SM
104962012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10497
1f51ee92
SM
10498 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10499 * elf/cache.c (print_entry): Print ",AArch64" for
10500 FLAG_AARCH64_LIB64
10501
6665d4a2
SM
10502 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10503 * elf/cache.c (print_entry): Print ",hard-float" for
10504 FLAG_ARM_LIBHF.
10505
05b227bd
DM
105062012-11-18 David S. Miller <davem@davemloft.net>
10507
10508 With help from Joseph Myers.
10509 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10510 cutoff to 2**-13.
10511 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10512 cutoff to 2**-25.
10513 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10514 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10515 small.
10516 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10517 * math/libm-test.inc (y0_test): New tests.
10518 (y1_test): New tests.
10519 * sysdeps/i386/fpu/libm-test-ulps: Update.
10520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10522
786b0b67
AS
105232012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10524
10525 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10526 64-bit targets.
10527 * configure: Regenerated.
10528
8e18b86d
DM
105292012-11-17 David S. Miller <davem@davemloft.net>
10530
10531 [BZ #14811]
10532 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10533 nonzero exponents with absolute value below 0x1p-128 to +/-
10534 0x1p-128.
10535
531f1ae0
JM
105362012-11-17 Joseph Myers <joseph@codesourcery.com>
10537
12df29e2
JM
10538 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10539
150dc1a0
JM
10540 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10541
531f1ae0
JM
10542 * posix/getconf-speclist.c: New file.
10543 * posix/posix-envs.def: Likewise.
10544 * posix/confstr.c (START_ENV_GROUP): New macro.
10545 (END_ENV_GROUP): Likewise.
10546 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10547 (KNOWN_PRESENT_ENV_STRING): Likewise.
10548 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10549 (UNKNOWN_ENVIRONMENT): Likewise.
10550 (confstr): Include posix-envs.def instead of handling
10551 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10552 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10553 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10554 (END_ENV_GROUP): Likewise.
10555 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10556 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10557 (UNKNOWN_ENVIRONMENT): Likewise.
10558 (__sysconf): Include posix-envs.def instead of handling associated
10559 cases directly here.
10560 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10561 preprocessing getconf-speclist.c rather than running getconf or
10562 generating empty file.
10563
a93f9cbc
PT
105642012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10565
10566 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10567
d64d9f87
AL
105682012-11-16 Andrej Lajovic <natrij@gmail.com>
10569
10570 [BZ #14672]
10571 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10572
447885eb
DM
105732012-11-16 David S. Miller <davem@davemloft.net>
10574
10575 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10576 smaller than LDBL_EPSILON/2.0L, just return xm1.
10577
bcbf9830
L
105782012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10579
10580 * elf/tst-array1.c (init): Set constructor priority to 1000.
10581 (fini): Set destructor priority to 1000.
10582 * elf/tst-array2dep.c: Likewise.
10583
2b766585
SP
105842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10585
10586 [BZ #11741]
10587 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10588 (_IO_new_file_xsputn): Also return EOF if none of the input
10589 data was written when overflow failed.
10590 * libio/iopadn.c (_IO_padn): Likewise.
10591 * libio/iowpadn.c (_IO_wpadn): Likewise.
10592 * stdio-common/tst-put-error.c: Add copyright notice.
10593 (do_test): Add case for printing padded string.
10594 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10595 _IO_padn returned error.
10596 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10597 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10598 return EOF.
10599
b1848fde
SP
106002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10601
10602 * libio/libioP.h: Add comment note that the references to C++
10603 bits are now obsolete.
10604
2fd89785
MS
106052012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10606
10607 * math/libm-test.inc (check_complex): Use asprintf.
10608
e3ea5409
JM
106092012-11-14 Joseph Myers <joseph@codesourcery.com>
10610
10611 * debug/pcprofiledump.c (print_version): Update copyright year.
10612 * malloc/memusagestat.c (print_version): Likewise.
10613
2e64d265
L
106142012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10615
10616 [BZ #14831]
10617 * elf/Makefile (tests): Add tst-audit8.
10618 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10619 ($(objpfx)tst-audit8.out): New target.
10620 (tst-audit8-ENV): New variable.
10621 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10622 audit if l_reloc_result is NULL.
10623 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10624 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10625 * elf/tst-audit8.c: New file.
10626
c485e4d2
MS
106272012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10628
10629 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10630 * misc/Makefile (CFLAGS-select.c): Define.
10631 * posix/Makefile (CFLAGS-pause.c): Define.
10632
3a0d900a
DM
106332012-11-13 David S. Miller <davem@davemloft.net>
10634
10635 * crypt/Makefile: Move test targets after toplevel Rules
10636 inclusion. Grab any necessary sysdep routines when linking.
10637 * crypt/md5.c (md5_process_block): Remove define, we will always
10638 name it __md5_process_block.
10639 (md5_finish_ctx): Update md5_process_block call.
10640 (md5_stream): Likewise.
10641 (md5_process_bytes): Likewise.
10642 (md5_process_block): Rename to __md5_process_block and move to ...
10643 * crypt/md5-block.c: ... here.
10644 * crypt/sha256.c (sha256_process_block): Move to ...
10645 * crypt/sha256-block.c: ... here.
10646 * crypt/sha512.c (sha512_process_block): Move to ...
10647 * crypt/sha512-block.c: ... here.
10648 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10649 path.
10650 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10651 * sysdeps/sparc/sparc64/multiarch/Makefile
10652 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10653 crypt subdir.
10654 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10655 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10656 multiarch changes.
10657 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10658 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10659 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10660 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10661 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10662 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10663 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10664 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10665 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10666 file.
10667 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10668 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10669 file.
10670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10671
8ca89318
JM
106722012-11-13 Joseph Myers <joseph@codesourcery.com>
10673
e27d476a
JM
10674 * timezone/tzselect.ksh: Update from tzcode git revision
10675 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10676 * timezone/zdump.c: Likewise.
10677 * timezone/zic.c: Likewise.
10678 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10679 in TZVERSION setting, not $(PKGVERSION).
10680 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10681 REPORT_BUGS_TO settings.
10682
8ca89318
JM
10683 [BZ #14838]
10684 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10685 macro.
10686
47594329
MS
106872012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10688
10689 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10690 detection to immediately after _FP_ROUND().
10691 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10692 bits are 0.
10693
640ac3f1
DM
106942012-11-11 David S. Miller <davem@davemloft.net>
10695
10696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10697 inttypes.h
10698 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10699 __close rather than their public counterparts.
10700
3d2577bb
JM
107012012-11-10 Joseph Myers <joseph@codesourcery.com>
10702
10703 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10704 file.
10705 [UNIX98] (sem_timedwait): Do not expect.
10706 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10707 [XPG4 || UNIX98] (sockatmark): Do not expect.
10708 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10709 (clock_getcpuclockid): Do not expect.
10710 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10711 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10712 Do not expect.
10713 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10714 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10715 [UNIX98] (vwscanf): Likewise.
10716 [UNIX98] (vswscanf): Likewise.
10717
fb1ae1ee
JM
107182012-11-09 Joseph Myers <joseph@codesourcery.com>
10719
9ec6f8bd
JM
10720 * timezone/version.h: Remove file.
10721 * timezone/README: Do not refer to version.h.
10722 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10723 $(objpfx)version.h.
10724 ($(objpfx)zdump.o): Likewise.
c3f81911 10725 ($(objpfx)version.h): New target.
9ec6f8bd 10726
0aa8f8a1
JM
10727 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10728 2012i.
10729 * timezone/README: Don't mention modification to tzselect.ksh.
10730 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10731 work on unmodified tzselect.ksh. Substitute version numbers in
10732 tzselect.ksh.
10733
4e87147f
JM
10734 * Makefile (format-me): Remove.
10735 (INSTALL): Adjust indentation. Use commands directly instead of
10736 using $(format-me).
10737
8b748aed
JM
10738 * aclocal.m4 (ACX_PKGVERSION): New macro.
10739 (ACX_BUGURL): Likewise.
10740 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10741 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10742 (REPORT_BUGS_TO): Likewise.
10743 * configure: Regenerated.
10744 * config.h.in (PKGVERSION): New macro.
10745 (REPORT_BUGS_TO): Likewise.
10746 * config.make.in (PKGVERSION): New variable.
10747 (PKGVERSION_TEXI): Likewise.
10748 (REPORT_BUGS_TO): Likewise.
10749 (REPORT_BUGS_TEXI): Likewise.
10750 * Makefile (format-me): Use -I$(common-objpfx)manual.
10751 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10752 ($(common-objpfx)manual/%): New target.
10753 (manual/%): Remove target.
10754 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10755 (print_version): Use PKGVERSION.
10756 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10757 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10758 and REPORT_BUGS_TO.
10759 ($(objpfx)xtrace): Likewise.
10760 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10761 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10762 (print_version): Use PKGVERSION.
10763 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10764 (do_version): Use PKGVERSION.
10765 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10766 REPORT_BUGS_TO.
10767 (common-ldd-rewrite): Likewise.
10768 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10769 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10770 (print_version): Use PKGVERSION.
10771 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10772 * elf/pldd.c (argp_program_bug_address): Remove variable.
10773 (more_help): New function.
10774 (argp): Use more_help.
10775 (print_version): Use PKGVERSION.
10776 * elf/sln.c (main): Use PKGVERSION.
10777 (usage): Use REPORT_BUGS_TO.
10778 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10779 (top level): Use PKGVERSION.
10780 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10781 (print_version): Use PKGVERSION.
10782 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10783 (print_version): Use PKGVERSION.
10784 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10785 (print_version): Use PKGVERSION.
10786 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10787 (print_version): Use PKGVERSION.
10788 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10789 (print_version): Use PKGVERSION.
10790 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10791 (print_version): Use PKGVERSION.
10792 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10793 and BUGURL.
10794 ($(objpfx)memusage): Likewise.
10795 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10796 (do_version): Use PKGVERSION.
10797 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10798 (print_version): Use PKGVERSION.
10799 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10800 ($PKGVERSION): New variable.
10801 ($REPORT_BUGS_TO): Likewise.
10802 (usage): Use $REPORT_BUGS_TO.
10803 (top level): Use $PKGVERSION.
10804 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10805 ($(objpfx)pkgvers.texi): New rule.
10806 ($(objpfx)stamp-pkgvers): Likewise.
10807 * manual/install.texi: Include pkgvers.texi.
10808 (--with-pkgversion): Document new configure option.
10809 (--with-bugurl): Likewise.
10810 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10811 than necessarily for this particular distribution. Use
10812 REPORT_BUGS_TO for where to report bugs.
10813 * INSTALL: Regenerated.
10814 * manual/libc.texinfo: Include pkgvers.texi.
10815 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10816 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10817 (print_version): Use PKGVERSION.
10818 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10819 (print_version): Use PKGVERSION.
10820 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10821 (print_version): Use PKGVERSION.
10822 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10823 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10824 macro.
10825 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10826 (print_version): Use PKGVERSION.
10827 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10828 (print_version): Use PKGVERSION.
10829 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10830 and PKGVERSION.
10831
92e4b6a9
JM
10832 * timezone/checktab.awk: Update from tzcode 2012i.
10833 * timezone/ialloc.c: Likewise.
10834 * timezone/private.h: Likewise.
10835 * timezone/scheck.c: Likewise.
10836 * timezone/tzfile.h: Likewise.
10837 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10838 (TZVERSION): Hardcode tzcode version number.
10839 * timezone/zdump.c: Update from tzcode 2012i.
10840 * timezone/zic.c: Likewise.
10841 * timezone/version.h: New file.
10842 * timezone/README: Describe version.h. Update upstream location.
10843
9bde902c
JM
10844 [BZ #14824]
10845 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10846 (mktemp): Enable declaration.
10847 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10848 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10851 Likewise.
10852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10853 Likewise.
10854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10855 Likewise.
10856 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10857 Likewise.
10858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10859 Likewise.
10860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10861 Likewise.
10862
fb1ae1ee
JM
10863 [BZ #14821]
10864 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10865 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10866 for copies of such integer values.
10867 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10868 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10869
2c1adbcb
AJ
108702012-11-09 Andreas Jaeger <aj@suse.de>
10871
10872 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10873 definitions and declarations that are provided by
10874 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10875
d0f8457e
AK
108762012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10877
3a235abb 10878 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10879 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10880 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10881 definition.
10882
57241e26
MS
108832012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10884
10885 * elf/elf.h: Update comment before AArch64 relocations.
10886
60e8270d
DM
108872012-11-07 David S. Miller <davem@davemloft.net>
10888
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10890 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10891 (__start_context): Declare.
10892 (__makecontext_ret): Delete.
10893 (__makecontext): Hook up __start_context instead of
10894 __makecontext_ret.
10895 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10896 (sysdep_routines): Add __start_context when in stdlib.
10897
0fbb0fbc
JM
108982012-11-07 Joseph Myers <joseph@codesourcery.com>
10899
10900 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10901 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10902 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10903 hardcoded "nm".
10904 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10905 (READELF): New variable. Use it instead of hardcoded "readelf".
10906
eb48db7e
L
109072012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10908
10909 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10910 * sysdeps/x86/Makefile: Here.
10911 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10912 * sysdeps/x86/tst-xmmymm.sh: This.
10913
05bcf62a
JM
109142012-11-07 Joseph Myers <joseph@codesourcery.com>
10915
c4b6cf53
JM
10916 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10917 expectations.
10918 [UNIX98] (pthread_barrier_t): Do not expect.
10919 [UNIX98] (pthread_barrierattr_t): Likewise.
10920 [UNIX98] (pthread_spinlock_t): Likewise.
10921 [UNIX98] (pthread_barrier_destroy): Likewise.
10922 [UNIX98] (pthread_barrier_init): Likewise.
10923 [UNIX98] (pthread_barrier_wait): Likewise.
10924 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10925 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10926 [UNIX98] (pthread_barrierattr_init): Likewise.
10927 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10928 [UNIX98] (pthread_getcpuclockid): Likewise.
10929 [UNIX98] (pthread_mutex_timedlock): Likewise.
10930 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10931 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10932 [UNIX98] (pthread_sigmask): Likewise.
10933 [UNIX98] (pthread_spin_destroy): Likewise.
10934 [UNIX98] (pthread_spin_init): Likewise.
10935 [UNIX98] (pthread_spin_lock): Likewise.
10936 [UNIX98] (pthread_spin_trylock): Likewise.
10937 [UNIX98] (pthread_spin_unlock): Likewise.
10938 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10939 Do not expect.
10940 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10941 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10942 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10943 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10944 [XPG3 || XPG4] (pthread_key_t): Likewise.
10945 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10946 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10947 [XPG3 || XPG4] (pthread_once_t): Likewise.
10948 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10949 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10950 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10951 [XPG3 || XPG4] (pthread_t): Likewise.
10952
cbe6e120
JM
10953 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10954 not expect.
10955 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10956
1b126443
JM
10957 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10958 Change function return type to int.
10959
b961a573
JM
10960 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10961 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10962 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10963 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10964 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10965 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10966 [!POSIX] (posix_madvise): Likewise.
10967 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10968 && !UNIX98].
10969 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10970 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10971 (mode_t): Likewise.
10972 (posix_mem_offset): Likewise.
10973 (posix_typed_mem_get_info): Likewise.
10974 (posix_typed_mem_open): Likewise.
10975
9e188909
JM
10976 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10977 Change condition to [XOPEN2K8].
10978
05bcf62a
JM
10979 * conform/conformtest.pl: Preprocess allow-header data with -x c
10980 instead of from stdin.
10981 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10982 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10983 [C99-based standards] (cerfc): Likewise.
10984 [C99-based standards] (cexp2): Likewise.
10985 [C99-based standards] (cexpm1): Likewise.
10986 [C99-based standards] (clog10): Likewise.
10987 [C99-based standards] (clog1p): Likewise.
10988 [C99-based standards] (clog2): Likewise.
10989 [C99-based standards] (clgamma): Likewise.
10990 [C99-based standards] (ctgamma): Likewise.
10991 [C99-based standards] (cerff): Likewise.
10992 [C99-based standards] (cerfcf): Likewise.
10993 [C99-based standards] (cexp2f): Likewise.
10994 [C99-based standards] (cexpm1f): Likewise.
10995 [C99-based standards] (clog10f): Likewise.
10996 [C99-based standards] (clog1pf): Likewise.
10997 [C99-based standards] (clog2f): Likewise.
10998 [C99-based standards] (clgammaf): Likewise.
10999 [C99-based standards] (ctgammaf): Likewise.
11000 [C99-based standards] (cerfl): Likewise.
11001 [C99-based standards] (cerfcl): Likewise.
11002 [C99-based standards] (cexp2l): Likewise.
11003 [C99-based standards] (cexpm1l): Likewise.
11004 [C99-based standards] (clog10l): Likewise.
11005 [C99-based standards] (clog1pl): Likewise.
11006 [C99-based standards] (clog2l): Likewise.
11007 [C99-based standards] (clgammal): Likewise.
11008 [C99-based standards] (ctgammal): Likewise.
11009 * conform/data/inttypes.h-data [C99-based standards]: Include
11010 stdint.h-data. Remove all expectations for stdint.h contents.
11011 [C99-based standards] (PRI*): Do not allow.
11012 [C99-based standards] (SCN*): Likewise.
11013 [C99-based standards] (*_t): Likewise.
11014 [C99-based-standards] (PRId8): Expect macro.
11015 [C99-based-standards] (PRIi8): Likewise.
11016 [C99-based-standards] (PRIo8): Likewise.
11017 [C99-based-standards] (PRIu8): Likewise.
11018 [C99-based-standards] (PRIx8): Likewise.
11019 [C99-based-standards] (PRIX8): Likewise.
11020 [C99-based-standards] (SCNd8): Likewise.
11021 [C99-based-standards] (SCNi8): Likewise.
11022 [C99-based-standards] (SCNo8): Likewise.
11023 [C99-based-standards] (SCNu8): Likewise.
11024 [C99-based-standards] (SCNx8): Likewise.
11025 [C99-based-standards] (PRIdLEAST8): Likewise.
11026 [C99-based-standards] (PRIiLEAST8): Likewise.
11027 [C99-based-standards] (PRIoLEAST8): Likewise.
11028 [C99-based-standards] (PRIuLEAST8): Likewise.
11029 [C99-based-standards] (PRIxLEAST8): Likewise.
11030 [C99-based-standards] (PRIXLEAST8): Likewise.
11031 [C99-based-standards] (SCNdLEAST8): Likewise.
11032 [C99-based-standards] (SCNiLEAST8): Likewise.
11033 [C99-based-standards] (SCNoLEAST8): Likewise.
11034 [C99-based-standards] (SCNuLEAST8): Likewise.
11035 [C99-based-standards] (SCNxLEAST8): Likewise.
11036 [C99-based-standards] (PRIdFAST8): Likewise.
11037 [C99-based-standards] (PRIiFAST8): Likewise.
11038 [C99-based-standards] (PRIoFAST8): Likewise.
11039 [C99-based-standards] (PRIuFAST8): Likewise.
11040 [C99-based-standards] (PRIxFAST8): Likewise.
11041 [C99-based-standards] (PRIXFAST8): Likewise.
11042 [C99-based-standards] (SCNdFAST8): Likewise.
11043 [C99-based-standards] (SCNiFAST8): Likewise.
11044 [C99-based-standards] (SCNoFAST8): Likewise.
11045 [C99-based-standards] (SCNuFAST8): Likewise.
11046 [C99-based-standards] (SCNxFAST8): Likewise.
11047 [C99-based-standards] (PRId16): Likewise.
11048 [C99-based-standards] (PRIi16): Likewise.
11049 [C99-based-standards] (PRIo16): Likewise.
11050 [C99-based-standards] (PRIu16): Likewise.
11051 [C99-based-standards] (PRIx16): Likewise.
11052 [C99-based-standards] (PRIX16): Likewise.
11053 [C99-based-standards] (SCNd16): Likewise.
11054 [C99-based-standards] (SCNi16): Likewise.
11055 [C99-based-standards] (SCNo16): Likewise.
11056 [C99-based-standards] (SCNu16): Likewise.
11057 [C99-based-standards] (SCNx16): Likewise.
11058 [C99-based-standards] (PRIdLEAST16): Likewise.
11059 [C99-based-standards] (PRIiLEAST16): Likewise.
11060 [C99-based-standards] (PRIoLEAST16): Likewise.
11061 [C99-based-standards] (PRIuLEAST16): Likewise.
11062 [C99-based-standards] (PRIxLEAST16): Likewise.
11063 [C99-based-standards] (PRIXLEAST16): Likewise.
11064 [C99-based-standards] (SCNdLEAST16): Likewise.
11065 [C99-based-standards] (SCNiLEAST16): Likewise.
11066 [C99-based-standards] (SCNoLEAST16): Likewise.
11067 [C99-based-standards] (SCNuLEAST16): Likewise.
11068 [C99-based-standards] (SCNxLEAST16): Likewise.
11069 [C99-based-standards] (PRIdFAST16): Likewise.
11070 [C99-based-standards] (PRIiFAST16): Likewise.
11071 [C99-based-standards] (PRIoFAST16): Likewise.
11072 [C99-based-standards] (PRIuFAST16): Likewise.
11073 [C99-based-standards] (PRIxFAST16): Likewise.
11074 [C99-based-standards] (PRIXFAST16): Likewise.
11075 [C99-based-standards] (SCNdFAST16): Likewise.
11076 [C99-based-standards] (SCNiFAST16): Likewise.
11077 [C99-based-standards] (SCNoFAST16): Likewise.
11078 [C99-based-standards] (SCNuFAST16): Likewise.
11079 [C99-based-standards] (SCNxFAST16): Likewise.
11080 [C99-based-standards] (PRId32): Likewise.
11081 [C99-based-standards] (PRIi32): Likewise.
11082 [C99-based-standards] (PRIo32): Likewise.
11083 [C99-based-standards] (PRIu32): Likewise.
11084 [C99-based-standards] (PRIx32): Likewise.
11085 [C99-based-standards] (PRIX32): Likewise.
11086 [C99-based-standards] (SCNd32): Likewise.
11087 [C99-based-standards] (SCNi32): Likewise.
11088 [C99-based-standards] (SCNo32): Likewise.
11089 [C99-based-standards] (SCNu32): Likewise.
11090 [C99-based-standards] (SCNx32): Likewise.
11091 [C99-based-standards] (PRIdLEAST32): Likewise.
11092 [C99-based-standards] (PRIiLEAST32): Likewise.
11093 [C99-based-standards] (PRIoLEAST32): Likewise.
11094 [C99-based-standards] (PRIuLEAST32): Likewise.
11095 [C99-based-standards] (PRIxLEAST32): Likewise.
11096 [C99-based-standards] (PRIXLEAST32): Likewise.
11097 [C99-based-standards] (SCNdLEAST32): Likewise.
11098 [C99-based-standards] (SCNiLEAST32): Likewise.
11099 [C99-based-standards] (SCNoLEAST32): Likewise.
11100 [C99-based-standards] (SCNuLEAST32): Likewise.
11101 [C99-based-standards] (SCNxLEAST32): Likewise.
11102 [C99-based-standards] (PRIdFAST32): Likewise.
11103 [C99-based-standards] (PRIiFAST32): Likewise.
11104 [C99-based-standards] (PRIoFAST32): Likewise.
11105 [C99-based-standards] (PRIuFAST32): Likewise.
11106 [C99-based-standards] (PRIxFAST32): Likewise.
11107 [C99-based-standards] (PRIXFAST32): Likewise.
11108 [C99-based-standards] (SCNdFAST32): Likewise.
11109 [C99-based-standards] (SCNiFAST32): Likewise.
11110 [C99-based-standards] (SCNoFAST32): Likewise.
11111 [C99-based-standards] (SCNuFAST32): Likewise.
11112 [C99-based-standards] (SCNxFAST32): Likewise.
11113 [C99-based-standards] (PRId64): Likewise.
11114 [C99-based-standards] (PRIi64): Likewise.
11115 [C99-based-standards] (PRIo64): Likewise.
11116 [C99-based-standards] (PRIu64): Likewise.
11117 [C99-based-standards] (PRIx64): Likewise.
11118 [C99-based-standards] (PRIX64): Likewise.
11119 [C99-based-standards] (SCNd64): Likewise.
11120 [C99-based-standards] (SCNi64): Likewise.
11121 [C99-based-standards] (SCNo64): Likewise.
11122 [C99-based-standards] (SCNu64): Likewise.
11123 [C99-based-standards] (SCNx64): Likewise.
11124 [C99-based-standards] (PRIdLEAST64): Likewise.
11125 [C99-based-standards] (PRIiLEAST64): Likewise.
11126 [C99-based-standards] (PRIoLEAST64): Likewise.
11127 [C99-based-standards] (PRIuLEAST64): Likewise.
11128 [C99-based-standards] (PRIxLEAST64): Likewise.
11129 [C99-based-standards] (PRIXLEAST64): Likewise.
11130 [C99-based-standards] (SCNdLEAST64): Likewise.
11131 [C99-based-standards] (SCNiLEAST64): Likewise.
11132 [C99-based-standards] (SCNoLEAST64): Likewise.
11133 [C99-based-standards] (SCNuLEAST64): Likewise.
11134 [C99-based-standards] (SCNxLEAST64): Likewise.
11135 [C99-based-standards] (PRIdFAST64): Likewise.
11136 [C99-based-standards] (PRIiFAST64): Likewise.
11137 [C99-based-standards] (PRIoFAST64): Likewise.
11138 [C99-based-standards] (PRIuFAST64): Likewise.
11139 [C99-based-standards] (PRIxFAST64): Likewise.
11140 [C99-based-standards] (PRIXFAST64): Likewise.
11141 [C99-based-standards] (SCNdFAST64): Likewise.
11142 [C99-based-standards] (SCNiFAST64): Likewise.
11143 [C99-based-standards] (SCNoFAST64): Likewise.
11144 [C99-based-standards] (SCNuFAST64): Likewise.
11145 [C99-based-standards] (SCNxFAST64): Likewise.
11146 [C99-based-standards] (PRIdMAX): Likewise.
11147 [C99-based-standards] (PRIiMAX): Likewise.
11148 [C99-based-standards] (PRIoMAX): Likewise.
11149 [C99-based-standards] (PRIuMAX): Likewise.
11150 [C99-based-standards] (PRIxMAX): Likewise.
11151 [C99-based-standards] (PRIXMAX): Likewise.
11152 [C99-based-standards] (SCNdMAX): Likewise.
11153 [C99-based-standards] (SCNiMAX): Likewise.
11154 [C99-based-standards] (SCNoMAX): Likewise.
11155 [C99-based-standards] (SCNuMAX): Likewise.
11156 [C99-based-standards] (SCNxMAX): Likewise.
11157 [C99-based-standards] (PRIdPTR): Likewise.
11158 [C99-based-standards] (PRIiPTR): Likewise.
11159 [C99-based-standards] (PRIoPTR): Likewise.
11160 [C99-based-standards] (PRIuPTR): Likewise.
11161 [C99-based-standards] (PRIxPTR): Likewise.
11162 [C99-based-standards] (PRIXPTR): Likewise.
11163 [C99-based-standards] (SCNdPTR): Likewise.
11164 [C99-based-standards] (SCNiPTR): Likewise.
11165 [C99-based-standards] (SCNoPTR): Likewise.
11166 [C99-based-standards] (SCNuPTR): Likewise.
11167 [C99-based-standards] (SCNxPTR): Likewise.
11168 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11169 allow.
11170 * conform/data/stdint.h-data: Update comments to clarify
11171 requirements.
11172 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11173 type.
11174 [C99-based standards] (INT8_MAX): Likewise.
11175 [C99-based standards] (INT16_MIN): Likewise.
11176 [C99-based standards] (INT16_MAX): Likewise.
11177 [C99-based standards] (INT32_MIN): Likewise.
11178 [C99-based standards] (INT32_MAX): Likewise.
11179 [C99-based standards] (INT64_MIN): Likewise.
11180 [C99-based standards] (INT64_MAX): Likewise.
11181 [C99-based standards] (UINT8_MAX): Likewise.
11182 [C99-based standards] (UINT16_MAX): Likewise.
11183 [C99-based standards] (UINT32_MAX): Likewise.
11184 [C99-based standards] (UINT64_MAX): Likewise.
11185 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11186 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11187 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11188 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11189 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11190 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11191 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11192 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11193 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11194 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11195 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11196 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11197 [C99-based standards] (INT_FAST8_MIN): Likewise.
11198 [C99-based standards] (INT_FAST8_MAX): Likewise.
11199 [C99-based standards] (INT_FAST16_MIN): Likewise.
11200 [C99-based standards] (INT_FAST16_MAX): Likewise.
11201 [C99-based standards] (INT_FAST32_MIN): Likewise.
11202 [C99-based standards] (INT_FAST32_MAX): Likewise.
11203 [C99-based standards] (INT_FAST64_MIN): Likewise.
11204 [C99-based standards] (INT_FAST64_MAX): Likewise.
11205 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11206 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11207 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11208 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11209 [C99-based standards] (INTPTR_MIN): Likewise.
11210 [C99-based standards] (INTPTR_MAX): Likewise.
11211 [C99-based standards] (UINTPTR_MAX): Likewise.
11212 [C99-based standards] (INTMAX_MIN): Likewise.
11213 [C99-based standards] (INTMAX_MAX): Likewise.
11214 [C99-based standards] (UINTMAX_MAX): Likewise.
11215 [C99-based standards] (PTRDIFF_MIN): Likewise.
11216 [C99-based standards] (PTRDIFF_MAX): Likewise.
11217 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11218 [C99-based standards] (SIZE_MAX): Likewise.
11219 [C99-based standards] (WCHAR_MAX): Likewise.
11220 [C99-based standards] (WINT_MAX): Likewise.
11221 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11222 constraint on value.
11223 [C99-based standards] (WCHAR_MIN): Likewise.
11224 [C99-based standards] (WINT_MIN): Likewise.
11225 [C99-based standards] (*_t): Allow.
11226 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11227 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11228 Include math.h-data and complex.h-data. Remove all expectations
11229 of math.h and complex.h contents.
11230 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11231 at end of line.
11232 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11233 (struct tm): Expect tag.
11234 [C99-based-standards] (wcstof): Expect function.
11235 [C99-based-standards] (wcstold): Likewise.
11236 [C99-based-standards] (wcstoll): Likewise.
11237 [C99-based-standards] (wcstoull): Likewise.
11238 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11239 macro-int-constant. Specify type.
11240 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11241 constraint on value.
11242 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11243 Specify type.
11244 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11245 Specify value.
11246 [ISO C standards]: Do not allow headers.
11247 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11248 wcs[abcdefghijklmnopqrstuvwxyz]*.
11249 [ISO C standards] (*_t): Do not allow.
11250 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11251 Expect function.
11252 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11253 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11254 Specify type.
11255 [ISO C standards]: Do not allow headers.
11256 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11257 is[abcdefghijklmnopqrstuvwxyz]*.
11258 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11259 to[abcdefghijklmnopqrstuvwxyz]*.
11260 [ISO C standards] (*_t): Do not allow.
11261 * conform/data/stdalign.h-data: New file.
11262 * conform/data/stdbool.h-data: Likewise.
11263 * conform/data/stdnoreturn.h-data: Likewise.
11264
7514feb8
RM
112652012-11-07 Roland McGrath <roland@hack.frob.com>
11266
11267 [BZ #14815]
11268 * manual/filesys.texi (Directory Entries): Typo fix.
11269 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11270
19b2ecfc
MS
112712012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11272
11273 * elf/elf.h (EM_AARCH64): New macro.
11274 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11275 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11276 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11277 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11278 (R_AARCH64_TLSDESC): Likewise.
11279 (NT_ARM_TLS): Likewise.
11280 (NT_ARM_HW_BREAK): Likewise.
11281 (NT_ARM_HW_WATCH): Likewise.
11282
60e235ee
JM
112832012-11-07 Joseph Myers <joseph@codesourcery.com>
11284
11285 [BZ #14811]
11286 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11287 (__ieee754_powl): Saturate nonzero exponents with absolute value
11288 below 0x1p-79 to +/- 0x1p-79.
11289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11290 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11291 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11292 nonzero exponents with absolute value below 0x1p-32 to +/-
11293 0x1p-32.
11294 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11295 (__ieee754_powl): Saturate nonzero exponents with absolute value
11296 below 0x1p-79 to +/- 0x1p-79.
11297 * math/libm-test.inc (pow_test): Add more tests.
11298
0ab234b7
AK
112992012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11300
11301 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11302 _dl_s390_cap_flags with kernel. Increase string length.
11303 (_dl_s390_platforms): Add z196 and zEC12.
11304
45832f74
JM
113052012-11-07 Joseph Myers <joseph@codesourcery.com>
11306
11307 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11308 Change XOPEN21K to XOPEN2K.
11309
19218757
MK
113102012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11311
11312 * string/memmove.c: Use memcpy when possible.
11313
c5f45721
AJ
113142012-11-06 Andreas Jaeger <aj@suse.de>
11315
11316 * po/eo.po: Update from translation team.
11317
82477c28
JM
113182012-11-06 Joseph Myers <joseph@codesourcery.com>
11319
11320 [BZ #14793]
11321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11322 exponent and small x and y exponents, scale x or y up. Increase
11323 by 2 the exponent used in scaling up.
11324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11326 * math/libm-test.inc (fma_test): Add more tests.
11327 (fma_test_towardzero): Likewise.
11328 (fma_test_downward): Likewise.
11329 (fma_test_upward): Likewise.
11330
99252c8c
JM
113312012-11-05 Joseph Myers <joseph@codesourcery.com>
11332
acfa885f
JM
11333 [BZ #14805]
11334 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11335 fenv_t *.
11336
99252c8c
JM
11337 [BZ #14801]
11338 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11339 namespace for names of struct fields.
11340 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11341 fenv_t fields.
11342 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11343 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11344
d6d98dea
ST
113452012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11346
11347 [BZ #3665]
11348 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11349
e10bb107
TS
113502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11351
11352 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11353 PTR_DEMANGLE.
11354
11355 [BZ #5246]
11356 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11357 PTR_DEMANGLE.
11358
a0c2940d
JM
113592012-11-04 Joseph Myers <joseph@codesourcery.com>
11360
11361 [BZ #14797]
11362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11363 definitely overflow as x * y not x * y + z.
11364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11365 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11366 * math/libm-test.inc (fma_test): Add more tests.
11367 (fma_test_towardzero): Likewise.
11368 (fma_test_downward): Likewise.
11369 (fma_test_upward): Likewise.
11370
b830319d
TS
113712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11372
11373 [BZ #157]
11374
11375 * include/stub-tag.h: Remove file.
11376 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11377 '#include' of it.
11378 * manual/maint.texi (Porting): Don't reference it.
11379 * Makerules ($(objpfx)stubs): Likewise.
11380 * dirent/closedir.c: Don't include <stub-tag.h>.
11381 * dirent/dirfd.c: Likewise.
11382 * dirent/fdopendir.c: Likewise.
11383 * dirent/getdents.c: Likewise.
11384 * dirent/getdents64.c: Likewise.
11385 * dirent/opendir.c: Likewise.
11386 * dirent/readdir.c: Likewise.
11387 * dirent/readdir64.c: Likewise.
11388 * dirent/readdir64_r.c: Likewise.
11389 * dirent/readdir_r.c: Likewise.
11390 * dirent/rewinddir.c: Likewise.
11391 * dirent/seekdir.c: Likewise.
11392 * dirent/telldir.c: Likewise.
11393 * gmon/profil.c: Likewise.
11394 * grp/setgroups.c: Likewise.
11395 * inet/if_index.c: Likewise.
11396 * io/access.c: Likewise.
11397 * io/chdir.c: Likewise.
11398 * io/chmod.c: Likewise.
11399 * io/chown.c: Likewise.
11400 * io/close.c: Likewise.
11401 * io/dup.c: Likewise.
11402 * io/dup2.c: Likewise.
11403 * io/dup3.c: Likewise.
11404 * io/euidaccess.c: Likewise.
11405 * io/faccessat.c: Likewise.
11406 * io/fchdir.c: Likewise.
11407 * io/fchmod.c: Likewise.
11408 * io/fchmodat.c: Likewise.
11409 * io/fchown.c: Likewise.
11410 * io/fchownat.c: Likewise.
11411 * io/fcntl.c: Likewise.
11412 * io/flock.c: Likewise.
11413 * io/fstatfs.c: Likewise.
11414 * io/fstatfs64.c: Likewise.
11415 * io/fstatvfs.c: Likewise.
11416 * io/fstatvfs64.c: Likewise.
11417 * io/futimens.c: Likewise.
11418 * io/fxstat.c: Likewise.
11419 * io/fxstat64.c: Likewise.
11420 * io/fxstatat.c: Likewise.
11421 * io/fxstatat64.c: Likewise.
11422 * io/getcwd.c: Likewise.
11423 * io/isatty.c: Likewise.
11424 * io/lchmod.c: Likewise.
11425 * io/lchown.c: Likewise.
11426 * io/link.c: Likewise.
11427 * io/linkat.c: Likewise.
11428 * io/lseek.c: Likewise.
11429 * io/lseek64.c: Likewise.
11430 * io/lxstat64.c: Likewise.
11431 * io/mkdir.c: Likewise.
11432 * io/mkdirat.c: Likewise.
11433 * io/mkfifo.c: Likewise.
11434 * io/mkfifoat.c: Likewise.
11435 * io/open.c: Likewise.
11436 * io/open64.c: Likewise.
11437 * io/openat.c: Likewise.
11438 * io/openat64.c: Likewise.
11439 * io/pipe.c: Likewise.
11440 * io/pipe2.c: Likewise.
11441 * io/poll.c: Likewise.
11442 * io/posix_fadvise.c: Likewise.
11443 * io/posix_fadvise64.c: Likewise.
11444 * io/posix_fallocate.c: Likewise.
11445 * io/posix_fallocate64.c: Likewise.
11446 * io/read.c: Likewise.
11447 * io/readlink.c: Likewise.
11448 * io/readlinkat.c: Likewise.
11449 * io/rmdir.c: Likewise.
11450 * io/sendfile.c: Likewise.
11451 * io/sendfile64.c: Likewise.
11452 * io/statfs.c: Likewise.
11453 * io/statfs64.c: Likewise.
11454 * io/statvfs.c: Likewise.
11455 * io/statvfs64.c: Likewise.
11456 * io/symlink.c: Likewise.
11457 * io/symlinkat.c: Likewise.
11458 * io/ttyname.c: Likewise.
11459 * io/ttyname_r.c: Likewise.
11460 * io/umask.c: Likewise.
11461 * io/unlink.c: Likewise.
11462 * io/unlinkat.c: Likewise.
11463 * io/utime.c: Likewise.
11464 * io/utimensat.c: Likewise.
11465 * io/write.c: Likewise.
11466 * io/xmknod.c: Likewise.
11467 * io/xmknodat.c: Likewise.
11468 * io/xstat.c: Likewise.
11469 * io/xstat64.c: Likewise.
11470 * login/getpt.c: Likewise.
11471 * login/grantpt.c: Likewise.
11472 * login/unlockpt.c: Likewise.
11473 * math/e_acoshl.c: Likewise.
11474 * math/e_acosl.c: Likewise.
11475 * math/e_asinl.c: Likewise.
11476 * math/e_atan2l.c: Likewise.
11477 * math/e_atanhl.c: Likewise.
11478 * math/e_coshl.c: Likewise.
11479 * math/e_expl.c: Likewise.
11480 * math/e_fmodl.c: Likewise.
11481 * math/e_gammal_r.c: Likewise.
11482 * math/e_hypotl.c: Likewise.
11483 * math/e_j0l.c: Likewise.
11484 * math/e_j1l.c: Likewise.
11485 * math/e_jnl.c: Likewise.
11486 * math/e_lgammal_r.c: Likewise.
11487 * math/e_log10l.c: Likewise.
11488 * math/e_log2l.c: Likewise.
11489 * math/e_logl.c: Likewise.
11490 * math/e_powl.c: Likewise.
11491 * math/e_rem_pio2l.c: Likewise.
11492 * math/e_sinhl.c: Likewise.
11493 * math/e_sqrtl.c: Likewise.
11494 * math/fclrexcpt.c: Likewise.
11495 * math/fedisblxcpt.c: Likewise.
11496 * math/feenablxcpt.c: Likewise.
11497 * math/fegetenv.c: Likewise.
11498 * math/fegetexcept.c: Likewise.
11499 * math/fegetround.c: Likewise.
11500 * math/feholdexcpt.c: Likewise.
11501 * math/fesetenv.c: Likewise.
11502 * math/fesetround.c: Likewise.
11503 * math/feupdateenv.c: Likewise.
11504 * math/fgetexcptflg.c: Likewise.
11505 * math/fraiseexcpt.c: Likewise.
11506 * math/fsetexcptflg.c: Likewise.
11507 * math/ftestexcept.c: Likewise.
11508 * math/k_cosl.c: Likewise.
11509 * math/k_rem_pio2l.c: Likewise.
11510 * math/k_sinl.c: Likewise.
11511 * math/k_tanl.c: Likewise.
11512 * math/s_asinhl.c: Likewise.
11513 * math/s_atanl.c: Likewise.
11514 * math/s_cbrtl.c: Likewise.
11515 * math/s_erfl.c: Likewise.
11516 * math/s_expm1l.c: Likewise.
11517 * math/s_log1pl.c: Likewise.
11518 * math/s_tanhl.c: Likewise.
11519 * misc/acct.c: Likewise.
11520 * misc/brk.c: Likewise.
11521 * misc/chflags.c: Likewise.
11522 * misc/chroot.c: Likewise.
11523 * misc/fchflags.c: Likewise.
11524 * misc/fgetxattr.c: Likewise.
11525 * misc/flistxattr.c: Likewise.
11526 * misc/fremovexattr.c: Likewise.
11527 * misc/fsetxattr.c: Likewise.
11528 * misc/fsync.c: Likewise.
11529 * misc/ftruncate.c: Likewise.
11530 * misc/futimes.c: Likewise.
11531 * misc/futimesat.c: Likewise.
11532 * misc/getdomain.c: Likewise.
11533 * misc/getdtsz.c: Likewise.
11534 * misc/gethostid.c: Likewise.
11535 * misc/gethostname.c: Likewise.
11536 * misc/getloadavg.c: Likewise.
11537 * misc/getpagesize.c: Likewise.
11538 * misc/getsysstats.c: Likewise.
11539 * misc/getxattr.c: Likewise.
11540 * misc/gtty.c: Likewise.
11541 * misc/ioctl.c: Likewise.
11542 * misc/lgetxattr.c: Likewise.
11543 * misc/listxattr.c: Likewise.
11544 * misc/llistxattr.c: Likewise.
11545 * misc/lremovexattr.c: Likewise.
11546 * misc/lsetxattr.c: Likewise.
11547 * misc/lutimes.c: Likewise.
11548 * misc/madvise.c: Likewise.
11549 * misc/mincore.c: Likewise.
11550 * misc/mlock.c: Likewise.
11551 * misc/mlockall.c: Likewise.
11552 * misc/mmap.c: Likewise.
11553 * misc/mprotect.c: Likewise.
11554 * misc/msync.c: Likewise.
11555 * misc/munlock.c: Likewise.
11556 * misc/munlockall.c: Likewise.
11557 * misc/munmap.c: Likewise.
11558 * misc/preadv.c: Likewise.
11559 * misc/preadv64.c: Likewise.
11560 * misc/ptrace.c: Likewise.
11561 * misc/pwritev.c: Likewise.
11562 * misc/pwritev64.c: Likewise.
11563 * misc/readv.c: Likewise.
11564 * misc/reboot.c: Likewise.
11565 * misc/remap_file_pages.c: Likewise.
11566 * misc/removexattr.c: Likewise.
11567 * misc/revoke.c: Likewise.
11568 * misc/select.c: Likewise.
11569 * misc/setdomain.c: Likewise.
11570 * misc/setegid.c: Likewise.
11571 * misc/seteuid.c: Likewise.
11572 * misc/sethostid.c: Likewise.
11573 * misc/sethostname.c: Likewise.
11574 * misc/setregid.c: Likewise.
11575 * misc/setreuid.c: Likewise.
11576 * misc/setxattr.c: Likewise.
11577 * misc/sstk.c: Likewise.
11578 * misc/stty.c: Likewise.
11579 * misc/swapoff.c: Likewise.
11580 * misc/swapon.c: Likewise.
11581 * misc/sync.c: Likewise.
11582 * misc/syncfs.c: Likewise.
11583 * misc/syscall.c: Likewise.
11584 * misc/truncate.c: Likewise.
11585 * misc/ualarm.c: Likewise.
11586 * misc/usleep.c: Likewise.
11587 * misc/ustat.c: Likewise.
11588 * misc/utimes.c: Likewise.
11589 * misc/vhangup.c: Likewise.
11590 * misc/writev.c: Likewise.
11591 * posix/_exit.c: Likewise.
11592 * posix/alarm.c: Likewise.
11593 * posix/execve.c: Likewise.
11594 * posix/fexecve.c: Likewise.
11595 * posix/fork.c: Likewise.
11596 * posix/fpathconf.c: Likewise.
11597 * posix/getaddrinfo.c: Likewise.
11598 * posix/getegid.c: Likewise.
11599 * posix/geteuid.c: Likewise.
11600 * posix/getgid.c: Likewise.
11601 * posix/getgroups.c: Likewise.
11602 * posix/getlogin.c: Likewise.
11603 * posix/getlogin_r.c: Likewise.
11604 * posix/getpgid.c: Likewise.
11605 * posix/getpid.c: Likewise.
11606 * posix/getppid.c: Likewise.
11607 * posix/getresgid.c: Likewise.
11608 * posix/getresuid.c: Likewise.
11609 * posix/getsid.c: Likewise.
11610 * posix/getuid.c: Likewise.
11611 * posix/glob64.c: Likewise.
11612 * posix/nanosleep.c: Likewise.
11613 * posix/pathconf.c: Likewise.
11614 * posix/pause.c: Likewise.
11615 * posix/posix_madvise.c: Likewise.
11616 * posix/pread.c: Likewise.
11617 * posix/pread64.c: Likewise.
11618 * posix/pwrite.c: Likewise.
11619 * posix/pwrite64.c: Likewise.
11620 * posix/sched_getaffinity.c: Likewise.
11621 * posix/sched_getp.c: Likewise.
11622 * posix/sched_gets.c: Likewise.
11623 * posix/sched_primax.c: Likewise.
11624 * posix/sched_primin.c: Likewise.
11625 * posix/sched_rr_gi.c: Likewise.
11626 * posix/sched_setaffinity.c: Likewise.
11627 * posix/sched_setp.c: Likewise.
11628 * posix/sched_sets.c: Likewise.
11629 * posix/sched_yield.c: Likewise.
11630 * posix/setgid.c: Likewise.
11631 * posix/setlogin.c: Likewise.
11632 * posix/setpgid.c: Likewise.
11633 * posix/setresgid.c: Likewise.
11634 * posix/setresuid.c: Likewise.
11635 * posix/setsid.c: Likewise.
11636 * posix/setuid.c: Likewise.
11637 * posix/sleep.c: Likewise.
11638 * posix/spawni.c: Likewise.
11639 * posix/sysconf.c: Likewise.
11640 * posix/times.c: Likewise.
11641 * posix/wait.c: Likewise.
11642 * posix/wait3.c: Likewise.
11643 * posix/wait4.c: Likewise.
11644 * posix/waitpid.c: Likewise.
11645 * resolv/gai_sigqueue.c: Likewise.
11646 * resource/getpriority.c: Likewise.
11647 * resource/getrlimit.c: Likewise.
11648 * resource/getrusage.c: Likewise.
11649 * resource/nice.c: Likewise.
11650 * resource/setpriority.c: Likewise.
11651 * resource/setrlimit.c: Likewise.
11652 * resource/ulimit.c: Likewise.
11653 * rt/aio_cancel.c: Likewise.
11654 * rt/aio_fsync.c: Likewise.
11655 * rt/aio_read.c: Likewise.
11656 * rt/aio_sigqueue.c: Likewise.
11657 * rt/aio_suspend.c: Likewise.
11658 * rt/aio_write.c: Likewise.
11659 * rt/clock_getres.c: Likewise.
11660 * rt/clock_gettime.c: Likewise.
11661 * rt/clock_nanosleep.c: Likewise.
11662 * rt/clock_settime.c: Likewise.
11663 * rt/lio_listio.c: Likewise.
11664 * rt/mq_close.c: Likewise.
11665 * rt/mq_getattr.c: Likewise.
11666 * rt/mq_notify.c: Likewise.
11667 * rt/mq_open.c: Likewise.
11668 * rt/mq_receive.c: Likewise.
11669 * rt/mq_send.c: Likewise.
11670 * rt/mq_setattr.c: Likewise.
11671 * rt/mq_timedreceive.c: Likewise.
11672 * rt/mq_timedsend.c: Likewise.
11673 * rt/mq_unlink.c: Likewise.
11674 * rt/shm_open.c: Likewise.
11675 * rt/shm_unlink.c: Likewise.
11676 * rt/timer_create.c: Likewise.
11677 * rt/timer_delete.c: Likewise.
11678 * rt/timer_getoverr.c: Likewise.
11679 * rt/timer_gettime.c: Likewise.
11680 * rt/timer_settime.c: Likewise.
11681 * setjmp/__longjmp.c: Likewise.
11682 * setjmp/setjmp.c: Likewise.
11683 * signal/kill.c: Likewise.
11684 * signal/killpg.c: Likewise.
11685 * signal/raise.c: Likewise.
11686 * signal/sigaction.c: Likewise.
11687 * signal/sigaltstack.c: Likewise.
11688 * signal/sigblock.c: Likewise.
11689 * signal/sigignore.c: Likewise.
11690 * signal/sigintr.c: Likewise.
11691 * signal/signal.c: Likewise.
11692 * signal/sigpause.c: Likewise.
11693 * signal/sigpending.c: Likewise.
11694 * signal/sigqueue.c: Likewise.
11695 * signal/sigreturn.c: Likewise.
11696 * signal/sigset.c: Likewise.
11697 * signal/sigsetmask.c: Likewise.
11698 * signal/sigstack.c: Likewise.
11699 * signal/sigsuspend.c: Likewise.
11700 * signal/sigtimedwait.c: Likewise.
11701 * signal/sigvec.c: Likewise.
11702 * signal/sigwait.c: Likewise.
11703 * signal/sigwaitinfo.c: Likewise.
11704 * signal/sysv_signal.c: Likewise.
11705 * socket/accept.c: Likewise.
11706 * socket/accept4.c: Likewise.
11707 * socket/bind.c: Likewise.
11708 * socket/connect.c: Likewise.
11709 * socket/getpeername.c: Likewise.
11710 * socket/getsockname.c: Likewise.
11711 * socket/getsockopt.c: Likewise.
11712 * socket/isfdtype.c: Likewise.
11713 * socket/listen.c: Likewise.
11714 * socket/recv.c: Likewise.
11715 * socket/recvfrom.c: Likewise.
11716 * socket/recvmsg.c: Likewise.
11717 * socket/send.c: Likewise.
11718 * socket/sendmsg.c: Likewise.
11719 * socket/sendto.c: Likewise.
11720 * socket/setsockopt.c: Likewise.
11721 * socket/shutdown.c: Likewise.
11722 * socket/sockatmark.c: Likewise.
11723 * socket/socket.c: Likewise.
11724 * socket/socketpair.c: Likewise.
11725 * stdio-common/ctermid.c: Likewise.
11726 * stdio-common/cuserid.c: Likewise.
11727 * stdio-common/remove.c: Likewise.
11728 * stdio-common/rename.c: Likewise.
11729 * stdio-common/renameat.c: Likewise.
11730 * stdio-common/tempname.c: Likewise.
11731 * stdlib/getcontext.c: Likewise.
11732 * stdlib/makecontext.c: Likewise.
11733 * stdlib/setcontext.c: Likewise.
11734 * stdlib/swapcontext.c: Likewise.
11735 * stdlib/system.c: Likewise.
11736 * streams/fattach.c: Likewise.
11737 * streams/fdetach.c: Likewise.
11738 * streams/getmsg.c: Likewise.
11739 * streams/getpmsg.c: Likewise.
11740 * streams/putmsg.c: Likewise.
11741 * streams/putpmsg.c: Likewise.
11742 * sysdeps/unix/bsd/getpt.c: Likewise.
11743 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11744 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11745 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11747 Likewise.
11748 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11749 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11750 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11751 * sysvipc/msgctl.c: Likewise.
11752 * sysvipc/msgget.c: Likewise.
11753 * sysvipc/msgrcv.c: Likewise.
11754 * sysvipc/msgsnd.c: Likewise.
11755 * sysvipc/semctl.c: Likewise.
11756 * sysvipc/semget.c: Likewise.
11757 * sysvipc/semop.c: Likewise.
11758 * sysvipc/semtimedop.c: Likewise.
11759 * sysvipc/shmat.c: Likewise.
11760 * sysvipc/shmctl.c: Likewise.
11761 * sysvipc/shmdt.c: Likewise.
11762 * sysvipc/shmget.c: Likewise.
11763 * termios/tcdrain.c: Likewise.
11764 * termios/tcflow.c: Likewise.
11765 * termios/tcflush.c: Likewise.
11766 * termios/tcgetattr.c: Likewise.
11767 * termios/tcgetpgrp.c: Likewise.
11768 * termios/tcsendbrk.c: Likewise.
11769 * termios/tcsetattr.c: Likewise.
11770 * termios/tcsetpgrp.c: Likewise.
11771 * time/adjtime.c: Likewise.
11772 * time/clock.c: Likewise.
11773 * time/getitimer.c: Likewise.
11774 * time/gettimeofday.c: Likewise.
11775 * time/setitimer.c: Likewise.
11776 * time/settimeofday.c: Likewise.
11777 * time/stime.c: Likewise.
11778 * time/time.c: Likewise.
11779
117802012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11781
a20492cf
PT
11782 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11783 /usr/old/bin.
11784
72e182e3
PT
11785 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11786 instead of spaces.
11787 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11788
fbeafede
JM
117892012-11-03 Joseph Myers <joseph@codesourcery.com>
11790
5b5b04d6
JM
11791 [BZ #14796]
11792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11793 FE_TONEAREST before applying Dekker multiplication and Knuth
11794 addition. Clear inexact exceptions and check for exact zero
11795 results afterwards.
11796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11797 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11799 * math/libm-test.inc (fma_test): Add more tests.
11800 (fma_test_towardzero): Likewise.
11801 (fma_test_downward): Likewise.
11802 (fma_test_upward): Likewise.
11803 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11804 function.
11805 (libc_fesetround): New macro.
11806 (libc_fesetroundf): Likewise.
11807 (libc_fesetroundl): Likewise.
11808 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11809 function.
11810 (libc_fesetround_387): Likewise.
11811 (libc_fesetroundf): New macro.
11812 (libc_fesetround): Likewise.
11813 (libc_fesetroundl): Likewise.
11814 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11815 function.
11816 (libc_fesetroundf): New macro.
11817 (libc_fesetround): Likewise.
11818 (libc_fesetroundl): Likewise.
11819 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11820 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11821 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11822 libm_hidden_ver.
11823 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11824 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11825 libm_hidden_def.
11826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11827 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11828 libm_hidden_ver.
11829 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11830 libm_hidden_def.
11831
fbeafede
JM
11832 [BZ #3439]
11833 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11834 integer constant usable in #if and use that to give value to enum
11835 constant.
11836 (FE_DIVBYZERO): Likewise.
11837 (FE_UNDERFLOW): Likewise.
11838 (FE_OVERFLOW): Likewise.
11839 (FE_INVALID): Likewise.
11840 (FE_INVALID_SNAN): Likewise.
11841 (FE_INVALID_ISI): Likewise.
11842 (FE_INVALID_IDI): Likewise.
11843 (FE_INVALID_ZDZ): Likewise.
11844 (FE_INVALID_IMZ): Likewise.
11845 (FE_INVALID_COMPARE): Likewise.
11846 (FE_INVALID_SOFTWARE): Likewise.
11847 (FE_INVALID_SQRT): Likewise.
11848 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11849 (FE_TONEAREST): Likewise.
11850 (FE_TOWARDZERO): Likewise.
11851 (FE_UPWARD): Likewise.
11852 (FE_DOWNWARD): Likewise.
11853 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11854 (FE_DIVBYZERO): Likewise.
11855 (FE_OVERFLOW): Likewise.
11856 (FE_UNDERFLOW): Likewise.
11857 (FE_INEXACT): Likewise.
11858 (FE_TONEAREST): Likewise.
11859 (FE_DOWNWARD): Likewise.
11860 (FE_UPWARD): Likewise.
11861 (FE_TOWARDZERO): Likewise.
11862 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11863 (FE_UNDERFLOW): Likewise.
11864 (FE_OVERFLOW): Likewise.
11865 (FE_DIVBYZERO): Likewise.
11866 (FE_INVALID): Likewise.
11867 (FE_TONEAREST): Likewise.
11868 (FE_TOWARDZERO): Likewise.
11869 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11870 (FE_OVERFLOW): Likewise.
11871 (FE_UNDERFLOW): Likewise.
11872 (FE_DIVBYZERO): Likewise.
11873 (FE_INEXACT): Likewise.
11874 (FE_TONEAREST): Likewise.
11875 (FE_TOWARDZERO): Likewise.
11876 (FE_UPWARD): Likewise.
11877 (FE_DOWNWARD): Likewise.
11878 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11879 (FE_DIVBYZERO): Likewise.
11880 (FE_OVERFLOW): Likewise.
11881 (FE_UNDERFLOW): Likewise.
11882 (FE_INEXACT): Likewise.
11883 (FE_TONEAREST): Likewise.
11884 (FE_DOWNWARD): Likewise.
11885 (FE_UPWARD): Likewise.
11886 (FE_TOWARDZERO): Likewise.
11887
105ca950
CM
118882012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11889
11890 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11891
a542b389
AS
118922012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11893
11894 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11895 commands. Quote $PWD.
11896 (blacklist_exports): Don't use remove_newlines. Replace "declare
11897 -x" by "export".
11898 (remove_newlines): Remove.
11899
f62c8abc
L
119002012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11901
11902 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11903 * stdlib/stdlib.h (atof): Moved to ...
11904 * include/bits/stdlib-float.h: Here. New file.
11905 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11906 * stdlib/bits/stdlib-float.h: New file.
11907 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11908 -mno-sse -mno-mmx.
11909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11910 <xmmintrin.h>.
11911
0155d5b2
JM
119122012-11-02 Joseph Myers <joseph@codesourcery.com>
11913
a68d0680
JM
11914 * conform/conformtest.pl (@headers): Add fenv.h.
11915 * conform/data/fenv.h-data: New file.
11916 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11917 include of <math/fenv.h>.
11918
caf7f573
JM
11919 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11920 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11921 && !UNIX98]. Enables tests for XOPEN2K8.
11922 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11923 POSIX2008]: Likewise.
11924
6c073ad6
JM
11925 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11926 (struct rusage): Do not expect type or its members.
11927
0155d5b2
JM
11928 [BZ #3439]
11929 * math/math.h (FP_NAN): Define macro to integer constant usable in
11930 #if and use that to give value to enum constant.
11931 (FP_INFINITE): Likewise.
11932 (FP_ZERO): Likewise.
11933 (FP_SUBNORMAL): Likewise.
11934 (FP_NORMAL): Likewise.
11935
b5dcacb4
AS
119362012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11937
11938 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11939 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11940 arguments.
11941
f7934be8
RM
119422012-11-02 Roland McGrath <roland@hack.frob.com>
11943
11944 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11945 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11946 autoconf-time if not.
11947 * configure.in: Remove AC_PREREQ.
11948
d7d08bde
TMQMF
119492012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11950
11951 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11952 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11953 of the internal implementation.
11954
dcdae19a
JM
119552012-11-02 Joseph Myers <joseph@codesourcery.com>
11956
11957 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11958 except include of <misc/sys/syslog.h>.
11959
d6cffd3e
AS
119602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11961
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11963 function returns with a NULL context exit with zero.
11964
b3563932
TMQMF
119652012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11966
11967 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11968
b288a93d
L
119692012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11972 (run_program_cmd): This.
11973 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11974 (tst_langinfo): New variable. Use it.
11975
a2421a68
SAS
119762012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11977
11978 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11979 floating point opcodes.
11980
6f796e1b
TS
119812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11982
7402596b
TS
11983 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11984 variable.
11985
d0d4f868
TS
11986 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11987
6f796e1b
TS
11988 * sysdeps/mach/hurd/powerpc: Remove directory.
11989 * sysdeps/mach/powerpc: Likewise.
11990
4da224a2
AS
119912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11992
11993 * scripts/check-local-headers.sh: Ignore c++ headers.
11994
341dd673
TS
119952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11996
11997 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11998 __libc_cleanup_region_start argument.
11999
473611b2
JM
120002012-11-01 Joseph Myers <joseph@codesourcery.com>
12001
12002 [BZ #14784]
12003 [BZ #14785]
12004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12005 x * y using scaling, not as x * y + z.
12006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12008 * math/libm-test.inc (fma_test): Add more tests.
12009 (fma_test_towardzero): Likewise.
12010 (fma_test_downward): Likewise.
12011 (fma_test_upward): Likewise.
12012
4078da3d
TS
120132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12014
12015 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12016
903252aa
JM
120172012-10-31 Joseph Myers <joseph@codesourcery.com>
12018
12019 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12020 New variable.
12021
cbc818d0
TS
120222012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12023
12024 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12025
5a03cb1e
AS
120262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12027
12028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12029 Fix sort order.
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12031 Likewise.
12032
90aff2ff
TMQMF
120332012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12034
12035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12036 Fix the order of the list for glibc 2.17.
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12038 Likewise.
12039
1818fcb7
AS
120402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12041
12042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12043
ef82f4da
JM
120442012-10-31 Joseph Myers <joseph@codesourcery.com>
12045
16a0e2ec
JM
12046 [BZ #14610]
12047 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12048 for low part of x being zero before using __atanl (y).
12049 * math/libm-test.inc (atan2_test): Add another test.
12050
0eb69512
JM
12051 * manual/install.texi (Configuring and compiling): Document
12052 general use of test-wrapper and test-wrapper-env.
12053 * INSTALL: Regenerated.
12054
ef82f4da
JM
12055 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12056 (__fma): Do not extract and scale down low bits on after-rounding
12057 systems when result rounded to normal precision would have normal
12058 exponent.
12059 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12060 (__fmal): Do not extract and scale down low bits on after-rounding
12061 systems when result rounded to normal precision would have normal
12062 exponent.
12063 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12064 (__fmal): Do not extract and scale down low bits on after-rounding
12065 systems when result rounded to normal precision would have normal
12066 exponent.
12067 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12068 macro.
12069 (fma_test): Add more tests.
12070 (fma_test_towardzero): Likewise.
12071 (fma_test_downward): Likewise.
12072 (fma_test_upward): Likewise.
12073
954ef0d9
L
120742012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12075
12076 * sysdeps/i386/tininess.h: Renamed to ...
12077 * sysdeps/x86/tininess.h: This.
12078 * sysdeps/x86_64/tininess.h: Removed.
12079
df61ffb2
JM
120802012-10-30 Joseph Myers <joseph@codesourcery.com>
12081
12082 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12083 input. Use $(build-program-cmd).
12084 ($(objpfx)tst-array1-static.out): Likewise.
12085 ($(objpfx)tst-array2.out): Likewise.
12086 ($(objpfx)tst-array3.out): Likewise.
12087 ($(objpfx)tst-array4.out): Likewise.
12088 ($(objpfx)tst-array5.out): Likewise.
12089 ($(objpfx)tst-array5-static.out): Likewise.
12090
01767843
CM
120912012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12092
47cc1490
CM
12093 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12094 if defined.
12095
01767843
CM
12096 * nss/nsswitch.h (nss_interface_function): Provide new
12097 macro for use with NSS functions.
12098 * grp/initgroups.c: Use new macro.
12099 * nss/getXXbyYY.c: Likewise.
12100 * nss/getXXbyYY_r.c: Likewise.
12101 * nss/getXXent.c: Likewise.
12102 * nss/getXXent_r.c: Likewise.
12103 * sysdeps/posix/getaddrinfo.c: Likewise.
12104
8321aa97
AJ
121052012-10-30 Andreas Jaeger <aj@suse.de>
12106
12107 * po/ru.po: Update Russion translation from translation project.
12108
2a27fd6d
JM
121092012-10-30 Joseph Myers <joseph@codesourcery.com>
12110
8627a232
JM
12111 [BZ #14152]
12112 [BZ #14783]
12113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12114 result and shift together with sticky bit instead of replicating
12115 round-to-nearest rounding.
12116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12118 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12119 missing underflow exceptions.
12120 (fma_test_towardzero): Add more tests.
12121 (fma_test_downward): Likewise.
12122 (fma_test_upward): Likewise.
12123
2a27fd6d
JM
12124 [BZ #14047]
12125 * sysdeps/generic/tininess.h: New file.
12126 * sysdeps/i386/tininess.h: Likewise.
12127 * sysdeps/sh/tininess.h: Likewise.
12128 * sysdeps/x86_64/tininess.h: Likewise.
12129 * stdlib/tst-strtod-underflow.c: Likewise.
12130 * stdlib/tst-tininess.c: Likewise.
12131 * stdlib/strtod_l.c: Include <tininess.h>.
12132 (round_and_return): Do not set errno for exact underflow cases.
12133 Force an underflow exception when setting errno for underflow.
12134 Determine underflow based on rounding to normal precision if
12135 TININESS_AFTER_ROUNDING.
12136 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12137 ERANGE for exact underflow cases.
12138 * stdlib/Makefile (tests): Add tst-tininess and
12139 tst-strtod-underflow.
12140 ($(objpfx)tst-tininess): Use $(link-libm).
12141 ($(objpfx)tst-strtod-underflow): Likewise.
12142
e7170363
AJ
121432012-10-30 Andreas Jaeger <aj@suse.de>
12144
e5088dc6
AJ
12145 [BZ#14767]
12146 * elf/Makefile (tests): Remove conditional for have-initfini-array
12147 since this is now always required and the variable does not exist
12148 anymore.
12149 (tests-static): Likewise.
12150 (modules-names): Likewise.
12151
e7170363 12152 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12153
12154 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12155 merged with constructor/destructor.
12156 (init_array): Likewise.
12157 * elf/tst-array2dep.c (fini_array): Likewise.
12158 (init_array): Likewise.
12159
60457d8a
MF
121602012-10-29 Mike Frysinger <vapier@gentoo.org>
12161
12162 * manual/message.texi: Delete @cartouche tags.
12163
8bece752
PT
121642012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12165
94ce799f
PT
12166 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12167 EOPNOTSUPP.
12168 * sysdeps/mach/hurd/fsync.c: Likewise.
12169
8bece752
PT
12170 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12171 [_POSIX_REALTIME_SIGNALS]: Change condition to
12172 [_POSIX_REALTIME_SIGNALS > 0].
12173
86ebe6b1
AJ
121742012-10-27 Andreas Jaeger <aj@suse.de>
12175
12176 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12177 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12179 [__WORDSIZE != 64]: Likewise.
12180
54399c08
L
121812012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12182
12183 * iconvdata/tst-table.sh: Remove ${SHELL}.
12184 * iconvdata/tst-tables.sh: Likewise.
12185
e2211bed
DM
121862012-10-25 David S. Miller <davem@davemloft.net>
12187
12188 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12189 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12190 of strtoull.
12191
f303f97c
DM
12192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12193 ifunc-impl-list.c
12194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12195 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12196 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12197 file.
12198
1e9d84cd
RM
121992012-10-25 Roland McGrath <roland@hack.frob.com>
12200
12201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12202 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12203 __getdirentries.
12204
df381762
JM
122052012-10-25 Joseph Myers <joseph@codesourcery.com>
12206 Jim Blandy <jimb@codesourcery.com>
12207
12208 * scripts/cross-test-ssh.sh: New file.
12209 * manual/install.texi (Configuring and compiling): Document use of
12210 cross-test-ssh.sh.
12211 * INSTALL: Regenerated.
12212
bff64913
PT
122132012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12214
12215 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12216 EOPNOTSUPP.
12217
25fe8932
JM
122182012-10-25 Joseph Myers <joseph@codesourcery.com>
12219
12220 * Makeconfig (run-program-prefix): Fix comment.
12221
cc1290d0
JM
122222012-10-24 Joseph Myers <joseph@codesourcery.com>
12223 Jim Blandy <jimb@codesourcery.com>
12224
12225 * Makeconfig (test-wrapper): New variable,
12226 (test-wrapper-env): Likewise.
12227 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12228 (run-built-tests): Define to yes.
12229 (run-program-prefix): Use $(test-wrapper).
12230 (built-program-cmd): Likewise.
12231 * Rules (make-test-out): Use $(test-wrapper-env) and
12232 $(host-built-program-cmd).
12233 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12234 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12235 tst-pathopt.sh.
12236 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12237 $(test-wrapper-env) to tst-rtld-load-self.sh.
12238 ($(objpfx)order2.out): Use $(test-wrapper).
12239 ($(objpfx)tst-initorder.out): Likewise.
12240 ($(objpfx)tst-initorder2.out): Likewise.
12241 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12242 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12243 (test_wrapper_env): New variable. Use it to run ld.so.
12244 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12245 Use it to run ld.so.
12246 (test_wrapper_env): Likewise.
12247 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12248 $(test-wrapper) to run-iconv-test.sh.
12249 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12250 (ICONV): Use $test_wrapper.
12251 * posix/Makefile ($(objpfx)globtest.out): Pass
12252 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12253 globtest.sh, not $(run-program-prefix).
12254 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12255 (test_wrapper): Likewise.
12256 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12257 set together with run_via_rtld_prefix.
12258 (run_program_prefix): Define in terms of test_wrapper and
12259 run_via_rtld_prefix.
12260
6e6249d0
RM
122612012-10-24 Roland McGrath <roland@hack.frob.com>
12262
12263 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12264 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12265 Targets removed.
12266
12267 [BZ #14743]
12268 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12269 Declare __clock_getres, __clock_gettime, __clock_settime,
12270 __clock_nanosleep, and __clock_getcpuclockid.
12271 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12272 Remove librt_hidden_def (clock_gettime).
12273 * sysdeps/unix/clock_gettime.c: Likewise.
12274 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12275 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12276 * rt/clock_getres.c: Define __clock_getres as an alias.
12277 * sysdeps/posix/clock_getres.c: Likewise.
12278 * rt/clock_settime.c: Define __clock_settime as an alias.
12279 * sysdeps/unix/clock_settime.c: Likewise.
12280 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12281 * sysdeps/unix/clock_nanosleep.c: Likewise.
12282 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12283 * rt/clock-compat.c: New file.
12284 * rt/Makefile (librt-routines): Add clock-compat and move
12285 $(clock-routines) to ...
12286 (routines): ... here, new variable.
12287 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12288 Don't add get_clockfreq here.
12289 * rt/Versions (libc: GLIBC_2.17): New version set.
12290 Add clock_* symbols here.
12291 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12293 (GLIBC_2.17): Add clock_* symbols.
12294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12298 Likewise.
12299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12300 Likewise.
12301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12305 * NEWS: Mention the move.
12306
12307 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12308 Use __open, __read, __close rather than their public counterparts.
12309 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12310 (__get_clockfreq_via_cpuinfo): Likewise.
12311 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12312 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12313
12314 * config.h.in (HAVE_IFUNC): New #undef.
12315 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12316 was successful.
12317 * configure: Regenerated.
12318
0cae3f4b
MF
123192012-10-24 Mike Frysinger <vapier@gentoo.org>
12320
12321 * configure.in: Move READELF check to start of file.
12322 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12323 libc_cv_asm_gnu_indirect_function in the process.
12324 * configure: Regenerated.
12325
8175a253
MF
123262012-10-24 Mike Frysinger <vapier@gentoo.org>
12327
12328 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12329 send the output to /dev/null.
12330 (libc_cv_cc_with_libunwind): Likewise.
12331 (libc_cv_as_noexecstack): Likewise.
12332 * configure: Regenerate.
12333
0708a7d1
JM
123342012-10-24 Joseph Myers <joseph@codesourcery.com>
12335
10b40d85
JM
12336 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12337
0708a7d1
JM
12338 * posix/globtest.sh (TMPDIR): Do not set.
12339 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12340 (testout): Likewise.
12341
9fddec1a
AJ
123422012-10-24 Andreas Jaeger <aj@suse.de>
12343
3a8db22f
AJ
12344 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12345 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12346 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12347 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12348 posix_fadvise64, posix_fallocate64.
12349
9fddec1a
AJ
12350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12351 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12352 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12353 Likewise.
12354 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12355 Likewise.
12356 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12357
12358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12359 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12360 <bits/fcntl-linux.h>.
12361 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12362
12363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12364 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12365 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12366 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12367 [__WORDSIZE != 64]: Likewise.
12368
ebfd1bbd
JM
123692012-10-23 Joseph Myers <joseph@codesourcery.com>
12370
03ac099f
JM
12371 * Makeconfig (run-built-tests): New variable.
12372 * Rules [$(cross-compiling) = yes]: Change condition to
12373 [$(run-built-tests) = no].
12374 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12375 to [$(run-built-tests) = yes].
12376 * elf/Makefile [$(cross-compiling) = no]: Likewise
12377 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12378 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12379 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12380 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12381 * io/Makefile [$(cross-compiling) = no]: Likewise.
12382 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12383 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12384 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12385 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12386 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12387 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12388 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12389 * string/Makefile [$(cross-compiling) = no]: Likewise.
12390
ebfd1bbd
JM
12391 * posix/Makefile ($(objpfx)globtest.out): Pass
12392 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12393 $(rtld-installed-name).
12394 * posix/globtest.sh (elf_objpfx): Remove variable.
12395 (rtld_installed_name): Likewise.
12396 (library_path): Likewise.
12397 (run_program_prefix): New variable. Use for running globtest
12398 binary.
12399
166bca24
JB
124002012-10-23 Jim Blandy <jimb@codesourcery.com>
12401 Joseph Myers <joseph@codesourcery.com>
12402
12403 * Makeconfig (host-built-program-cmd): New variable.
12404 * elf/Makefile (tst-stackguard1-ARGS): Use
12405 $(host-built-program-cmd).
12406 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12407 (tst-spawn-ARGS): Likewise.
12408 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12409
88866099
JM
124102012-10-23 Joseph Myers <joseph@codesourcery.com>
12411 Jim Blandy <jimb@codesourcery.com>
12412
12413 * Makeconfig (run-via-rtld-prefix): New variable.
12414 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12415 (built-program-cmd): Likewise.
12416
b4b4c296
AJ
124172012-10-22 Andreas Jaeger <aj@suse.de>
12418
12419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12420 __O_RSYNC if it exists, otherwise to O_SYNC.
12421
6fb54a22
JB
124222012-10-22 Jim Blandy <jimb@codesourcery.com>
12423 Joseph Myers <joseph@codesourcery.com>
12424
12425 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12426 /dev/null.
12427 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12428 from /dev/null
12429 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12430 /dev/null.
12431
481b90b9
AJ
124322012-10-22 Andreas Jaeger <aj@suse.de>
12433
2a0e2669
AJ
12434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12435 Define always.
12436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12437
76e38f9a
AJ
12438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12439 bits/fcntl-linux.h.
12440
7cd37b43
AJ
12441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12442 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12443
481b90b9
AJ
12444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12445 to __O_LARGEFILE.
12446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12447 to __O_LARGEFILE.
12448
aba75984
JB
124492012-10-21 Jim Blandy <jimb@codesourcery.com>
12450 Joseph Myers <joseph@codesourcery.com>
12451
12452 * config.make.in (NM): New variable.
12453
88d4247f
AJ
124542012-10-21 Andreas Jaeger <aj@suse.de>
12455
12456 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12457 definitions and declarations that are provided by
12458 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12459
f2eed205
L
124602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12461
12462 [BZ #14683]
12463 * elf/Makefile (tests-static): Add tst-leaks1-static.
12464 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12465 ($(objpfx)tst-leaks1-static): New rule.
12466 ($(objpfx)tst-leaks1-static-mem): Likewise.
12467 (tst-leaks1-static-ENV): New macro.
12468 * elf/dl-open.c (dl_open_worker): Check the main application
12469 only if SHARED is defined.
12470 * elf/tst-leaks1-static.c: New file.
12471
335e6931
AJ
124722012-10-20 Andreas Jaeger <aj@suse.de>
12473
12474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12475 generic values for Linux.
12476 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12477 and declarations that are provided by <bits/fcntl-linux.h> and
12478 include <bits/fcntl-linux.h>.
12479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12481
ac5c94d3
RM
124822012-10-20 Roland McGrath <roland@hack.frob.com>
12483
12484 * io/fcntl.h: Move include of <bits/types.h> to the top and
12485 include it unconditionally.
12486
de54b33a
L
124872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12488
228cfb01
L
12489 * wcsmbs/Makefile (tests-ifunc): New variable.
12490 (tests): Add $(tests-ifunc).
12491 * wcsmbs/test-wcschr-ifunc.c: New file.
12492 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12493 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12494 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12495 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12496 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12497
69f07e5f
L
12498 * string/Makefile (tests-ifunc): New variable.
12499 (tests): Add $(tests-ifunc).
12500 * string/test-memccpy.c (TEST_NAME): New macro.
12501 * string/test-memchr.c (TEST_NAME): Likewise.
12502 * string/test-memcmp.c (TEST_NAME): Likewise.
12503 * string/test-memcpy.c (TEST_NAME): Likewise.
12504 * string/test-memmem.c (TEST_NAME): Likewise.
12505 * string/test-memmove.c (TEST_NAME): Likewise.
12506 * string/test-memset.c (TEST_NAME): Likewise.
12507 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12508 * string/test-stpcpy.c (TEST_NAME): Likewise.
12509 * string/test-stpncpy.c (TEST_NAME): Likewise.
12510 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12511 * string/test-strcasestr.c (TEST_NAME): Likewise.
12512 * string/test-strcat.c (TEST_NAME): Likewise.
12513 * string/test-strchr.c (TEST_NAME): Likewise.
12514 * string/test-strcmp.c(TEST_NAME): Likewise.
12515 * string/test-strcpy.c (TEST_NAME): Likewise.
12516 * string/test-strcspn.c (TEST_NAME): Likewise.
12517 * string/test-strlen.c (TEST_NAME): Likewise.
12518 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12519 * string/test-strncmp.c (TEST_NAME): Likewise.
12520 * string/test-strncpy.c (TEST_NAME): Likewise.
12521 * string/test-strnlen.c (TEST_NAME): Likewise.
12522 * string/test-strpbrk.c (TEST_NAME): Likewise.
12523 * string/test-strrchr.c (TEST_NAME): Likewise.
12524 * string/test-strspn.c (TEST_NAME): Likewise.
12525 * string/test-strstr.c (TEST_NAME): Likewise.
12526 * string/test-bcopy-ifunc.c: New file.
12527 * string/test-bzero-ifunc.c: Likewise.
12528 * string/test-memccpy-ifunc.c: Likewise.
12529 * string/test-memchr-ifunc.c: Likewise.
12530 * string/test-memcmp-ifunc.c: Likewise.
12531 * string/test-memcpy-ifunc.c: Likewise.
12532 * string/test-memmem-ifunc.c: Likewise.
12533 * string/test-memmove-ifunc.c: Likewise.
12534 * string/test-mempcpy-ifunc.c: Likewise.
12535 * string/test-memset-ifunc.c: Likewise.
12536 * string/test-rawmemchr-ifunc.c: Likewise.
12537 * string/test-stpcpy-ifunc.c: Likewise.
12538 * string/test-stpncpy-ifunc.c: Likewise.
12539 * string/test-strcasecmp-ifunc.c: Likewise.
12540 * string/test-strcasestr-ifunc.c: Likewise.
12541 * string/test-strcat-ifunc.c: Likewise.
12542 * string/test-strchr-ifunc.c: Likewise.
12543 * string/test-strchrnul-ifunc.c: Likewise.
12544 * string/test-strcmp-ifunc.c: Likewise.
12545 * string/test-strcpy-ifunc.c: Likewise.
12546 * string/test-strcspn-ifunc.c: Likewise.
12547 * string/test-strlen-ifunc.c: Likewise.
12548 * string/test-strncasecmp-ifunc.c: Likewise.
12549 * string/test-strncat-ifunc.c: Likewise.
12550 * string/test-strncmp-ifunc.c: Likewise.
12551 * string/test-strncpy-ifunc.c: Likewise.
12552 * string/test-strnlen-ifunc.c: Likewise.
12553 * string/test-strpbrk-ifunc.c: Likewise.
12554 * string/test-strrchr-ifunc.c: Likewise.
12555 * string/test-strspn-ifunc.c: Likewise.
12556 * string/test-strstr-ifunc.c: Likewise.
12557
de54b33a
L
12558 * debug/Makefile (tests-ifunc): New variable.
12559 (tests): Add $(tests-ifunc).
12560 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12561 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12562 * debug/test-stpcpy_chk-ifunc.c: New file.
12563 * debug/test-strcpy_chk-ifunc.c: Likewise.
12564
88481c16
SP
125652012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12566
12567 [BZ #13601]
12568 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12569 header is not read in.
12570
135948bd
JM
125712012-10-19 Joseph Myers <joseph@codesourcery.com>
12572
89f1c388
JM
12573 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12574 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12575 directly. Pass built executable to script as
12576 $(built-program-cmd).
12577 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12578 $testprogram without using LD_LIBRARY_PATH and $ldso.
12579
e40a0d21
JM
12580 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12581 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12582 $(rtld-installed-name).
12583 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12584 (rtld_installed_name): Likewise.
12585 (library_path): Likewise.
12586 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12587 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12588 $(run-program-prefix) to tst-tables.sh.
12589 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12590 it to run tst-table-from and tst-table-to.
12591 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12592 Pass it to tst-table.sh.
12593 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12594 $(run-program-prefix) to tst-gettext.sh.
12595 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12596 tst-translit.sh.
12597 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12598 tst-gettext2.sh.
12599 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12600 to run tst-gettext.
12601 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12602 to run tst-gettext2.
12603 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12604 to run tst-translit.
12605 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12606 $(run-program-prefix) to tst-mtrace.sh.
12607 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12608 to run tst-mtrace.
12609 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12610 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12611 $(rtld-installed-name).
12612 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12613 (rtld_installed_name): Likewise.
12614 (run_program_prefix): New variable. Use it to run wordexp-test.
12615
728e272a
JM
12616 * Makeconfig (ARCH): Remove all definitions.
12617 (machine): Likewise.
12618 [ARCH]: Remove conditional code.
12619 [!objdir]: Give error.
12620 [!objdir] (objpfx): Remove.
12621 [!objdir] (common-objpfx): Likewise.
12622 [!objdir] (common-objdir): Likewise.
12623 * configure.in (config_makefile): Remove. Hardcode Makefile in
12624 AC_CONFIG_FILES call.
12625 * configure: Regenerated.
12626
d528cdcf
JM
12627 [BZ #13888]
12628 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12629 or TMPDIR.
12630 (testout): Likewise.
12631
135948bd
JM
12632 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12633 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12634 $(rtld-installed-name).
12635 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12636 (rtld_installed_name): Likwise.
12637 (runit): Remove function.
12638 (run_getconf): New variable, Use it for running getconf binary.
12639
38c78296
L
126402012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12641
12642 [BZ #14716]
12643 * string/test-memmem.c (check_result): New function.
12644 (do_one_test): Use it.
12645 (check1): New function.
12646 (test_main): Use it.
12647
d077f65f
MT
126482012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12649
12650 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12651
ced52c71
JM
126522012-10-18 Joseph Myers <joseph@codesourcery.com>
12653
12654 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12655 (_G_LSEEK64): Likewise.
12656 (_G_MMAP64): Likewise.
12657 (_G_FSTAT64): Likewise.
12658 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12659 (_G_LSEEK64): Likewise.
12660 (_G_MMAP64): Likewise.
12661 (_G_FSTAT64): Likewise.
12662 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12663 unconditional. Call __mmap64 directly.
12664 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12665 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12666 __lseek64 directly.
12667 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12668 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12669 __mmap64 directly.
12670 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12671 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12672 __lseek64 directly.
12673 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12674 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12675 __lseek64 directly.
12676 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12677 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12678 __lseek64 directly.
12679 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12680 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12681 __fxstat64 directly.
12682 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12683 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12684 unconditional.
12685 (freopen64) [!_G_OPEN64]: Remove conditional code.
12686 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12687 unconditional.
12688 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12689 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12690 unconditional.
12691 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12692 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12693 unconditional.
12694 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12695 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12696 unconditional.
12697 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12698 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12699 unconditional.
12700 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12701 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12702 unconditional.
12703 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12704 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12705 unconditional.
12706 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12707
b741de23
SP
127082012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12709
12710 [BZ #12140]
12711 * manual/memory.texi (Malloc Tunable Parameters): Add note
12712 about free list pointers overwriting some perturb bytes.
12713 Wording suggested by Roland McGrath.
12714
f9b9d9c9
JM
127152012-10-17 Joseph Myers <joseph@codesourcery.com>
12716
12717 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12718 (lgamma_test): Likewise.
12719 (tgamma_test): Likewise.
12720
172a631a
FW
127212012-10-16 Florian Weimer <fweimer@redhat.com>
12722
12723 [BZ #14700]
12724 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12725 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12726
e9f37252
MK
127272012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12728
12729 * NEWS: Mention BZ #14716.
12730 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12731 when removing AVAILABLE1_USES_J macro.
12732
d394eb74
L
127332012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12734
12735 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12736 (__bswap_64): __uint64_t for unsigned 64-bit int.
12737
ca38dc17
AS
127382012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12739
12740 * include/string.h (memmem): Declare libc hidden alias.
12741 * string/memmem.c (memmem): Define libc hidden alias.
12742 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12743 __read, __close instead of open, read, close.
12744
9a387d1f
L
127452012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12746
ac49ecaf
L
12747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12748 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12749 global and hidden.
12750 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12751 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12752 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12753 Likewise.
12754 (__rawmemchr_sse2): Likewise.
12755 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12756 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12757 (__strchr_sse2): Likewise.
12758 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12759 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12760 (__strcasecmp_sse2): Likewise.
12761 (__strncasecmp_sse2): Likewise.
12762 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12763 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12764 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12765 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12766 (__strrchr_sse2): Likewise.
12767 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12768 ifunc-impl-list.c.
12769 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12770 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12771 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12772 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12773 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12774 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12775 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12776 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12777 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12778 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12779 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12780 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12781 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12782 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12783 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12784 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12785 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12786 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12787 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12788 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12789 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12790 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12791 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12792 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12793 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12794 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12795 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12796 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12797 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12798 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12799
b090e8ea
L
12800 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12801 global and hidden.
12802 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12803 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12804 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12805 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12806 Likewise.
12807 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12808 Likewise.
12809 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12810 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12811 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12812 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12813 ifunc-impl-list.c.
12814 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12815 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12816 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12817 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12818 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12821 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12822 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12825 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12826 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12827 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12828 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12830 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12831 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12832 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12833 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12834 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12835 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12836 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12837 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12839 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12840 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12841 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12842 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12843 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12848 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12851 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12855
11dd4af6
L
12856 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12857 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12858 * include/ifunc-impl-list.h: New file.
12859 * misc/ifunc-impl-list.c: Likewise.
12860 * misc/Makefile (routines): Add ifunc-impl-list.
12861 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12862 * string/test-string.h: Include <ifunc-impl-list.h>.
12863 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12864 impl_array): New variables.
12865 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12866 are defined.
12867 (test_init): Call __libc_ifunc_impl_list to initialize
12868 func_list if TEST_IFUNC and TEST_NAME are defined.
12869
9a387d1f
L
12870 * string/Makefile (strop-tests): Add bcopy and bzero.
12871 * string/test-bcopy.c: New file.
12872 * string/test-bzero.c: Likewise.
12873 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12874 defined.
12875 * string/test-memset.c: Support bzero test if TEST_BZERO is
12876 defined.
12877 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12878 __libc_memmove.
12879 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12880 __libc_memset.
12881 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12882 of memset.
12883
472371b9
JM
128842012-10-10 Joseph Myers <joseph@codesourcery.com>
12885
1e4a9536
JM
12886 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12887 * configure: Regenerated.
12888
d173d12e
JM
12889 * Makeconfig (+link-static-before-libc): Don't include
12890 $(link-static-libc).
12891
472371b9
JM
12892 * libio/libio.h (_IO_pos_t): Remove.
12893
89a3ad0b
AO
128942012-10-10 Alexandre Oliva <aoliva@redhat.com>
12895
12896 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12897 McGrath.
12898
e7451425
AO
128992012-10-10 Alexandre Oliva <aoliva@redhat.com>
12900
12901 * crypt/crypt-entry.c: Include fips-private.h.
12902 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12903 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12904 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12905 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12906
4ba74a35
AO
129072012-10-10 Alexandre Oliva <aoliva@redhat.com>
12908
12909 * crypt/crypt-private.h: Include stdbool.h.
12910 (_ufc_setup_salt_r): Return bool.
12911 * crypt/crypt-entry.c: Include errno.h.
12912 (__crypt_r): Return NULL with EINVAL for bad salt.
12913 * crypt/crypt_util.c (bad_for_salt): New.
12914 (_ufc_setup_salt_r): Check that salt is long enough and within
12915 the specified alphabet.
12916 * crypt/badsalttest.c: New file.
12917 * crypt/Makefile (tests): Add it.
12918 ($(objpfx)badsalttest): New.
12919
f96f1242
MK
129202012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12921
12922 * NEWS: Add entry for BZ #14602.
12923
0e8e0c1c
JM
129242012-10-09 Joseph Myers <joseph@codesourcery.com>
12925
12926 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12927 type-generic.
12928 * math/libm-test.inc: Update comment listing what functions and
12929 macros are tested.
12930 (isgreater_test): New function.
12931 (isgreaterequal_test): Likewise.
12932 (isless_test): Likewise.
12933 (islessequal_test): Likewise.
12934 (islessgreater_test): Likewise.
12935 (isunordered_test): Likewise.
12936 (main): Call the new functions.
12937
273edc5e
RM
129382012-10-09 Roland McGrath <roland@hack.frob.com>
12939
b8493de0
RM
12940 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12941 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12942 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12943 * sysdeps/i386/configure: Regenerated.
12944 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12945 * sysdeps/mach/configure: Regenerated.
12946 * sysdeps/mach/hurd/configure: Regenerated.
12947 * sysdeps/powerpc/configure: Regenerated.
12948 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12949 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12950 * sysdeps/s390/s390-32/configure: Regenerated.
12951 * sysdeps/s390/s390-64/configure: Regenerated.
12952 * sysdeps/sh/configure: Regenerated.
12953 * sysdeps/sparc/configure: Regenerated.
12954 * sysdeps/unix/sysv/linux/configure: Regenerated.
12955 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12956 * sysdeps/x86_64/configure: Regenerated.
12957
273edc5e
RM
12958 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12959 defined. Don't check if MAP is NULL.
12960
c8450f70
JM
129612012-10-09 Joseph Myers <joseph@codesourcery.com>
12962
12963 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12964 (_G_stat64): Likewise.
12965 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12966 (_G_stat64): Likewise.
12967 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12968 instead of struct _G_stat64.
12969 * libio/fileops.c (mmap_remap_check): Likewise.
12970 (decide_maybe_mmap): Likewise.
12971 (_IO_new_file_seekoff): Likewise.
12972 (_IO_file_stat): Likewise.
12973 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12974 _G_off64_t.
12975 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12976 instead of struct _G_stat64.
12977 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12978
57e605ba
MK
129792012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12980
12981 [BZ #14602]
12982 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12983 Replace with ...
12984 (CHECK_EOL): New macro.
12985 (two_way_short_needle): Check beginning of haystack for EOL. Use
12986 CHECK_EOL.
12987 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12988 Replace with CHECK_EOL.
12989 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12990 Replace with CHECK_EOL.
12991
ef1bb361
JM
129922012-10-08 Joseph Myers <joseph@codesourcery.com>
12993
12994 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12995 type-generic.
12996 * math/libm-test.inc: Update comment listing what functions and
12997 macros are tested.
12998 (finite_test): New function.
12999 (isinf_test): Likewise.
13000 (isnan_test): Likewise.
13001 (fpclassify_test): Test subnormal input.
13002 (isfinite_test): Likewise.
13003 (isnormal_test): Likewise.
13004 (main): Call the new functions.
13005
55f11534
JN
130062012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13007
13008 [BZ #14660]
13009 * Makerules (%.dynsym): Force C locale when running
13010 $(OBJDUMP) --dynamic-syms.
13011
1ab29350
AS
130122012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13013
13014 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13015 <stdint.h>.
13016
f1ecb7ef
DM
130172012-10-06 David S. Miller <davem@davemloft.net>
13018
13019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13020 upper 32-bits of the length value in %o2 since we use branch-on-register
13021 tests which consider the entire 64-bit register.
13022
5d41d91a
L
130232012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13024
13025 * string/test-strstr.c (check2): Add a test for page boundary.
13026
3baddb72
DM
130272012-10-05 David S. Miller <davem@davemloft.net>
13028
13029 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13031 file.
13032 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13033 sysdep_routines.
13034 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13035 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13036 and bzero when HWCAP_SPARC_CRYPTO is present.
13037
9cee5585
L
130382012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13039
d7e0dab9
L
13040 [BZ #14602]
13041 * string/test-strstr.c (check2): New function.
13042 (test_main): Call check2.
13043
03759f47
L
13044 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13045 and bug-strchr1.
13046 * string/bug-strcasestr1.c (do_test): Moved to ...
13047 * string/test-strcasestr.c (check1): Here. New function.
13048 (do_one_test): Break out result checking code into ...
13049 (check_result): This. New function.
13050 (do_one_test): Call check_result.
13051 (test_main): Call check1.
13052 * string/bug-strchr1.c (do_test): Moved to ...
13053 * string/test-strchr.c (check1): Here. New function.
13054 (do_one_test): Break out result checking code into ...
13055 (check_result): This. New function.
13056 (do_one_test): Call check_result.
13057 (test_main): Call check1.
13058 * string/bug-strstr1.c (main): Moved to ...
046f153e 13059 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13060 (do_one_test): Break out result checking code into ...
13061 (check_result): This. New function.
13062 (do_one_test): Call check_result.
13063 (test_main): Call check1.
13064 * string/bug-strcasestr1.c: Removed.
13065 * string/bug-strchr1.c: Likewise.
13066 * string/bug-strstr1.c: Likewise.
13067
53cea63e
L
13068 * elf/Makefile (dl-routines): Add hwcaps.
13069 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13070 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13071 (_dl_important_hwcaps): Moved to ...
13072 * elf/dl-hwcaps.c: Here. New file.
13073 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13074
9cee5585 13075 [BZ #14557]
bb859b06
L
13076 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13077 if IS_IN_rtld isn't defined.
13078
9cee5585
L
13079 * elf/dl-support.c (_dl_sysinfo_map): New.
13080 Include "get-dynamic-info.h" and "setup-vdso.h".
13081 (_dl_non_dynamic_init): Call setup_vdso.
13082 * elf/dynamic-link.h: Don't include <assert.h>.
13083 (elf_get_dynamic_info): Moved to ...
13084 * elf/get-dynamic-info.h: Here. New file.
13085 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13086 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13087 * elf/setup-vdso.h: Here. New file.
13088 * elf/rtld.c: Include "setup-vdso.h".
13089 (dl_main): Call setup_vdso.
13090
23c31b76
JM
130912012-10-05 Joseph Myers <joseph@codesourcery.com>
13092
28234b07
JM
13093 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13094 creal in comment listing functions tested. List finite, isinf,
13095 isnan, isless, islessequal, isgreater, isgreaterequal,
13096 islessgreater, isunordered, lgamma_r and pow10 as functions and
13097 macros not tested. Mention which functions not tested are aliases
13098 for other functions. Fix typo. Note that signs of NaNs are not
13099 tested.
13100
23c31b76
JM
13101 * scripts/config.guess: Update from config.git.
13102 * scripts/config.sub: Likewise.
13103
9043e228
RM
131042012-10-04 Roland McGrath <roland@hack.frob.com>
13105
13106 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13107 * misc/madvise.c (madvise): Renamed to __madvise.
13108 Make madvise a weak alias.
13109 * include/sys/mman.h: Declare __madvise.
13110 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13111 * sysdeps/unix/syscalls.list
13112 (madvise): Make __madvise the strong name, and madvise a weak alias.
13113 * sysdeps/unix/sysv/linux/syscalls.list
13114 (madvise, mmap): Remove redundant entries.
13115 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13116 * malloc/malloc.c (mtrim): Likewise.
13117 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13118
f57f8055
RM
131192012-10-03 Roland McGrath <roland@hack.frob.com>
13120
13121 * sysdeps/mach/hurd/dl-cache.c: File removed.
13122 * config.h.in (USE_LDCONFIG): New #undef.
13123 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13124 * configure: Regenerated.
13125 * elf/Makefile (dl-routines): Add dl-cache only under
13126 [$(use-ldconfig) = yes].
13127 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13128 cache on [USE_LDCONFIG].
13129 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13130 [USE_LDCONFIG].
13131 * elf/rtld.c (dl_main): Likewise.
13132
5bb0c10a
PT
131332012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13134
13135 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13136 _SC_LEVEL4_CACHE_LINESIZE.
13137
010188c6
RM
131382012-10-03 Roland McGrath <roland@hack.frob.com>
13139
13140 * sysdeps/unix/bsd/confstr.h: File removed.
13141
b6c5ec07
AO
131422012-10-02 Alexandre Oliva <aoliva@redhat.com>
13143
13144 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13145 sys/sdt-config.h.
13146
408223d4
RM
131472012-10-02 Roland McGrath <roland@hack.frob.com>
13148
13149 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13150 Make 'mapoff' field ElfW(Off) rather than off_t.
13151
bb9510dc
DL
131522012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13153
fc997c6e
DL
13154 * nscd/Makefile: Remove nscd-cflags and all its users.
13155 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13156 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13157
bb9510dc
DL
13158 [BZ #10631]
13159 * malloc.c (malloc_printerr): Clarify error message.
13160
05699367
L
131612012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13162
13163 [BZ #14648]
13164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13165 Set bit_FMA_Usable if FMA is supported.
13166 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13167 macro.
13168 (bit_FMA4_Usable): Updated.
13169 (index_FMA_Usable): New macro.
13170 (CPUID_FMA): Likewise
13171 (HAS_FMA): Defined with bit_FMA_Usable.
13172
51367701
RM
131732012-10-01 Roland McGrath <roland@hack.frob.com>
13174
13175 * bits/types.h (__swblk_t): Type removed.
13176 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13177 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13179 (__SWBLK_T_TYPE): Likewise.
13180 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13181 (__SWBLK_T_TYPE): Likewise.
13182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13183 (__SWBLK_T_TYPE): Likewise.
13184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13185 (__SWBLK_T_TYPE): Likewise.
13186
4d57bf63 131872012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13188 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13189
13190 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13191 (xdr_mapname): Use YPMAXMAP as maxsize.
13192 (xdr_peername): Use YPMAXPEER as maxsize.
13193 (xdr_keydat): Use YPAXRECORD as maxsize.
13194 (xdr_valdat): Use YPMAXRECORD as maxsize.
13195
93c65d43
RM
131962012-10-01 Roland McGrath <roland@hack.frob.com>
13197
497a03d6
RM
13198 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13199
93c65d43
RM
13200 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13201 * csu/init-first.c: ... here.
13202 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13203 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13205 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13206 * sysdeps/i386/init-first.c: File removed.
13207 * sysdeps/sh/init-first.c: File removed.
13208
bec749fd
JM
132092012-10-01 Joseph Myers <joseph@codesourcery.com>
13210
13211 [BZ #14645]
13212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13213 if x * y might underflow to zero and z is zero.
13214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13216 * math/libm-test.inc (min_subnorm_value): New variable.
13217 (fma_test): Add more tests.
13218 (fma_test_towardzero): Likewise.
13219 (fma_test_downward): Likewise
13220 (fma_test_upward): Likewise.
13221 (initialize): Set min_subnorm_value.
13222
8ec5b013
JM
132232012-09-29 Joseph Myers <joseph@codesourcery.com>
13224
13225 [BZ #14638]
13226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13227 0 + 0.
13228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13229 mode for addition resulting in exact zero.
13230 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13232 exact 0 + 0.
13233 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13234 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13235 * math/libm-test.inc (fma_test): Add more tests.
13236 (fma_test_towardzero): New function.
13237 (fma_test_downward): Likewise.
13238 (fma_test_upward): Likewise.
13239 (main): Call the new functions.
13240
b1fa802e
DM
132412012-09-28 David S. Miller <davem@davemloft.net>
13242
13243 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13244
d3b9fd9e
RM
132452012-09-28 Roland McGrath <roland@hack.frob.com>
13246
ea4d37b3
RM
13247 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13248 instead of SIGALRM.
13249
ac51c949
RM
13250 * sysdeps/gnu/_G_config.h: Moved to ...
13251 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13252 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13253 * sysdeps/generic/_G_config.h: ... here.
13254
28c195f7
RM
13255 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13256
848917f9
RM
13257 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13258
6bacf05b
RM
13259 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13260 Conditionalize target on [libnss_test1.so-version].
13261
91363dbb
RM
13262 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13263
cc87f7d8
RM
13264 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13265 (elfobjdir): Move out of conditionals.
13266
b1c608fe
RM
13267 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13268 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13269 (__nss_lookup_function): Conditionalize label remove_from_tree on
13270 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13271
1d9a6d96
DM
132722012-09-28 David S. Miller <davem@davemloft.net>
13273
13274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13275 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13276 file.
13277 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13278 sysdep_routines.
13279 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13281 when HWCAP_SPARC_CRYPTO is present.
13282
72581615
PT
132832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13284
13285 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13286
715a900c
JL
132872012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13288
13289 [BZ #6530]
13290 * stdio-common/vfprintf.c (process_string_arg): Revert
13291 2000-07-22 change.
13292
132932011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13294
13295 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13296 for testcase.
13297 * stdio-common/tst-sprintf.c: Include <locale.h>
13298 (main): Test sprintf's handling of incomplete multibyte
13299 characters.
13300
9bac1d86
L
133012012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * elf/dl-runtime.c (VERSYMIDX): Removed.
13304 * elf/dl-version.c (VERSYMIDX): Likewise.
13305 * elf/do-rel.h (VERSYMIDX): Likewise.
13306 (VALIDX): Likewise.
13307 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13308 * elf/rtld.c (VALIDX): Likewise.
13309 (ADDRIDX): Likewise.
9bac1d86
L
13310 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13311 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13312 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13313 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13314 (VALIDX): Likewise.
13315 (ADDRIDX): Likewise.
9bac1d86 13316
b31606c0
PT
133172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13318
13319 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13320
11541177
JL
133212012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13322
13323 [BZ #11438]
13324 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13325 to global scope.
13326 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13327 addresses are in the same scope as 192.0.2/24.
13328 * posix/gai.conf: Document new scope table defaults.
13329
adb26fae
SP
133302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13331
13332 [BZ #5298]
13333 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13334 for ftell. Compute offsets from write pointers instead.
13335 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13336
4573c6b0
SP
133372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13338
13339 [BZ #14543]
13340 * libio/Makefile (tests): New test case tst-fseek.
13341 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13342 combination works in wide mode.
13343 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13344 state when the external buffer state changes.
13345
aa9bbfe6
DM
133462012-09-27 David S. Miller <davem@davemloft.net>
13347
13348 [BZ #14376]
13349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13350 pass reloc->r_addend in as the 'high' argument to
13351 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13352
784421e7
DM
13353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13354
c39bc8b8
PT
133552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13356
13357 * rt/tst-aio2.c: Include <pthread.h>.
13358 * rt/tst-aio3.c: Likewise.
13359
1ccc2399
SE
133602012-09-27 Steve Ellcey <sellcey@mips.com>
13361
13362 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13363
31ed4153
L
133642012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13365
25f5f885
L
13366 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13367 contents on [SHARED].
31ed4153 13368
b7bfe116
MP
133692012-09-26 Marek Polacek <polacek@redhat.com>
13370
13371 [BZ #14530]
13372 [BZ #13741]
13373 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13374 for C++ and GCC <4.3 as well as for non GCC compilers.
13375
43c4edba
MT
133762012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13377
13378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13379
6a1bf82f
RM
133802012-09-25 Roland McGrath <roland@hack.frob.com>
13381
13382 * Makefile.in (all, install): Declare with .PHONY.
13383 Reported by Michael Hope <michael.hope@linaro.org>.
13384
8ad11b9a
TMQMF
133852012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13386
13387 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13388 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13389 system header.
13390 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13391 Likewise.
13392 (sydep_routines): Add the new and the internal functions.
13393 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13394 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13396 (GLIBC_2.17): Add the new function.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13398 (GLIBC_2.17): Likewise.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13400 (GLIBC_2.17): Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13402 (GLIBC_2.17): Likewise.
13403 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13404
7e2fca8d
AM
134052012-09-25 Alan Modra <amodra@gmail.com>
13406
13407 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13408 Add release barrier before setting once_control to say
13409 initialisation is done. Add hints on lwarx. Use macro in
13410 place of isync.
13411 (clear_once_control): Add release barrier.
13412
b87c4b24
JM
134132012-09-25 Joseph Myers <joseph@codesourcery.com>
13414
d032e0d2
JM
13415 [BZ #13629]
13416 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13417 specially.
13418 * math/s_clog10.c (__clog10): Likewise.
13419 * math/s_clog10f.c (__clog10f): Likewise.
13420 * math/s_clog10l.c (__clog10l): Likewise.
13421 * math/s_clogf.c (__clogf): Likewise.
13422 * math/s_clogl.c (__clogl): Likewise.
13423 * math/Makefile (libm-calls): Add x2y2m1.
13424 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13425 (__x2y2m1): Likewise.
13426 (__x2y2m1l): Likewise.
13427 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13428 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13431 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13432 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13433 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13434 * sysdeps/i386/fpu/libm-test-ulps: Update.
13435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13436
b87c4b24
JM
13437 [BZ #14621]
13438 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13439 int as type of variable DEPTH.
13440 (glob): Use size_t instead of int as type of variables NEWCOUNT
13441 and OLD_PATHC.
13442
6d3bf199
LD
134432012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13444
22bf5c17
LD
13445 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13446 Add s_sincosf-sse2.
13447 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13448 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13449 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13450 macros for using routine as __sincosf_ia32.
13451 Use macro for function declaration and weak_alias.
13452 * sysdeps/i386/fpu/libm-test-ulps: Update.
13453
13454 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13456
13457 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13458 subnormal argument.
13459 * math/s_cexpf.c (__cexpf): Likewise.
13460 * math/s_csinf.c (__csinf): Likewise.
13461 * math/s_csinhf.c (__csinhf): Likewise.
13462 * math/s_ctanf.c (__ctanf): Likewise.
13463 * math/s_ctanhf.c (__ctanhf): Likewise.
13464 * math/s_ccosh.c (__ccoshf): Likewise.
13465 * math/s_cexp.c (__cexpl): Likewise.
13466 * math/s_csin.c (__csin): Likewise.
13467 * math/s_csinh.c (__csinh): Likewise.
13468 * math/s_ctan.c (__ctan): Likewise.
13469 * math/s_ctanh.c (ctanh): Likewise.
13470 * math/s_ccoshl.c (__ccoshl): Likewise.
13471 * math/s_cexpl.c (__cexpl): Likewise.
13472 * math/s_csinl.c (__csinl): Likewise.
13473 * math/s_csinhl.c (__csinhl): Likewise.
13474 * math/s_ctanl.c (__ctanl): Likewise.
13475 * math/s_ctanhl.c (__ctanhl): Likewise.
13476
203e5603
JM
134772012-09-25 Joseph Myers <joseph@codesourcery.com>
13478
13479 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13480 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13481 (_IO_off_t): Define to __off_t, not _G_off_t.
13482 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13483 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13484 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13485 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13486 type of __dummy and __dummy2 fields.
13487 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13488 (_G_ssize_t): Likewise.
13489 (_G_off_t): Likewise.
13490 (_G_pid_t): Likewise.
13491 (_G_uid_t): Likewise.
13492 (_G_wchar_t): Likewise.
13493 (_G_wint_t): Likewise.
13494 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13495 (_G_ssize_t): Likewise.
13496 (_G_off_t): Likewise.
13497 (_G_pid_t): Likewise.
13498 (_G_uid_t): Likewise.
13499 (_G_wchar_t): Likewise.
13500 (_G_wint_t): Likewise.
13501 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13502 (_G_ssize_t): Likewise.
13503 (_G_off_t): Likewise.
13504 (_G_pid_t): Likewise.
13505 (_G_uid_t): Likewise.
13506 (_G_wchar_t): Likewise.
13507 (_G_wint_t): Likewise.
13508
9fab36eb
SP
135092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13510
13511 * malloc/arena.c: Include malloc-sysdep.h.
13512 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13513 is sufficient to shrink the heap or an unmap is needed.
13514 * sysdeps/generic/malloc-sysdep.h: New file. Define
13515 new function check_may_shrink_heap.
13516 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13517 new function check_may_shrink_heap.
13518
2b4f00d1
SP
135192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13520
13521 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13522 comments.
13523
9a9028b1
DL
135242012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13525
57c69bef
DL
13526 * catgets/test-gencat.sh: Add "set -e".
13527 * elf/tst-pathopt.sh: Likewise.
13528 * grp/tst_fgetgrent.sh: Likewise.
13529 * iconvdata/run-iconv-test.sh: Likewise.
13530 * intl/tst-gettext.sh: Likewise.
13531 * intl/tst-gettext2.sh: Likewise.
13532 * intl/tst-gettext4.sh: Likewise.
13533 * intl/tst-gettext6.sh: Likewise.
13534 * intl/tst-translit.sh: Likewise.
13535 * io/ftwtest-sh: Likewise.
13536 * libio/test-freopen.sh: Likewise.
13537 * malloc/tst-mtrace.sh: Likewise.
13538 * posix/globtest.sh: Likewise.
13539 * posix/tst-getconf.sh: Likewise.
13540 * posix/wordexp-tst.sh: Likewise.
13541 * stdio-common/tst-printf.sh: Likewise.
13542 * stdio-common/tst-unbputc.sh: Likewise.
13543 * stdlib/tst-fmtmsg.sh: Likewise.
13544 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13545 * catgets/Makefile: Do not specify -e option when running
13546 testsuite shell scripts.
13547 * elf/Makefile: Likewise.
13548 * grp/Makefile: Likewise.
13549 * iconvdata/Makefile: Likewise.
13550 * intl/Makefile: Likewise.
13551 * io/Makefile: Likewise.
13552 * libio/Makefile: Likewise.
13553 * malloc/Makefile: Likewise.
13554 * posix/Makefile: Likewise.
13555 * stdio-common/Makefile: Likewise.
13556 * stdlib/Makefile: Likewise.
13557 * sysdeps/x86_64/Makefile: Likewise.
13558
9a9028b1
DL
13559 * io/ftwtest-sh: Add copyright header.
13560 * posix/globtest.sh: Likewise.
13561 * posix/tst-getconf.sh: Likewise.
13562 * posix/wordexp-tst.sh: Likewise.
13563 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13564
ced6f16e
L
135652012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13566
94b32c39
L
13567 [BZ #13679]
13568 * Makeconfig (+link): Defined as $(+link-static) if
13569 $(build-shared) isn't yes.
13570 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13571 isn't yes.
13572 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13573
189e935b
L
13574 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13575
ced6f16e
L
13576 [BZ #14562]
13577 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13578 new chunk size with MALLOC_ALIGN_MASK.
13579
a9f8e53a
JM
135802012-09-24 Joseph Myers <joseph@codesourcery.com>
13581
13582 [BZ #5044]
13583 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13584 <rounding-mode.h>.
13585 (__printf_fphex): Determine rounding using get_rounding_mode and
13586 round_away.
13587 * stdio-common/tst-printf-round.c (struct hex_test): New
13588 structure.
13589 (hex_tests): New variable.
13590 (test_hex_in_one_mode): New function.
13591 (do_test): Also run tests for hex float output.
13592
43153109
JM
135932012-09-21 Joseph Myers <joseph@codesourcery.com>
13594
13595 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13596 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13597 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13598 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13599 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13600 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13601 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13602 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13603
8a26625d
JM
136042012-09-20 Joseph Myers <joseph@codesourcery.com>
13605
13606 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13607 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13608 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13609 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13610
f3fd569c
DL
136112012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13612
13613 [BZ #14579]
13614 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13615 mode only.
13616 * elf/tst-rtld-load-self.sh: New test.
13617 * elf/Makefile: Run it.
13618
63bbedd4
JM
136192012-09-18 Joseph Myers <joseph@codesourcery.com>
13620
13621 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13622 (tst-writev-ENV): Remove.
13623 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13624
626f8b6a
CM
136252012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13626
13627 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13628
b7aaa4d6
JM
136292012-09-17 Joseph Myers <joseph@codesourcery.com>
13630
13631 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13632 unconditional.
13633 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13634 Likewise.
13635 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13636 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13637 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13638 Likewise.
13639
65513990
L
136402012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13641
13642 [BZ #14587]
13643 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13644 * config.make.in (have-cpp-asm-debuginfo): Removed.
13645 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13646 * configure: Regenerated.
13647
784761be
JM
136482012-09-14 Joseph Myers <joseph@codesourcery.com>
13649
13650 [BZ #5044]
13651 * stdio-common/printf_fp.c: Include <stdbool.h> and
13652 <rounding-mode.h>.
13653 (___printf_fp): Determine rounding using get_rounding_mode and
13654 round_away.
13655 * stdio-common/tst-printf-round.c: New file.
13656 * stdio-common/Makefile (tests): Add tst-printf-round.
13657 (link-libm): New variable.
13658 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13659
9503345f
L
136602012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13661
13662 [BZ #14576]
13663 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13664 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13665 Likewise.
13666 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13667 Likewise.
13668
ad35fc00
JM
136692012-09-13 Joseph Myers <joseph@codesourcery.com>
13670
13671 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13672 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13673 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13674 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13675
6c9b0f68
JM
136762012-09-12 Joseph Myers <joseph@codesourcery.com>
13677
13678 [BZ #14518]
13679 * include/rounding-mode.h: New file.
13680 * sysdeps/generic/get-rounding-mode.h: Likewise.
13681 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13682 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13683 (MAX_VALUE): New macro.
13684 (MIN_VALUE): Likewise.
13685 (overflow_value): New function.
13686 (underflow_value): Likewise.
13687 (round_and_return): Use overflow_value and underflow_value to
13688 determine return values in overflow and underflow cases. Use
13689 round_away to determine rounding depending on rounding mode.
13690 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13691 determine return values in overflow and underflow cases.
13692 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13693 (struct test_results): New structure.
13694 (struct test): Use struct test_results to store expected results
13695 for all rounding modes.
13696 (TEST): Include expected results for all rounding modes.
13697 (test_in_one_mode): New function.
13698 (do_test): Use test_in_one_mode to compute and check results.
13699 Check results for all rounding modes.
13700 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13701 $(link-libm).
13702
19fcedd5
AM
137032012-12-09 Allan McRae <allan@archlinux.org>
13704
1e9d84cd 13705 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13706
8bbfd2f1
JM
137072012-09-11 Joseph Myers <joseph@codesourcery.com>
13708
13709 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13710 (_G_int32_t): Likewise.
13711 (_G_uint16_t): Likewise.
13712 (_G_uint32_t): Likewise.
13713 (_G_HAVE_BOOL): Likewise.
13714 (_G_HAVE_ATEXIT): Likewise.
13715 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13716 (_G_HAVE_IO_FILE_OPEN): Likewise.
13717 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13718 (_G_int32_t): Likewise.
13719 (_G_uint16_t): Likewise.
13720 (_G_uint32_t): Likewise.
13721 (_G_HAVE_BOOL): Likewise.
13722 (_G_HAVE_ATEXIT): Likewise.
13723 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13724 (_G_HAVE_IO_FILE_OPEN): Likewise.
13725 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13726 (_G_int32_t): Likewise.
13727 (_G_uint16_t): Likewise.
13728 (_G_uint32_t): Likewise.
13729 (_G_HAVE_BOOL): Likewise.
13730 (_G_HAVE_ATEXIT): Likewise.
13731 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13732 (_G_HAVE_IO_FILE_OPEN): Likewise.
13733
b1dc5912
L
137342012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13735
13736 * csu/libc-tls.c: Update copyright years.
13737
0e886ef9
JM
137382012-09-10 Joseph Myers <joseph@codesourcery.com>
13739
28361c5e
JM
13740 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13741 [!_G_USING_THUNKS]: Remove conditional code.
13742 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13743 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13744
0e886ef9
JM
13745 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13746 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13747 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13748 (_G_VTABLE_LABEL_PREFIX): Likewise.
13749 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13750 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13751 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13752 (_G_VTABLE_LABEL_PREFIX): Likewise.
13753 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13754 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13755 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13756 (_G_VTABLE_LABEL_PREFIX): Likewise.
13757 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13758
bcba7aa2
L
137592012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13760
13761 * libio/Makefile: Include ../Makeconfig before tests.
13762 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13763 only if $(build-shared) is yes.
13764
06585ee8
L
13765 * iconv/gconv_db.c: Update copyright years.
13766
80ccd52c
LD
137672012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13768
13769 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13770 unwind info if defined PIC. Fix special cases description.
13771 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13772
13773 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13774 DP_HI_MASK entry.
13775 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13776
691bc9c1
L
137772012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13778
3d9b46b3
L
13779 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13780
de2139a9
L
13781 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13782 is NULL.
13783
5ca78dd0
L
13784 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13785 (LDLIBS-tst-chk4): This.
13786 (LDFLAGS-tst-chk5): Renamed to ...
13787 (LDLIBS-tst-chk5): This.
13788 (LDFLAGS-tst-chk6): Renamed to ...
13789 (LDLIBS-tst-chk6): This.
13790 (LDFLAGS-tst-lfschk4): Renamed to ...
13791 (LDLIBS-tst-lfschk4): This.
13792 (LDFLAGS-tst-lfschk5): Renamed to ...
13793 (LDLIBS-tst-lfschk5): This.
13794 (LDFLAGS-tst-lfschk6): Renamed to ...
13795 (LDLIBS-tst-lfschk6): This.
13796
691bc9c1
L
13797 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13798 on $(common-objpfx)soversions.mk.
13799
65cafb1c
JM
138002012-09-07 Joseph Myers <joseph@codesourcery.com>
13801
13802 [BZ #10014]
13803 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13804 example host name.
13805
c78ab094
SP
138062012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13807
13808 * malloc/arena.c (arena_get_retry): New function that gets
13809 another arena for the caller to try its request on.
13810 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13811 current arena cannot fulfill the request.
13812 (__libc_memalign): Likewise.
13813 (__libc_memalign): Likewise.
13814 (__libc_pvalloc): Likewise.
13815 (__libc_calloc): Likewise.
13816
01f49f59
JT
138172012-09-05 John Tobey <john.tobey@gmail.com>
13818
13819 [BZ #13542]
13820 * manual/arith.texi (Operations on Complex): Fix description
13821 of carg branch cut.
13822
4c23fed5
JM
138232012-09-06 Joseph Myers <joseph@codesourcery.com>
13824
1d3c8572
JM
13825 [BZ #10014]
13826 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13827 host name.
13828
4c23fed5
JM
13829 [BZ #10038]
13830 * manual/memory.texi (Memory): Make order of menu items match
13831 order of sections.
13832
04570aaa
L
138332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13834
13835 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13836 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13837 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13838
b80af2f4
L
138392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13840
13841 * csu/libc-tls.c (static_dtv): Renamed to ...
13842 (_dl_static_dtv): This. Make it global.
13843 (_dl_initial_dtv): Removed.
13844 (__libc_setup_tls): Updated.
13845 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13846 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13847 DL_INITIAL_DTV.
13848
2abe9f15
PM
138492012-09-06 Petr Machata <pmachata@redhat.com>
13850
13851 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13852 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13853 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13854 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13855
0948c3af
L
138562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13857
13858 [BZ #14545]
13859 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13860 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13861 freeing dtv[-1].
13862
a5055ad1
L
138632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13864
13865 [BZ #14544]
13866 * Makeconfig (link-static-before-libc): Replace $(+prector)
13867 with $(+prectorT).
13868 (link-static-after-libc): Replace $(+postctor) with
13869 $(+postctorT).
13870 (link-bounded): Replace $(+prector)/$(+postctor) with
13871 $(+prectorT)/$(+postctorT).
13872 (+prectorT): New macro.
13873 (+postctorT): Likewise.
13874
ed8c2ecd
JM
138752012-09-06 Joseph Myers <joseph@codesourcery.com>
13876
13877 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13878 (round_str): Handle values above the maximum for IBM long double
13879 as inexact.
13880 * stdlib/tst-strtod-round.c (tests): Regenerated.
13881
14c996c8
AK
138822012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13883
13884 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13885 assembler flag.
13886 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13887 zarch_nohighgprs around the zarch optimized routines.
13888 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13889 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13890 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13891 for zarch.
13892
430d6ce6
DM
138932012-09-05 David S. Miller <davem@davemloft.net>
13894
13895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13896
ff04dda4
DM
13897 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13898 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13899 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13900 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13901 entries.
13902
24d4e01b
AO
139032012-09-05 Alexandre Oliva <aoliva@redhat.com>
13904
13905 * malloc/arena.c: Fold copyright years.
13906 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13907
61d58174
AO
139082012-09-05 Alexandre Oliva <aoliva@redhat.com>
13909
13910 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13911
20196a5e
AO
139122012-09-05 Alexandre Oliva <aoliva@redhat.com>
13913
13914 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13915
5c447383
AO
139162012-09-05 Alexandre Oliva <aoliva@redhat.com>
13917
13918 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13919 change internal state upon failure.
13920
fad64255
AO
139212012-09-05 Alexandre Oliva <aoliva@redhat.com>
13922
13923 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13924 * malloc/memusage.c (mmap): Likewise.
13925 (mmap64, mremap): Likewise. Adjust name in comment.
13926
1ffb8c90
SP
139272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13928
13929 * libio/fileops.c: Fix typos in comments.
13930 * libio/oldfileops.c: Likewise.
13931 * libio/wfileops.c: Likewise.
13932
6ef9cc37
SP
139332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13934
13935 [BZ #1349]
13936 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13937 (tst-malloc-usable-ENV): Set environment for test case.
13938 * malloc/hooks.c (malloc_check_get_size): New function to get
13939 requested size.
13940 * malloc/malloc.c (musable): Use malloc_check_get_size.
13941 * malloc/tst-malloc-usable.c: New test case.
13942
4d038ae3
AS
139432012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13944
13945 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13946
c4e85184
AM
139472012-09-05 Allan McRae <allan@archlinux.org>
13948
b9dafc56 13949 [BZ #13966]
c4e85184
AM
13950 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13951 determine header location.
13952 * configure: Regenerated.
13953
e1343020
AS
139542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13955
13956 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13957 float format.
13958 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13959 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13960 format.
e1343020
AS
13961 (test): Regenerate.
13962
0a9f1987
DM
139632012-09-04 David S. Miller <davem@davemloft.net>
13964
13965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13967 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13968
29237804
FW
139692012-09-04 Florian Weimer <fweimer@redhat.com>
13970
13971 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13972 failures.
13973
edb3cb88
FW
13974 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13975
60160d83
JM
139762012-09-04 Joseph Myers <joseph@codesourcery.com>
13977
13978 [BZ #9914]
13979 * libio/iogetdelim.c: Include <limits.h>.
13980 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13981 + len + 1 would overflow.
13982
bcd6c8dc
AJ
139832012-09-03 Andreas Jaeger <aj@suse.de>
13984
13985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13986 * sysdeps/i386/fpu/libm-test-ulps: Update.
13987
4ffffbd2
LD
139882012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13989
13990 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13991 Add s_sinf-sse2, s_conf-sse2.
13992
13993 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13994 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13995 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13996 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13997
13998 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13999 for using routine as __sinf_ia32.
14000 Use macro for function declaration and weak_alias.
14001 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14002 for using routine as __cosf_ia32.
14003 Use macro for function declaration and weak_alias.
14004
14005 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14006 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14007
14008 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14009 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14011
14012 * math/libm-test.inc (cos_test): Add more test cases.
14013 (sin_test): Likewise.
14014 (sincos_test): Likewise.
14015
511fa286
AK
140162012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14017
14018 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14019 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14020 hidden.
14021 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14022
5f30cfec
L
140232012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14024
14025 [BZ #14538]
14026 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14027 first element of the GOT.
14028 (elf_machine_load_address): Return the difference between
14029 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14030
0786794f
AM
140312012-09-01 Allan McRae <allan@archlinux.org>
14032
5f30cfec
L
14033 [BZ #13412]
14034 * configure.in (AWK): Require gawk version 3.0 or later.
14035 * configure: Regenerated.
0786794f 14036
26889eac
JM
140372012-09-01 Joseph Myers <joseph@codesourcery.com>
14038
14039 * sysdeps/unix/sysv/linux/kernel-features.h
14040 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14041 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14042 [__NR_clock_getres]: Make code unconditional.
14043 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14044 (clock_getcpuclockid): Remove code left unreachable by removal of
14045 conditionals.
14046 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14047 code unconditional.
14048 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14049 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14050 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14051 Make code unconditional.
14052 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14053 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14054 * sysdeps/unix/sysv/linux/clock_settime.c
14055 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14056 conditional code.
14057 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14058 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14059
d22e28b0
L
140602012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14061
14062 [BZ #14476]
14063 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14064 scripts/test-installation.pl.
14065
14066 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14067 and $ld_so_version if it is set.
14068
050af9c4
SP
140692012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14070
14071 [BZ #14516]
14072 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14073 failure if reading from procfs failed.
14074 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14075
ad845c0b
JM
140762012-08-27 Joseph Myers <joseph@codesourcery.com>
14077
14078 * sysdeps/unix/sysv/linux/kernel-features.h
14079 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14080 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14081 Remove conditional code.
14082 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14083 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14084 Remove conditional code.
14085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14086 * sysdeps/unix/sysv/linux/i386/fxstat.c
14087 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14089 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14090 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14092 * sysdeps/unix/sysv/linux/i386/lxstat.c
14093 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14094 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14095 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14096 Remove conditional code.
14097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14098 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14099 Remove conditional code.
14100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14101 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14102 <kernel-features.h>.
14103 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14104 Remove.
14105 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14106 Remove conditional code.
14107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14108 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14109 Remove conditional.
14110
5dbf56af
MF
141112012-08-27 Mike Frysinger <vapier@gentoo.org>
14112
14113 [BZ #5400]
14114 * NEWS: Add fixed bug number.
14115
d6e70f43
JM
141162012-08-27 Joseph Myers <joseph@codesourcery.com>
14117
7efb4737
JM
14118 [BZ #14519]
14119 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14120 underflowing exponent in case of negative sign.
14121 * stdlib/tst-strtod-round-data: Add more tests.
14122 * stdlib/tst-strtod-round.c (tests): Regenerated.
14123
af92131a
JM
14124 [BZ #3479]
14125 * stdlib/strtod_l.c (NDIG): Remove.
14126 (HEXNDIG): Likewise.
14127 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14128 smallest representable value.
14129 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14130 lie within an exact representation of 1/2 ulp of the result.
14131 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14132 unconditionally.
14133 (TENS_P9_IDX): Define unconditionally.
14134 (TENS_P9_SIZE): Likewise.
14135 (TENS_P10_IDX): Likewise.
14136 (TENS_P10_SIZE): Likewise.
14137 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14138 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14139 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14140 entries for 10^2^13 and 10^2^14.
14141 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14142 (TENS_P13_IDX): Define.
14143 (TENS_P13_SIZE): Likewise.
14144 (TENS_P14_IDX): Likewise.
14145 (TENS_P14_SIZE): Likewise.
14146 (_fpioconst_pow10): Change array size to
14147 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14148 unconditional.
14149 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14150 1024]: Add entries for 10^2^13 and 10^2^14.
14151 [LAST_POW10 > _LAST_POW10]: Remove #error.
14152 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14153 (_fpioconst_pow10): Change array size to
14154 FPIOCONST_POW10_ARRAY_SIZE.
14155 * stdlib/gen-fpioconst.c: New file.
14156 * stdlib/gen-tst-strtod-round.c: Likewise.
14157 * stdlib/tst-strtod-round-data: Likewise.
14158 * stdlib/tst-strtod-round.c: Likewise.
14159 * stdlib/Makefile (tests): Add tst-strtod-round.
14160
d6e70f43
JM
14161 [BZ #14459]
14162 * stdlib/strtod_l.c: Include <stdint.h>.
14163 (NDEBUG): Do not define.
14164 (round_and_return): Change EXPONENT parameter to type intmax_t.
14165 Rearrange calculations to avoid internal overflow possibilities.
14166 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14167 Rearrange calculations to avoid internal overflow possibilities.
14168 Assert that number fits inside MPNSIZE limbs.
14169 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14170 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14171 calculations and add assertions to avoid internal overflow
14172 possibilities. Add casts to avoid signed/unsigned operations.
14173 * stdlib/tst-strtod-overflow.c: New file.
14174 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14175
1f529f7d
MP
141762012-08-25 Marek Polacek <polacek@redhat.com>
14177
14178 * time/time.h: Fix some typos in comments.
14179
59a629f1
RM
141802012-08-23 Roland McGrath <roland@hack.frob.com>
14181
14182 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14183 * posix/tst-rfc3484-2.c: Likewise.
14184 * posix/tst-rfc3484-3.c: Likewise.
14185
d3bafbc9
SM
141862012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14187
14188 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14189 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14190
4efcc022
JM
141912012-08-23 Joseph Myers <joseph@codesourcery.com>
14192
14193 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14194 #include of fxstatat64.c.
14195
3cc3ef96
RM
141962012-08-22 Roland McGrath <roland@hack.frob.com>
14197
f04e2132
RM
14198 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14199 * shadow/getspent_r.c: Likewise.
14200 * shadow/getspnam.c: Likewise.
14201 * shadow/getspnam_r.c: Likewise.
14202 * gshadow/getsgent.c: Likewise.
14203 * gshadow/getsgent_r.c: Likewise.
14204 * gshadow/getsgnam.c: Likewise.
14205 * gshadow/getsgnam_r.c: Likewise.
14206 * inet/getnetbyad.c: Likewise.
14207 * inet/getnetbyad_r.c: Likewise.
14208 * inet/getnetbynm.c: Likewise.
14209 * inet/getnetbynm_r.c: Likewise.
14210 * inet/getnetent.c: Likewise.
14211 * inet/getnetent_r.c: Likewise.
14212 * inet/getproto.c: Likewise.
14213 * inet/getproto_r.c: Likewise.
14214 * inet/getprtent.c: Likewise.
14215 * inet/getprtent_r.c: Likewise.
14216 * inet/getprtname.c: Likewise.
14217 * inet/getprtname_r.c: Likewise.
14218 * inet/getrpcbyname.c: Likewise.
14219 * inet/getrpcbyname_r.c: Likewise.
14220 * inet/getrpcbynumber.c: Likewise.
14221 * inet/getrpcbynumber_r.c: Likewise.
14222 * inet/getrpcent.c: Likewise.
14223 * inet/getrpcent_r.c: Likewise.
14224 * inet/getaliasent.c: Likewise.
14225 * inet/getaliasent_r.c: Likewise.
14226 * inet/getaliasname.c: Likewise.
14227 * inet/getaliasname_r.c: Likewise.
14228 * nscd/getgrgid_r.c: Likewise.
14229 * nscd/getgrnam_r.c: Likewise.
14230 * nscd/gethstbyad_r.c: Likewise.
14231 * nscd/gethstbynm3_r.c: Likewise.
14232 * nscd/getpwnam_r.c: Likewise.
14233 * nscd/getpwuid_r.c: Likewise.
14234 * nscd/getsrvbynm_r.c: Likewise.
14235 * nscd/getsrvbypt_r.c: Likewise.
14236 * nscd/gai.c: Likewise.
14237
c53d909c
RM
14238 * configure.in (build_nscd): New substituted variable, set
14239 by --disable-build-nscd and defaults to $use_nscd.
14240 * configure: Regenerated.
14241 * config.make.in (build-nscd): New substituted variable.
14242 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14243 Change conditional to require [$(build-nscd) = yes] as well.
14244 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14245
3cc3ef96
RM
14246 [BZ# 13696]
14247 * configure.in (use_nscd): New substituted variable, set by
14248 --disable-nscd. If enabled, define USE_NSCD.
14249 * configure: Regenerated.
14250 * config.h.in: Add USE_NSCD.
14251 * config.make.in (use-nscd): New substituted variable.
14252 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14253 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14254 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14255 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14256 (CFLAGS-getgrnam_r.c): Likewise.
14257 (CFLAGS-initgroups.c): Likewise.
14258 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14259 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14260 Variables removed.
14261 * inet/getnetgrent_r.c
14262 (nscd_setnetgrent): New function, broken out of ...
14263 (setnetgrent): ... here. Call it.
14264 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14265 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14266 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14267 * nscd/Makefile (routines, aux): Move definitions after include of
14268 Makeconfig. Conditionalize on [$(use-nscd) != no].
14269 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14270 Conditionalize on [USE_NSCD].
14271 (is_nscd, nscd_init_cb): Likewise.
14272 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14273 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14274 * nss/nss_db/db-init.c: Likewise.
14275 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14276 [USE_NSCD].
14277 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14278 (make_request): Use it.
14279 (cache_valid_p): New function.
14280 (__check_pf): Use it.
14281 * NEWS: Add item for --disable-nscd.
14282
07e51550
DL
142832012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14284
14285 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14286 to support sed >= 4.2.1-20-ga9bf076.
14287 * configure: Regenerated.
14288
35a5b08b
RM
142892012-08-22 Roland McGrath <roland@hack.frob.com>
14290
14291 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14292 Conditionalize whole body on [IREL].
14293
8479f23a
JL
142942012-08-22 Jeff Law <law@redhat.com>
14295
14296 [BZ #14505]
14297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14298 if the family is PF_UNSPEC.
14299
48da0b21
MF
143002012-08-22 Mike Frysinger <vapier@gentoo.org>
14301
14302 * Makerules (lib-version): Rename from V.
14303 (install-lib-nosubdir): Change V to lib-version.
14304
15d0da8c
WS
143052012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14306
14307 [BZ #14252]
14308 * powerpc32/power6/wcschr.c: New file.
14309 * powerpc32/power6/wcscpy.c: New file.
14310 * powerpc32/power6/wcsrchr.c: New file.
14311 * powerpc64/power6/wcschr.c: New file.
14312 * powerpc64/power6/wcscpy.c: New file.
14313 * powerpc64/power6/wcsrchr.c: New file.
14314
bcca0895
MK
143152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14316
14317 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14318 (two_way_short_needle): Use it.
5a4aaa33
RM
14319 * string/strstr.c (AVAILABLE1_USES_J): Define.
14320 * string/strcasestr.c: Likewise.
99677e57
MK
14321
14322 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14323 array references.
14324 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14325
400726de
MK
14326 [BZ #11607]
14327 * NEWS: Add an entry.
14328 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14329 define their defaults.
14330 (two_way_short_needle): Detect end-of-string on-the-fly.
14331 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14332 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14333 * string/bug-strcasestr1.c: New test.
14334 * string/Makefile: Run it.
14335
20a71f2c
MK
143362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14337
14338 [BZ #11607]
14339 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14340 the first character.
14341
21ad0558
RM
143422012-08-21 Roland McGrath <roland@hack.frob.com>
14343
14344 * csu/elf-init.c (__libc_csu_irel): Function removed.
14345 * csu/libc-start.c (apply_irel): New function.
14346 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14347
0e1d9911
JM
143482012-08-21 Joseph Myers <joseph@codesourcery.com>
14349
14350 * sysdeps/unix/sysv/linux/kernel-features.h
14351 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14352 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14353 <kernel-features.h>.
14354 [__NR_fadvise64_64]: Make code unconditional.
14355 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14356 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14357 !__NR_fadvise64_64)]: Likewise.
14358 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14359 !__NR_fadvise64_64))]: Likewise.
14360 [__NR_fadvise64]: Make code unconditional.
14361 [!__NR_fadvise64]: Remove conditional code.
14362 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14363 <kernel-features.h>.
14364 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14365 unconditional.
14366 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14367 conditional code.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14369 not include <kernel-features.h>.
14370 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14371 unconditional.
14372 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14373 conditional code.
14374 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14375 include <kernel-features.h>.
14376 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14377 unconditional.
14378 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14379 conditional code.
14380
14a50c9d
WS
143812012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14382
14383 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14384 slight instruction rearrangements per scrollpipe analysis.
14385 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14386
c0f4faf0
RM
143872012-08-20 Roland McGrath <roland@hack.frob.com>
14388
696da859
RM
14389 * manual/syslog.texi (syslog; vsyslog, closelog):
14390 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14391 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14392
c0f4faf0
RM
14393 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14394 DSOCAPS to match condition on defining it.
14395
348363b2
JM
143962012-08-20 Joseph Myers <joseph@codesourcery.com>
14397
a35cbf28
JM
14398 * sysdeps/unix/sysv/linux/kernel-features.h
14399 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14401 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14402 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14404 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14405 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14407 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14408 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14409
445f7ecd
JM
14410 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14411 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14412
348363b2
JM
14413 * sysdeps/unix/sysv/linux/kernel-features.h
14414 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14415 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14416 unconditional.
14417 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14418 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14419 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14420 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14421 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14422 Make code unconditional.
14423 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14424 (__mmap64) [!__NR_mmap2]: Likewise.
14425 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14426 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14427 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14428 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14429 [__NR_mmap2]: Make code unconditional.
14430 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14431 (__mmap64) [!__NR_mmap2]: Likewise.
14432
bc5bc0e5
AK
144332012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14434
14435 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14436
88d506de
AJ
144372012-08-18 Andreas Jaeger <aj@suse.de>
14438
14439 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14440
493387d2
MF
144412012-08-18 Mike Frysinger <vapier@gentoo.org>
14442
14443 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14444 * include/unistd.h (__have_sock_cloexec): Likewise.
14445 (__have_pipe2): Likewise.
14446 (__have_dup3): Likewise.
14447
a277af22
MF
144482012-08-18 Mike Frysinger <vapier@gentoo.org>
14449
14450 [BZ #9685]
14451 * include/unistd.h (__have_pipe2): Change define into an extern int.
14452 (__have_dup3): Likewise.
14453 * socket/have_sock_cloexec.c: Include fcntl.h.
14454 (__have_pipe2): New variable.
14455 (__have_dup3): Likewise.
14456
fdab8fd3
MF
144572012-08-17 Mike Frysinger <vapier@gentoo.org>
14458
14459 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14460
31035e80
MP
144612012-08-17 Marek Polacek <polacek@redhat.com>
14462
14463 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14464 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14465
3bd9e993
RM
144662012-08-17 Roland McGrath <roland@hack.frob.com>
14467
c91c505f
RM
14468 * configure.in: Add AC_SUBST for sysheaders.
14469 * configure: Regenerated.
14470 * config.make.in (sysheaders): New substituted variable.
14471
7c6f9d53
RM
14472 * sysdeps/unix/mkfifo.c: Moved ...
14473 * sysdeps/posix/mkfifo.c: ... here.
14474 * sysdeps/unix/mkfifoat.c: Moved ...
14475 * sysdeps/posix/mkfifoat.c: ... here.
14476
14477 * sysdeps/unix/utime.c: Moved ...
14478 * sysdeps/posix/utime.c: ... here.
14479
14480 * sysdeps/unix/time.c: Moved ...
14481 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14482 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14483 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14484
14485 * sysdeps/unix/nice.c: Moved ...
14486 * sysdeps/posix/nice.c: ... here.
14487
14488 * sysdeps/unix/alarm.c: Moved ...
14489 * sysdeps/posix/alarm.c: ... here.
14490
3bd9e993
RM
14491 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14492
d1f09384
JL
144932012-08-17 Jeff Law <law@redhat.com>
14494
14495 * intl/Makefile (codeset_mo): New variable.
14496 ($(codeset_mo)): New target.
14497 (tst-codeset.out): Depend on that. Remove explicit rule.
14498 (tst-gettext3.out, tst-gettext5.out): Likewise.
14499 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14500 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14501 * intl/tst-codeset.sh: Remove.
14502 * intl/tst-gettext3.sh: Likewise.
14503 * intl/tst-gettext5.sh: Likewise.
14504
2ae1ae5c
RM
145052012-08-17 Roland McGrath <roland@hack.frob.com>
14506
c31fdb83
RM
14507 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14508 * sysdeps/unix/syscalls.list: ... here.
14509
a0844057
RM
14510 * sysdeps/posix/getaddrinfo.c
14511 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14512 (gaiconf_init, gaiconf_reload): Use them.
14513 [!_STATBUF_ST_NSEC]
14514 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14515 Define using time_t rather than struct timespec.
14516
750c1f2a
RM
14517 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14518 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14519 Macros removed.
14520 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14521 [!NO_THREADS].
14522 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14523 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14524 Likewise.
14525
2ae1ae5c
RM
14526 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14527 __libc_cleanup_push argument.
14528
e66a42f5
RM
14529 * bits/param.h: New file.
14530 * misc/sys/param.h: New file.
14531 * include/sys/param.h: New file.
14532 * misc/Makefile (headers): Add bits/param.h.
14533 * sysdeps/generic/sys/param.h: File removed.
14534 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14535 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14536 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14537 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14538
b7c08a66
RM
14539 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14540 last change.
14541
b2e1c562
RM
14542 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14543 [_IO_MTSAFE_IO].
14544 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14545 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14546 New macros.
14547
c75ccd4c
RM
14548 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14549 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14550 rather than -D_IO_MTSAFE_IO conditionally.
14551 * stdio-common/Makefile (CPPFLAGS): Likewise.
14552 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14553 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14554 Use $(libio-mtsafe).
14555 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14556 of -D_IO_MTSAFE_IO.
14557 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14558 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14559 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14560 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14561 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14562 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14563 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14564 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14565 (CFLAGS-fread_u_chk.c): Likewise.
14566 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14567 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14568 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14569 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14570 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14571 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14572 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14573 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14574 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14575
14576 * libio/Makefile: Test [$(libc-reentrant) = yes]
14577 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14578
14579 * Makeconfig
14580 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14581 * sysdeps/pthread/configure: File removed.
14582 * sysdeps/pthread/Makeconfig: New file.
14583 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14584 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14585
d9195db8
GB
145862012-08-16 Gary Benson <gbenson@redhat.com>
14587
14588 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14589 unmapping the first object in a namespace.
14590
86466cd9
RM
145912012-08-16 Roland McGrath <roland@hack.frob.com>
14592
14593 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14594 (__internal_setnetgrent): ... this. Add internal_function to
14595 definition. Add libc_hidden_def.
14596 (setnetgrent): Update caller.
14597 (internal_endnetgrent): Renamed to ...
14598 (__internal_endnetgrent): ... this. Add internal_function to
14599 definition. Add libc_hidden_def.
14600 (endnetgrent): Update caller.
14601 (internal_getnetgrent_r): Renamed to ...
14602 (__internal_getnetgrent_r): ... this. Add internal_function to
14603 definition. Add libc_hidden_def.
14604 (__getnetgrent_r): Update caller.
14605 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14606
c3c8283c
JM
146072012-08-16 Joseph Myers <joseph@codesourcery.com>
14608
14609 * stdlib/longlong.h: Update from GCC.
14610
db1ee0a8
RM
146112012-08-16 Roland McGrath <roland@hack.frob.com>
14612
14613 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14614 on _QL, which is set by umul_ppmm but never used.
14615 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14616 variables, which are set by GMP macros but never used.
14617 * stdio-common/_itowa.c (_itowa): Likewise.
14618 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14619 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14620
30f69637
CD
146212012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14622
14623 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14624 struct La_sh_regs is not constant.
14625 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14626 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14627 and struct La_sparc64_regs are not constant.
14628
93a78ac4
JM
146292012-08-16 Joseph Myers <joseph@codesourcery.com>
14630
14631 * sysdeps/unix/sysv/linux/kernel-features.h
14632 (__ASSUME_POSIX_TIMERS): Remove.
14633 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14634 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14635 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14636 Make code unconditional.
14637 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14638 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14639 Make code unconditional.
14640 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14641 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14642 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14643 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14644 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14645 Make code unconditional.
14646 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14647 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14648 (__libc_missing_posix_timers): Remove.
14649
dd924cd7
RM
146502012-08-15 Roland McGrath <roland@hack.frob.com>
14651
4b4f2771
RM
14652 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14653 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14654
601c888b
RM
14655 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14656
176790a7
RM
14657 * elf/dl-sym.c: Include <stdlib.h>.
14658
329bc018
RM
14659 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14660 constants, which avoids warnings in 32-bit builds.
14661
e04e272d
RM
14662 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14663 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14664
952bf94a
RM
14665 * misc/lseek.c: File moved to ...
14666 * io/lseek.c: ... here.
14667
7c99b50a
RM
14668 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14669
dd924cd7
RM
14670 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14671 shifting LEN more than 31 bits at once.
14672
b3f479a8
LD
146732012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14674
14675 [BZ #14195]
8c4ae0d4
RM
14676 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14677 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14678 * string/test-strncasecmp.c (check1): Renamed to...
14679 (bz12205): ...this.
14680 (bz14195): Add new testcase for two empty input strings and N > 0.
14681 (test_main): Call new testcase, adapt for renamed function.
14682
9c55864e
AJ
146832012-08-15 Andreas Jaeger <aj@suse.de>
14684
14685 [BZ #14090]
14686 * crypt/md5test2.c: New test, based on test supplied by Serge
14687 Belyshev <belyshev@depni.sinp.msu.ru>.
14688 * crypt/Makefile (xtests): Add md5test-giant..
14689 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14690
02dcb6c5
PE
146912012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14692
14693 [BZ #14090]
14694 * crypt/md5.c (md5_process_block): Don't assume the buffer
14695 length is less than 2**32.
14696 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14697 length is less than 2**64.
14698
a3f95dcc
RM
146992012-08-15 Roland McGrath <roland@hack.frob.com>
14700
be75d758
RM
14701 * string/str-two-way.h: Include <sys/param.h>.
14702 (MAX): Macro removed.
14703
7312ca90
RM
14704 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14705 Move #define and #undef of memmove to just before and after
14706 including <string.h>.
14707
9a0a5486
RM
14708 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14709 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14710 and after including <string.h>. Move declarations of
14711 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14712 to before #include "string/memmove.c".
14713
67cc348d
RM
14714 * include/dirent.h: Declare __getdirentries.
14715
a3f95dcc
RM
14716 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14717 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14718
ca98e171
MF
147192012-08-14 Mike Frysinger <vapier@gentoo.org>
14720
14721 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14722 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14723 * sysdeps/i386/configure: Regenerated.
14724 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14725 STABS_CURRENT_FILE, and STABS_FUN.
14726 (END): Remove call to STABS_FUN_END.
14727 (STABS_CURRENT_FILE1): Delete.
14728 (STABS_CURRENT_FILE): Likewise.
14729 (STABS_FUN): Likewise.
14730 (STABS_FUN_END): Likewise.
14731 (STABS_FUN2): Likewise.
14732 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14733 * sysdeps/x86_64/configure: Regenerated.
14734
5908bf46
RM
147352012-08-14 Roland McGrath <roland@hack.frob.com>
14736
14737 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14738 * elf/dl-lookup.c: Likewise.
5908bf46 14739
f2c05b9e
JM
147402012-08-14 Joseph Myers <joseph@codesourcery.com>
14741
14742 * sysdeps/unix/sysv/linux/kernel-features.h
14743 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14744 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14745 unconditionally.
14746 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14747 unconditionally.
14748 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14749 condition on __ASSUME_CLONE_THREAD_FLAGS.
14750
e11f5155
AJ
147512012-08-14 Andreas Jaeger <aj@suse.de>
14752
14753 * sysdeps/i386/fpu/libm-test-ulps: Update.
14754
51a9ba86
MK
147552012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14756
2fdd4f78
AJ
14757 * include/atomic.h (atomic_exchange_and_add): Split into ...
14758 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14759 New atomic macros.
51a9ba86 14760
ba6cba9e
MT
147612012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14762
14763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14764
42443a47
JL
147652012-08-13 Jeff Law <law@redhat.com>
14766
14767 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14768 null byte in the output string.
14769
121dce05
JM
147702012-08-10 Joseph Myers <joseph@codesourcery.com>
14771
14772 * sysdeps/unix/sysv/linux/kernel-features.h
14773 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14774 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14775 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14776 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14777 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14778 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14779 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14780
bf51f568
JL
147812012-08-09 Jeff Law <law@redhat.com>
14782
14783 [BZ #13939]
14784 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14785 When avoid_arena is set, don't retry in the that arena. Pick the
14786 next one, whatever it might be.
14787 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14788 (arena_lock): Pass in new parameter to arena_get2.
14789 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14790 arena_get2.
14791 (__libc_malloc): Unify retrying after main arena failure with
14792 __libc_memalign version.
14793 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14794
f85fa270
L
147952012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14796
14797 [BZ #14166]
14798 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14799 to __redirect_strstr.
14800 (__strstr_sse42): Use typeof __redirect_strstr.
14801 (__strstr_ia32): Likewise.
14802 (__libc_strstr): New prototype.
14803 (strstr): Renamed to ...
14804 (__libc_strstr): This.
14805 (strstr): New strong alias of __libc_strstr.
14806 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14807 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14808 __redirect_time.
14809 Include <time.h>.
14810 (__libc_time): New prototype.
14811 (time_ifunc): Replace time with __libc_time.
14812 (time): New strong alias and hidden definition of __libc_time.
14813 (__GI_time): Remove strong alias.
14814 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14815 Include <stddef.h>.
14816 (memmove): Redefined to __redirect_memmove.
14817 (__memmove_sse2): Use typeof __redirect_memmove.
14818 (__memmove_ssse3): Likewise.
14819 (__memmove_ssse3_back): Likewise.
14820 (__libc_memmove): New prototype.
14821 (memmove): Renamed to ...
14822 (__libc_memmove): This.
14823 (memmove): New strong alias of __libc_memmove.
14824
33b4a91e
MS
148252012-08-08 Mark Salter <msalter@redhat.com>
14826
14827 * elf/elf.h
14828 (R_MN10300_TLS_GD): Define.
14829 (R_MN10300_TLS_LD): Likewise.
14830 (R_MN10300_TLS_LDO): Likewise.
14831 (R_MN10300_TLS_GOTIE): Likewise.
14832 (R_MN10300_TLS_IE): Likewise.
14833 (R_MN10300_TLS_LE): Likewise.
14834 (R_MN10300_TLS_DTPMOD): Likewise.
14835 (R_MN10300_TLS_DTPOFF): Likewise.
14836 (R_MN10300_TLS_TPOFF): Likewise.
14837 (R_MN10300_SYM_DIFF): Likewise.
14838 (R_MN10300_ALIGN): Likewise.
14839 (R_MN10300_NUM): Update.
14840
b36137f1
JM
148412012-08-08 Joseph Myers <joseph@codesourcery.com>
14842
14843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14844 Remove.
14845
cdd915fd
RM
148462012-08-08 Roland McGrath <roland@hack.frob.com>
14847
a2433aac
RM
14848 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14849
cdd915fd
RM
14850 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14851 sysdeps/unix -> sysdeps/posix move.
14852 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14853
bf9b740a
AM
148542012-08-07 Allan McRae <allan@archlinux.org>
14855
14856 [BZ #14303]
14857 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14858 (SUNOS_CPP): Likewise.
14859 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14860 not found.
14861 (open_input): Call CPP using execvp.
14862
93df14ee
JM
148632012-08-07 Joseph Myers <joseph@codesourcery.com>
14864
14865 * sysdeps/unix/sysv/linux/kernel-features.h
14866 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14867 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14868 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14869 (__ASSUME_WAITID_SYSCALL): Likewise.
14870 * sysdeps/unix/sysv/linux/dl-execstack.c
14871 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14872 code unconditional.
14873 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14874 conditional code.
14875 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14876 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14877 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14878 code.
14879 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14880 unconditional.
14881 [__ASSUME_WAITID_SYSCALL]: Likewise.
14882 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14883
d34689de
RM
148842012-08-07 Roland McGrath <roland@hack.frob.com>
14885
a281decc
RM
14886 * sysdeps/unix/closedir.c: Renamed to ...
14887 * sysdeps/posix/closedir.c: ... here.
14888 * sysdeps/unix/dirfd.c: Renamed to ...
14889 * sysdeps/posix/dirfd.c: ... here.
14890 * sysdeps/unix/dirstream.h: Renamed to ...
14891 * sysdeps/posix/dirstream.h: ... here.
14892 * sysdeps/unix/fdopendir.c: Renamed to ...
14893 * sysdeps/posix/fdopendir.c: ... here.
14894 * sysdeps/unix/opendir.c: Renamed to ...
14895 * sysdeps/posix/opendir.c: ... here.
14896 * sysdeps/unix/readdir.c: Renamed to ...
14897 * sysdeps/posix/readdir.c: ... here.
14898 * sysdeps/unix/readdir_r.c: Renamed to ...
14899 * sysdeps/posix/readdir_r.c: ... here.
14900 * sysdeps/unix/rewinddir.c: Renamed to ...
14901 * sysdeps/posix/rewinddir.c: ... here.
14902 * sysdeps/unix/seekdir.c: Renamed to ...
14903 * sysdeps/posix/seekdir.c: ... here.
14904 * sysdeps/unix/telldir.c: Renamed to ...
14905 * sysdeps/posix/telldir.c: ... here.
14906 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14907 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14908 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14909 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14910
22895b47
RM
14911 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14912 * bits/fcntl.h: ... here.
14913
707a53b6
RM
14914 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14915 not 0.
14916 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14917 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14918 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14919 (struct flock): Move l_start, l_len to the beginning.
14920 Use __pid_t for l_pid.
14921 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14922 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14923 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14924 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14925 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14926 [__USE_LARGEFILE64] (struct flock64): New type.
14927 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14928
f0bd3e25
RM
14929 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14930 * bits/dirent.h: ... here.
14931
d34689de
RM
14932 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14933 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14934
6dad2c06
JM
149352012-08-07 Joseph Myers <joseph@codesourcery.com>
14936
14937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14938 Change from 2.6.0 to 2.6.16.
14939 * sysdeps/unix/sysv/linux/configure: Regenerated.
14940 * sysdeps/unix/sysv/linux/kernel-features.h
14941 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14942 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14943 version.
14944 (__ASSUME_UTIMES): Likewise.
14945 (__ASSUME_CLONE_STOPPED): Remove.
14946 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14947 architectures, not kernel version.
14948 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14949 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14950 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14951 (__ASSUME_WAITID_SYSCALL): Likewise.
14952 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14953 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14954 * README: State 2.6.16 as minimum Linux kernel version. Do not
14955 refer to older versions.
14956
03af9520
RM
149572012-08-06 Roland McGrath <roland@hack.frob.com>
14958
8e49df1d
RM
14959 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14960 Define alphasort64 as an alias.
14961 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14962 Define versionsort64 as an alias.
14963 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14964 Define scandir64 as an alias.
14965 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14966 Define scandirat64 as an alias.
14967 * dirent/alphasort64.c (alphasort64):
14968 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14969 * dirent/versionsort64.c: Likewise.
14970 * dirent/scandir64.c: Likewise.
14971 * dirent/scandirat64.c: Likewise.
14972 * sysdeps/wordsize-64/alphasort.c: File removed.
14973 * sysdeps/wordsize-64/alphasort64.c: File removed.
14974 * sysdeps/wordsize-64/scandir.c: File removed.
14975 * sysdeps/wordsize-64/scandir64.c: File removed.
14976 * sysdeps/wordsize-64/scandirat.c: File removed.
14977 * sysdeps/wordsize-64/scandirat64.c: File removed.
14978 * sysdeps/wordsize-64/versionsort.c: File removed.
14979 * sysdeps/wordsize-64/versionsort64.c: File removed.
14980 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14982 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14983 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14984 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14985 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14988
14989 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14991 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14993 [defined __arch64__ || defined __sparcv9]
14994 (__INO_T_MATCHES_INO64_T): New macro.
14995 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14996 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14997 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14998 * sysdeps/unix/sysv/linux/bits/dirent.h
14999 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15000 (_DIRENT_MATCHES_DIRENT64): New macro.
15001
03af9520
RM
15002 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15003 Define lockf64 as an alias.
15004 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15005 Define fseeko64 as an alias.
15006 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15007 Define ftello64 as an alias.
15008 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15009 Define _IO_fgetpos64 and fgetpos64 as aliases.
15010 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15011 Define _IO_fsetpos64 and fsetpos64 as aliases.
15012 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15013 Conditionalize body on this.
15014 * libio/fseeko64.c: Likewise.
15015 * libio/ftello64.c: Likewise.
15016 * libio/iofgetpos64.c: Likewise.
15017 * libio/iofsetpos64.c: Likewise.
15018 * sysdeps/wordsize-64/lockf.c: File removed.
15019 * sysdeps/wordsize-64/lockf64.c: File removed.
15020 * sysdeps/wordsize-64/fseeko.c: File removed.
15021 * sysdeps/wordsize-64/fseeko64.c: File removed.
15022 * sysdeps/wordsize-64/ftello.c: File removed.
15023 * sysdeps/wordsize-64/ftello64.c: File removed.
15024 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15025 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15026 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15027 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15029 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15030 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15031 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15032 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15033 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15034 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15036 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15037 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15038
15039 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15041 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15043 [defined __arch64__ || defined __sparcv9]
15044 (__OFF_T_MATCHES_OFF64_T): New macro.
15045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15046 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15048 (__OFF_T_MATCHES_OFF64_T): New macro.
15049
c5757acd
L
150502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15051
15052 * stdlib/secure-getenv.c (__secure_getenv): Replace
15053 GLIBC_2_16 with GLIBC_2_17.
15054
3a31811e
L
150552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15056
15057 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15058 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15059
faa2bccb
DM
150602012-08-03 David S. Miller <davem@davemloft.net>
15061
15062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15063
85fe1997
JM
150642012-08-03 Joseph Myers <joseph@codesourcery.com>
15065
15066 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15067 Remove.
15068 (__ASSUME_CORRECT_SI_PID): Likewise.
15069 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15070 (__ASSUME_TMPFS_NAME): Likewise.
15071 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15072 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15073 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15074 (HAVE_AUX_SECURE): Make definition unconditional.
15075 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15076 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15077
4f75b7a0
RM
150782012-08-03 Roland McGrath <roland@hack.frob.com>
15079
15080 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15081 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15082 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15083 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15084 __eloop_threshold instead of SYMLOOP_MAX.
15085
15086 * sysdeps/generic/eloop-threshold.h: New file.
15087 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15088 of MAXSYMLINKS.
15089 * elf/chroot_canon.c (chroot_canon): Likewise.
15090
7aab07e4
JM
150912012-08-03 Joseph Myers <joseph@codesourcery.com>
15092
15093 [BZ #13717]
15094 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15095 Change to 2.6.0 everywhere.
15096 * sysdeps/unix/sysv/linux/configure: Regenerated.
15097 * sysdeps/unix/sysv/linux/kernel-features.h
15098 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15099 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15100 kernel versions.
15101 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15102 (__ASSUME_FUTEX_REQUEUE): Remove.
15103 (__ASSUME_STATFS64): Define unconditionally.
15104 (__ASSUME_AT_SECURE): Likewise.
15105 (__ASSUME_CORRECT_SI_PID): Likewise.
15106 (__ASSUME_TGKILL): Define without depending on kernel version for
15107 i386.
15108 (__ASSUME_UTIMES): Likewise.
15109 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15110 kernel version.
15111 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15112 (__ASSUME_TMPFS_NAME): Likewise.
15113 * README: Update reference to Linux kernel versions.
15114
b67e9372
MP
151152012-08-02 Marek Polacek <polacek@redhat.com>
15116
1f529f7d 15117 [BZ# 14150]
b67e9372
MP
15118 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15119 libc_cv_asm_type_prefix with %.
15120 * configure: Regenerated.
d2441631
RM
15121 * include/libc-symbols.h: Remove comment about
15122 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15123 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15124 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15125 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15126 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15127 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15128 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15129 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15130 * elf/tst-unique2mod1.c: Likewise.
15131 * elf/tst-unique1mod2.c: Likewise.
15132 * elf/tst-unique1mod1.c: Likewise.
15133 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15134 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15135 Replace ASM_TYPE_DIRECTIVE with .type.
15136 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15137 * sysdeps/i386/sysdep.h: Likewise.
15138 * sysdeps/x86_64/sysdep.h: Likewise.
15139 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15141 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15142 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15143 * sysdeps/powerpc/powerpc32/sysdep.h:
15144 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15145 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15146 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15147 * sysdeps/i386/fpu/e_powf.S: Likewise.
15148 * sysdeps/i386/fpu/e_expl.S: Likewise.
15149 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15150 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15151 * sysdeps/i386/fpu/e_pow.S: Likewise.
15152 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15153 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15154 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15155 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15156 * sysdeps/i386/fpu/e_log2.S: Likewise.
15157 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15158 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15159 * sysdeps/i386/fpu/e_powl.S: Likewise.
15160 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15161 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15162 * sysdeps/i386/fpu/e_logl.S: Likewise.
15163 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15164 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15165 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15166 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15167 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15168 * sysdeps/i386/fpu/e_log.S: Likewise.
15169 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15170 * sysdeps/i386/fpu/e_logf.S: Likewise.
15171 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15172 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15173 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15174 * sysdeps/i386/fpu/e_log10.S: Likewise.
15175 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15177 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15178 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15179 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15180 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15181 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15182 * sysdeps/i386/i686/strtok.S: Likewise.
15183 * sysdeps/i386/i386-mcount.S: Likewise.
15184 * sysdeps/i386/strtok.S: Likewise.
15185 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15186 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15188 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15189 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15191 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15192 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15193 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15194 * sysdeps/x86_64/_mcount.S: Likewise.
15195 * sysdeps/x86_64/strtok.S: Likewise.
15196 * sysdeps/sh/_mcount.S: Likewise.
15197
2747bf9a
RM
151982012-08-01 Roland McGrath <roland@hack.frob.com>
15199
15200 * libio/iofopen.c: Include <fcntl.h>.
15201 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15202 (_IO_fopen64, fopen64): Define as aliases.
15203 * libio/iofopen64.c: Include <fcntl.h>.
15204 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15205 Conditionalize body on this.
15206 * sysdeps/wordsize-64/iofopen.c: File removed.
15207 * sysdeps/wordsize-64/iofopen64.c: File removed.
15208
3fb791b8
MP
152092012-08-01 Marek Polacek <polacek@redhat.com>
15210
15211 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15212 Use dlfcn directly instead of a variable.
15213 (binfmt-subdir): Do not define.
15214 (dlfcn): Likewise.
15215
a9f1039f
JM
152162012-08-01 Joseph Myers <joseph@codesourcery.com>
15217
23bddc06
JM
15218 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15219 Remove all definitions.
15220 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15221 <kernel-features.h>.
15222 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15223 (miss_F_GETOWN_EX): Remove all definitions.
15224 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15225 macro definition.
15226 [!__ASSUME_FCNTL64]: Remove conditional code.
15227 [__ASSUME_FCNTL64]: Make code unconditional.
15228 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15229 <kernel-features.h>.
15230 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15231 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15232 (lockf64) [__NR_fcntl64]: Make code unconditional.
15233 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15234
a9f1039f
JM
15235 * sysdeps/unix/sysv/linux/kernel-features.h
15236 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15237 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15238 Make code unconditional.
15239 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15240 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15242 [__NR_vfork]: Make code unconditional.
15243 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15244 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15246 [__NR_vfork]: Make code unconditional.
15247 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15248 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15249
09c0ee5f
RM
152502012-08-01 Roland McGrath <roland@hack.frob.com>
15251
48aec5b9
RM
15252 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15253 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15254
cd97c966
RM
15255 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15256 Define mkstemp64 as an alias.
3f55550c
RM
15257 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15258 Define mkstemps64 as an alias.
cd97c966
RM
15259 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15260 Define mkostemp64 as an alias.
b8625cfc
RM
15261 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15262 Define mkostemps64 as an alias.
cd97c966
RM
15263 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15264 Conditionalize body on this.
15265 * misc/mkostemp64.c: Likewise.
b8625cfc 15266 * misc/mkostemps64.c: Likewise.
3f55550c 15267 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15268 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15269 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15270 * sysdeps/wordsize-64/mkostemp.c: File removed.
15271 * sysdeps/wordsize-64/mkstemp.c: File removed.
15272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15273 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15275 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15276
09c0ee5f
RM
15277 [BZ #14138]
15278 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15279 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15280 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15281 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15282
15283 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15284 compat_symbol macros from <shlib-compat.h> rather than the underlying
15285 default_symbol_version and symbol_version macros, so that DEFAULT
15286 lines in shlib-versions are respected.
15287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15288
7e66ee51
FW
152892012-08-01 Florian Weimer <fweimer@redhat.com>
15290
15291 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15292 Declare with warn_unused_result.
15293 (setgid, setregid, setegid, setresgid): Likewise.
15294 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15295 Likewise.
15296 * WUR-REPORT: Remove set*id functions.
15297
d2a54255
PT
152982012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15299
15300 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15301
7ecdb005
RM
153022012-07-31 Roland McGrath <roland@hack.frob.com>
15303
b4180a5e 15304 [BZ #10191]
789bd351
RM
15305 * include/sys/socket.h (__libc_accept, __libc_accept4):
15306 Add attribute_hidden.
15307 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15308
40ce302d
RM
15309 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15310 use of PTR_MANGLE.
15311 * inet/getnetgrent_r.c (setup): Likewise.
15312
7ecdb005
RM
15313 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15314
e2eabb2c
DM
153152012-07-31 David S. Miller <davem@davemloft.net>
15316
15317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15318
d0419dbf
JM
153192012-07-31 Joseph Myers <joseph@codesourcery.com>
15320
15321 [BZ #13629]
15322 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15323 value between 1.0 and 2.0 and smaller part has absolute value less
15324 than 1.0.
15325 * math/s_clog10.c (__clog10): Likewise.
15326 * math/s_clog10f.c (__clog10f): Likewise.
15327 * math/s_clog10l.c (__clog10l): Likewise.
15328 * math/s_clogf.c (__clogf): Likewise.
15329 * math/s_clogl.c (__clogl): Likewise.
15330 * math/libm-test.inc (clog_test): Add more tests.
15331 (clog10_test): Likewise.
15332 * sysdeps/i386/fpu/libm-test-ulps: Update.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15334
2bc13872
FW
153352012-07-31 Florian Weimer <fweimer@redhat.com>
15336
15337 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15338 Exit with zero in case no suitable GID is found, and write a
15339 message to standard error.
15340
bea9b193
RM
153412012-07-30 Roland McGrath <roland@hack.frob.com>
15342
15343 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15344 rather than to 1.
15345 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15346 (MAXPATHLEN): Removed.
15347 (NOGROUP, NODEV): New macros.
15348 (setbit, clrbit, isset, isclr): New macros.
15349 (howmany, roundup, powerof2): New macros.
15350 (DEV_BSIZE): New macro.
15351
15352 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15353 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15354
15355 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15356 definition on [!__NO_LONG_DOUBLE_MATH].
15357
15358 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15359 PTR_MANGLE and PTR_DEMANGLE.
15360
15361 * socket/accept4.c (accept4): Rename to __libc_accept4.
15362 Define accept4 as a weak alias.
15363
15364 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15365 on [_DIRENT_HAVE_D_TYPE].
15366 * io/ftw.c (ftw_dir): Likewise.
15367
15368 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15369
15370 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15371
15372 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15373 Use the BSD numbers rather than the arbitrary ones we had.
15374 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15375 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15376 (SIGXCPU, SIGXFSZ): New macros.
15377 (_NSIG): Now 32.
15378
15379 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15380 initializer on [_LIBC_REENTRANT].
15381
15382 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15383 definitions inside [_POSIX_MAPPED_FILES].
15384
15385 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15386
15387 * dirent/opendir.c: Include <fcntl.h>.
15388
15389 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15390 (__libc_getspecific): Likewise.
15391 (__libc_key_create): Likewise.
15392
15393 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15394 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15395 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15396 (tmpfile64): Define as alias.
15397 * sysdeps/wordsize-64/tmpfile.c: File removed.
15398 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15399 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15400 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15401
15402 * stdio-common/vfscanf.c: Include <stdbool.h>.
15403 * nss/makedb.c: Likewise.
15404 * stdio-common/_i18n_number.h: Likewise.
15405 * argp/argp-help.c: Likewise.
15406 * posix/wordexp.c: Likewise.
15407 * sysdeps/posix/spawni.c: Likewise.
15408 * nss/nss_files/files-initgroups.c: Likewise.
15409 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15410 * nss/nss_files/files-initgroups.c: Likewise.
15411 * nss/nss_db/db-netgrp.c: Likewise.
15412 * nss/nss_db/db-initgroups.c: Likewise.
15413 * io/fchmodat.c: Include <sys/stat.h>.
15414
15415 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15416 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15417
15418 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15419 [HAVE_MMAP].
15420
15421 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15422 Add multiple inclusion protection.
15423
e5abc686
DM
154242012-07-27 David S. Miller <davem@davemloft.net>
15425
15426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15427
815e6fa3
GB
154282012-07-27 Gary Benson <gbenson@redhat.com>
15429
15430 [BZ #14298]
15431 * elf/rtld.c: Include <stap-probe.h>.
15432 (dl_main): Added static probes "init_start" and "init_complete".
15433 * elf/dl-load.c: Include <stap-probe.h>.
15434 (lose): Take new parameter "nsid".
15435 Added static probe "map_failed".
15436 (_dl_map_object_from_fd): Pass namespace id to lose.
15437 Added static probe "map_start".
15438 (open_verify): Pass namespace id to lose.
15439 * elf/dl-open.c: Include <stap-probe.h>.
15440 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15441 and "reloc_complete".
15442 * elf/dl-close.c: Include <stap-probe.h>.
15443 (_dl_close_worker): Added static probes "unmap_start" and
15444 "unmap_complete".
15445 * elf/rtld-debugger-interface.txt: New file documenting the above.
15446
9f98c16c
RM
154472012-07-26 Roland McGrath <roland@hack.frob.com>
15448
15449 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15450 rather than a string variable.
15451 * sunrpc/rpc_main.c (h_output): Likewise.
15452 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15453
f3c22df3
PT
154542012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15455
15456 * inet/check_native.c: New file.
15457
3129cfc6
JM
154582012-07-26 Joseph Myers <joseph@codesourcery.com>
15459
da865e95
JM
15460 [BZ #13629]
15461 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15462 if larger part has absolute value 1.0.
15463 * math/s_clog10.c (__clog10): Likewise.
15464 * math/s_clog10f.c (__clog10f): Likewise.
15465 * math/s_clog10l.c (__clog10l): Likewise.
15466 * math/s_clogf.c (__clogf): Likewise.
15467 * math/s_clogl.c (__clogl): Likewise.
15468 * math/libm-test.inc (clog_test): Add more tests.
15469 (clog10_test): Likewise.
15470 * sysdeps/i386/fpu/libm-test-ulps: Update.
15471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15472
3129cfc6
JM
15473 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15474 (pltexit): Likewise.
15475 (La_regs): Likewise.
15476 (La_retval): Likewise.
15477 (int_retval): Likewise.
15478 Update #error for removed macros to refer only to definitions in
15479 tst-audit.h.
15480 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15481 macro.
15482 (pltexit): Likewise.
15483 (La_regs): Likewise.
15484 (La_retval): Likewise.
15485 (int_retval): Likewise.
15486 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15487 macro.
15488 (pltexit): Likewise.
15489 (La_regs): Likewise.
15490 (La_retval): Likewise.
15491 (int_retval): Likewise.
15492 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15493 macro.
15494 (pltexit): Likewise.
15495 (La_regs): Likewise.
15496 (La_retval): Likewise.
15497 (int_retval): Likewise.
15498 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15499 macro.
15500 (pltexit): Likewise.
15501 (La_regs): Likewise.
15502 (La_retval): Likewise.
15503 (int_retval): Likewise.
15504 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15505 macro.
15506 (pltexit): Likewise.
15507 (La_regs): Likewise.
15508 (La_retval): Likewise.
15509 (int_retval): Likewise.
15510 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15511 macro.
15512 (pltexit): Likewise.
15513 (La_regs): Likewise.
15514 (La_retval): Likewise.
15515 (int_retval): Likewise.
15516 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15517 macro definitions in tst-audit.h.
15518 * sysdeps/i386/tst-audit.h: New file.
15519 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15520 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15521 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15522 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15523 * sysdeps/sh/tst-audit.h: Likewise.
15524 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15525 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15526 * sysdeps/x86_64/tst-audit.h: Likewise.
15527
bfc07087
AJ
155282012-07-26 Andreas Jaeger <aj@suse.de>
15529
b1b2aaf8
AJ
15530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15531 ptrace.
15532
15533 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15534 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15535 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15536 PTRACE_O_MASK.
15537 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15538 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15539 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15540
bfc07087
AJ
15541 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15542 value.
15543
15544 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15545 _sigsys.
15546 (si_call_addr, si_syscall, si_arch): Define new macro.
15547 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15548 _sigsys.
15549 (si_call_addr, si_syscall, si_arch): Define new marcro.
15550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15551 _sigsys.
15552 (si_call_addr, si_syscall, si_arch): Define new macro.
15553 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15554 _sigsys.
15555 (si_call_addr, si_syscall, si_arch): Define new macro.
15556
89b4b02f
JM
155572012-07-25 Joseph Myers <joseph@codesourcery.com>
15558
15559 [BZ #13717]
15560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15561 Change to 2.4.21 where previously 2.4.1.
15562 * sysdeps/unix/sysv/linux/configure: Regenerated.
15563 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15564 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15565 Linux kernel version.
15566 (__ASSUME_STD_AUXV): Remove.
15567 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15568 kernel version.
15569 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15570 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15571 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15572 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15573 (__ASSUME_NETLINK_SUPPORT): Likewise.
15574 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15575 (__no_netlink_support): Remove conditional definition.
15576 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15577 Remove.
15578 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15579 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15580 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15581 (if_nameindex_ioctl): Remove.
15582 (if_nameindex_netlink): Do not handle __no_netlink_support.
15583 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15584 code.
15585 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15586 Remove conditional code.
15587 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15588 code.
15589 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15590 unconditional.
15591 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15592 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15593 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15594 Remove.
15595 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15596 [!__ASSUME_STD_AUXV]: Remove conditional code.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15598 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15599 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15601 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15602 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15603 code.
15604 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15606 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15607 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15608 conditional code.
15609 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15611 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15612 code.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15614 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15615 conditional code.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15617 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15618 code unconditional.
15619 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15620 conditional code.
15621 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15622 unconditional.
15623 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15624 conditional code.
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15626 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15627 unconditional.
15628 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15629 conditional code.
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15631 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15632 code unconditional.
15633 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15634 conditional code.
15635 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15636 unconditional.
15637 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15638 conditional code.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15640 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15641 code unconditional.
15642 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15643 conditional code.
15644 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15645 unconditional.
15646 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15647 conditional code.
15648
842a39cd
AS
156492012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15650
15651 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15652 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15653 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15654 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15655 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15656 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15657 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15658 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15659 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15660 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15661 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15662 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15663 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15664 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15666 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15667 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15668 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15669 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15671 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15672 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15673 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15674
84b3fd84
FW
156752012-07-25 Florian Weimer <fweimer@redhat.com>
15676
15677 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15678 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15679 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15680 Introduce __libc_secure_getenv.
0c7936d5
FW
15681 * stdlib/Versions (2.17): Add secure_getenv
15682 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15683 * stdlib/secure-getenv.c: Rename __secure_getenv to
15684 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15685 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15686 * stdlib/tst-secure-getenv.c: New.
15687 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15688 * manual/startup.texi (Environment Access): Document
15689 secure_getenv.
84b3fd84
FW
15690 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15691 __libc_secure_getenv.
15692 * inet/ruserpass.c (ruserpass): Likewise.
15693 * malloc/mtrace.c (mtrace): Likewise.
15694 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15695 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15696 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15697 * sysdeps/posix/tempname.c: Likewise. Evaluate
15698 HAVE_SECURE_GETENV.
15699 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15700 __secure_getenv to __libc_secure_getenv.
84b3fd84 15701 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15703 Likewise.
15704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15705 Likewise.
15706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15713
56e49b71
JM
157142012-07-25 Joseph Myers <joseph@codesourcery.com>
15715
15716 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15717 (struct La_i86_retval): Likewise.
15718 (struct La_x86_64_regs): Likewise.
15719 (struct La_x86_64_retval): Likewise.
15720 (struct La_x32_regs): Likewise.
15721 (struct La_x32_retval): Likewise.
15722 (struct La_ppc32_regs): Likewise.
15723 (struct La_ppc32_retval): Likewise.
15724 (struct La_ppc64_regs): Likewise.
15725 (struct La_ppc64_retval): Likewise.
15726 (struct La_sh_regs): Likewise.
15727 (struct La_sh_retval): Likewise.
15728 (struct La_s390_32_regs): Likewise.
15729 (struct La_s390_32_retval): Likewise.
15730 (struct La_s390_64_regs): Likewise.
15731 (struct La_s390_64_retval): Likewise.
15732 (struct La_sparc32_regs): Likewise.
15733 (struct La_sparc32_retval): Likewise.
15734 (struct La_sparc64_regs): Likewise.
15735 (struct La_sparc64_retval): Likewise.
15736 (struct audit_ifaces): Remove architecture-specific pltenter and
15737 pltexit members.
15738 * sysdeps/i386/ldsodefs.h: New file.
15739 * sysdeps/powerpc/ldsodefs.h: Likewise.
15740 * sysdeps/s390/ldsodefs.h: Likewise.
15741 * sysdeps/sh/ldsodefs.h: Likewise.
15742 * sysdeps/sparc/ldsodefs.h: Likewise.
15743 * sysdeps/x86_64/ldsodefs.h: Likewise.
15744
354691b7
MP
157452012-07-25 Marek Polacek <polacek@redhat.com>
15746
15747 [BZ #6808]
15748 * math/libm-test.inc (yn_test): Add another test.
15749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15750 to ERANGE when the result is +-Inf.
15751 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15752 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15753 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15754 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15755
bf9e2071
JM
157562012-07-24 Joseph Myers <joseph@codesourcery.com>
15757
15758 * conform/data/time.h-data (NULL): Use macro-constant. Require
15759 equal to 0.
15760 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15761 clock_t.
15762 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15763
57633811
TS
157642012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15765
15766 * configure.in <sysdeps resolving>: Correct printing
15767 Implies_before.
15768 * configure: Regenerate.
15769
c23c33b0
TS
157702012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15771
15772 * math/w_ilogb.c: Include <limits.h>.
15773 * math/w_ilogbl.c: Likewise.
15774
b5982523
JM
157752012-07-20 Joseph Myers <joseph@codesourcery.com>
15776
15777 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15778 va_copy. Document allowing for unavailable va_copy only as
15779 pre-C99 compatibility.
15780 * manual/string.texi (Copying and Concatenation): Use va_copy
15781 instead of __va_copy in concat example.
15782
ac4ea442
PT
157832012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15784
15785 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15786 (__sendto): Use create_address_port. Initialize APORT and deallocate
15787 it if not null.
15788
f98eafbd
PT
15789 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15790 with O_NOLINK passed to __file_name_lookup.
15791
898c7aab
PT
15792 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15793 with O_NOLINK passed to __file_name_lookup.
15794
0ced335a
PT
15795 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15796 negative N or less than NGIDS.
15797
b3404dbd
PT
15798 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15799 type to string_t. Set ERANGE as errno and return it if NAME is not big
15800 enough. Use memcpy instead of strncpy.
15801
0f48659e
JM
158022012-07-20 Joseph Myers <joseph@codesourcery.com>
15803
15804 * elf/Makefile (check-data): Remove.
15805 (localplt.data): New vpath directive.
15806 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15807 instead of $(check-data).
15808 * scripts/data/localplt-generic.data: Move to ...
15809 * sysdeps/generic/localplt.data: ... here.
15810 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15811 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15812 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15814 ... here.
15815 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15817 ... here.
15818 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15820 ... here.
15821 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15823 ... here.
15824 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15826 ... here.
15827 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15829 ... here.
15830
d37cbdaa
AZ
158312012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15832
15833 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15834 PPC32 and PPC64 files.
15835 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15836 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15837
46f85fc2
AK
158382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15839
15840 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15841 __makecontext_ret to ...
15842 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15843 ... here and call exit if uc_link is NULL. New file.
15844 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15845 __makecontext_ret.S.
15846 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15847 __makecontext_ret to ...
15848 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15849 ... here and call exit if uc_link is NULL. New file.
15850 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15851 __makecontext_ret.S.
15852
08f43f9b
AK
158532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15854
15855 * elf/elf.h (R_390_IRELATIVE): New definition.
15856 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15857 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15858 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15859 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15860 (elf_machine_lazy_rel): Likewise.
15861 * sysdeps/s390/dl-irel.h: New file.
15862 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15863 * sysdeps/s390/s390-64/memset.S: New asm code.
15864 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15865 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15866 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15867 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15868 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15869 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15870 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15871 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15872 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15873 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15874 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15875 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15876 * sysdeps/s390/s390-32/memset.S: New asm code.
15877 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15878
3b05db33
MP
158792012-07-17 Marek Polacek <polacek@redhat.com>
15880
15881 [BZ #14349]
15882 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15883 * sysdeps/s390/s390-64/configure.in: Likewise.
15884 * sysdeps/sparc/configure.in: Likewise.
15885 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15886 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15887 * sysdeps/i386/configure.in: Likewise.
15888 * sysdeps/x86_64/configure.in: Likewise.
15889 * sysdeps/sh/configure.in: Likewise.
15890 * sysdeps/s390/s390-32/configure: Regenerated.
15891 * sysdeps/s390/s390-64/configure: Likewise.
15892 * sysdeps/x86_64/configure: Likewise.
15893 * sysdeps/sh/configure: Likewise.
15894 * sysdeps/powerpc/powerpc64/configure: Likewise.
15895 * sysdeps/powerpc/powerpc32/configure: Likewise.
15896 * sysdeps/sparc/configure: Likwise.
15897 * sysdeps/i386/configure: Likewise.
15898
a66877c6
MP
15899 * elf/dl-open.c: Comment fixes.
15900
cfc82fd8
JM
159012012-07-17 Joseph Myers <joseph@codesourcery.com>
15902
bd29910a
JM
15903 * Makefile [CXX] (check-data): Remove.
15904 [CXX] (c++-types.data): New vpath directive.
15905 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15906 vpath. Do not allow for C++ type data being missing.
15907 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15908 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15909 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15910 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15911 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15912 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15913 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15915 ... here.
15916 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15918 ... here.
15919 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15921 ... here.
15922 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15924 ... here.
15925 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15927 ... here.
15928 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15930 ... here.
15931 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15933 ... here.
15934 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15936
cfc82fd8
JM
15937 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15938 definitions to architecture-specific files.
15939 (TLS_IE): Likewise.
15940 (TLS_LD): Likewise.
15941 (TLS_GD): Likewise.
15942 * sysdeps/i386/tls-macros.h: New file.
15943 * sysdeps/powerpc/tls-macros.h: Likewise.
15944 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15945 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15946 * sysdeps/sh/tls-macros.h: Likewise.
15947 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15948 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15949 * sysdeps/x86_64/tls-macros.h: Likewise.
15950
f7db3170
TS
159512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15952
07cbfc23
TS
15953 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15954 zero value for regular exit case.
15955
f7db3170
TS
15956 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15957 (__start_context): Preserve zero value for regular exit case.
15958
dc97c227
TS
159592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15960 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15961
15962 * manual/setjmp.texi (setcontext): Clarify normal process
15963 termination when uc_link is the null pointer.
15964 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15965 exit call.
15966
d0cd7d02
AS
159672012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15968
15969 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15970 preprocessor. Test for each exception mask separately.
15971
dd318934
AJ
159722012-07-16 Andreas Jaeger <aj@suse.de>
15973
15974 * po/ru.po: Update from translation team.
15975
8048311a
JM
159762012-07-15 Joseph Myers <joseph@codesourcery.com>
15977
15978 * conform/data/string.h-data (NULL): Use macro-constant. Require
15979 equal to 0.
15980 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15981 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15982 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15983 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15984 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15985
b637d46e
AJ
159862012-07-13 Andreas Jaeger <aj@suse.de>
15987
15988 * po/fr.po: Update from translation team.
15989
541428fe
MP
159902012-07-12 Marek Polacek <polacek@redhat.com>
15991
15992 [BZ #14173]
15993 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15994 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15995 loop condition.
15996
ec332e94
JM
159972012-07-12 Joseph Myers <joseph@codesourcery.com>
15998
15999 [BZ #13717]
16000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16001 Change to 2.4.1 where previously 2.4.0.
16002 * sysdeps/unix/sysv/linux/configure: Regenerated.
16003 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16004 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16005 version.
16006 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16007 (__ASSUME_AT_CLKTCK): Remove.
16008 (__ASSUME_AT_PAGESIZE): Likewise.
16009 (__ASSUME_AT_XID): Likewise.
16010 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16011 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16012 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16013 unconditionally.
16014 (HAVE_AUX_PAGESIZE): Likewise.
16015 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16016 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16017 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16018
7b6e99be
JB
160192012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16020
16021 [BZ #14307]
16022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16023 the temporary buffer used to invoke __gethostbyname2_r,
16024 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16025 host_data / struct gaih_addrtuple.
16026 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16027 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16028 header file nss/nsswitch.h.
16029 * nss/nsswitch.h (global scope): Add definition of implementation
16030 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16031 resolv/nss_dns/dns-host.c).
16032
608404eb
AJ
160332012-07-11 Andreas Jaeger <aj@suse.de>
16034
16035 * po/fr.po: Update from translation team.
16036
71220aca
AJ
16037 * po/sv.po: Update from translation team
16038 * po/fr.po: Another update from translation team.
16039
28cfe843
AZ
160402012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16041
16042 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16043 for subnormals or multiply small sinh result by itself.
16044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16046
6b90f981
DM
160472012-07-11 David S. Miller <davem@davemloft.net>
16048
16049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16050
c6825772
AS
160512012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 [BZ #14347]
16054 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16055 (INTERNAL_MARK): Shift it here.
16056
7b8e0d49
MP
160572012-07-10 Marek Polacek <polacek@redhat.com>
16058
16059 [BZ #14151]
16060 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16061 libc_cv_asm_global_directive with .globl.
16062 * configure: Regenerated.
16063 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16064 with .globl.
16065 * sysdeps/i386/configure: Regenerated.
16066 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16067 with .globl.
16068 * sysdeps/x86_64/configure: Regenerated.
16069 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16070 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16071 * elf/tst-unique2mod2.c: Likewise.
16072 * elf/tst-unique2mod1.c: Likewise.
16073 * elf/tst-unique1mod2.c: Likewise.
16074 * elf/tst-unique1mod1.c: Likewise.
16075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16076 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16078 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16079 * sysdeps/mach/sysdep.h: Likewise.
16080 * sysdeps/i386/sysdep.h: Likewise.
16081 * sysdeps/i386/i386-mcount.S: Likewise.
16082 * sysdeps/x86_64/_mcount.S: Likewise.
16083 * sysdeps/x86_64/sysdep.h: Likewise.
16084 * sysdeps/sh/_mcount.S: Likewise.
16085 * sysdeps/sh/sysdep.h: Likewise.
16086 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16087 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16088 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16090 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16091 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16092 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16093 * locale/localeinfo.h: Likewise.
16094 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16095 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16096
6c55cda3
RM
160972012-07-09 Roland McGrath <roland@hack.frob.com>
16098
16099 [BZ #14336]
16100 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16101 system".
16102 * manual/message.texi (The Uniforum approach): Likewise.
16103 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16104 (glibc iconv Implementation): Likewise.
16105
638a572e
JM
161062012-07-09 Joseph Myers <joseph@codesourcery.com>
16107
16108 [BZ #14337]
16109 * math/s_clog.c (__clog): Avoid scaling a value down where that
16110 could result in underflow.
16111 * math/s_clog10.c (__clog10): Likewise.
16112 * math/s_clog10f.c (__clog10f): Likewise.
16113 * math/s_clog10l.c (__clog10l): Likewise.
16114 * math/s_clogf.c (__clogf): Likewise.
16115 * math/s_clogl.c (__clogl): Likewise.
16116 * math/libm-test.inc (clog_test): Add more tests.
16117 (clog10_test): Likewise.
16118 * sysdeps/i386/fpu/libm-test-ulps: Update.
16119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16120
261f4859
AS
161212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16122
0abaf3e4
AS
16123 [BZ #14283]
16124 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16125 by 7 not 8 to examine high bit of fractional part.
16126
261f4859
AS
16127 [BZ #14042]
16128 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16129 for call to __mcount_internal.
16130 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16131 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16132 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16133
f17ac40d
JM
161342012-07-06 Joseph Myers <joseph@codesourcery.com>
16135
9ad63c23
JM
16136 [BZ #14154]
16137 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16138 approximation for values within 0x1p-13f of an odd multiple of
16139 pi/4.
16140 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16141 exception. Add more tests.
16142 * sysdeps/i386/fpu/libm-test-ulps: Update.
16143
f17ac40d
JM
16144 [BZ #6778]
16145 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16146 inputs and return -1 for them. Do not check for +Inf in case not
16147 reachable for +Inf.
16148 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16149 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16151 and return -1 for them. Do not check for +Inf in case not
16152 reachable for +Inf.
16153 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16154 define.
16155 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16156 and return -1 for them. Do not check for +Inf in case not
16157 reachable for +Inf.
16158 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16159 spurious underflow.
16160 * sysdeps/i386/fpu/libm-test-ulps: Update.
16161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16162
fb21f89b
MF
161632012-07-06 Mike Frysinger <vapier@gentoo.org>
16164
16165 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16166
cdfe2c5e
JM
161672012-07-05 Joseph Myers <joseph@codesourcery.com>
16168
16169 [BZ #14157]
16170 [BZ #14331]
16171 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16172 could result in spurious underflow. Scale down values above
16173 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16174 * math/s_csqrtf.c (__csqrtf): Likewise.
16175 * math/s_csqrtl.c (__csqrtl): Likewise.
16176 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16177 spurious underflow.
16178 * sysdeps/i386/fpu/libm-test-ulps: Update.
16179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16180
70d35b67
AS
161812012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16182
704bc459
AS
16183 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16184 xopen-msg.sed.
16185 * catgets/xopen-msg.awk: New file.
16186 * catgets/xopen-msg.sed: Removed.
16187
70d35b67
AS
16188 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16189 po2text.sed.
16190 * intl/po2test.awk: New file.
16191 * intl/po2test.sed: Removed.
16192
ca61cf32
JM
161932012-07-04 Joseph Myers <joseph@codesourcery.com>
16194
16195 [BZ #14328]
16196 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16197 or multiply small sinh result by itself.
16198 * math/s_ctanf.c (__ctanf): Likewise.
16199 * math/s_ctanh.c (__ctanh): Likewise.
16200 * math/s_ctanhf.c (__ctanhf): Likewise.
16201 * math/s_ctanhl.c (__ctanhl): Likewise.
16202 * math/s_ctanl.c (__ctanl): Likewise.
16203 * math/libm-test.inc (ctan_test_tonearest): New function.
16204 (ctan_test_towardzero): Likewise.
16205 (ctan_test_downward): Likewise.
16206 (ctan_test_upward): Likewise.
16207 (ctanh_test_tonearest): Likewise.
16208 (ctanh_test_towardzero): Likewise.
16209 (ctanh_test_downward): Likewise.
16210 (ctanh_test_upward): Likewise.
16211 (main): Call these new functions.
16212 * sysdeps/i386/fpu/libm-test-ulps: Update.
16213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16214
ca48a46a
MF
162152012-07-03 Mike Frysinger <vapier@gentoo.org>
16216
16217 * .gitignore: Delete /ports entry.
16218
9d63d37d
AJ
162192012-07-03 Andreas Jaeger <aj@suse.de>
16220
16221 * po/bg.po: Update from translation team.
16222 * po/cs.po: Likewise.
16223 * po/de.po: Likewise.
16224 * po/hr.po: Likewise.
16225 * po/nl.pl: Likewise.
16226 * po/pl.po: Likewise.
16227 * po/vi.po: Likewise.
16228
370ca3d2
JM
162292012-07-03 Joseph Myers <joseph@codesourcery.com>
16230
95f5a9a8
JM
16231 * Makeconfig [!+link] (+link-before-libc): New variable.
16232 [!+link] (+link-after-libc): Likewise.
16233 [!+link] (+link-tests): Likewise.
16234 [!+link] (+link): Define in terms of $(+link-before-libc) and
16235 $(+link-after-libc).
16236 [!+link-static] (+link-static-before-libc): New variable.
16237 [!+link-static] (+link-static-after-libc): Likewise.
16238 [!+link-static] (+link-static-tests): Likewise.
16239 [!+link-static] (+link-static): Define in terms of
16240 $(+link-static-before-libc) and $(+link-static-after-libc).
16241 [build-shared] (link-libc-before-gnulib): New variable.
16242 [build-shared] (link-libc-tests): Likewise.
16243 [build-shared] (link-libc): Define in terms of
16244 $(link-libc-before-gnulib).
16245 [!build-shared] (link-libc-tests): New variable.
16246 (link-libc-static-tests): New variable.
16247 [!gnulib] (gnulib-arch): New variable.
16248 [!gnulib] (gnulib-tests): Likewise.
16249 [!gnulib] (static-gnulib-arch): Likewise.
16250 [!gnulib] (static-gnulib-tests): Likewise.
16251 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16252 Define with "=" instead of ":=".
16253 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16254 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16255 * Rules (binaries-all-notests): New variable.
16256 (binaries-all-tests): Likewise.
16257 (binaries-static-notests): Likewise.
16258 (binaries-static-tests): Likewise.
16259 (binaries-all): Define using $(binaries-all-notests) and
16260 $(binaries-all-tests).
16261 (binaries-static): Define using $(binaries-static-notests) and
16262 $(binaries-static-tests).
16263 (binaries-shared-tests): New variable.
16264 (binaries-shared-notests): Likewise.
16265 (binaries-shared): Remove variable.
16266 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16267 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16268 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16269 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16270 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16271 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16272 * elf/Makefile (sln-modules): New variable.
16273 (extra-objs): Add $(sln-modules:=.o).
16274 (ldconfig-modules): Add static-stubs.
16275 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16276 * elf/static-stubs.c: New file.
16277
7a845b2c
JM
16278 [BZ #14283]
16279 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16280 by 7 not 8 to examine high bit of fractional part. Use volatile
16281 variables when splitting into final array of floats if
16282 __FLT_EVAL_METHOD__ != 0.
16283 * math/libm-test.inc (cos_test): Add another test.
16284 (sin_test): Likewise.
16285 * sysdeps/i386/fpu/libm-test-ulps: Update.
16286
e2283f38
JM
16287 [BZ #14273]
16288 * math/libm-test.inc (cosh_test): Add more tests.
16289
370ca3d2
JM
16290 * version.h (RELEASE): Set to "development".
16291 (VERSION): Set to "2.16.90".
16292
ee9247c3
CD
162932012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16294
16295 * NEWS: Update copyright. Remove last-updated date.
16296 Mention math library bug fixes and timezone data changes.
16297 * README: Mention GNU/Hurd, x32, and HPPA support status.
16298
4648c381
TS
162992012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16300
16301 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16302
aac78a43
AJ
163032012-06-27 Andreas Jaeger <aj@suse.de>
16304
16305 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16306
ed3dbfad
AJ
163072012-06-25 Andreas Jaeger <aj@suse.de>
16308
16309 * sysdeps/s390/fpu/libm-test-ulps: Update.
16310
4d0ee855
AS
163112012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16312 Thomas Schwinge <thomas@codesourcery.com>
16313
16314 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16315 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16317 fanotify_mark.
16318
af1bce34
TS
163192012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16320
a9fa33ba
TS
16321 * sysdeps/mach/start.c: Remove file.
16322 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16323 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16324 * sysdeps/sh/init-first.c: Likewise.
16325
58f902b8
TS
16326 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16327 registers for frame unwinding purposes, add CFI directives.
16328 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16329 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16330 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16331 Likewise.
16332
1518f58b
TS
16333 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16334 __fortify_fail returning.
16335 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16336
db9b5059
TS
16337 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16338 sysdeps/sh/____longjmp_chk.S.
16339 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16340 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16341 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16342 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16343
967705fe
TS
16344 * sysdeps/sh/abort-instr.h: New file.
16345 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16346 process in case exit returns.
16347
a9def8c4
TS
16348 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16349 initialize the GOT register before use.
16350
2a649725
TS
16351 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16352 calculation of ARGC > 4.
16353
af1bce34
TS
16354 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16355 meaningful names to some local labels.
16356
d230f50a
KK
163572012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16358 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16359
16360 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16361 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16362 (__arch_compare_and_exchange_val_16_acq): Likewise.
16363 (__arch_compare_and_exchange_val_32_acq): Likewise.
16364 (atomic_exchange_and_add): Fix gUSA sequence.
16365 (atomic_add): Likewise.
16366 (atomic_add_negative): Likewise.
16367 (atomic_add_zero): Likewise.
16368 (atomic_bit_test_set): Likewise.
16369
0479b305
AS
163702012-06-22 Andreas Schwab <schwab@redhat.com>
16371
16372 [BZ #13579]
16373 * include/link.h (struct link_map): Add l_free_initfini.
16374 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16375 l_initfini.
16376 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16377 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16378 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16379 set.
16380
0e3933b9
CD
163812012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16382
16383 * configure.in: Use AC_LANG_SOURCE.
16384 * configure: Regenerate.
16385
4248b1b1
RM
163862012-06-22 Roland McGrath <roland@hack.frob.com>
16387
16388 * configure.in (libc_cv_localstatedir): New substituted variable.
16389 * configure: Regenerated.
16390 * config.make.in (localstatedir): New variable, substituted from
16391 libc_cv_localstatedir.
16392 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16393 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16394 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16395 * sysdeps/gnu/configure: Regenerated.
16396
006dd861
JL
163972012-06-21 Jeff Law <law@redhat.com>
16398
16399 [BZ #14277]
16400 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16401 free. Simplify list management for _LIBC case.
16402
79662d42
JM
164032012-06-21 Joseph Myers <joseph@codesourcery.com>
16404
b7abb4bf
JM
16405 [BZ #14273]
16406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16407 Clear sign bit of 64-bit integer value before comparing against
16408 overflow value.
16409
79662d42
JM
16410 * sysdeps/mach/configure: Regenerated.
16411
1f150908
L
164122012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16413
16414 [BZ #14278]
16415 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16416
28363bbf
JL
164172012-06-21 Jeff Law <law@redhat.com>
16418
16419 [BZ #13882]
16420 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16421 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16422 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16423 * elf/dl-open.c (dl_open_worker): Likewise.
16424
09615db4
CD
164252012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16426
16427 * scripts/list-sources.sh: Scan PORTS for translations.
16428 * po/libc.pot: Regenerated.
16429
2174c6dd
AJ
164302012-06-21 Andreas Jaeger <aj@suse.de>
16431
16432 [BZ #12194]
16433 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16434 warning.
16435 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16436 * bits/byteswap-16.h (__bswap_16): Likewise.
16437 * bits/byteswap.h (__bswap_constant_16): Likewise.
16438
3ee947b1
L
164392012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16440
16441 [BZ #14117]
a2f34833
L
16442 * sysdeps/i386/fpu_control.h: Removed.
16443 * sysdeps/x86_64/fpu_control.h: Moved to ...
16444 * sysdeps/x86/fpu_control.h: Here.
16445
3ee947b1
L
16446 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16447 (_FPU_SETCW): Likewise.
16448
ed1825f8
L
164492012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16450
25f1282a
L
16451 [BZ #14117]
16452 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16453 * sysdeps/x86/fpu/bits/mathinline.h: This.
16454 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16455
ed1825f8
L
16456 [BZ #14050]
16457 [BZ #14117]
16458 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16459 functions if __x86_64__ is defined.
16460
36d54b74
CLT
164612012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16462
16463 * string/endian.h: Add !__ASSEMBLER__ condition for including
16464 conversion interfaces.
16465
10285c21
JM
164662012-06-15 Joseph Myers <joseph@codesourcery.com>
16467
16468 [BZ #14241]
16469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16470 of ABS(x) in calculating zero to negative powers other than odd
16471 integers.
16472 * math/libm-test.inc (pow_test): Add more tests.
16473
06c5abbd
AJ
164742012-06-15 Andreas Jaeger <aj@suse.de>
16475
16476 * manual/contrib.texi (Contributors): Update entry of Liubov
16477 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16478 Machado Filho.
16479
a3aeac40
CH
164802012-06-15 Cyril Hrubis <metan@ucw.cz>
16481
16482 * string/string.h: Add __wur to GNU version of strerror_r.
16483
49bdf4c1
L
164842012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 [BZ #14229]
16487 * string/Makefile (tests): Add tst-strtok_r.
16488 * string/tst-strtok_r.c: New file.
16489 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16490 RAX_LP/RDX_LP on SAVE_PTR.
16491
834f9b8d
RM
164922012-06-14 Roland McGrath <roland@hack.frob.com>
16493
16494 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16495
75fa1921
JM
164962012-06-14 Joseph Myers <joseph@codesourcery.com>
16497
16498 * libm_test.inc (csqrt_test): Allow more spurious underflow
16499 exceptions.
16500 (j0_test): Likewise.
16501 (j1_test): Likewise.
16502 (y0_test): Likewise.
16503 (y1_test): Likewise.
16504
771766df
CD
165052012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16506
16507 * po/Makefile (libc.pot): Use UTF-8 charset.
16508
ceb9e56b
PP
165092012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16510
16511 [BZ #14210]
16512 Suppress sign-conversion warning from FD_SET.
16513 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16514 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16515 not unsigned long int.
16516 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16517
ddb28975
L
165182012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16519
16520 [BZ #14050]
16521 [BZ #14117]
16522 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16523 __extern_always_inline instead of __extern_inline.
16524 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16525 (__signbit): Likewise.
16526 (__signbitl): Support C++ namespace.
16527 (lrintf): New inline function.
16528 (lrint): Likewise.
16529 (llrintf): Likewise.
16530 (llrint): Likewise.
16531 (fmaxf): Likewise.
16532 (fmax): Likewise.
16533 (fminf): Likewise.
16534 (fmin): Likewise.
16535 (rint): Likewise.
16536 (rintf): Likewise.
16537 (ceil): Likewise.
16538 (ceilf): Likewise.
16539 (floor): Likewise.
16540 (floorf): Likewise.
16541 (nearbyint): Likewise.
16542 (nearbyintf): Likewise.
16543
d7b4fb26
TS
165442012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16545
16546 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16547 non-default versions.
16548
eb55f5c2
RM
165492012-06-11 Roland McGrath <roland@hack.frob.com>
16550
16551 [BZ #14218]
16552 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16553
366af02c
TS
165542012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16555
99ff6e5c
TS
16556 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16557 (FE_UPWARD, FE_DOWNWARD): Don't define.
16558 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16559 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16560
366af02c
TS
16561 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16562 reading it.
16563 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16564 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16565
793ea851
KK
165662012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16567
16568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16570 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16571 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16572
a728a38f
L
165732012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16574
16575 [BZ #14117]
c08010c7
L
16576 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16577 * sysdeps/i386/fpu/Implies: New file.
16578 * sysdeps/x86_64/fpu/Implies: Likewise.
16579 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16580 * sysdeps/x86/fpu/bits/fenv.h: This.
16581
a728a38f
L
16582 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16583 __SSE_MATH__.
16584
6e230d11
SP
165852012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16586
16587 [BZ #14134]
16588 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16589 character 0xffff that matches the last element of the
16590 conversion table.
16591
1b671feb
AZ
165922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16593
16594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16595 fmodl commit.
16596
6043738b
AZ
165972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16598
16599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16600 values higher than 25.6283.
16601
34ae0b32
AZ
166022012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16603
16604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16605 subnormal exponent extraction and add some __builtin_expect.
16606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16607 Fix for subnormal mantissa calculation.
16608
1214ec8f
MF
166092012-06-04 Mike Frysinger <vapier@gentoo.org>
16610
16611 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16612 cpu2 is -1 and errno is not ENOSYS.
16613
f3d1f93c
L
166142012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16615
16616 [BZ #14117]
0e4a3cd7
L
16617 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16618 * sysdeps/x86/bits/string.h: This.
16619 * sysdeps/x86_64/bits/string.h: Removed.
16620
6704c645
L
16621 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16622 if not compiling for x86-64, but compiling for >= i486.
16623
48495318
L
16624 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16625 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16626
14adcbfc
L
16627 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16628 New macro from Linux kernel 3.4.0.
16629 (FP_XSTATE_MAGIC2): Likewise.
16630 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16631 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16632 (struct _fpx_sw_bytes): New struct.
16633 (struct _xsave_hdr): Likewise.
16634 (struct _ymmh_state): Likewise.
16635 (struct _xstate): Likewise.
16636
68e408ab
L
16637 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16638 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16639 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16640 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16641 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16642 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16643
f3d1f93c
L
16644 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16645 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16646 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16647 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16648 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16649 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16650
d9dc34cd
TMQMF
166512012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16652
16653 [BZ #13743]
16654 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16655 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16656 (sysdep_headers): Include sys/platform/ppc.h.
16657 * sysdeps/powerpc/test-gettimebase.c: Test for
16658 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16659 * manual/Makefile (appendices): Include platform.texi.
16660 * manual/contrib.texi (Contributors): Update @node pointers.
16661 * manual/maint.texi (Maintenance): Likewise.
16662 (Platform): New node.
16663 * manual/platform.texi: New file. Document the new features.
16664
4af3879c
SP
166652012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16666 Jakub Jelinek <jakub@redhat.com>
16667
16668 [BZ #14188]
16669 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16670 where __builtin_expect is unavailable.
16671
2fd6ff13
DM
166722012-06-03 David S. Miller <davem@davemloft.net>
16673
16674 * stdlib/longlong.h: Updated from GCC.
16675
173f7220
AS
166762012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16677
16678 [BZ #14042]
16679 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16680 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16681 __mcount_internal.
16682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16683 (GLIBC_2.16): Likewise.
16684
f34a1c6f
L
166852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16686
16687 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16688
88a4576f
JM
166892012-06-01 Joseph Myers <joseph@codesourcery.com>
16690
ea32bcdd
JM
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16692 (default-abi): New variable.
16693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16694 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16695 variable.
16696 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16697 Likewise.
16698 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16699 Likewise.
16700 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16701 Likewise.
16702
88a4576f
JM
16703 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16704 definition. Document in comment.
16705
402fe938
DM
167062012-06-01 David S. Miller <davem@davemloft.net>
16707
16708 * stdlib/longlong.h: Updated from GCC.
16709
3553723f
L
167102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16711
16712 [BZ #14117]
3bd872c4
L
16713 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16714 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16715 sys/debugreg.h sys/io.h here.
16716 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16717 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16718 sys/io.h.
16719 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16720 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16721 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16722 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16723 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16724 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16725
3553723f
L
16726 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16727 Define only if __x86_64__ is defined.
16728
4842e4fe
JM
167292012-06-01 Joseph Myers <joseph@codesourcery.com>
16730
c5bfe3d5
JM
16731 [BZ #14048]
16732 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16733 Use int64_t for variable i.
16734 * math/libm-test.inc (fmod_test): Add more tests.
16735
4842e4fe
JM
16736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16737 z computation is not scheduled after fetestexcept.
16738 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16739 Use math_force_eval instead of asm to ensure calculation scheduled
16740 before exception test.
16741 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16742 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16743
efb73488
AJ
167442012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16745
16746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16747 computation is not scheduled after fetestexcept.
16748
29bcce7c
L
167492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16750
16751 [BZ #14117]
16752 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16753 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16754
73a68f94
AZ
167552012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16756
16757 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16758 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16759
67b6df78
L
167602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16761
edf2933a 16762 [BZ #14117]
ebc64a18
L
16763 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16764 <bits/wordsize.h>.
16765 (__WCHAR_MIN): Support __WORDSIZE == 64.
16766 (__WCHAR_MAX): Likewise.
16767
edf2933a
L
16768 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16769 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16770
57c6cf40
L
16771 [BZ #14183]
16772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16773 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16774
67b6df78 16775 [BZ #14117]
8eb6281e
L
16776 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16777 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16778
aac639f4
L
16779 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16780 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16781
67b6df78
L
16782 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16783 Defined to 1 if __x86_64__ isn't defined.
16784 (_STAT_VER_LINUX_OLD): New.
16785 (st_atime): Remove duplicate.
16786 (st_mtime): Likewise.
16787 (st_ctime): Likewise.
16788
1c2cfe81
DM
167892012-05-31 David S. Miller <davem@davemloft.net>
16790
16791 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16792 entries.
16793
5be8418c
AS
167942012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16795
e7725326
AS
16796 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16797 gen-libm-test.pl.
16798
5be8418c
AS
16799 [BZ #14132]
16800 * elf/dl-reloc.c: Include <_itoa.h>.
16801 (_dl_reloc_bad_type): Remove use of INTUSE.
16802 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16803 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16804 * stdio-common/psiginfo.c (psiginfo): Likewise.
16805 * stdio-common/psignal.c (psignal): Likewise.
16806 * string/strsignal.c (strsignal): Likewise.
16807 * include/signal.h (_sys_siglist): Declare hidden proto.
16808 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16809 INTVARDEF with libc_hidden_data_def.
16810 * stdio-common/itoa-udigits.c: Likewise.
16811 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16812 (_itoa_lower_digits_internal): Remove declaration.
16813 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16814 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16815 (_sys_sigabbrev_internal): Remove aliases.
16816 (_sys_siglist): Define hidden alias.
16817
507352f1
MT
168182012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16819
16820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16821 bits/sysctl.h.
16822
42bbb1c3
L
168232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16824
16825 [BZ #14117]
6bd784b6
L
16826 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16827 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16828
8bca20f0
L
16829 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16830 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16831 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16832 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16834 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16835
f9e890a9
L
16836 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16837 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16838 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16839
471101a1
L
16840 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16841 with __addr.
16842 (insw): Likewise.
16843 (insl): Likewise.
16844 (outsb): Likewise.
16845 (outsw): Likewise.
16846 (outsl): Likewise.
16847
6451c862
L
16848 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16849 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16850 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16851
a254b8c9
L
16852 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16853 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16855 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16856 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16857 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16858
b8dfdd92
L
16859 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16860 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16861
578cd270
L
16862 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16863 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16864
de662f5f
L
16865 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16866 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16867 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16868
25653439
L
16869 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16870 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16871 to ...
16872 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16873
6bad24a0
L
16874 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16875 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16876 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16877
42bbb1c3
L
16878 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16879 for x86-64.
16880 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16881
2d10d547
JM
168822012-05-31 Joseph Myers <joseph@codesourcery.com>
16883
16884 * math/math.h (M_El): Use two more decimal places.
16885 (M_LOG2El): Likewise.
16886 (M_LOG10El): Likewise.
16887 (M_LN2l): Likewise.
16888 (M_LN10l): Likewise.
16889 (M_PIl): Likewise.
16890 (M_PI_2l): Likewise.
16891 (M_PI_4l): Likewise.
16892 (M_1_PIl): Likewise.
16893 (M_2_PIl): Likewise.
16894 (M_2_SQRTPIl): Likewise.
16895 (M_SQRT2l): Likewise.
16896 (M_SQRT1_2l): Likewise.
16897
f230c29b
DM
168982012-05-31 David S. Miller <davem@davemloft.net>
16899
16900 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16901 values between float registers.
16902 * sysdeps/sparc/sparc64/memset.S: Likewise.
16903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16904
fed806c3
MF
169052012-05-31 Mike Frysinger <vapier@gentoo.org>
16906
16907 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16908 -D_FORTIFY_SOURCE=1.
16909 (CPPFLAGS-tst-longjmp_chk.c): Define.
16910 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16911 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16912 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16913 CFLAGS-tst-wchar-h.c.
16914
30917259
MP
169152012-05-31 Marek Polacek <polacek@redhat.com>
16916
16917 [BZ #14132]
16918 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16919 __endmntent_internal): Remove declaration.
16920 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16921 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16922 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16923
1c58d5dc
DM
169242012-05-30 David S. Miller <davem@davemloft.net>
16925
16926 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16927 (___Q_simulate_exceptions): Use real FP ops rather than writing
16928 into the %fsr.
16929 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16930 Likewise.
16931
7dc00e0d
L
169322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16933
16934 [BZ #14117]
0bd53985
L
16935 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16936 * sysdeps/x86/bits/xtitypes.h: This.
16937
3a257e66
L
16938 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16939 * sysdeps/x86/bits/wordsize.h: This.
16940
62f62904
L
16941 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16942 * sysdeps/x86/bits/huge_vall.h: This.
16943
404fe9d9
L
16944 * sysdeps/i386/bits/select.h: Removed.
16945 * sysdeps/x86_64/bits/select.h: Renamed to ...
16946 * sysdeps/x86/bits/select.h: This.
16947
d48d0446
L
16948 * sysdeps/i386/bits/setjmp.h: Removed.
16949 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16950 * sysdeps/x86/bits/setjmp.h: This.
16951
7dc00e0d
L
16952 * sysdeps/i386/bits/mathdef.h: Removed.
16953 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16954 * sysdeps/x86/bits/mathdef.h: This.
16955
03277f8f
AS
169562012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16957
16958 [BZ #14132]
16959 * include/sys/socket.h (__connect_internal)
16960 (__libc_sa_len_internal): Remove declaration.
16961 (__connect, __libc_sa_len): Declare hidden_proto.
16962 (SA_LEN): Remove use of INTUSE.
16963 * socket/connect.c: Add libc_hidden_def.
16964 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16965 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16966 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16967 alias.
16968 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16969 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16970 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16971 of adding _internal alias.
16972
13764867
L
169732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16974
16975 [BZ #14117]
6bd97696
L
16976 * sysdeps/i386/bits/link.h: Removed.
16977 * sysdeps/i386/bits/linkmap.h: Likewise.
16978 * sysdeps/x86_64/bits/link.h: Renamed to ...
16979 * sysdeps/x86/bits/link.h: This.
16980 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16981 * sysdeps/x86/bits/linkmap.h: This.
16982
f726f0bb
L
16983 * sysdeps/i386/bits/endian.h: Removed.
16984 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16985 * sysdeps/x86/bits/endian.h: This.
16986
13764867
L
16987 * sysdeps/i386/bits/byteswap.h: Removed.
16988 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16989 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16990 * sysdeps/x86/bits/byteswap.h: This.
16991 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16992 * sysdeps/x86/bits/byteswap-16.h: This.
16993 * sysdeps/i386/Implies: Add x86.
16994 * sysdeps/x86_64/Implies: Likewise.
16995
ae251b0b
DM
169962012-05-30 David S. Miller <davem@davemloft.net>
16997
16998 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16999 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17000 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17001 (FP_TRAPPING_EXCEPTIONS): Define.
17002 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17003 (FP_TRAPPING_EXCEPTIONS): Define.
17004 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17005 subnormals only when inexact has been signalled or underflow
17006 exceptions are enabled.
17007 (_FP_PACK_CANONICAL): Likewise.
17008
d5c90867
L
170092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17010
17011 [BZ #14183]
17012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17013 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17014
63f1549e
RH
170152012-05-30 Richard Henderson <rth@twiddle.net>
17016
8d8f2279
RH
17017 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17018 with #ifndef NOT_IN_libc.
17019
63f1549e
RH
17020 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17021 marked to avoid plt entry.
17022
0ab0291b
L
170232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17024
17025 [BZ #14112]
17026 * Makeconfig (default-abi): New macro.
17027 (abi-includes): Likewise.
17028 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17029 $(abi-$(default-abi)-lib-soname) for soname if defined.
17030 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17031 abi-variants.
17032 * Makefile (installed-stubs): Likewise.
17033 * include/stubs-biarch.h: Removed.
17034 * scripts/lib-names.awk: Only handle one library at a time.
17035 * scripts/soversions.awk: Remove WORDSIZE support.
17036 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17037 entries.
17038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17039 Removed.
17040 (syscall-list-default-condition): Likewise.
17041 (syscall-list-default-condition): Likewise.
17042 (syscall-list-includes): Likewise.
17043 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17044 syscall-list-* with abi-*. Handle undefined abi-variants.
17045 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17046 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17047 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17048 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17049 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17050 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17051 Removed.
17052 (syscall-list-32-options): Likewise.
17053 (syscall-list-32-condition): Likewise.
17054 (syscall-list-64-options): Likewise.
17055 (syscall-list-64-condition): Likewise.
17056 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17057 macro.
17058 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17059 Renamed to ...
17060 (abi-*): This.
17061 (abi-64-ld-soname): New macro.
17062 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17063 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17064 Renamed to ...
17065 (abi-*): This.
17066 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17067 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17068
4da0431d
JM
170692012-05-30 Joseph Myers <joseph@codesourcery.com>
17070
3a85279c
JM
17071 * sysdeps/unix/sysv/linux/kernel-features.h
17072 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17073 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17074 include <kernel-features.h>.
17075 [!__NR_ftruncate64]: Remove conditional code.
17076 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17077 [__NR_ftruncate64]: Make code unconditional.
17078 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17079 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17080 include <kernel-features.h>.
17081 [!__NR_ftruncate64]: Remove conditional code.
17082 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17083 [__NR_ftruncate64]: Make code unconditional.
17084 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17086 include <kernel-features.h>.
17087 [!__NR_ftruncate64]: Remove conditional code.
17088 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17089 [__NR_ftruncate64]: Make code unconditional.
17090 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17092 include <kernel-features.h>.
17093 [!__NR_ftruncate64]: Remove conditional code.
17094 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17095 [__NR_ftruncate64]: Make code unconditional.
17096 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17097
4da0431d
JM
17098 * configure.in (libc_cv_fpie): Weaken to a compile test using
17099 LIBC_TRY_CC_OPTION.
17100 * configure: Regenerated.
17101
11ef492c
AK
171022012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17103
17104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17108 Refreshed.
17109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17115 Refreshed.
17116
d66ef399
DM
171172012-05-27 David S. Miller <davem@davemloft.net>
17118
17119 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17120 (___Q_zero): New.
17121 (__Q_simulate_exceptions): Return void. Change to simulate
17122 exceptions by writing into the %fsr.
17123 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17124 (__Qp_handle_exceptions): Likewise.
17125 (numbers): Delete.
17126 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17127 __Qp_handle_exceptions.
17128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17129 __Qp_handle_exceptions.
17130 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17131 as unused and give dummy FP_RND_NEAREST initializer.
17132 (FP_INHIBIT_RESULTS): Define.
17133 (___Q_simulate_exceptions): Update declaration.
17134 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17135 formatting.
17136 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17137 as unused and give dummy FP_RND_NEAREST initializer.
17138 (__Qp_handle_exceptions): Update declaration.
17139 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17140 formatting.
17141
04fb54b5
TS
171422012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17143
17144 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17145 the temporary FPU control word.
17146 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17147 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17148 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17149 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17150 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17151 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17152 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17153 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17154 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17155 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17156 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17157
3f99608f
KK
171582012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17159
17160 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17161 fields.
17162
65a4de4e
CLT
171632012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17164
17165 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17166 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17167 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17168 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17169 Likewise.
17170 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17171 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17172 Likewise.
17173
15749d40
UD
171742012-05-27 Ulrich Drepper <drepper@gmail.com>
17175
17176 * po/h.po: Update from translation team.
17177
25dbcb27
AS
171782012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17179
3d3f8e55
AS
17180 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17181
25dbcb27
AS
17182 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17183 handling of denormals.
17184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17185 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17186 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17187 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17189 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17191 Likewise.
17192
7ad47a80 171932012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17194
17195 [BZ #14152]
17196 * math/libm-test.inc (fma_test): Don't always expect underflow
17197 exception.
17198
9c6ea9fa
SP
171992012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17200
17201 [BZ #12416]
17202 * elf/tst-execstack.c: Include stackinfo.h.
17203 (do_test): Adjust test case to ensure that pthread_getattr_np
17204 behaviour remains the same after marking stack executable.
17205
a8239222
JM
172062012-05-25 Joseph Myers <joseph@codesourcery.com>
17207
17208 * sysdeps/unix/sysv/linux/kernel-features.h
17209 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17210 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17211 kernel-features.h.
17212 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17213 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17214 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17215 kernel-features.h.
17216 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17217 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17218
918b5606
L
172192012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17220
17221 * configure.in: Define the default includes to being none.
17222 * configure: Regenerated.
17223
3a097cc7
RM
172242012-05-25 Roland McGrath <roland@hack.frob.com>
17225
8422c9a5
RM
17226 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17227 * sysdeps/x86_64/setjmp.S: Likewise.
17228 * sysdeps/i386/bsd-setjmp.S: Likewise.
17229 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17230 * sysdeps/i386/setjmp.S: Likewise.
17231 * sysdeps/i386/__longjmp.S: Likewise.
17232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17234
3a097cc7
RM
17235 * include/stap-probe.h: New file.
17236 * configure.in: Handle --enable-systemtap.
17237 * configure: Regenerated.
17238 * config.h.in (USE_STAP_PROBE): New #undef.
17239 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17240 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17241 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17242
21708942
JM
172432012-05-25 Joseph Myers <joseph@codesourcery.com>
17244
17245 [BZ #13717]
17246 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17247 to 2.4.0 where earlier.
17248 * sysdeps/unix/sysv/linux/configure: Regenerated.
17249 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17250 <kernel-features.h>.
17251 [__ASSUME_32BITUIDS]: Make code unconditional.
17252 [!__ASSUME_32BITUIDS]: Remove conditional code.
17253 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17254 <kernel-features.h>.
17255 [__ASSUME_32BITUIDS]: Make code unconditional.
17256 [!__ASSUME_32BITUIDS]: Remove conditional code.
17257 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17258 [__ASSUME_32BITUIDS]: Make code unconditional.
17259 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17260 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17261 <kernel-features.h>.
17262 [__ASSUME_32BITUIDS]: Make code unconditional.
17263 [!__ASSUME_32BITUIDS]: Remove conditional code.
17264 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17265 <kernel-features.h>.
17266 [__ASSUME_32BITUIDS]: Make code unconditional.
17267 [!__ASSUME_32BITUIDS]: Remove conditional code.
17268 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17269 <kernel-features.h>.
17270 [__ASSUME_32BITUIDS]: Make code unconditional.
17271 [!__ASSUME_32BITUIDS]: Remove conditional code.
17272 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17273 <kernel-features.h>.
17274 [__ASSUME_32BITUIDS]: Make code unconditional.
17275 [!__ASSUME_32BITUIDS]: Remove conditional code.
17276 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17277 <kernel-features.h>.
17278 [__ASSUME_32BITUIDS]: Make code unconditional.
17279 [!__ASSUME_32BITUIDS]: Remove conditional code.
17280 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17281 <kernel-features.h>.
17282 [__ASSUME_32BITUIDS]: Make code unconditional.
17283 [!__ASSUME_32BITUIDS]: Remove conditional code.
17284 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17285 <kernel-features.h>.
17286 [__ASSUME_32BITUIDS]: Make code unconditional.
17287 [!__ASSUME_32BITUIDS]: Remove conditional code.
17288 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17289 <kernel-features.h>.
17290 [__ASSUME_32BITUIDS]: Make code unconditional.
17291 [!__ASSUME_32BITUIDS]: Remove conditional code.
17292 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17293 <kernel-features.h>.
17294 [__ASSUME_32BITUIDS]: Make code unconditional.
17295 [!__ASSUME_32BITUIDS]: Remove conditional code.
17296 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17297 <kernel-features.h>.
17298 [__ASSUME_32BITUIDS]: Make code unconditional.
17299 [!__ASSUME_32BITUIDS]: Remove conditional code.
17300 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17301 <kernel-features.h>.
17302 [__NR_setresgid] (__setresgid): Do not declare.
17303 [__ASSUME_32BITUIDS]: Make code unconditional.
17304 [!__ASSUME_32BITUIDS]: Remove conditional code.
17305 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17306 <kernel-features.h>.
17307 [__NR_setresuid] (__setresuid): Do not declare.
17308 [__ASSUME_32BITUIDS]: Make code unconditional.
17309 [!__ASSUME_32BITUIDS]: Remove conditional code.
17310 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17311 <kernel-features.h>.
17312 [__ASSUME_32BITUIDS]: Make code unconditional.
17313 [!__ASSUME_32BITUIDS]: Remove conditional code.
17314 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17315 <kernel-features.h>.
17316 [__ASSUME_32BITUIDS]: Make code unconditional.
17317 [!__ASSUME_32BITUIDS]: Remove conditional code.
17318 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17319 <kernel-features.h>.
17320 [__ASSUME_32BITUIDS]: Make code unconditional.
17321 [!__ASSUME_32BITUIDS]: Remove conditional code.
17322 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17323 <kernel-features.h>.
17324 [__ASSUME_32BITUIDS]: Make code unconditional.
17325 [!__ASSUME_32BITUIDS]: Remove conditional code.
17326 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17327 <kernel-features.h>.
17328 [__ASSUME_32BITUIDS]: Make code unconditional.
17329 [!__ASSUME_32BITUIDS]: Remove conditional code.
17330 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17331 <kernel-features.h>.
17332 [__ASSUME_32BITUIDS]: Make code unconditional.
17333 [!__ASSUME_32BITUIDS]: Remove conditional code.
17334 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17335 <kernel-features.h>.
17336 [__ASSUME_32BITUIDS]: Make code unconditional.
17337 [!__ASSUME_32BITUIDS]: Remove conditional code.
17338 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17339 <kernel-features.h>.
17340 [__ASSUME_32BITUIDS]: Make code unconditional.
17341 [!__ASSUME_32BITUIDS]: Remove conditional code.
17342 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17343 <kernel-features.h>.
17344 [__ASSUME_32BITUIDS]: Make code unconditional.
17345 [!__ASSUME_32BITUIDS]: Remove conditional code.
17346 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17347 <kernel-features.h>.
17348 [__ASSUME_32BITUIDS]: Make code unconditional.
17349 [!__ASSUME_32BITUIDS]: Remove conditional code.
17350 * sysdeps/unix/sysv/linux/kernel-features.h
17351 (__ASSUME_SETRESUID_SYSCALL): Remove.
17352 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17353 (__ASSUME_32BITUIDS): Likewise.
17354 (__ASSUME_LDT_WORKS): Likewise.
17355 (__ASSUME_O_DIRECTORY): Likewise.
17356 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17357 architecture but not kernel version.
17358 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17359 (__ASSUME_MMAP2_SYSCALL): Likewise.
17360 (__ASSUME_STAT64_SYSCALL): Likewise.
17361 (__ASSUME_IPC64): Likewise.
17362 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17363 <kernel-features.h>.
17364 [__ASSUME_32BITUIDS]: Make code unconditional.
17365 [!__ASSUME_32BITUIDS]: Remove conditional code.
17366 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17367 <kernel-features.h>.
17368 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17369 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17370 132096]: Remove conditional code.
17371 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17372 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17373 <kernel-features.h>.
17374 [__ASSUME_32BITUIDS]: Make code unconditional.
17375 [!__ASSUME_32BITUIDS]: Remove conditional code.
17376 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17377 <kernel-features.h>.
17378 [__ASSUME_32BITUIDS]: Make code unconditional.
17379 [!__ASSUME_32BITUIDS]: Remove conditional code.
17380 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17381 <kernel-features.h>.
17382 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17383 unconditional.
17384 (__setresgid): Do not declare.
17385 [__ASSUME_32BITUIDS]: Make code unconditional.
17386 [!__ASSUME_32BITUIDS]: Remove conditional code.
17387 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17388 <kernel-features.h>.
17389 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17390 unconditional.
17391 (__setresuid): Do not declare.
17392 [__ASSUME_32BITUIDS]: Make code unconditional.
17393 [!__ASSUME_32BITUIDS]: Remove conditional code.
17394 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17395 <kernel-features.h>.
17396 [__ASSUME_32BITUIDS]: Make code unconditional.
17397 [!__ASSUME_32BITUIDS]: Remove conditional code.
17398 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17399 <kernel-features.h>.
17400 [__ASSUME_32BITUIDS]: Make code unconditional.
17401 [!__ASSUME_32BITUIDS]: Remove conditional code.
17402
a386f1cc
RH
174032012-05-25 Richard Henderson <rth@twiddle.net>
17404
17405 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17406 dl_hwcap to ifunc resolver.
17407 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17408 elf_ifunc_invoke.
17409 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17410 dl_hwcap to ifunc resolver.
17411 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17412
b6550497
JM
174132012-05-24 Joseph Myers <joseph@codesourcery.com>
17414
17415 [BZ #14153]
17416 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17417 for |x| <= 2**-26, not 2**-57.
17418 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17419 exception.
17420
b0bc23a1
JL
174212012-05-24 Jeff Law <law@redhat.com>
17422
17423 * stdio-common/Makefile (tests): Add bug25.
17424 * stdio-common/bug25.c: New test.
17425
347c92e9
L
174262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17427
17428 [BZ #13576]
17429 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17430 multiple of MALLOC_ALIGNMENT in size.
17431 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17432
6bcc8b3f
JM
174332012-05-24 Joseph Myers <joseph@codesourcery.com>
17434
17435 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17436 Require >= 256.
17437 (FILENAME_MAX): Use macro-int-constant.
17438 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17439 (_IOFBF): Use macro-int-constant.
17440 (_IOLBF): Likewise.
17441 (_IONBF): Likewise.
17442 (SEEK_CUR): Likewise.
17443 (SEEK_END): Likewise.
17444 (SEEK_SET): Likewise.
17445 (TMP_MAX): Likewise.
17446 (EOF): Use macro-int-constant. Require < 0.
17447 (NULL): Use macro-constant. Require == 0.
17448 (stdin): Require type to be FILE *.
17449 (stdout): Likewise.
17450 (stderr): Likewise.
17451 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17452 macro-int-constant.
17453 (EXIT_SUCCESS): Likewise.
17454 (NULL): Use macro-constant. Require == 0.
17455 (RAND_MAX): Use macro-int-constant.
17456 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17457 [C99-based standards] (strtof): Require function.
17458 [C99-based standards] (strtold): Likewise.
17459 [C99-based standards] (strtoll): Likewise.
17460 [C99-based standards] (strtoull): Likewise.
17461 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17462 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17463 [ISO || ISO99 || ISO11] (math.h): Likewise.
17464 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17465 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17467
d18ea0c5
AS
174682012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17469
17470 [BZ #14132]
56d25bb8
AS
17471 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17472 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17473 * intl/dgettext.c (DCGETTEXT): Likewise.
17474 * intl/gettext.c (DCGETTEXT): Likewise.
17475 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17476 * posix/regex_internal.h (gettext): Likewise.
17477 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17478 Remove declaration.
17479 * include/argz.h (__argz_count_internal)
17480 (__argz_stringify_internal): Remove declaration.
17481 (__argz_count, __argz_stringify): Declare hidden proto.
17482 * intl/dcgettext.c: Remove use of INTDEF.
17483 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17484 * string/argz-stringify.c: Likewise.
17485 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17486 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17487 Declare hidden proto.
d18ea0c5
AS
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.
17491 * include/stdio.h (__asprintf_internal): Don't declare.
17492 (__asprintf): Don't define as macro. Declare hidden proto.
17493 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17494 (__fsetlocking): Declare hidden proto.
17495 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17496 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17497 hidden proto.
17498 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17499 (_IO_setlinebuf): Remove use of INTUSE.
17500 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17501 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17502 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17503 Remove declaration.
17504 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17505 (_IO_do_flush): Remove use of INTUSE.
17506 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17507 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17508 (_IO_adjust_column, _IO_least_wmarker)
17509 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17510 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17511 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17512 (_IO_default_doallocate, _IO_wdefault_doallocate)
17513 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17514 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17515 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17516 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17517 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17518 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17519 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17520 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17521 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17522 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17523 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17524 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17525 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17526 proto.
17527 (_IO_flush_all_internal, _IO_adjust_column_internal)
17528 (_IO_default_uflow_internal, _IO_default_finish_internal)
17529 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17530 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17531 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17532 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17533 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17534 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17535 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17536 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17537 (_IO_file_close_internal, _IO_file_close_it_internal)
17538 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17539 (_IO_file_init_internal, _IO_file_attach_internal)
17540 (_IO_file_fopen_internal, _IO_file_read_internal)
17541 (_IO_file_sync_internal, _IO_file_seek_internal)
17542 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17543 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17544 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17545 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17546 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17547 (_IO_list_all_internal, _IO_link_in_internal)
17548 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17549 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17550 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17551 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17552 (_IO_do_write_internal, _IO_padn_internal)
17553 (_IO_getline_info_internal, _IO_getline_internal)
17554 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17555 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17556 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17557 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17558 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17559 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17560 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17561 with libc_hidden_ver, remove use of INTUSE.
17562 * libio/genops.c: Likewise.
17563 * libio/freopen.c: Likewise.
17564 * libio/freopen64.c: Likewise.
17565 * libio/iofclose.c: Likewise.
17566 * libio/iofdopen.c: Likewise.
17567 * libio/iofflush.c: Likewise.
17568 * libio/iofflush_u.c: Likewise.
17569 * libio/iofgets.c: Likewise.
17570 * libio/iofgets_u.c: Likewise.
17571 * libio/iofopen.c: Likewise.
17572 * libio/iofopncook.c: Likewise.
17573 * libio/iofread.c: Likewise.
17574 * libio/iofread_u.c: Likewise.
17575 * libio/ioftell.c: Likewise.
17576 * libio/iofwrite.c: Likewise.
17577 * libio/iogetline.c: Likewise.
17578 * libio/iogets.c: Likewise.
17579 * libio/iogetwline.c: Likewise.
17580 * libio/iopadn.c: Likewise.
17581 * libio/iopopen.c: Likewise.
17582 * libio/ioseekoff.c: Likewise.
17583 * libio/ioseekpos.c: Likewise.
17584 * libio/iosetbuffer.c: Likewise.
17585 * libio/iosetvbuf.c: Likewise.
17586 * libio/ioungetc.c: Likewise.
17587 * libio/ioungetwc.c: Likewise.
17588 * libio/iovdprintf.c: Likewise.
17589 * libio/iovsprintf.c: Likewise.
17590 * libio/iovsscanf.c: Likewise.
17591 * libio/memstream.c: Likewise.
17592 * libio/obprintf.c: Likewise.
17593 * libio/oldfileops.c: Likewise.
17594 * libio/oldiofclose.c: Likewise.
17595 * libio/oldiofdopen.c: Likewise.
17596 * libio/oldiofopen.c: Likewise.
17597 * libio/oldiopopen.c: Likewise.
17598 * libio/oldstdfiles.c: Likewise.
17599 * libio/putc.c: Likewise.
17600 * libio/setbuf.c: Likewise.
17601 * libio/setlinebuf.c: Likewise.
17602 * libio/stdfiles.c: Likewise.
17603 * libio/strops.c: Likewise.
17604 * libio/vasprintf.c: Likewise.
17605 * libio/vscanf.c: Likewise.
17606 * libio/vsnprintf.c: Likewise.
17607 * libio/vswprintf.c: Likewise.
17608 * libio/wfiledoalloc.c: Likewise.
17609 * libio/wfileops.c: Likewise.
17610 * libio/wgenops.c: Likewise.
17611 * libio/wmemstream.c: Likewise.
17612 * libio/wstrops.c: Likewise.
17613 * libio/__fpurge.c: Likewise.
17614 * libio/__fsetlocking.c: Likewise.
17615 * assert/assert.c: Likewise.
17616 * debug/fgets_chk.c: Likewise.
17617 * debug/fgets_u_chk.c: Likewise.
17618 * debug/fread_chk.c: Likewise.
17619 * debug/fread_u_chk.c: Likewise.
17620 * debug/gets_chk.c: Likewise.
17621 * debug/obprintf_chk.c: Likewise.
17622 * debug/vasprintf_chk.c: Likewise.
17623 * debug/vdprintf_chk.c: Likewise.
17624 * debug/vsnprintf_chk.c: Likewise.
17625 * debug/vsprintf_chk.c: Likewise.
17626 * malloc/mtrace.c: Likewise.
17627 * misc/error.c: Likewise.
17628 * misc/syslog.c: Likewise.
17629 * stdio-common/asprintf.c: Likewise.
17630 * stdio-common/fxprintf.c: Likewise.
17631 * stdio-common/getw.c: Likewise.
17632 * stdio-common/isoc99_fscanf.c: Likewise.
17633 * stdio-common/isoc99_scanf.c: Likewise.
17634 * stdio-common/isoc99_vfscanf.c: Likewise.
17635 * stdio-common/isoc99_vscanf.c: Likewise.
17636 * stdio-common/isoc99_vsscanf.c: Likewise.
17637 * stdio-common/printf-prs.c: Likewise.
17638 * stdio-common/printf_fp.c: Likewise.
17639 * stdio-common/printf_fphex.c: Likewise.
17640 * stdio-common/printf_size.c: Likewise.
17641 * stdio-common/putw.c: Likewise.
17642 * stdio-common/scanf.c: Likewise.
17643 * stdio-common/sprintf.c: Likewise.
17644 * stdio-common/tmpfile.c: Likewise.
17645 * stdio-common/vfprintf.c: Likewise.
17646 * stdio-common/vfscanf.c: Likewise.
17647 * stdlib/strfmon_l.c: Likewise.
17648 * sunrpc/openchild.c: Likewise.
17649 * sunrpc/xdr_stdio.c: Likewise.
17650 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17651 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17652
d6c33fda
RM
176532012-05-24 Roland McGrath <roland@hack.frob.com>
17654
c1487492
RM
17655 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17656
17657 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17658 in the third column, to generate for the shared library an IFUNC
17659 that uses _dl_vdso_vsym.
17660 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17661 * Makeconfig (object-suffixes-noshared): New variable.
17662
17663 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17664 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17665 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17666 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17667
d6c33fda
RM
17668 [BZ #14132]
17669 * include/sys/time.h (__gettimeofday): Remove macro.
17670 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17671 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17672 Remove INTDEF.
17673 (__gettimeofday): Add libc_hidden_def.
17674 (gettimeofday): Add libc_hidden_weak.
17675 * sysdeps/mach/gettimeofday.c: Likewise.
17676 * sysdeps/posix/gettimeofday.c: Likewise.
17677 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17678 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17680 (__gettimeofday_internal): Remove strong_alias.
17681 (__gettimeofday): Add libc_hidden_def.
17682 (gettimeofday): Add libc_hidden_weak.
17683 * sysdeps/unix/syscalls.list (gettimeofday):
17684 Remove __gettimeofday_internal alias.
17685
b5a2bbe6
L
176862012-05-24 Daniel Jacobowitz <drow@false.org>
17687 H.J. Lu <hongjiu.lu@intel.com>
17688
17689 [BZ #12495]
17690 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17691 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17692 (largebin_index_32_big): New.
17693 (largebin_index): Use it for 16-byte alignment.
17694 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17695 correction with front_misalign.
17696
cfba4fda
L
176972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17698
7f907421
L
17699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17701 Likewise.
17702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17703 Likewise.
17704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17705 Likewise.
17706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17707 Likewise.
17708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17709 Likewise.
17710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17711 Likewise.
17712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17713 Likewise.
17714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17715 Likewise.
17716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17717 Likewise.
17718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17719 Likewise.
17720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17721 Likewise.
17722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17723 Likewise.
17724
cfba4fda
L
17725 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17726 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17727
80bad0cc
JM
177282012-05-24 Joseph Myers <joseph@codesourcery.com>
17729
7a25eb06
JM
17730 [BZ #10846]
17731 [BZ #14036]
17732 * math/libm-test.inc (exp_test): Add test from bug 14036.
17733 (pow_test): Add test from bug 10846.
17734
795405f9
JM
17735 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17736 and other flags.
17737 (special_function): Do not include flags in test name.
17738 (parse_args): Likewise.
17739 * sysdeps/i386/fpu/libm-test-ulps: Update.
17740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17741 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17742 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17744
80bad0cc
JM
17745 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17746 exceptions.
17747 * math/libm-test.inc ("Philosophy"): Update comment about
17748 exception testing.
17749 (UNDERFLOW_EXCEPTION): New macro.
17750 (UNDERFLOW_EXCEPTION_OK): Likewise.
17751 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17752 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17753 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17754 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17755 (INVALID_EXCEPTION_OK): Update value.
17756 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17757 (OVERFLOW_EXCEPTION_OK): Likewise.
17758 (IGNORE_ZERO_INF_SIGN): Likewise.
17759 (test_exceptions): Handle underflow exceptions.
17760 (acos_test): Update for underflow exception expectations.
17761 (cexp_test): Likewise.
17762 (clog_test): Likewise.
17763 (clog10_test): Likewise.
17764 (csqrt_test): Likewise.
17765 (ctan_test): Likewise.
17766 (ctanh_test): Likewise.
17767 (exp_test): Likewise.
17768 (exp10_test): Likewise.
17769 (exp2_test): Likewise.
17770 (expm1_test): Likewise.
17771 (fma_test): Likewise.
17772 (j0_test): Likewise.
17773 (jn_test): Likewise.
17774 (nexttoward_test): Likewise.
17775 (pow_test): Likewise.
17776 (scalbn_test): Likewise.
17777 (scalbln_test): Likewise.
17778 (tan_test): Likewise.
17779 (y1_test): Likewise.
17780 * sysdeps/i386/fpu/libm-test-ulps: Update.
17781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17782
9e0e3d0b
DM
177832012-05-23 David S. Miller <davem@davemloft.net>
17784
17785 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17786 (__libc_sigaction): Remove unused local variables.
17787
ccd0a08f
L
177882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17789
17790 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17791
62bdf9a6
PE
177922012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17793
f8591f80
PE
17794 mktime: avoid signed integer overflow
17795 * time/mktime.c (__mktime_internal): Do not mishandle the case
17796 where diff == INT_MIN.
17797
94c7d826
PE
17798 mktime: simplify computation of average
17799 * time/mktime.c (ranged_convert): Use new time_t_avg function
17800 instead of rolling our own (probably-slower) code.
17801
ce73d683
PE
17802 mktime: do not assume signed right shift propagates sign bit
17803 * time/mktime.c (isdst_differ): New static function.
17804 (__mktime_internal): No need to normalize tm_isdst now.
17805 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17806 tm_isdst values.
17807
72a22e59
PE
17808 mktime: merge another wrapv change from gnulib
17809 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17810 from some compilers.
17811
68605433
PE
17812 mktime: remove incorrect attempt at unusual arithmetics
17813 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17814 The code didn't really work on such machines anyway.
17815 (TYPE_MINIMUM): Assume two's complement.
17816 (twos_complement_arithmetic): Verify that long_int and time_t
17817 are two's complement (or unsigned, in the latter case).
17818
03cf7fe3
PE
17819 mktime: check signed shifts on long_int and time_t, too
17820 * time/mktime.c (SHR): Check that shifts work as desired
17821 on the types long_int and time_t too, as SHR is used on
17822 such types.
17823
f04dfbc2
PE
17824 mktime: do not assume 'long' is wide enough
17825 * time/mktime.c (verify): Move decl up.
17826 (long_int): New type.
17827 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17828 to remove assumption in the code that 'long' is wide enough to
17829 store year values. This assumption is not true on x32 and on
17830 some non-glibc platforms.
17831
62bdf9a6
PE
17832 mktime: merge wrapv change from gnulib
17833 * time/mktime.c (WRAPV): New macro.
17834 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17835 (guess_time_tm, __mktime_internal): Do not assume that signed
17836 integer overflow wraps around; modern compilers generate code
17837 where this assumption is no longer valid.
17838
5e292e4f
L
178392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17842 Replace "jmp L(pseudo_end)" with "ret".
17843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17844 Likewise.
17845
8caf8c87
AJ
178462012-05-23 Andreas Jaeger <aj@suse.de>
17847
17848 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17849 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17850
1a09dc56
AJ
178512012-05-23 Andreas Jaeger <aj@suse.de>
17852 Maximilian Attems <max@stro.at>
17853
17854 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17855 New macros.
17856
1c87aba0
L
178572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17858
17859 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17860 code so that pseudo_end is just ret and the stack pointer is
17861 correct also for static library in error case.
17862
40e45bd5
JM
178632012-05-23 Joseph Myers <joseph@codesourcery.com>
17864
c2670533
JM
17865 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17866 move to syscalls.list.
17867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17871
40e45bd5
JM
17872 * manual/install.texi (Running make install): Do not mention Linux
17873 kernel version for which pt_chown is not needed.
17874 (Linux): Do not mention problems with nscd with 2.0 kernels.
17875 * INSTALL: Regenerated.
17876
be08eda5
AJ
178772012-05-23 Andreas Jaeger <aj@suse.de>
17878
17879 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17880 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17881 macro.
17882 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17883 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17884 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17885 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17886 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17887 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17888 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17891 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17892 * sysdeps/unix/sysv/linux/bits/in.h
17893 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17894
a6a056bb
RM
178952012-05-22 Roland McGrath <roland@hack.frob.com>
17896
17897 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17898 (PREPARE_VERSION): Just use assert instead, it will be elided
17899 under [NDEBUG] anyway.
17900
c9009328
L
179012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17902
17903 * sysdeps/unix/sysv/linux/Makefile: Include
17904 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17905 (sysdep_routines): Remove sysctl.
c9009328
L
17906 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17907 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17908 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17909 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17910 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17911
73338355
AJ
179122012-05-22 Andreas Jaeger <aj@suse.de>
17913
17914 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17915 that pseudo_end is just ret and the stack pointer is correct also
17916 for static library in error case.
17917
d44638b0
PP
179182012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17919
17920 [BZ #14122]
17921 * nss/nsswitch.c (defconfig_entries): New variable.
17922 (__nss_database_lookup): Don't leak defconfig entries.
17923 (nss_parse_service_list): Don't leak on error paths.
17924 (free_database_entries): New function.
17925 (free_defconfig): New function.
17926 (free_mem): Move common code to free_database_entries.
17927
31a39bd8
L
179282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17929
da0331a8
L
17930 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17931 Add arch_prctl.
17932 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17933
31a39bd8
L
17934 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17935 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17937 New macro.
17938 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17939 (INTERNAL_SYSCALL_TYPES): Likewise.
17940 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17941 (LOAD_REGS_TYPES_[1-6]): Likewise.
17942 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17943 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17944
45470df3
AZ
179452012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17946
17947 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17948 copysignl for GLIBC_2_0.
17949 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17950 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17952 logbl for GLIBC_2_0.
17953 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17954 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17955
98a61bcb
L
179562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17957
a4f6e481
L
17958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17959 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17960
f63d5db6
L
17961 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17962 Use "neg %eax".
17963
98a61bcb
L
17964 * time/mktime.c: Update copyright years.
17965
95770f14
PE
179662012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17967
6226efbd
PE
17968 mktime: merge comment-quoting-style change from gnulib
17969 * time/mktime.c: Quote 'like this' in comments.
17970 The GNU coding standards suggest that we no longer quote `like this',
17971 as "`" and "'" are typically rendered asymmetrically nowadays.
17972 The typical gnulib style is to quote 'like this' when quoting
17973 code, and "like this" when quoting English.
17974
b99e4f78
PE
17975 * time/mktime.c (compile-command): Add "-I.".
17976
643e01e6
PE
17977 mktime: merge mktime-internal.h change from gnulib
17978 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17979
2554247d
PE
17980 mktime: merge time_r change from gnulib
17981 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17982
826dd0ab
PE
17983 mktime: merge DEBUG change from gnulib
17984 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17985 case system <time.h> has a #define.
17986
bd83aabe
PE
17987 mktime: merge <sys/types.h> change from gnulib
17988 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17989 since <time.t> is now guaranteed to define time_t.
17990
95770f14
PE
17991 mktime: merge HAVE_CONFIG_H change from gnulib
17992 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17993
5e1a27a9
L
179942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17995
0e44a77e
L
17996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17997 Use "neg %eax".
17998
5e1a27a9
L
17999 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18000 __rlim_t cast.
18001 (struct rusage): Use anonymous union to pad each field to
18002 __syscall_slong_t.
18003
46259bec
DM
180042012-05-21 David S. Miller <davem@davemloft.net>
18005
18006 * Makefules (o-iterator): Remove .s cases.
18007 (compile-command.s): Delete.
18008 (COMPILE.s): Delete.
18009 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18010
59f0c22e
JM
180112012-05-21 Joseph Myers <joseph@codesourcery.com>
18012
18013 * configure.in (libc_cv_predef_stack_protector): Only consider
18014 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18015 * configure: Regenerated.
18016
20c07380
L
180172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18018
bbb3154b
L
18019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18020 New macro. Use R*LP on int and pointer.
18021 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18022 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18023 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18024 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18025
20c07380
L
18026 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18027 [__WORDSIZE_TIME64_COMPAT32] instead of
18028 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18029 (struct utmp): Likewise.
18030 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18031 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18032 Renamed to ...
18033 (__WORDSIZE_TIME64_COMPAT32): This.
18034 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18035 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18036 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18037 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18038 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18039 (__WORDSIZE_TIME64_COMPAT32): New macro.
18040
d8d1017e
AJ
180412012-05-21 Andreas Jaeger <aj@suse.de>
18042
18043 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18044 only if [SHARED]. Add prototype for __wcschr_ia32.
18045
6c7fb145
RM
180462012-05-21 Roland McGrath <roland@hack.frob.com>
18047
18048 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18049 of %rbp unmolested in the jmp_buf while mangling the low bits.
18050 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18051 unmolested high bits of %rbp while demangling the low bits.
18052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18053
66274218
AJ
180542012-05-21 Andreas Jaeger <aj@suse.de>
18055
07c58f8f
AJ
18056 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18057 * sunrpc/svc_simple.c: Use it for registerrpc.
18058 * sunrpc/xcrypt.c: Use it for passwd2des.
18059
66274218
AJ
18060 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18061
61f65140
L
180622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18065 Don't define if [__SYSCALL_WORDSIZE != 32].
18066 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18067 New macro.
18068
5fefb436
AJ
180692012-05-21 Bruno Haible <bruno@clisp.org>
18070 Andreas Jaeger <aj@suse.de>
18071
18072 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18073 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18074 inptr and inend for must_buffer_ch.
18075 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18076 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18077 * stdio-common/Makefile (tests): Remove bug15.
18078 (bug15-ENV): Remove macro.
18079 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18080 anymore.
18081
d8e272ab
AJ
180822012-05-19 Andreas Jaeger <aj@suse.de>
18083 Roland McGrath <roland@hack.frob.com>
18084
18085 * manual/contrib.texi: Completely rewritten. It contains now an
18086 alphabetical list of contributors and their contributions.
18087
4a56a162
RH
180882012-05-21 Richard Henderson <rth@twiddle.net>
18089
18090 * misc/getauxval.c (__getauxval): Use unsigned long int.
18091 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18092 (getauxval): Use unsigned long int.
18093
d024d23c
L
180942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18095
18096 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18097
cbc00a03
RM
180982012-05-21 Roland McGrath <roland@hack.frob.com>
18099
18100 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18101 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18102 __alignof__ (long double).
18103
478143fa
AZ
181042012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18105
18106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18107
c7683a6d
RH
181082012-05-20 Richard Henderson <rth@twiddle.net>
18109
18110 * misc/getauxval.c: New file.
18111 * misc/sys/auxv.h: New file.
18112 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18113 (routines): Add getauxval.
18114 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18115 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18116 * elf/dl-sysdep.c (_dl_auxv): Remove.
18117 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18118 * elf/dl-support.c (_dl_auxv): New variable.
18119 (_dl_aux_init): Initialize it.
18120 * manual/startup.texi (Auxiliary Vector): New node.
18121 * sysdeps/generic/bits/hwcap.h: New file.
18122 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18123 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18124 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18125 * sysdeps/sparc/sysdep.h: ... here. Include it.
18126 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18127 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18129 Update.
c7683a6d
RH
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18138
a6f1845d
AZ
181392012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18140
18141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18142
cbcbe830
DM
181432012-05-19 David S. Miller <davem@davemloft.net>
18144
18145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18146
e0b16cc2
JM
181472012-05-19 Joseph Myers <joseph@codesourcery.com>
18148
18149 [BZ #14123]
18150 * math/s_ccosh.c: Include <float.h>
18151 (__ccosh): Avoid internal overflow calculating sinh and cosh
18152 values before multiplying by sin and cos values.
18153 * math/s_ccoshf.c: Likewise.
18154 * math/s_ccoshl.c: Likewise.
18155 * math/s_csin.c: Likewise.
18156 * math/s_csinf.c: Likewise.
18157 * math/s_csinl.c: Likewise.
18158 * math/s_csinh.c: Likewise.
18159 * math/s_csinhf.c: Likewise.
18160 * math/s_csinhl.c: Likewise.
18161 * math/libm-test.inc (ccos_test): Add more tests.
18162 (ccosh_test): Likewise.
18163 (csin_test): Likewise.
18164 (csinh_test): Likewise.
18165 * sysdeps/i386/fpu/libm-test-ulps: Update.
18166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18167
6ad13e08
L
181682012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18169
f66f0ce8
L
18170 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18171 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18172
6ad13e08
L
18173 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18174
b1d072a7
JM
181752012-05-19 Joseph Myers <joseph@codesourcery.com>
18176
18177 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18178 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18179 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18180 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18181 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18182 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18183 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18184 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18185 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18186 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18187 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18188 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18189 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18190 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18191 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18192 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18193 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18194 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18195 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18196 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18197 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18198 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18199 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18200 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18201 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18202 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18203 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18204 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18205 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18206 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18207 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18208
9eae47cb
AJ
182092012-05-18 Andreas Jaeger <aj@suse.de>
18210
18211 * csu/.gitignore: Delete.
18212
bb07f69f
L
182132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18214
18215 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18216 (timex): Use __syscall_slong_t.
18217
e6bdb741
AJ
182182012-05-18 Andreas Jaeger <aj@suse.de>
18219 Carlos O'Donell <carlos_odonell@mentor.com>
18220
18221 * manual/install.texi (Configuring and compiling): Update
18222 description about files modified in the source directory.
d6c33fda 18223 * INSTALL: Regenerated.
e6bdb741 18224
1b74487e
L
182252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18226
18227 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18228 value. Use "or" to set return value to -1.
18229 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18230 negate return value.
18231
a88b64b9
TMQMF
182322012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18233
18234 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18235 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18236 failure if the compiler has Graphite support disabled.
18237 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18238 Likewise.
18239 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18240 CFLAGS-memmove.c): Likewise.
18241 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18242 Likewise.
18243
3707636e
L
182442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18245
610b8622
L
18246 * sysdeps/x86_64/x32/_itoa.h: New file.
18247
7cd195df
L
18248 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18249 getdents system call only if kernel and user dirents have the
18250 same d_ino and d_off.
18251
94b07d20
L
18252 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18253 LLONG_MAX != LONG_MAX.
18254 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18255 (_fitoa_word): Likewise.
18256
18298070
L
18257 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18258 years.
18259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18260 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18261 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18262
553c7ea4
L
18263 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18264 include <bits/wordsize.h>. Check __x86_64__ instead of
18265 __WORDSIZE.
18266 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18267 if __x86_64__ is defined. Use anonymous union on fpstate.
18268
3707636e
L
18269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18270 anonymous union.
18271
b53ef01a
AS
182722012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18273
37fb1dc0
AS
18274 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18275 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18276 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18277 Refer to _rtld_local_ro instead of _rtld_global_ro.
18278 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18279 Likewise.
18280 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18281 Likewise.
18282 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18283 Likewise.
18284 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18285 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18286 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18287
b53ef01a
AS
18288 * sysdeps/powerpc/powerpc32/dl-machine.c
18289 (__elf_machine_runtime_setup) [PROF]: Don't reference
18290 _dl_prof_resolve.
18291
7a185db2
AJ
182922012-05-18 Andreas Jaeger <aj@suse.de>
18293
18294 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18295 function only available for GCCs before 3.4 since GCC 3.4
18296 introduced a builtin.
18297 (lrint): Likewise.
18298 (llrintf): Likewise.
18299 (llrint): Likewise.
18300 (fmaxf): Likewise.
18301 (fmax): Likewise.
18302 (fminf): Likewise.
18303 (fmin): Likewise.
18304 (rint): Likewise.
18305 (rintf): Likewise.
18306 (nearbyint): Likewise.
18307 (nearbyintf): Likewise.
18308 (ceil): Likewise.
18309 (ceilf): Likewise.
18310 (floor): Likewise.
18311 (floorf): Likewise.
18312
3e5aef87
L
183132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18314
428bd707
L
18315 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18316 on both fields and cast pointer to __syscall_ulong_t.
18317
3e5aef87
L
18318 * bits/types.h (__fsword_t): New type.
18319 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18320 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18322 (__FSWORD_T_TYPE): Likewise.
18323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18324 (__FSWORD_T_TYPE): Likewise.
18325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18326 (__FSWORD_T_TYPE): Likewise.
18327 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18328 (__FSWORD_T_TYPE): Likewise.
18329 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18330 __SWORD_TYPE with __fsword_t.
18331 (statfs64): Likewise.
18332
1ba7c3dc
DM
183332012-05-17 David S. Miller <davem@davemloft.net>
18334
18335 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18336
59910343
AJ
183372012-05-17 Andreas Jaeger <aj@suse.de>
18338
18339 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18340 warning.
18341
2e4c1e9e
L
183422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18343
18344 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18345
de7f5ce7
AJ
183462012-05-17 Andreas Jaeger <aj@suse.de>
18347
18348 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18349 when it is used.
18350
286abc3d
CM
183512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18352
18353 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18354
477cc68e
L
183552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18356
18357 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18358 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18359
1a0994f5
CD
183602012-05-17 Andreas Jaeger <aj@suse.de>
18361 Carlos O'Donell <carlos_odonell@mentor.com>
18362
18363 [BZ #14059]
18364 * sysdeps/x86_64/multiarch/init-arch.h
18365 (bit_YMM_Usable): Rename to...
18366 (bit_AVX_Usable): ... this.
18367 (bit_FMA4_Usable): New macro.
18368 (bit_XMM_state): New macro.
18369 (bit_YMM_state): New macro.
18370 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18371 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18372 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18373 (CPUID_OSXSAVE): New macro.
18374 (CPUID_AVX): New macro.
18375 (CPUID_FMA4): New macro.
18376 (index_YMM_Usable): Rename to...
18377 (index_AVX_Usable): ... this.
18378 (HAS_AVX): Use HAS_ARCH_FEATURE.
18379 (HAS_FMA4): Likewise.
18380 (HAS_YMM_USABLE): Remove.
18381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18382 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18383 are present.
18384 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18385 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18386 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18387 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18388 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18389
0af797de
CM
183902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18391
18392 * math/libm-test.c: Support platforms without multiple rounding modes.
18393 * math/bug-nextafter.c: Support platforms without FP exceptions.
18394 * math/bug-nexttoward.c: Likewise.
18395 * math/test-fenv.c: Likewise.
18396 * math/test-misc.c: Likewise.
18397 * stdlib/bug-getcontext.c: Likewise.
18398
e39745ff
AJ
183992012-05-17 Andreas Jaeger <aj@suse.de>
18400
18401 * manual/examples/search.c (critter_cmp): Change signature to
18402 avoid warnings.
18403 * manual/string.texi (Collation Functions): Likewise.
18404
48970aba
L
184052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18406
18407 * bits/types.h: Fold copyright years.
18408 * bits/typesizes.h: Likewise.
18409 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18413 * time/time.h: Likewise.
18414
bedee953
PP
184152012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18416
18417 [BZ #208]
18418 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18419 in instead of returning them. Return void.
18420 (__libc_mallinfo): Accumulate over all arenas.
18421 (__malloc_stats): Adjust for change in int_mallinfo interface.
18422
61653dfb
RM
184232012-05-16 Roland McGrath <roland@hack.frob.com>
18424
30b99d79
RM
18425 [BZ #10375]
18426 * configure.in (NM): Add AC_CHECK_TOOL for it.
18427 (libc_extra_cflags): New substituted variable.
18428 Check for -fstack-protector being used implicitly.
18429 * configure: Regenerated.
18430 * config.make.in (config-extra-cflags): New variable,
18431 gets @libc_extra_cflags@.
18432 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18433
61653dfb
RM
18434 [BZ #10375]
18435 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18436 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18437 * configure: Regenerated.
18438 * config.make.in (CPPUNDEFS): New substituted variable.
18439 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18440 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18441 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18442
661768bb
L
184432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18444
18445 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18446 (mq_attr): Use __syscall_slong_t.
18447
d4261567
L
184482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18449
18450 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18451 Check __x86_64__ instead of __WORDSIZE.
18452 (_STAT_VER_LINUX): Likewise.
18453 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18454 __syscall_ulong_t and __syscall_slong_t.
18455 (stat64): Likewise.
18456
cf3ff365
L
184572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18458
18459 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18460
76cf3e4d
L
184612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18462
18463 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18464
a637753a
L
184652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18466
18467 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18468 __syscall_ulong_t.
18469
d5e05119
L
18470 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18471 include <bits/wordsize.h>. Check __x86_64__ instead of
18472 __WORDSIZE.
18473 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18474 defined.
18475 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18476
f62ee380
L
18477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18478 include <bits/wordsize.h>. Check __x86_64__ instead of
18479 __WORDSIZE.
18480 (user_regs_struct): Use "__extension__ unsigned long long"
18481 instead of "unsigned long" if __x86_64__ is defined.
18482 (user): Likewise. Pad after pointer field if __ILP32__ is
18483 defined.
18484
4e124ced
JM
184852012-05-16 Joseph Myers <joseph@codesourcery.com>
18486
6a3951a0
JM
18487 * configure.in (makeinfo): Require version 4.5 or later. Allow
18488 versions 5 to 9.
18489 * configure: Regenerated.
18490 * manual/install.texi (texinfo): Increase version requirement to
18491 4.5 or later.
18492 * INSTALL: Regenerated.
18493
4e124ced
JM
18494 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18495
953ca31a
L
184962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18499
617aca05
L
18500 * sysdeps/x86_64/x32/ffs.c: New file.
18501
5762f7ae
L
18502 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18503 __syscall_ulong_t.
18504 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18505 defined. Use __syscall_ulong_t.
18506 (shminfo): Use __syscall_ulong_t.
18507 (shm_info): Likewise.
18508
a26b6856
L
18509 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18510 __syscall_ulong_t.
18511
cb2b9ef7
L
18512 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18513 <bits/wordsize.h>.
18514 (msgqnum_t): Use __syscall_ulong_t.
18515 (msglen_t): Likewise.
18516 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18517 __syscall_ulong_t.
18518
34683bb0
L
18519 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18520 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18521
84a68786
L
18522 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18523
48baa5f1
L
18524 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18525 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18526
180be88b
L
18527 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18528 __syscall_slong_t.
18529
5e90c8ad
L
18530 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18531 include <bits/wordsize.h>. Check __x86_64__ instead of
18532 __WORDSIZE.
18533
23dfb58b
L
18534 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18535 "unsigned long long int" if __x86_64__ is defined.
18536 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18537
ce5d54b0
L
18538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18539 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18540 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18541
13dc9eac
L
18542 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18543 <stdint.h>.
18544 (GET_PC): Cast to uintptr_t first.
18545 (GET_FRAME): Likewise.
18546 (GET_STACK): Likewise.
18547
a7895d15
L
18548 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18549 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18550 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18551 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18552 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18553 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18554 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18555 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18556 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18557 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18558 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18561 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18562 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18563 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18564 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18566 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18567 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18568 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18569 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18570 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18571 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18572 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18573 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18574 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18575 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18576 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18577
656416c9
AS
185782012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18579
5bd66283
AS
18580 * Makerules (+depfiles): Also collect depfiles from .oS in
18581 $(extra-objs).
18582 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18583 .oS, $(libnldbl-routines)).
18584
656416c9
AS
18585 * Makerules (native-compile-mkdep-flags): Define.
18586 * sunrpc/Makefile (extra-objs): Add $(addprefix
18587 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18588 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18589 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18590 calling $(make-target-directory).
18591
a46f2169
L
185922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18593
18594 * bits/types.h (__snseconds_t): Removed.
18595 * time/time.h (struct timespec): Replace __snseconds_t with
18596 __syscall_slong_t.
18597 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18598 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18599 Likewise.
18600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18601 (__SNSECONDS_T_TYPE): Likewise.
18602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18603 (__SNSECONDS_T_TYPE): Likewise.
18604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18605 (__SNSECONDS_T_TYPE): Likewise.
18606
6af6528b
L
186072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18608
18609 * sysdeps/mach/hurd/bits/typesizes.h
18610 (__SYSCALL_SLONG_TYPE): New macro.
18611 (__SYSCALL_ULONG_TYPE): Likewise.
18612
de986b56
L
186132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18614
18615 * bits/types.h (__syscall_slong_t): New type.
18616 (__syscall_ulong_t): Likewise.
18617
18618 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18619 (__SYSCALL_ULONG_TYPE): Likewise.
18620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18621 (__SYSCALL_SLONG_TYPE): Likewise.
18622 (__SYSCALL_ULONG_TYPE): Likewise.
18623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18624 (__SYSCALL_SLONG_TYPE): Likewise.
18625 (__SYSCALL_ULONG_TYPE): Likewise.
18626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18627 (__SYSCALL_SLONG_TYPE): Likewise.
18628 (__SYSCALL_ULONG_TYPE): Likewise.
18629
85736dc7
L
186302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18631
18632 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18633 Add sigaltstack-offsets.sym.
18634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18635 <sigaltstack-offsets.h>.
18636 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18637 longjmp_msg pointer.
18638 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18639 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18640 signal stack.
18641 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18642
cc03b296
JM
186432012-05-15 Joseph Myers <joseph@codesourcery.com>
18644
a9538892
JM
18645 * elf/stackguard-macros.h: Remove file.
18646 * sysdeps/generic/stackguard-macros.h: New file.
18647 * sysdeps/i386/stackguard-macros.h: Likewise.
18648 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18649 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18650 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18651 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18652 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18653 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18654 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18655 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18656 <elf/stackguard-macros.h>.
18657
cc03b296
JM
18658 [BZ #14109]
18659 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18660 __aligned__ in attribute.
18661 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18662 (gregset_t): Likewise.
18663
93171016
L
186642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18665
18666 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18667 * sysdeps/x86_64/64/Implies-after: Here. New file.
18668 * sysdeps/x86_64/x32/Implies-after: New file.
18669
d86813a0
L
186702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18671
18672 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18673 and access return value for _dl_profile_fixup. Use R10_LP to
18674 load frame size.
18675
2953ec75
L
186762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18677
18678 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18679
3b550e9e
L
186802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18681
18682 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18683 * sysdeps/x86_64/x32/sysdep.h: New file.
18684
eda41706
L
186852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18686
18687 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18688 * sysdeps/x86_64/setjmp.S: Likewise.
18689
9ea01d93
AZ
186902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18691
18692 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18694 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18695 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18696 remove unused global constant.
18697
02a91938
CM
186982012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18699
18700 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18701 include of <not-cancel.h>.
18702
6540185f
RM
187032012-05-15 Roland McGrath <roland@hack.frob.com>
18704
18705 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18706
509072a0
AJ
187072012-05-15 Jeff Law <law@redhat.com>
18708 Andreas Jaeger <aj@suse.de>
18709
18710 [BZ #13594]
18711 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18712 out from...
18713 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18714 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18715 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18716 code changing __hst_map_handle.map.
18717
ba75122d
RM
187182012-05-15 Roland McGrath <roland@hack.frob.com>
18719
18720 * configure.in (sysnames): Look for Implies-before and Implies-after
18721 files.
18722 * configure: Regenerated.
18723
890d8bd8
L
187242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18725
18726 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18727 8-byte data alignment with LP_SIZE alignment.
18728
f6ee6623
L
187292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18730
18731 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18732 into R10_LP.
18733
ea2626f6
L
187342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18735
18736 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18737
085f715e
L
187382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18739
18740 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18741 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18742 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18743 Likewise.
18744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18745
be8498fc
L
187462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18747
18748 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18749 (stackinfo_sub_sp): Likewise.
18750
70bc83b9
L
187512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18752
18753 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18754 RAX_LP.
18755
9bc0b730
L
187562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18757
18758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18759 into R*_LP.
18760
6d2850e7
L
187612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18762
18763 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18764 sizes into R*_LP.
18765
3cb84561
L
187662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18767
18768 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18769
54e2ed81
L
187702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18771
18772 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18773 into R11_LP and load __x86_64_shared_cache_size_half into
18774 R8_LP.
18775
8a17f349
L
187762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18777
18778 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18779 R8_LP.
18780
777b1eea
AZ
187812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18782
18783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18784 logb for POWER7.
18785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18786 logbf for POWER7.
18787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18788 logbl for POWER7.
18789 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18790 powerpc32/power7/fpu/s_logb.c via #include.
18791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18792 powerpc32/power7/fpu/s_logbf.c via #include.
18793 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18794 powerpc32/power7/fpu/s_logbl.c via #include.
18795
d20d4ac2
JM
187962012-05-15 Joseph Myers <joseph@codesourcery.com>
18797
18798 * README.libm: Remove file.
18799
6cdef1ab
L
188002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18801
18802 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18803 count for x32. Use R*_LP and omit operand-size suffix.
18804
0b254d8f
L
188052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18806
18807 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18808 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18809 * sysdeps/x86_64/x32/shlib-versions: New file.
18810
ceb809dc
RM
188112012-05-14 Roland McGrath <roland@hack.frob.com>
18812
18813 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18814 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18815 Use _dl_fatal_printf instead.
18816
37f1abd4
JM
188172012-05-14 Joseph Myers <joseph@codesourcery.com>
18818
18819 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18820 set if not set by the user. Do not allow for being unset.
18821 * sysdeps/unix/sysv/linux/configure: Regenerated.
18822
11de3a33
L
188232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18824
18825 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18826 the `q' suffix from lea and replace .quad with ASM_ADDR.
18827
e02f153a
L
188282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18829
18830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18831 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18832 instead of $17.
18833 (PTR_DEMANGLE): Likewise.
18834
520ae0fd
L
188352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18836
18837 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18838 (LP_OP): Likewise.
18839 (ASM_ADDR): Likewise.
18840 (RAX_LP): Likewise.
18841 (RBP_LP): Likewise.
18842 (RBX_LP): Likewise.
18843 (RCX_LP): Likewise.
18844 (RDI_LP): Likewise.
18845 (RSI_LP): Likewise.
18846 (RSP_LP): Likewise.
18847 (R8_LP): Likewise.
18848 (R9_LP): Likewise.
18849 (R10_LP): Likewise.
18850 (R10_LP): Likewise.
18851 (R11_LP): Likewise.
18852 (R12_LP): Likewise.
18853 (R13_LP): Likewise.
18854 (R14_LP): Likewise.
18855 (R15_LP): Likewise.
18856
b985be81
L
188572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18858
18859 * sysdeps/x86_64/x32/dl-machine.h: New file.
18860
6a4888ff
AJ
188612012-05-14 Andreas Jaeger <aj@suse.de>
18862
18863 * manual/Makefile (subdir): Remove export of subdir.
18864 (all): Remove target.
18865 (.PHONY): Remove all from list.
18866 (mkinstalldirs): Remove.
18867 (.PHONY): Remove installdirs from list.
18868 ($(inst_infodir)/libc.info): Use make-target-directory.
18869 (installdirs): Remove.
18870 (subdir_%): Remove.
18871 (glibc-targets): Remove.
18872 (lib): Remove.
18873 (stubs): Remove.
18874 ($(objpfx)stubs ../po/manual.pot): Remove.
18875 ($(objpfx)stamp%): Remove.
18876 (make-target-directory): Remove.
18877 (subdir_install): Remove.
18878 (routines): Remove.
18879 (aux): Remove.
18880 (sources): Remove.
18881 (objects): Remove.
18882 (headers): Remove.
18883
18884 [BZ #13750]
18885 * manual/.gitignore: Remove, it's not needed anymore.
18886 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18887 all files in it.
18888 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18889 directory.
18890 (texis): Renamed to $(objpfx)texis.
18891 (texis-path): New, contains path to generated files.
18892 (chapters.%): Use texis-path for complete path, add extra argument
18893 libc-texinfo.sh.
18894 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18895 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18896 (summary,texi, stamp-summary): Use complete path of
18897 files. Generate files in build dir.
18898 (dir-add.texi): Build in build dir.
18899 (libm-err.texi,stamp-libm-err): Likewise.
18900 (version.texi, stamp-version): Likewise.
18901 (.%c.texi): Likewise.
18902 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18903 (mostlyclean): Remove target.
18904 (realclean): Remove target.
18905 (generated): Add new variable with contents from mostlyclean and
18906 realclean, remove entries duplicated in common-mostlyclean, add
18907 stamp-libm-err and stamp-version.
18908 (generated-dirs): Add libc directory.
18909 ($(inst_infodir)/libc.info): Install files from build dir.
18910
18911 * manual/install.texi (Configuring and compiling): Adjust since
18912 the info files are not part of the tar ball anymore.
18913
7ac77294
AJ
189142012-05-14 Andreas Jaeger <aj@suse.de>
18915
18916 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18917 variable.
18918
ffb7875d
JM
189192012-05-14 Joseph Myers <joseph@codesourcery.com>
18920
18921 [BZ #13717]
18922 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18923 to 2.2.0 where earlier.
18924 * sysdeps/unix/sysv/linux/configure: Regenerated.
18925 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18926 Remove conditional code.
18927 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18928 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18929 Remove conditional code.
18930 [!__NR_lchown]: Likewise.
18931 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18932 [__NR_lchown]: Likewise.
18933 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18934 comment referencing __ASSUME_LCHOWN_SYSCALL.
18935 * sysdeps/unix/sysv/linux/i386/sigaction.c
18936 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18937 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18938 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18939 Remove conditional code.
18940 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18941 (__protocol_available): Remove #if 0 code.
18942 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18943 conditional code.
18944 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18945 * sysdeps/unix/sysv/linux/kernel-features.h
18946 (__ASSUME_GETCWD_SYSCALL): Don't define.
18947 (__ASSUME_REALTIME_SIGNALS): Likewise.
18948 (__ASSUME_PREAD_SYSCALL): Likewise.
18949 (__ASSUME_PWRITE_SYSCALL): Likewise.
18950 (__ASSUME_POLL_SYSCALL): Likewise.
18951 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18952 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18953 non-SPARC.
18954 (__ASSUME_SIOCGIFNAME): Don't define.
18955 (__ASSUME_MSG_NOSIGNAL): Likewise.
18956 (__ASSUME_SENDFILE): Define unconditionally.
18957 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18958 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18959 conditional code.
18960 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18961 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18962 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18963 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18964 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18965 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18966 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18968 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18969 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18971 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18974 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18975 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18980 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18981 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18983 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18986 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18989 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18991 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18992 Remove conditional code.
18993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18994 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18995 Remove conditional code.
18996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18997 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18998 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18999 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19000 Remove conditional code.
19001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19002 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19003 Remove conditional code.
19004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19005 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19006 Remove conditional code.
19007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19008 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19009 Remove conditional code.
19010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19011 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19012 Remove conditional code.
19013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19014 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19017 * sysdeps/unix/sysv/linux/sigaction.c
19018 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19019 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19020 * sysdeps/unix/sysv/linux/sigpending.c
19021 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19022 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19023 * sysdeps/unix/sysv/linux/sigprocmask.c
19024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19026 * sysdeps/unix/sysv/linux/sigsuspend.c
19027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19030 (__libc_missing_rt_sigs): Remove.
19031 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19032 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19033 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19034 Remove conditional code.
19035 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19036 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19037 return 1.
19038 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19039 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19040 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19041 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19042
1bfb7291
AJ
190432012-05-14 Andreas Jaeger <aj@suse.de>
19044
caae5a81
AJ
19045 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19046 it's not used in glibc.
19047 (__coshm1): Likewise.
19048 (__acosh1p): Likewise.
19049 (__sgn): Likewise.
19050
1bfb7291
AJ
19051 * manual/string.texi (Copying and Concatenation): Add missing
19052 variable in concat example.
19053 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19054
c044d724
L
190552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19056
144c5467 19057 [BZ #14103]
c044d724
L
19058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19059 __builtin_clzl with __builtin_clzll.
19060
2523c62b
L
190612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19062
19063 [BZ #14104]
19064 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19065 libc_freeres_ptr.
19066
d7bb4c42
LD
190672012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19068
19069 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19070 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19071 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19072 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19073
9dc4e1fb
MF
190742012-05-14 Mike Frysinger <vapier@gentoo.org>
19075
19076 * NEWS: Update ia64 info.
19077
c7df0112
AS
190782012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19079
19080 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19081 used as bcopy.
19082
dc70356c
TS
190832012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19084
19085 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19086 * sysdeps/unix/syscalls.list (dup3): Likewise.
19087 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19088 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19089
9fb1a21f
L
190902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19091
19092 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19093 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19094
4822a2a5
L
190952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19096
19097 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19098 thread pointer.
19099 (TLS_IE): Use mov/add instead of movq/addq to load thread
19100 pointer.
19101 (TLS_GD_PREFIX): New.
19102 (TLS_GD): Use it.
19103
842b81d6
DM
191042012-05-11 David S. Miller <davem@davemloft.net>
19105
19106 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19107 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19108 (_FPU_SETCW): Likewise.
19109
1cf463cd
L
191102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19111
19112 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19113 is 32-byte aligned.
19114
60cc4a18
AS
191152012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19116
19117 [BZ #11837]
19118 * iconvdata/gb18030.c: Update tables.
19119 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19120 characters specially.
19121 (BODY for TO_LOOP): Add encoding of missing ranges.
19122
febb44a4
TS
191232012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19124
19125 [BZ #13673]
19126 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19127 * sysdeps/mach/hurd/dup3.c: Likewise.
19128 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19129 * sysdeps/powerpc/memmove.c:: Likewise.
19130
0a10fb9e
L
191312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19132
19133 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19134 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19135
df8a552f
L
191362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19137
19138 * elf/elf.h (R_X86_64_RELATIVE64): New.
19139 (R_X86_64_NUM): Updated.
19140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19141 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19142 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19143 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19144 tst-quad1pie tst-quad2pie
19145 (modules-names): Add tst-quadmod1 tst-quadmod2.
19146 ($(objpfx)tst-quad1): New dependency.
19147 ($(objpfx)tst-quad2): Likewise.
19148 ($(objpfx)tst-quad1pie): Likewise.
19149 ($(objpfx)tst-quad2pie): Likewise.
19150 * sysdeps/x86_64/tst-quad1.c: New file.
19151 * sysdeps/x86_64/tst-quad1pie.c: New file.
19152 * sysdeps/x86_64/tst-quad2.c: Likewise.
19153 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19154 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19155 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19156 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19157 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19158
f34d6f84
ST
191592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19160
f42d41d1
ST
19161 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19162 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19163 * streams/stropts.h (t_scalar_t): Define type.
19164
3c3571fc
ST
19165 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19166 (_PATH_PRESERVE): Set to "/var/lib".
19167 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19168
61f06bd3
ST
19169 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19170 instead of int.
19171
918d4d71
ST
19172 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19173 if __dir_mkfile succeeded.
19174
f34d6f84
ST
19175 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19176 checking for _hurd_dtablesize. Unlock it right after having
19177 finished _hurd_dtable allocation.
19178
10589b4a
TS
191792012-05-10 Thomas Schwinge <thomas@schwinge.name>
19180
674cdbc7
TS
19181 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19182 * sysdeps/mach/hurd/configure: Regenerated.
19183 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19184 special-casing to...
19185 * sysdeps/gnu/configure.in: ... this new file.
19186 * sysdeps/unix/sysv/linux/configure: Regenerated.
19187 * sysdeps/gnu/configure: New generated file.
19188
8e41b99f
TS
19189 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19190 for Linux: use nsec instead of usec, as well as:
19191 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19192 members of type struct timespec.
19193 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19194 New macros.
19195 (struct stat64): Likewise.
19196 (_STATBUF_ST_NSEC): New macro.
19197 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19198
10589b4a
TS
19199 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19200 __strtoul_internal rather than strtoul.
19201
63643c85
PT
192022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19203
19204 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19205 and reject them.
19206
3faebe6a
ST
192072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19208
19209 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19210 which preserves existing values.
19211 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19212
c6474b07
PT
192132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19214
19215 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19216 TIMEOUT values. Return EINVAL for NFDS values either negative or
19217 greater than FD_SETSIZE.
19218
1043890b
ST
192192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19220
19221 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19222 allocated, call __vm_protect to finish enabling the existing space, and
19223 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19224 allocate the remainder.
19225
37ed8b9b
PT
192262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19227
19228 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19229 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19230
db653660
ST
192312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19232
37ed8b9b
PT
19233 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19234 sysdeps/mach/hurd/readlink.c.
b29d4053 19235
db653660
ST
19236 * posix/tst-sysconf.c (posix_options): Only use
19237 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19238 _POSIX_SYNCHRONIZED_IO when they are defined
19239 * sysdeps/mach/hurd/bits/posix_opt.h:
19240 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19241 (_XOPEN_REALTIME): Undefine macro.
19242 (_XOPEN_REALTIME_THREADS): Undefine macro.
19243 (_XOPEN_SHM): Undefine macro.
19244 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19245 macro to -1.
19246 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19247 macro to -1.
19248 (_POSIX_ASYNC_IO): Undefine macro.
19249 (_POSIX_PRIORITIZED_IO): Undefine macro.
19250 (_POSIX_SPIN_LOCKS): Define macro to -1.
19251
ee16e894
ST
19252 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19253 SA_NODEFER, SA_RESETHAND.
19254 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19255 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19256 F_DUPFD_CLOEXEC.
19257
6103ae3b
TS
192582012-05-10 Thomas Schwinge <thomas@schwinge.name>
19259
19260 * elf/Makefile (pldd-modules): Define unconditionally.
19261
80b4e5f3
TS
192622012-05-10 Thomas Schwinge <thomas@schwinge.name>
19263
19264 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19265
edadcbd6
ST
192662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19267
19268 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19269 Return ENOENT when name is empty.
19270 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19271
80694780
TS
192722012-05-10 Thomas Schwinge <thomas@schwinge.name>
19273
1792c087
TS
19274 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19275
80694780
TS
19276 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19277
6b645f0d
ST
192782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19279
80694780
TS
19280 Fix mlock in all cases except non-readable pages.
19281 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19282 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19283
6b645f0d
ST
19284 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19285 (__mkdir): When path is `/', just fail with EEXIST.
19286 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19287
e468f8a3
TS
192882012-05-10 Thomas Schwinge <thomas@schwinge.name>
19289
19290 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19291 <sys/uio.h> (for writev).
19292 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19293 and <sys/param.h> (for MIN).
19294
a4186cff
PT
192952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19296
19297 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19298 REQUESTED_TIME. Properly set the remaining time and return EINTR
19299 if interrupted.
19300
510bbf14
TS
193012012-05-10 Thomas Schwinge <thomas@schwinge.name>
19302
19303 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19304 Depend on against $(link-rpcuserlibs).
19305
5d5722e8
ST
193062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19307
a4186cff
PT
19308 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19309 (__libc_stack_end): Do not use attribute_relro.
19310 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19311 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19312 to libthread-provided value.
a4186cff
PT
19313 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19314 attribute_relro.
5d5722e8 19315
37233df9
TS
193162012-05-10 Thomas Schwinge <thomas@schwinge.name>
19317
be971a2b
TS
19318 [BZ #3748]
19319 * bits/libc-lock.h (__libc_once_get): New macro.
19320 * sysdeps/mach/bits/libc-lock.h: Likewise.
19321 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19323 instead of using implementation details.
19324
37233df9
TS
19325 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19326 * libio/freopen.c: Likewise.
19327 * libio/freopen64.c: Likewise.
19328 * misc/syslog.c: Likewise.
19329 * nscd/connections.c: Likewise.
19330 * nscd/netgroupcache.c: Likewise.
19331 * sysdeps/posix/getcwd.c: Likewise.
19332
38de94a5
RM
193332012-05-10 Roland McGrath <roland@hack.frob.com>
19334
19335 * math/w_ilogbf.c: Add #include <limits.h>.
19336
67530489
ST
193372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19338
a4186cff 19339 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19340 path instead of returning without unlocking.
19341
67530489
ST
19342 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19343 immediate-write ioctls.
19344 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19345
5aa3a74a
TS
193462012-05-10 Thomas Schwinge <thomas@schwinge.name>
19347
18bad2ae
TS
19348 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19349 __builtin_frame_address instead of making assumptions about the
19350 location of the return address relative to DATA. Force early load of
19351 the return address.
19352 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19353 __builtin_frame_address.
19354
5aa3a74a
TS
19355 dup3 for GNU Hurd.
19356 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19357 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19358 implement dup3 and do some further code clean-ups.
19359 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19360 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19361
ecd0de9a
ST
193622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19363
cd9fa985
ST
19364 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19365
a4186cff
PT
19366 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19367 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19368 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19369 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19370 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19371 d->port.lock.
802ca5a5 19372
a4186cff
PT
19373 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19374 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19375 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19376
bcf55240
TS
193772012-05-10 Thomas Schwinge <thomas@schwinge.name>
19378
6960eb42
TS
19379 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19380 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19381 definitions.
19382
eb43375f
TS
19383 accept4 for GNU Hurd.
19384 * include/sys/socket.h (__libc_accept4): New prototype.
19385 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19386 to implement __libc_accept4.
19387 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19388 __libc_accept4.
19389 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19390
bcf55240
TS
19391 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19392 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19393 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19394 signal-defines.sym.
19395
6178c55b
ST
193962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19397
a4186cff 19398 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19399
6f080c2f
TS
194002012-05-10 Thomas Schwinge <thomas@schwinge.name>
19401
19402 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19403 assertion on O_CLOEXEC flag.
19404 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19405 * hurd/intern-fd.c: Likewise.
19406 * hurd/port2fd.c: Likewise.
19407
bcfe3a54
ST
194082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19409
19410 [BZ #3906]
19411 * bits/in.h (IPV6_PKTINFO): Define new macro.
19412 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19413
89c9aa49
AZ
194142012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19415
19416 [BZ #13954]
19417 [BZ #13955]
19418 [BZ #13956]
19419 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19420 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19421 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19422 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19424 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19425 * math/libm-test.inc (logb_test) : Additional logb tests.
19426
021db4be
AJ
194272012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19428 Andreas Jaeger <aj@suse.de>
19429
19430 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19431 * configure: Regenerated.
19432 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19433 * config.make.in (link-obsolete-rpc): New substituted variable.
19434 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19435 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19436 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19437 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19438 so that libc.a contains the symbols.
19439 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19440 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19441 * sunrpc/auth_none.c: Likewise.
19442 * sunrpc/auth_unix.c: Likewise.
19443 * sunrpc/authdes_prot.c: Likewise.
19444 * sunrpc/authuxprot.c: Likewise.
19445 * sunrpc/clnt_gen.c: Likewise.
19446 * sunrpc/clnt_perr.c: Likewise.
19447 * sunrpc/clnt_raw.c: Likewise.
19448 * sunrpc/clnt_simp.c: Likewise.
19449 * sunrpc/clnt_tcp.c: Likewise.
19450 * sunrpc/clnt_udp.c: Likewise.
19451 * sunrpc/clnt_unix.c: Likewise.
19452 * sunrpc/des_crypt.c: Likewise.
19453 * sunrpc/des_soft.c: Likewise.
19454 * sunrpc/get_myaddr.c: Likewise.
19455 * sunrpc/key_call.c: Likewise.
19456 * sunrpc/key_prot.c: Likewise.
19457 * sunrpc/netname.c: Likewise.
19458 * sunrpc/pm_getmaps.c: Likewise.
19459 * sunrpc/pm_getport.c: Likewise.
19460 * sunrpc/pmap_clnt.c: Likewise.
19461 * sunrpc/pmap_prot.c: Likewise.
19462 * sunrpc/pmap_prot2.c: Likewise.
19463 * sunrpc/pmap_rmt.c: Likewise.
19464 * sunrpc/publickey.c: Likewise.
19465 * sunrpc/rpc_cmsg.c: Likewise.
19466 * sunrpc/rpc_common.c: Likewise.
19467 * sunrpc/rpc_dtable.c: Likewise.
19468 * sunrpc/rpc_prot.c: Likewise.
19469 * sunrpc/rpc_thread.c: Likewise.
19470 * sunrpc/rtime.c: Likewise.
19471 * sunrpc/svc.c: Likewise.
19472 * sunrpc/svc_auth.c: Likewise.
19473 * sunrpc/svc_raw.c: Likewise.
19474 * sunrpc/svc_run.c: Likewise.
19475 * sunrpc/svc_tcp.c: Likewise.
19476 * sunrpc/svc_udp.c: Likewise.
19477 * sunrpc/svc_unix.c: Likewise.
19478 * sunrpc/svcauth_des.c: Likewise.
19479 * sunrpc/xcrypt.c: Likewise.
19480 * sunrpc/xdr.c: Likewise.
19481 * sunrpc/xdr_array.c: Likewise.
19482 * sunrpc/xdr_float.c: Likewise.
19483 * sunrpc/xdr_intXX_t.c: Likewise.
19484 * sunrpc/xdr_mem.c: Likewise.
19485 * sunrpc/xdr_rec.c: Likewise.
19486 * sunrpc/xdr_ref.c: Likewise.
19487 * sunrpc/xdr_sizeof.c: Likewise.
19488 * sunrpc/xdr_stdio.c: Likewise.
19489
b5c086a2
RM
194902012-05-10 Roland McGrath <roland@hack.frob.com>
19491
19492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19493 change. Update copyright years.
19494
6d74dd09
JM
194952012-05-10 Joseph Myers <joseph@codesourcery.com>
19496
19497 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19498
28e72501
MK
194992012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19500 Joseph Myers <joseph@codesourcery.com>
19501 Paul Pluzhnikov <ppluzhnikov@google.com>
19502
19503 [BZ #14012]
19504 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19505 requiring rpcgen.
19506 [cross-compiling] (extra-libs): Likewise.
19507 [cross-compiling] (extra-libs-others): Likewise.
19508 [cross-compiling] (librpcsvc-routines): Likewise.
19509 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19510 [cross-compiling] (omit-deps): Likewise.
19511 (sunrpc-CPPFLAGS): New variable.
19512 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19513 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19514 (cross-rpcgen-objs): New variable.
19515 (extra-objs): Append $(cross-rpcgen-objs).
19516 ($(cross-rpcgen-objs)): New rule.
19517 ($(objpfx)cross-rpcgen): Likewise.
19518 (rpcgen-cmd): Define to use $(built-program-file). Expand
19519 comment.
19520 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19521 ($(objpfx)x%.stmp): Likewise.
19522 * sunrpc/proto.h [IS_IN_build] (_): Define.
19523 [IS_IN_build] (_libc_intl_domainname): Likewise.
19524
c8c59454
L
195252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19526
19527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19528 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19529 and R_X86_64_TPOFF64.
19530
6f27cd16
JM
195312012-05-10 Joseph Myers <joseph@codesourcery.com>
19532
19533 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19534 sysdeps/unix/sysv/syscalls.list.
19535 (stime): Likewise.
19536 (utime): Likewise.
19537 * sysdeps/unix/sysv/syscalls.list: Remove file.
19538
02467e1c
PE
195392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19540
19541 [BZ #3440]
19542 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19543 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19544 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19545 (__LC_IDENTIFICATION): Make these macros useful in #if
19546 expressions, as required by C99.
19547
da392631
AS
195482012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19549
19550 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19551 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19552 after this.
19553
8115f29b
L
195542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19555
19556 * stdlib/longlong.h: Updated from GCC.
19557
bdd74070
AJ
195582012-05-09 Andreas Jaeger <aj@suse.de>
19559
edfe0dbe
AJ
19560 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19561 default is first entry.
19562 (run_mode): Set type.
19563 (main): Remove informal message about syslog.
19564 (options): Fix typo.
19565
bcfe3a54
ST
19566 [BZ #14053]
19567 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19568 to asm.
bcfe3a54
ST
19569 (lrint): Likewise.
19570 (llrintf): Likewise.
19571 (llrint): Likewise.
19572 (rint): Likewise.
19573 (rintf): Likewise.
19574 (nearbyint): Likewise.
19575 (nearbyintf): Likewise.
bdd74070 19576
91d8d69e
AJ
195772012-05-09 Andreas Jaeger <aj@suse.de>
19578 Pedro Alves <palves@redhat.com>
19579
19580 * nscd/nscd.c (run_mode): Use enum.
19581 (main): Cleanup coding style issue.
19582
bb90b80b
AJ
195832012-05-09 Alexandre Oliva <aoliva@redhat.com>
19584 Andreas Jaeger <aj@suse.de>
19585
bcfe3a54
ST
19586 * nscd/nscd.c (go_background): Replaced with...
19587 (run_mode): ... this.
bb90b80b 19588 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19589 (options): Add -F --foreground.
19590 (main): Implement it.
19591 (parse_opt): Parse it.
bb90b80b 19592
1a4b75a1
AJ
195932012-05-09 Andreas Jaeger <aj@suse.de>
19594
19595 [BZ #14083]
19596 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19597 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19598 -Wconversion warning.
19599 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19600 Likewise.
19601
b1cc2472
JM
196022012-05-09 Joseph Myers <joseph@codesourcery.com>
19603
19604 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19605 == 0.
19606 (LC_ALL): Use macro-int-constant.
19607 (LC_COLLATE): Likewise.
19608 (LC_CTYPE): Likewise.
19609 (LC_MESSAGES): Likewise.
19610 (LC_MONETARY): Likewise.
19611 (LC_NUMERIC): Likewise.
19612 (LC_TIME): Likewise.
19613 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19614 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19616 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19617 Specify type.
19618 [C99-based standards] (float_t): Expect type.
19619 [C99-based standards] (double_t): Expect type.
19620 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19621 type.
19622 [C99-based standards] (HUGE_VALL): Likewise.
19623 [C99-based standards] (INFINITY): Likewise.
19624 [C99-based standards] (NAN): Likewise.
19625 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19626 [C99-based standards] (FP_NAN): Likewise.
19627 [C99-based standards] (FP_NORMAL): Likewise.
19628 [C99-based standards] (FP_SUBNORMAL): Likewise.
19629 [C99-based standards] (FP_ZERO): Likewise.
19630 [C99-based standards] (FP_FAST_FMA): Use
19631 optional-macro-int-constant. Specify type. Require == 1.
19632 [C99-based standards] (FP_FAST_FMAF): Likewise.
19633 [C99-based standards] (FP_FAST_FMAL): Likewise.
19634 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19635 [C99-based standards] (FP_ILOGBNAN): Likewise.
19636 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19637 Specify type.
19638 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19639 [C99-based standards] (math_errhandling): Specify type.
19640 [ISO99 || ISO11] (signgam): Do not allow.
19641 [non-C99-based standards] (copysignf): Do not allow.
19642 [non-C99-based standards] (exp2f): Likewise.
19643 [non-C99-based standards] (log2f): Likewise.
19644 [non-C99-based standards] (modff): Allow.
19645 [non-C99-based standards] (erff): Do not allow.
19646 [non-C99-based standards] (erfcf): Likewise.
19647 [non-C99-based standards] (gammaf): Likewise.
19648 [non-C99-based standards] (hypotf): Likewise.
19649 [non-C99-based standards] (j0f): Likewise.
19650 [non-C99-based standards] (j1f): Likewise.
19651 [non-C99-based standards] (jnf): Likewise.
19652 [non-C99-based standards] (lgammaf): Likewise.
19653 [non-C99-based standards] (tgammaf): Likewise.
19654 [non-C99-based standards] (y0f): Likewise.
19655 [non-C99-based standards] (y1f): Likewise.
19656 [non-C99-based standards] (ynf): Likewise.
19657 [non-C99-based standards] (isnanf): Likewise.
19658 [non-C99-based standards] (acoshf): Likewise.
19659 [non-C99-based standards] (asinhf): Likewise.
19660 [non-C99-based standards] (atanhf): Likewise.
19661 [non-C99-based standards] (cbrtf): Likewise.
19662 [non-C99-based standards] (expm1f): Likewise.
19663 [non-C99-based standards] (ilogbf): Likewise.
19664 [non-C99-based standards] (log1pf): Likewise.
19665 [non-C99-based standards] (logbf): Likewise.
19666 [non-C99-based standards] (nextafterf): Likewise.
19667 [non-C99-based standards] (remainderf): Likewise.
19668 [non-C99-based standards] (rintf): Likewise.
19669 [non-C99-based standards] (scalbf): Likewise.
19670 [non-C99-based standards] (copysignl): Likewise.
19671 [non-C99-based standards] (exp2l): Likewise.
19672 [non-C99-based standards] (log2l): Likewise.
19673 [non-C99-based standards] (modfl): Allow.
19674 [non-C99-based standards] (erfl): Do not allow.
19675 [non-C99-based standards] (erfcl): Likewise.
19676 [non-C99-based standards] (gammal): Likewise.
19677 [non-C99-based standards] (hypotl): Likewise.
19678 [non-C99-based standards] (j0l): Likewise.
19679 [non-C99-based standards] (j1l): Likewise.
19680 [non-C99-based standards] (jnl): Likewise.
19681 [non-C99-based standards] (lgammal): Likewise.
19682 [non-C99-based standards] (tgammal): Likewise.
19683 [non-C99-based standards] (y0l): Likewise.
19684 [non-C99-based standards] (y1l): Likewise.
19685 [non-C99-based standards] (ynl): Likewise.
19686 [non-C99-based standards] (isnanl): Likewise.
19687 [non-C99-based standards] (acoshl): Likewise.
19688 [non-C99-based standards] (asinhl): Likewise.
19689 [non-C99-based standards] (atanhl): Likewise.
19690 [non-C99-based standards] (cbrtl): Likewise.
19691 [non-C99-based standards] (expm1l): Likewise.
19692 [non-C99-based standards] (ilogbl): Likewise.
19693 [non-C99-based standards] (log1pl): Likewise.
19694 [non-C99-based standards] (logbl): Likewise.
19695 [non-C99-based standards] (nextafterl): Likewise.
19696 [non-C99-based standards] (remainderl): Likewise.
19697 [non-C99-based standards] (rintl): Likewise.
19698 [non-C99-based standards] (scalbl): Likewise.
19699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19700 [non-C99-based standards] (FP_*): Do not allow.
19701 [C99-based standards] (FP_*): Change to
19702 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19703 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19704 allow.
19705 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19706 (SIG_ERR): Likewise.
19707 [X/Open-based standards] (SIG_HOLD): Likewise.
19708 (SIG_IGN): Likewise.
19709 (SIGABRT): Use macro-int-constant. Specify type. Require
19710 positive value.
19711 (SIGFPE): Likewise.
19712 (SIGILL): Likewise.
19713 (SIGINT): Likewise.
19714 (SIGSEGV): Likewise.
19715 (SIGTER): Likewise.
19716 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19717 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19718 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19719 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19720 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19721 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19722 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19723 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19724 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19725 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19726 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19727 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19728 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19729 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19730 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19731 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19732 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19733 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19734 [X/Open-based standards] (SIGTRAP): Likewise.
19735 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19736 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19737 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19738 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19739 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19740 allow.
19741
b9f1922d
IW
197422012-05-08 Ian Wienand <ianw@vmware.com>
19743
19744 [BZ #14080]
19745 * time/tzset.c (__tzset_parse_tz): Update default rules for
19746 daylight time changes in the Energy Policy Act of 2005.
19747
1db86e88
AJ
197482012-05-09 Andreas Jaeger <aj@suse.de>
19749
19750 [BZ #13983]
19751 * elf/ldconfig.c (parse_conf): Change string to make clear that
19752 ldconfig only issued a warning if ld.so.conf does not exist.
19753
dee4a4e3
DM
197542012-05-08 David S. Miller <davem@davemloft.net>
19755
ee0db190
DM
19756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19757 movxtod instead of popping the value on the stack.
19758
dee4a4e3
DM
19759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19760
6a43ec98
CD
197612012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19762
19763 * config.h.in: Add HAVE_ARM_PCS_VFP.
19764
05c2c961
RMG
197652012-05-08 Roland Mc Grath <roland@hack.frob.com>
19766
bcfe3a54
ST
19767 [BZ #13979]
19768 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19769 checking but the checks are disabled for any reason.
05c2c961 19770
4b30f61a
L
197712012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19772
19773 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19774 and ELF64_R_TYPE with ELFW(R_TYPE).
19775
eee2bc67
JM
197762012-05-08 Joseph Myers <joseph@codesourcery.com>
19777
7ea5391a
JM
19778 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19779 (ulimit): Likewise.
19780
eee2bc67
JM
19781 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19782 (settimeofday): Likewise.
19783
abb66a67
MF
197842012-05-08 Mike Frysinger <vapier@gentoo.org>
19785
19786 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19787 a struct th_u2 inside the union, and move tu_block/tu_code into
19788 a new th_u3 union of tu_block/tu_code inside of that. Move
19789 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19790 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19791 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19792 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19793 (th_stuff): Change to th_u1.tu_stuff.
19794 (th_data): Define.
19795 (th_msg): Change to th_u1.th_u2.tu_data.
19796
7f18b530
DM
197972012-05-07 David S. Miller <davem@davemloft.net>
19798
05760585
DM
19799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19800
7f18b530
DM
19801 [BZ #14074]
19802 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19803 (SETUP_PIC_REG): Use it.
19804 (SETUP_PIC_REG_LEAF): Use it.
19805
495fd99f
JM
198062012-05-07 Joseph Myers <joseph@codesourcery.com>
19807
19808 [BZ #13885]
19809 [BZ #13923]
19810 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19811 USE_AS_EXPM1L.
19812 (EXPL_FINITE): Likewise.
19813 (FLDLOG): Likewise.
19814 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19815 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19816 e_expl.S.
19817 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19818 USE_AS_EXPM1L.
19819 (EXPL_FINITE): Likewise.
19820 (FLDLOG): Likewise.
19821 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19822 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19823 e_expl.S.
19824 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19825 test of -max_value argument for long double.
19826 * sysdeps/i386/fpu/libm-test-ulps: Update.
19827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19828
6693d694
DM
198292012-05-06 David S. Miller <davem@davemloft.net>
19830
19831 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19832 quad soft-float symbols whose references which are compiler
19833 generated.
19834 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19835
6c23e11c
JM
198362012-05-06 Joseph Myers <joseph@codesourcery.com>
19837
d8b82cad
JM
19838 [BZ #13884]
19839 [BZ #13914]
19840 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19841 USE_AS_EXP10L.
19842 (EXPL_FINITE): Likewise.
19843 (FLDLOG): Likewise.
19844 (c0): Likewise.
19845 (c1): Likewise.
19846 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19847 Adjust comments for base varying.
19848 (__expl_finite): Change alias to EXPL_FINITE.
19849 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19850 e_expl.S.
19851 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19852 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19853 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19854 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19855 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19856 USE_AS_EXP10L.
19857 (EXPL_FINITE): Likewise.
19858 (FLDLOG): Likewise.
19859 (c0): Likewise.
19860 (c1): Likewise.
19861 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19862 Adjust comments for base varying.
19863 (__expl_finite): Change alias to EXPL_FINITE.
19864 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19865 tests for bugs.
19866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19867
6c23e11c
JM
19868 [BZ #14064]
19869 * math/libm-test.inc (check_float_internal): Correct ulp
19870 calculation for subnormal expected results.
19871
29ba805c
AJ
198722012-05-06 Andreas Jaeger <aj@suse.de>
19873
19874 * Makeconfig (+math-flags): New, set to -frounding-math.
19875 (+cflags): Add +math-flags so that all of glibc gets compiled with
19876 it.
19877
19878 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19879
7b17aeda
JM
198802012-05-05 Joseph Myers <joseph@codesourcery.com>
19881
5779f134
JM
19882 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19883 Disable one test.
19884
41498f4d
JM
19885 [BZ #13787]
19886 [BZ #13922]
19887 [BZ #14036]
19888 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19889 (__ieee754_expl): Allow for and saturate large arguments.
19890 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19891 (u_threshold): Likewise.
19892 (__exp): Call __ieee754_exp before checking for overflow and
19893 underflow.
19894 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19895 (u_threshold): Likewise.
19896 (__expf): Call __ieee754_expf before checking for overflow and
19897 underflow.
19898 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19899 (u_threshold): Likewise.
19900 (__expl): Call __ieee754_expl before checking for overflow and
19901 underflow.
19902 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19903 (__ieee754_expl): Allow for and saturate large arguments.
19904 * math/libm-test.inc (exp_test): Add another test. Do not allow
19905 missing overflow exception on overflow.
19906 (expm1_test): Do not allow missing overflow exception on overflow.
19907
6698b8bf
JM
19908 * sysdeps/i386/fpu/e_expl.c: Move to ...
19909 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19910 rather than using inline asm.
19911 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19912 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19913 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19914
7b17aeda
JM
19915 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19916 (nice): Likewise.
19917 (poll): Likewise.
19918 (signal): Likewise.
19919 (time): Likewise.
19920 (times): Likewise.
19921
f7c85819
JM
199222012-05-04 Joseph Myers <joseph@codesourcery.com>
19923
19924 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19925 sysdeps/unix/common/syscalls.list.
19926 (fchmod): Likewise.
19927 (fchown): Likewise.
19928 (ftruncate): Likewise.
19929 (getrusage): Likewise.
19930 (gettimeofday): Likewise.
19931 (setpgid): Likewise.
19932 (setregid): Likewise.
19933 (setreuid): Likewise.
19934 (sigaction): Likewise.
19935 (truncate): Likewise.
19936 (vhangup): Likewise.
19937 * sysdeps/unix/common/syscalls.list: Remove file.
19938 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19939 * sysdeps/unix/sysv/linux/Implies: Likewise.
19940
336270d0
L
199412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19942
19943 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19945 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19946 Moved to ...
19947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19948 Here.
19949 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19950 to ...
19951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19952 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19953 to ...
19954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19955 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19956 to ...
19957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19958 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19959 to ...
19960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19961 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19962 to ...
19963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19964 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19965 to ...
19966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19967 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19968 to ...
19969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19970 Here.
19971 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19972 to ...
19973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19974 Here.
19975 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19976 to ...
19977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19978 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19979 Moved to ...
19980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19981 Here.
19982 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19983 to ...
19984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19985
d128e450
JM
199862012-05-04 Joseph Myers <joseph@codesourcery.com>
19987
fa8ee516
JM
19988 * sysdeps/unix/common/bits/dirent.h: Remove file.
19989 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19990
d128e450
JM
19991 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19992 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19993 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19994 * sysdeps/unix/bsd/isatty.c: Likewise.
19995 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19996 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19997 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19998
ff8faaf0 199992012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20000
62881be4 20001 [BZ #13563]
31dc8730
AZ
20002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20003 long double comparison inaccuracies.
20004 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20006
6fef930c
AS
200072012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20008
20009 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20011
8f203e6c
JM
200122012-05-04 Joseph Myers <joseph@codesourcery.com>
20013
20014 [BZ #14049]
20015 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20016 nonzero digits before rounding a hex value.
20017 * stdlib/tst-strtod.c (tests): Add another test.
20018
5197d9c2
AK
200192012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20020
20021 * sysdeps/s390/fpu/libm-test-ulps: Update.
20022
f0c1dedf
AJ
200232012-05-03 Andreas Jaeger <aj@suse.de>
20024
20025 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20026 does not get optimized out.
20027 (malloc_opt_barrier): New.
20028
a65ef2ae 200292012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20030 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20031
2b942cb7 20032 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20033 intermediate file deletion.
2b942cb7 20034 (generated): Add .symlist files.
a65ef2ae 20035
54b71e02
JM
200362012-05-03 Joseph Myers <joseph@codesourcery.com>
20037
20038 [BZ #13775]
20039 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20040 Redirect under this condition.
20041 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20042 [__USE_GNU] (__dprintf_chk): Not under this condition.
20043 [__USE_GNU] (__vdprintf_chk): Likewise.
20044 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20045 under this condition.
20046 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20047 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20048 [__USE_XOPEN2K8] (vdprintf): Likewise.
20049 [__USE_GNU] (__dprintf_chk): Not under this condition.
20050 [__USE_GNU] (__vdprintf_chk): Likewise.
20051 [__USE_GNU] (dprintf): Likewise.
20052 [__USE_GNU] (vdprintf): Likewise.
20053
d3dfcc41
RM
200542012-05-03 Roland McGrath <roland@hack.frob.com>
20055
20056 * elf/Makefile (common-generated): Set this instead of generated for
20057 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20058 $(all-built-dso)-derived lists.
20059
7ac30cc5
AJ
200602012-05-03 Andreas Jaeger <aj@suse.de>
20061
0c51e550
AJ
20062 * sysdeps/i386/fpu/libm-test-ulps: Update.
20063
7ac30cc5
AJ
20064 * FAQ: Removed.
20065 * FAQ.in: Likewise.
20066 * scripts/gen-FAQ.pl: Likewise.
20067 * manual/install.texi (Installation): Point to online location of
20068 FAQ.
20069 * Makefile (files-for-dist): Remove FAQ.
20070 (FAQ): Remove.
20071
d4c2917f
AM
200722012-05-02 Allan McRae <allan@archlinux.org>
20073
20074 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20075 (LDFLAGS-reldepmod5.so): Likewise.
20076 (LDFLAGS-reldep6mod1.so): Likewise.
20077 (LDFLAGS-reldep6mod4.so): Likewise.
20078 (LDFLAGS-reldep8mod3.so): Likewise.
20079 (LDFLAGS-unload4mod1.so): Likewise.
20080 (LDFLAGS-unload4mod2.so): Likewise.
20081 (LDFLAGS-tst-initorder): Likewise.
20082 (LDFLAGS-tst-initordera2.so): Likewise.
20083 (LDFLAGS-tst-initordera3.so): Likewise.
20084 (LDFLAGS-tst-initordera4.so): Likewise.
20085 (LDFLAGS-tst-initorderb2.so): Likewise.
20086 (LDFLAGS-noload): Likewise.
20087 (LDFLAGS-next): Likewise.
20088 (LDFLAGS-order2mod1.so): Likewise.
20089 (LDFLAGS-order2mod2.so): Likewise.
20090 (LDFLAGS-tst-initorder2): Likewise.
20091 (LDFLAGS-tst-initorder2a.so): Likewise.
20092 (LDFLAGS-tst-initorder2b.so): Likewise.
20093 (LDFLAGS-tst-initorder2c.so): Likewise.
20094 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20095
d77f993f
DM
200962012-05-02 David S. Miller <davem@davemloft.net>
20097
20098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20099
171a70b4
PP
201002012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20101
20102 [BZ #14055]
20103 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20104
0be196ad
AJ
201052012-05-02 Andreas Jaeger <aj@suse.de>
20106
20107 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20108 since we manipulate rounding mode.
20109 (CPPFLAGS-test-idouble.c): Likewise.
20110 (CPPFLAGS-test-ifloat.c): Likewise.
20111 (CFLAGS-test-ldouble.c): Likewise.
20112 (CFLAGS-test-double.c): Likewise.
20113 (CFLAGS-test-float.c): Likewise.
20114 (CFLAGS-test-misc.c): Likewise.
20115 (CFLAGS-test-test-fenv.c): Likewise.
20116
4f9d04aa
AZ
201172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20118
2b942cb7
RM
20119 [BZ #2550]
20120 [BZ #2570]
20121 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20122 comparisons to determine direction to adjust input.
4f9d04aa 20123
82a79e7d
RM
201242012-05-01 Roland McGrath <roland@hack.frob.com>
20125
f5a01ca9
RM
20126 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20127 output to the target.
20128
90fe4186
RM
20129 * scripts/localplt.awk: New file.
20130 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20131 (check-localplt-CFLAGS): Variable removed.
20132 ($(all-built-dso:=.jmprel)): New static pattern rule.
20133 (generated): Add those targets.
20134 (localplt-built-dso): New variable.
20135 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20136
20137 * elf/check-localplt.c: File removed.
20138
82397ed6
RM
20139 * scripts/check-execstack.awk: New file.
20140 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20141 (check-execstack-CFLAGS): Variable removed.
20142 ($(objpfx)check-execstack.h): Target removed.
20143 ($(objpfx)execstack-default): New target.
20144 (generated): Add that instead of check-execstack.h.
20145 ($(all-built-dso:=.phdr)): New static pattern rule.
20146 (generated): Add those targets.
20147 * elf/check-execstack.c: File removed.
20148
82a79e7d
RM
20149 * scripts/check-textrel.awk: New file.
20150 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20151 (check-textrel-CFLAGS): Variable removed.
20152 (all-built-dso): Use := to define.o
20153 ($(all-built-dso:=.dyn)): New static pattern rule.
20154 (generated): Add those targets.
20155 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20156 * config.make.in (READELF): New substituted variable.
20157 * elf/check-textrel.c: File removed.
20158
62fde54f 201592012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20160
615605c9
JM
20161 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20162 allow.
20163 * conform/data/ctype.h-data [C99-based standards] (isblank):
20164 Expect function.
20165 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20166 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20168 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20169 Specify type. Require positive value.
20170 (EILSEQ): Likewise.
20171 (ERANGE): Likewise.
20172 [ISO || POSIX] (EILSEQ): Do not expect.
20173 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20174 Specify type. Require positive value.
20175 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20176 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20177 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20178 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20179 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20180 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20181 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20182 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20183 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20184 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20185 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20186 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20187 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20188 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20189 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20190 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20191 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20192 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20193 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20194 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20195 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20196 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20197 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20198 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20199 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20200 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20201 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20202 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20203 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20204 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20205 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20213 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20218 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20219 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20220 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20221 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20222 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20223 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20226 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20227 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20228 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20235 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20249 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20250 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20251 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20252 Require >= 2.
20253 (FLT_ROUNDS): Expect as macro, not constant.
20254 (FLT_MANT_DIG): Use macro-int-constant.
20255 (DBL_MANT_DIG): Likewise.
20256 (LDBL_MANT_DIG): Likewise.
20257 (FLT_DIG): Likewise.
20258 (DBL_DIG): Likewise.
20259 (LDBL_DIG): Likewise.
20260 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20261 (DBL_MIN_EXP): Likewise.
20262 (LDBL_MIN_EXP): Likewise.
20263 (FLT_MAX_EXP): Use macro-int-constant.
20264 (DBL_MAX_EXP): Likewise.
20265 (LDBL_MAX_EXP): Likewise.
20266 (FLT_MAX_10_EXP): Likewise.
20267 (DBL_MAX_10_EXP): Likewise.
20268 (LDBL_MAX_10_EXP): Likewise.
20269 (FLT_MAX): Use macro-constant.
20270 (DBL_MAX): Likewise.
20271 (LDBL_MAX): Likewise.
20272 (FLT_EPSILON): Use macro-constant. Give upper bound.
20273 (DBL_EPSILON): Likewise.
20274 (LDBL_EPSILON): Likewise.
20275 (FLT_MIN): Likewise.
20276 (DBL_MIN): Likewise.
20277 (LDBL_MIN): Likewise.
20278 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20279 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20280 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20281 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20282 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20283 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20284 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20285 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20286 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20287 [ISO11] (FLT_TRUE_MIN): Likewise.
20288 [ISO11] (LDBL_TRUE_MIN): Likewise.
20289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20290 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20291 (SCHAR_MIN): Use macro-int-constant. Specify type.
20292 (SCHAR_MAX): Likewise.
20293 (UCHAR_MAX): Likewise.
20294 (CHAR_MIN): Likewise.
20295 (CHAR_MAX): Likewise.
20296 (MB_LEN_MAX): Use macro-int-constant.
20297 (SHRT_MIN): Use macro-int-constant. Specify type.
20298 (SHRT_MAX): Likewise.
20299 (USHRT_MAX): Likewise.
20300 (INT_MAX): Likewise.
20301 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20302 bound negative.
20303 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20304 bound with "U".
20305 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20306 bound with "L".
20307 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20308 bound negative. Suffix upper bound with "L".
20309 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20310 bound with "UL".
20311 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20312 Specify type.
20313 [C99-based standards] (LLONG_MAX): Likewise.
20314 [C99-based standards] (ULLONG_MAX): Likewise.
20315 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20316 == 0.
20317 [ISO11] (max_align_t): Require type.
20318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20319
c9140a62
JM
20320 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20321 from $CFLAGS, without defining away __attribute__ calls.
20322 (checknamespace): Use $CFLAGS_namespace.
20323
9af0bf29
JM
20324 * conform/conformtest.pl (@keywords): Only include C99 keywords
20325 for standards based on C99 or C11.
20326
343222a2
JM
20327 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20328 Disable tests.
20329 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20330 UNIX98]: Likewise.
20331
661f8cf0
JM
20332 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20333 usability of symbols in #if.
20334
ee74b9cb
JM
20335 * conform/conformtest.pl: If macro or constant types start
20336 "promoted:", expect the symbol to be of the following type
20337 promoted by the integer promotions.
62fde54f 20338
aafc49b3
JM
20339 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20340 in one place. Also handle "macro-constant".
20341
fefdf574
JM
20342 * conform/conformtest.pl: Only accept expected macro values with
20343 "==". Parse all "macro" lines in one place.
20344 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20345
f2d922fe
JM
20346 * conform/conformtest.pl: Handle braced types on "constant" lines
20347 instead of handling "typed-constant".
20348 * conform/data/signal.h-data: Use "constant" instead of
20349 "typed-constant".
20350
d22956c9
JM
20351 * conform/conformtest.pl: Handle "optional-" at start of lines in
20352 one place rather than duplicating several cases. Handle each
20353 format of "macro" line with initial "optional-".
20354
028e2e38
JM
20355 * conform/conformtest.pl: Only accept expected constant or
20356 optional-constant values with "==". Parse all "constant" lines in
20357 one place. Parse all "optional-constant" lines in one place.
20358 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20359 * conform/data/fmtmsg.h-data: Likewise.
20360 * conform/data/netinet/in.h-data: Likewise.
20361 * conform/data/tar.h-data: Likewise.
20362 * conform/data/limits.h-data: Use "==" form on "constant" and
20363 "optional-constant" lines.
20364
1b8f2850
JM
20365 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20366 Use -std=c99 for XOPEN2K.
20367 (@knownproblems): Remove.
20368 (newtoken): Don't check %isknown.
20369
a05a144b
JM
20370 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20371 Do not expect macro.
20372 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20373 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20374 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20375 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20384 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20385 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20387 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20388 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20389 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20390 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20391 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20394 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20395 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20402 [XPG3] (acosh): Likewise.
20403 [XPG3] (asinh): Likewise.
20404 [XPG3] (atanh): Likewise.
20405 [XPG3] (cbrt): Likewise.
20406 [XPG3] (expm1): Likewise.
20407 [XPG3] (ilogb): Likewise.
20408 [XPG3] (log1p): Likewise.
20409 [XPG3] (logb): Likewise.
20410 [XPG3] (nextafter): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20413 [XPG3] (remainder): Likewise.
20414 [XPG3] (rint): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20422 [UNIX98 || XOPEN2K] (scalb): Expect.
20423 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20424 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20425 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20426 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20427 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20430 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20431 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20432 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20433 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20434 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20435 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20436 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20437 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20438 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20439 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20443 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20445 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20446 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20452 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20453 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20560
73c5ebe3
JM
20561 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20562 _XOPEN_SOURCE_EXTENDED for XPG4.
20563
39c33b6c
JM
20564 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20565
62fde54f
JM
20566 * Makeconfig (localtime): Remove variable.
20567 (inst_localtime-file): Likewise.
20568
0741d64c
AS
205692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20570
20571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20572 Update.
20573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20574 Update.
20575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20576 Update.
20577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20578 Update.
20579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20580 Update.
20581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20582 Update.
20583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20584 Update.
20585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20586 Update.
20587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20588 Update.
20589
7cb029ee
JM
205902012-05-01 Joseph Myers <joseph@codesourcery.com>
20591
20592 [BZ #2550]
20593 [BZ #2570]
20594 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20595 comparisons to determine direction to adjust input.
20596 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20597 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20598 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20599 Likewise.
20600 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20601 Likewise.
20602 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20603 Likewise.
20604 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20605 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20606 Likewise.
20607 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20608 Likewise.
20609 * math/libm-test.inc (nexttoward_test): Add more tests.
20610
412bd966
AS
206112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20612
20613 [BZ #14040]
20614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20615 in version GLIBC_2.1, not GLIBC_2.0.
20616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20617 Likewise.
20618
9568c0c2
JM
206192012-04-30 Joseph Myers <joseph@codesourcery.com>
20620
adfbc8ac
JM
20621 [BZ #13942]
20622 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20623 (1 - x) * (1 + x).
20624 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20625 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20626 * math/libm-test.inc (acos_test): Add more tests.
20627 (asin_test): Likewise.
20628 * sysdeps/i386/fpu/libm-test-ulps: Update.
20629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20630
5ba3cc69
JM
20631 [BZ #14034]
20632 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20633 of square root.
20634 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20635 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20636 * math/libm-test.inc (acos_test_tonearest): New function.
20637 (acos_test_towardzero): Likewise.
20638 (acos_test_downward): Likewise.
20639 (acos_test_upward): Likewise.
20640 (asin_test_tonearest): Likewise.
20641 (asin_test_towardzero): Likewise.
20642 (asin_test_downward): Likewise.
20643 (asin_test_upward): Likewise.
20644 (main): Call the new functions.
20645 * sysdeps/i386/fpu/libm-test-ulps: Update.
20646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20647
9568c0c2
JM
20648 [BZ #13884]
20649 [BZ #13924]
20650 * math/e_exp10.c: Include <float.h>.
20651 (__ieee754_exp10): Handle underflow here rather than multiplying
20652 large negative argument by M_LN10.
20653 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20654 of __ieee754_expf.
20655 * math/e_exp10l.c: Include <float.h>.
20656 (__ieee754_exp10l): Handle underflow here rather than multiplying
20657 large negative argument by M_LN10l.
20658 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20659 spurious overflow exception on underflow.
20660
5ac3ea17
MP
206612012-04-29 Marek Polacek <polacek@redhat.com>
20662
20663 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20664 (__fortify_function): New macro.
20665 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20666 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20667 __extern_always_inline.
20668 * libio/bits/stdio2.h: Likewise.
20669 * libio/bits/stdio.h: Likewise.
20670 * string/string.h: Likewise.
20671 * string/bits/string3.h: Likewise.
20672 * include/stdio.h: Likewise.
20673 * stdlib/bits/stdlib.h: Likewise.
20674 * stdlib/stdlib.h: Likewise.
20675 * rt/bits/mqueue2.h: Likewise.
20676 * rt/mqueue.h: Likewise.
20677 * posix/bits/unistd.h: Likewise.
20678 * posix/unistd.h: Likewise.
20679 * io/bits/poll2.h: Likewise.
20680 * io/bits/fcntl2.h: Likewise.
20681 * io/fcntl.h: Likewise.
20682 * io/sys/poll.h: Likewise.
20683 * misc/bits/syslog.h: Likewise.
20684 * misc/bits/syslog-ldbl.h: Likewise.
20685 * misc/sys/syslog.h: Likewise.
20686 * socket/bits/socket2.h: Likewise.
20687 * socket/sys/socket.h: Likewise.
20688 * debug/tst-chk1.c: Likewise.
20689 * wcsmbs/bits/wchar2.h: Likewise.
20690 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20691 * wcsmbs/wchar.h: Likewise.
20692
ecf0ebfb
AJ
206932012-04-29 Andreas Jaeger <aj@suse.de>
20694
20695 * Makerules (tests): Remove enable-check-abi protection.
20696 (check-abi-warn): Remove.
20697 (check-abi-%): Remove check-abi-warn usage.
20698
20699 * configure.in: Remove check-abi configure option.
20700 * configure: Regenerated.
20701 * config.make.in (enable-check-abi): Remove.
20702
6d5c57fa
AS
207032012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20704
24c5d07e 20705 [BZ #14033]
ded5180a
AS
20706 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20707 double functions to double *_finite functions.
20708
7e0d315d
AS
20709 [BZ #13941]
20710 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20711 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20712 LDBL_MIN_EXP.
20713 * stdio-common/Makefile (tests): Add tst-sprintf3.
20714 * stdio-common/tst-sprintf3.c: New file.
20715
6d5c57fa
AS
20716 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20717 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20718
0749ff8b
JM
207192012-04-28 Joseph Myers <joseph@codesourcery.com>
20720
20721 * conform/conformtest.pl: Remove duplicate typed-constant
20722 handling.
20723
8dbd5d7b
DM
207242012-04-28 David S. Miller <davem@davemloft.net>
20725
20726 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20727 (check-abi-%): Remove AWK script prerequisite and explicit
20728 abilist directory.
20729 (check-abi): Rewrite to just diff the symlist with the abilist.
20730 (config-tls, config-abi-config): Delete, no longer used.
20731 (update-abi-%): Remove AWK script and explicit abilist directory.
20732 (update-abi): Rewrite to simply compare and conditionally copy the
20733 symlist and the sysdep abilist file. Remove update-abi-config
20734 checks.
20735 * abilist/ld.abilist: Remove.
20736 * abilist/libBrokenLocale.abilist: Remove.
20737 * abilist/libanl.abilist: Remove.
20738 * abilist/libcrypt.abilist: Remove.
20739 * abilist/libdl.abilist: Remove.
20740 * abilist/librt.abilist: Remove.
20741 * abilist/libthread_db.abilist: Remove.
20742 * abilist/libutil.abilist: Remove.
20743 * scripts/extract-abilist.awk: Remove.
20744 * scripts/merge-abilist.awk: Remove.
20745 * sysdeps/generic/libcidn.abilist: New file.
20746 * sysdeps/generic/libnss_compat.abilist: New file.
20747 * sysdeps/generic/libnss_db.abilist: New file.
20748 * sysdeps/generic/libnss_dns.abilist: New file.
20749 * sysdeps/generic/libnss_files.abilist: New file.
20750 * sysdeps/generic/libnss_hesiod.abilist: New file.
20751 * sysdeps/generic/libnss_nis.abilist: New file.
20752 * sysdeps/generic/libnss_nisplus.abilist: New file.
20753 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20754 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20755 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20756 file.
20757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20758 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20759 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20760 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20761 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20762 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20763 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20764 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20765 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20766 file.
20767 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20768 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20769 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20770 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20771 file.
20772 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20773 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20774 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20775 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20776 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20777 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20778 file.
20779 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20780 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20781 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20782 file.
20783 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20785 New file.
20786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20787 New file.
20788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20789 New file.
20790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20791 New file.
20792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20793 New file.
20794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20795 New file.
20796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20797 New file.
20798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20799 New file.
20800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20801 New file.
20802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20803 New file.
20804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20805 New file.
20806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20807 New file.
20808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20809 New file.
20810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20811 file.
20812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20813 New file.
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20815 New file.
20816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20817 file.
20818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20819 New file.
20820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20821 New file.
20822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20823 file.
20824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20825 New file.
20826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20827 New file.
20828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20829 New file.
20830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20831 New file.
20832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20833 New file.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20835 New file.
20836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20838 file.
20839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20840 New file.
20841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20842 file.
20843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20844 file.
20845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20846 file.
20847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20848 file.
20849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20850 file.
20851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20852 New file.
20853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20854 file.
20855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20856 file.
20857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20858 New file.
20859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20860 file.
20861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20863 file.
20864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20865 New file.
20866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20867 file.
20868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20869 file.
20870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20871 file.
20872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20873 file.
20874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20875 file.
20876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20877 New file.
20878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20879 file.
20880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20881 file.
20882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20883 New file.
20884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20885 file.
20886 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20887 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20888 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20889 file.
20890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20891 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20892 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20893 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20894 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20895 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20896 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20897 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20898 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20899 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20902 file.
20903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20904 New file.
20905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20906 file.
20907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20908 file.
20909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20910 file.
20911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20912 file.
20913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20914 file.
20915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20916 New file.
20917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20918 New file.
20919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20920 file.
20921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20922 New file.
20923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20924 file.
20925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20927 file.
20928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20929 New file.
20930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20931 file.
20932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20933 file.
20934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20935 file.
20936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20937 file.
20938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20939 file.
20940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20941 New file.
20942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20943 New file.
20944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20945 file.
20946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20947 New file.
20948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20949 file.
20950
41d73a1b
JM
209512012-04-28 Joseph Myers <joseph@codesourcery.com>
20952
20953 * conform/conformtest.pl: Fix typo in handling typed-constant from
20954 allow-header.
20955
28aeeda4
JM
209562012-04-27 Joseph Myers <joseph@codesourcery.com>
20957
adae8f5e
JM
20958 * README: Cut down references to pre-2.6 Linux kernels and
20959 Linuxthreads. Update lists of configurations in libc and ports
20960 and sort alphabetically. Say "or newer" with Linux kernel version
20961 requirements.
20962
28aeeda4
JM
20963 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20964
a462cb63
RA
209652012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20966
20967 [BZ #887]
20968 * math/libm-test.inc (logb_test_downward): New test to expose
20969 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20970 rounding mode.
20971
6ad3493e
JM
209722012-04-27 Joseph Myers <joseph@codesourcery.com>
20973
20974 [BZ #14027]
20975 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20976 to be done.
20977 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20978 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20979
2ce4f015
JM
209802012-04-26 Joseph Myers <joseph@codesourcery.com>
20981
5aeb141a
JM
20982 * sysdeps/unix/i386/brk.S: Remove file.
20983 * sysdeps/unix/i386/dl-brk.S: Likewise.
20984 * sysdeps/unix/i386/pipe.S: Likewise.
20985 * sysdeps/unix/i386/sigreturn.S: Likewise.
20986 * sysdeps/unix/i386/syscall.S: Likewise.
20987 * sysdeps/unix/i386/vfork.S: Likewise.
20988 * sysdeps/unix/i386/wait.S: Likewise.
20989
7143acae
JM
20990 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20991 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20992
2ce4f015
JM
20993 * configure.in (arm*-none*): Do not allow without
20994 --enable-hacker-mode.
20995 (netbsd*): Remove case setting base_os.
20996 (386bsd*): Likewise.
20997 (freebsd*): Likewise.
20998 (bsdi*): Likewise.
20999 (osf*): Likewise.
21000 (sunos*): Likewise.
21001 (ultrix*): Likewise.
21002 (newsos*): Likewise.
21003 (dynix*): Likewise.
21004 (*bsd*): Likewise.
21005 (sysv*): Likewise.
21006 (isc*): Likewise.
21007 (esix*): Likewise.
21008 (sco*): Likewise.
21009 (minix*): Likewise.
21010 (irix4*): Likewise.
21011 (irix6*): Likewise.
21012 (solaris[2-9]*): Likewise.
21013 (none): Likewise.
21014 * configure: Regenerated.
21015
0ac229c8
AZ
210162012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21017
21018 [BZ #11521]
21019 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21020 overflow or cancellation in calculating denominator.
21021 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21023 down expression to avoid unexpected rounding in newer GCCs.
21024 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21025
33f244f4
DM
210262012-04-26 David S. Miller <davem@davemloft.net>
21027
21028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21029 long-double compat symbols.
21030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21043
cfa1f3e8
DM
210442012-04-25 David S. Miller <davem@davemloft.net>
21045
21046 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21047 HWCAP_* values only after the memory barriers have been defined.
21048 (atomic_full_barrier): Define.
21049 (atomic_read_barrier): Define.
21050 (atomic_write_barrier): Define.
21051
6e236b92
SP
210522012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21053
21054 * shlib-versions: Add libgcc_s version information.
21055 * sysdeps/generic/libgcc_s.h: Remove.
21056 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21057 libgcc_s.h.
21058 * sysdeps/gnu/unwind-resume.c: Likewise.
21059 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21060
aab39a09
DM
210612012-04-25 David S. Miller <davem@davemloft.net>
21062
21063 * sysdeps/unix/sparc/brk.S: Delete.
21064 * sysdeps/unix/sparc/dl-brk.S: Delete.
21065 * sysdeps/unix/sparc/pipe.S: Delete.
21066 * sysdeps/unix/sparc/sysdep.S: Delete.
21067 * sysdeps/unix/sparc/sysdep.h: Delete.
21068 * sysdeps/unix/sparc/vfork.S: Delete.
21069 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21070 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21072 ret_ERRVAL, r0, r1, MOVE): Define.
21073 (JUMPTARGET): Remove.
21074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21075 sysdeps/unix/sparc/sysdep.h
21076 (ENTRY, END): Remove.
21077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21078
a3cc4f48
JM
210792012-04-25 Joseph Myers <joseph@codesourcery.com>
21080
2ed8cda2
JM
21081 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21082 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21083 -DIS_IN_build.
21084
35d76d59
JM
21085 * timezone/README: Update upstream location and email address for
21086 tzcode and tzdata.
21087 * timezone/zdump.c: Update from tzcode 2012b.
21088 * timezone/zic.c: Likewise.
21089
a3cc4f48
JM
21090 * configure.in (libc_cv_as_needed): Remove test.
21091 * configure: Regenerated.
21092 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21093 conditional definition.
21094 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21095 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21096 * config.make.in (have-as-needed): Remove variable.
21097
ceab42c3
SP
210982012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21099 Paul Pluzhnikov <ppluzhnikov@google.com>
21100
21101 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21102 strings correctly.
21103
3ce2865f
CLT
211042012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21105
21106 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21107 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21108 * sysdeps/sh/strlen.S: Likewise.
21109
f37e0d68
JM
211102012-04-24 Joseph Myers <joseph@codesourcery.com>
21111
ae186e9a
JM
21112 * sysdeps/unix/fork.S: Remove file.
21113 * sysdeps/unix/i386/fork.S: Likewise.
21114 * sysdeps/unix/sparc/fork.S: Likewise.
21115
b96914af
JM
21116 * sysdeps/unix/system.c: Remove file.
21117 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21118
f37e0d68
JM
21119 * sysdeps/unix/getegid.S: Remove file.
21120 * sysdeps/unix/geteuid.S: Likewise.
21121
87ef29ca
RM
211222012-04-24 Roland McGrath <roland@hack.frob.com>
21123
83bcd236
RM
21124 * scripts/check-localplt.awk: New file.
21125 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21126 of diff.
21127 * scripts/data/localplt-generic.data: Add a comment.
21128
87ef29ca
RM
21129 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21130 NODE when __dir_mkfile failed.
21131 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21132 Reported by Ludovic Courtès <ludo@gnu.org>.
21133
e5a6e567
AJ
211342012-04-24 Andreas Jaeger <aj@suse.de>
21135
21136 * Makerules (common-clean): Also remove gen-as-const-headers
21137 files.
21138
c1820385
JM
211392012-04-24 Joseph Myers <joseph@codesourcery.com>
21140
21141 * Makerules (native-compile): Do not change working directory for
21142 build. Use $(OUTPUT_OPTION) in command.
21143 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21144
94e02fc4
AZ
211452012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21146
21147 [BZ #13886]
21148 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21149 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21150 * math/libm-test.inc (floor_test): Add more tests.
21151 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21152
3a533ca3
JM
211532012-04-24 Joseph Myers <joseph@codesourcery.com>
21154
940ab4b3
JM
21155 * sysdeps/unix/getdents.c: Remove file.
21156 * sysdeps/unix/sysv/getdents.c: Likewise.
21157 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21158
90e037bd
JM
21159 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21160 sysdeps/unix/mman/syscalls.list.
21161 (mmap): Likewise.
21162 (mprotect): Likewise.
21163 (msync): Likewise.
21164 (munmap): Likewise.
21165 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21166 * sysdeps/unix/mman/syscalls.list: Remove.
21167 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21168
3a533ca3
JM
21169 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21170 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21171 * configure: Regenerated.
21172 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21173 $(libgcc_s_suffix).
21174 * config.make.in (libgcc_s_suffix): Remove variable.
21175
1ad743de
JM
211762012-04-23 Joseph Myers <joseph@codesourcery.com>
21177
4ad451e2
JM
21178 * sysdeps/unix/sysv/gethostname.c: Move to ...
21179 * sysdeps/posix/gethostname.c: ... here.
21180
5e37ce39
JM
21181 * sysdeps/unix/execve.S: Remove file.
21182
1ad743de
JM
21183 * sysdeps/unix/_exit.S: Remove file.
21184
4e681b5b
AJ
211852012-04-23 Andreas Jaeger <aj@suse.de>
21186
21187 [BZ #13739]
21188 * manual/Makefile: Remove make dist support, there's no
21189 need for a stand-alone documentation tar ball.
21190 (TEXI2DVI): Define always, it's not in Makeconfig.
21191 (dist): Removed.
21192 (tar-it): Removed.
21193 (edition): Removed.
21194 (glibc-doc-$(edition).tar): Removed
21195 (%.Z): Removed.
21196 (%.gz): Removed.
21197 (%.uu): Removed.
21198 (ETAGS): Remove, it's in Makeconfig.
21199 (move-if-change): Remove, it's in Makeconfig.
21200
38686a03 212012012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21202
21203 [BZ #13970]
21204 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21205 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21206 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21207 (strtod_l, strtof_l, strtold_l): Remove __wur.
21208 It is not necessarily an error to ignore strtol's return value.
21209 One can reliably look at the stored endptr to decide whether
21210 the number had valid syntax.
21211
7c0616fa
AJ
212122012-04-21 Andreas Jaeger <aj@suse.de>
21213
803cb6b7 21214 [BZ #13739]
7c0616fa
AJ
21215 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21216
b0fe253f
JM
212172012-04-21 Joseph Myers <joseph@codesourcery.com>
21218
21219 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21220 * sysdeps/unix/sysv/Versions: Remove file.
21221
8280f22d
MT
212222012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21223
21224 [BZ #13927]
21225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21226
75ce411f 212272012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21228
21229 [BZ #7064]
21230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21231 version from __vm86.
21232
097d59fa
JM
212332012-04-20 Joseph Myers <joseph@codesourcery.com>
21234
a90f3bcb
JM
21235 * sysdeps/unix/common/lxstat.c: Remove file.
21236 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21237
edc7ea78
JM
21238 * sysdeps/unix/sysv/Makefile: Remove file.
21239
cb78c221
JM
21240 * sysdeps/unix/sysv/direct.h: Remove file.
21241
efa6a45f
JM
21242 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21243 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21244 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21245 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21246 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21247 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21248 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21249
9c9f2d0c
JM
21250 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21251
4541c83b
JM
21252 * sysdeps/unix/xmknod.c: Remove file.
21253 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21254
f5d153a0
JM
21255 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21256
aa746595
JM
21257 * sysdeps/unix/sysv/i386/time.S: Remove file.
21258
cce5905e
JM
21259 * sysdeps/unix/fxstat.c: Remove file.
21260 * sysdeps/unix/xstat.c: Likewise.
21261 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21262
37fa3841
JM
21263 * sysdeps/unix/sysv/sigaction.c: Remove file.
21264
ff1962a3
JM
21265 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21266 (sysdep_headers): Remove variable.
21267 [termio.h not in sysdep_headers] (generated): Likewise.
21268 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21269 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21270 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21271 * sysdeps/unix/sysv/tcflow.c: Likewise.
21272 * sysdeps/unix/sysv/tcflush.c: Likewise.
21273 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21274 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21275 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21276 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21277 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21278
e7740d31
JM
21279 * sysdeps/unix/siglist.c: Remove file.
21280
ee06f18b
JM
21281 * sysdeps/unix/getppid.S: Remove file.
21282
097d59fa
JM
21283 * sysdeps/unix/mkdir.c: Remove file.
21284 * sysdeps/unix/rmdir.c: Likewise.
21285
ff3d51ec
AS
212862012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21287
21288 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21289 ERR_MAX value.
21290 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21291 errlist-compat value.
21292
50f81fd7
DM
212932012-04-18 David S. Miller <davem@davemloft.net>
21294
21295 * sysdeps/generic/memcopy.h (reg_char): Delete.
21296 * debug/strcat_chk.c: Use char, not reg_char.
21297 * debug/strcpy_chk.c: Likewise.
21298 * debug/strncat_chk.c: Likewise.
21299 * debug/strncpy_chk.c: Likewise.
21300 * string/memchr.c: Likewise.
21301 * string/memrchr.c: Likewise.
21302 * string/rawmemchr.c: Likewise.
21303 * string/strcat.c: Likewise.
21304 * string/strchr.c: Likewise.
21305 * string/strchrnul.c: Likewise.
21306 * string/strcmp.c: Likewise.
21307 * string/strcpy.c: Likewise.
21308 * string/strncat.c: Likewise.
21309 * string/strncmp.c: Likewise.
21310 * string/strncpy.c: Likewise.
21311
8ff41c46
WS
213122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21313
21314 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21315 __builtin_memcopy is called when src and dest ranges are known to not
21316 overlap.
21317
6b652f46
WS
213182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21319
21320 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21321 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21322 fwd_align_merge macro call.
21323 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21324 bwd_align_merge macro call.
21325 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21326
b282631e
WS
213272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21328
21329 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21330 bwd_align_merge macros.
21331 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21332 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21333 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21334
95aa737c
DM
213352012-04-18 David S. Miller <davem@davemloft.net>
21336
21337 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21338
7a99a614
AJ
213392012-04-18 Andreas Jaeger <aj@suse.de>
21340
21341 [BZ# 6794]
21342 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21343 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21344 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21345
21346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21347 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21348 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21349
21350 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21351 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21352 Adjust for changed ldbl-128 files.
21353
21354 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21355 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21356 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21357
e5270c23
DM
213582012-04-17 David S. Miller <davem@davemloft.net>
21359
21360 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21361
fb5e92c9
AS
213622012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21363
21364 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21365 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21366 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21367 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21368 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21369 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21370
76da7265
AZ
213712012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21372
21373 [BZ #6794]
21374 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21375 * math/libm-test.inc: Add ilogb errno and exception tests.
21376 * math/w_ilogb.c: New file: ilogb wrapper.
21377 * math/w_ilogbf.c: New file: ilogbf wrapper.
21378 * math/w_ilogbl.c: New file: ilogbl wrapper.
21379 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21380 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21381 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21382 exception being thrown with 0.0 as argument.
21383 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21384 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21385 exception being thrown with 0.0 as argument.
21386 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21387 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21388 exception being thrown with 0.0 as argument.
21389 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21390 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21391 exception being thrown with 0.0 as argument.
21392 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21393 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21394 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21395 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21397 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21398 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21399 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21400 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21401
0396e69d
PB
214022012-04-17 Petr Baudis <pasky@ucw.cz>
21403
21404 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21405 with altivec.
21406
750b5926
MP
214072012-04-16 Marek Polacek <polacek@redhat.com>
21408
21409 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21410
751728a1
MP
214112012-04-16 Marek Polacek <polacek@redhat.com>
21412
21413 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21414 operands of fdivp instruction.
21415
34a27407
L
214162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21417
21418 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21419 * elf/tst-auditmod3b.c: Likewise.
21420 * elf/tst-auditmod4b.c: Likewise.
21421 * elf/tst-auditmod5b.c: Likewise.
21422 * elf/tst-auditmod6b.c: Likewise.
21423 * elf/tst-auditmod6c.c: Likewise.
21424 * elf/tst-auditmod7b.c: Likewise.
21425 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21426 * sysdeps/x86_64/preconfigure.in: Likewise.
21427 * sysdeps/x86_64/preconfigure: Regenerated.
21428
7e73e17d
L
214292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21430
21431 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21432 __ILP32__.
21433
c7a6ab72
AB
214342012-04-13 Antoine Balestrat <merkil33@gmail.com>
21435
21436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21437 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21438
a9e8e0e0
CL
214392012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21440
21441 [BZ #13973]
21442 * locale/iso-639.def: Fix gl language name. Spotted by
21443 Yaron Shahrabani.
21444
ec98af7d
RM
214452012-04-12 Roland McGrath <roland@hack.frob.com>
21446
21447 [BZ #2074]
21448 * libio/libio.h (__io_write_fn): Update comment.
21449
247c3ede
PB
214502012-04-12 Petr Baudis <pasky@ucw.cz>
21451
21452 [BZ #2074]
21453 * stdio.texi (Hook Functions): The user provided writer function
21454 is not allowed to return -1.
21455
55939d6d
DM
214562012-04-11 David S. Miller <davem@davemloft.net>
21457
21458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21459
90020f5a
MF
214602012-04-11 Mike Frysinger <vapier@gentoo.org>
21461
21462 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21463 Add a leading slash to rtkaio.
21464
288f9098
JM
214652012-04-11 Jim Meyering <meyering@redhat.com>
21466
90020f5a
MF
21467 [BZ #11959]
21468 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21469 It is not necessarily an error to ignore fwrite's return
21470 value. One can reliably use ferror to test for errors after
21471 the fact.
288f9098 21472
4be2b570
L
214732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21474
21475 * bits/types.h (__snseconds_t): New type.
21476 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21477
21478 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21480 (__SNSECONDS_T_TYPE): Likewise.
21481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21482 (__SNSECONDS_T_TYPE): Likewise.
21483 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21484 (__SNSECONDS_T_TYPE): Likewise.
21485
288f9098 214862012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21487
21488 [BZ #2636]
21489 * manual/time.texi (Processor Time): Return type of times is
21490 elapsed real time since an arbitrary point in the past.
21491 (CPU Time): Move CLK_TCK from here...
21492 (Processor Time): ...to here. Correct description.
21493 * manual/conf.texi (Constants for Sysconf): Correct description of
21494 _SC_CLK_TCK.
21495
d7dd4413
DM
214962012-04-10 David S. Miller <davem@davemloft.net>
21497
21498 [BZ #13967]
21499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21500 where the is a gap between DT_REL(A) and DT_JMPREL.
21501
b46068fc
L
215022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21503
21504 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21505 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21506 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21507
73d65cc3
SP
215082012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21509
21510 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21511 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21512 (dl_main): Handle --inhibit-cache.
21513 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21514 _dl_inhibit_cache.
21515 * elf/dl-load.c (_dl_map_object): Use it.
21516 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21517
bcc8d661
JM
215182012-04-09 Joseph Myers <joseph@codesourcery.com>
21519
8f9a2fae
JM
21520 [BZ #13872]
21521 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21522 (__ieee754_powl): Saturate large exponents rather than testing for
21523 overflow of y*log2(x).
21524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21525 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21526 exceptions.
21527
bcc8d661
JM
21528 [BZ #11521]
21529 * math/s_ctan.c: Include <float.h>.
21530 (__ctan): Avoid internal overflow or cancellation in calculating
21531 denominator.
21532 * math/s_ctanf.c: Likewise.
21533 * math/s_ctanl.c: Likewise.
21534 * math/s_ctanh.c: Likewise.
21535 * math/s_ctanhf.c: Likewise.
21536 * math/s_ctanhl.c: Likewise.
21537 * math/libm-test.inc (ctan_test): Add more tests.
21538 (ctanh_test): Likewise.
21539 * sysdeps/i386/fpu/libm-test-ulps: Update.
21540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21541
823fbbb4
AJ
215422012-04-09 Andreas Jaeger <aj@suse.de>
21543
03879793
AJ
21544 [BZ #6894]
21545 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21546 is an optional BSD extension.
21547
823fbbb4
AJ
21548 [BZ #10254]
21549 * manual/stdio.texi (Opening Streams): Document additional fopen
21550 parameters.
21551
8de131cb
RM
215522012-04-09 Roland McGrath <roland@hack.frob.com>
21553
21554 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21555 %eax without telling the compiler.
21556
c0ed9d7d
CD
215572012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21558
21559 [BZ # 13963]
21560 * manual/install.texi: Use sourceware.org.
21561
c483f6b4
JM
215622012-04-09 Joseph Myers <joseph@codesourcery.com>
21563
d7dd9453
JM
21564 [BZ #13873]
21565 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21566 (__ieee754_pow): Generate overflow and underflow using huge*huge
21567 and tiny*tiny rather than just returning constant infinity or zero
21568 for large exponents.
21569 * math/libm-test.inc (pow_test): Require overflow exceptions for
21570 applicable cases of large exponents.
21571
c483f6b4
JM
21572 [BZ #706]
21573 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21574 (__ieee754_pow): Use iterative multiplication algorithm only for
21575 integer exponents with absolute value below 1024. Check for odd
21576 integer exponents when using algorithm for real exponents.
21577 * math/libm-test.inc (pow_test): Add more tests.
21578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21579
d2de7579
JM
215802012-04-08 Joseph Myers <joseph@codesourcery.com>
21581
21582 [BZ #13705]
21583 * math/libm-test.inc (exp_test): Do not allow overflow exception
21584 on underflow test.
21585
f77f1232
AJ
215862012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21587
21588 [BZ #13705]
21589 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21590 instead of __kernel_standard_f.
21591
3884932b
MF
215922012-04-08 Mike Frysinger <vapier@gentoo.org>
21593
21594 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21595 * sysdeps/x86_64/memset_chk.S: Likewise.
21596
54472e9c
AJ
215972012-04-08 Andreas Jaeger <aj@suse.de>
21598
6ab0fbfc
AJ
21599 [BZ #10153]
21600 * manual/startup.texi (Environment Access): Describe return value
21601 for putenv and setenv.
21602
61efba8c
AJ
21603 [BZ #6895]
21604 * manual/filesys.texi (Directory Entries): Add description for
21605 DT_LNK.
21606
95c3f29a
AJ
21607 [BZ #6890]
21608 * manual/filesys.texi (Directory Entries): Clarify that it's file
21609 system not operating system in the description of DT_UNKNOWN.
21610
54472e9c
AJ
21611 [BZ #6578]
21612 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21613
624254b1
SC
216142012-04-08 Stephen Compall <s11@member.fsf.org>
21615
21616 [BZ #6649]
21617 * manual/llio.texi (Opening and Closing Files): Add cross
21618 reference to explain mode argument.
21619
1e4920e0
MF
216202012-04-07 Mike Frysinger <vapier@gentoo.org>
21621
21622 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21623 * sysdeps/x86_64/memset_chk.S: Likewise.
21624
5ed848f3
DM
216252012-04-07 David S. Miller <davem@davemloft.net>
21626
21627 * elf/elf.h (R_SPARC_WDISP10): Define.
21628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21629 R_SPARC_SIZE32.
21630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21631 R_SPARC_SIZE64 and R_SPARC_H34.
21632
96154cd8
CD
216332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21634
21635 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21636 conditions and remove no longer applicable assertion.
21637
9904dc47
L
216382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21639
21640 * bits/byteswap.h: Include <features.h>.
21641 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21642 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21643
f8887d0a
L
216442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21645
21646 * bits/byteswap.h (__bswap_16): Removed.
21647 Include <bits/byteswap-16.h> to get __bswap_16.
21648 * sysdeps/i386/bits/byteswap.h: Likewise.
21649 * sysdeps/s390/bits/byteswap.h: Likewise.
21650 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21651 * bits/byteswap-16.h: New file.
21652 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21653 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21654 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21655 * string/Makefile (headers): Add bits/byteswap-16.h.
21656
62470f60
PP
216572012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21658
21659 [BZ #13895]
21660 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21661 extra indirection.
21662 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21663 * nss/tst-nss-static.c: New.
21664
4dad7bab
RM
216652012-04-06 Robert Millan <rmh@gnu.org>
21666
21667 [BZ #6486]
21668 * manual/llio.texi (File Position Primitive): lseek
21669 refers to WHENCE when it really means OFFSET.
21670
e9142a17
AJ
216712012-04-06 Andreas Jaeger <aj@suse.de>
21672
2c040eff
AJ
21673 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21674 strncmp declarations.
21675
e9142a17
AJ
21676 * abilist/libc.abilist: Add __poll and __ppoll.
21677
ff9f1c5f
DM
216782012-04-05 David S. Miller <davem@davemloft.net>
21679
dcd2ae90
DM
21680 * scripts/check-local-headers.sh: Accept a host triplet in the
21681 path matched by the exclude regexp.
21682
993eb054
DM
21683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21684 definition.
21685 * sysdeps/powerpc/powerpc32/dl-machine.h
21686 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21687 * sysdeps/s390/s390-32/dl-machine.h
21688 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21689 * sysdeps/sparc/sparc32/dl-machine.h
21690 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21691 * sysdeps/sparc/sparc64/dl-machine.h
21692 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21693
ff9f1c5f
DM
21694 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21695 lazy binding.
48e2e132 21696 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21697 undefined symbol errors.
21698
48e2e132 21699 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21700 DT_NEEDED entries.
21701
e80d6f94
MM
217022012-04-05 Michael Matz <matz@suse.de>
21703
21704 [BZ #13592]
21705 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21706
349fa79f
AJ
217072012-04-05 Andreas Jaeger <aj@suse.de>
21708
21709 [BZ #13908]
21710 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21711 comment.
21712
f402708f
KK
217132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21714
21715 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21716 which ROUND is no valid rounding mode.
21717
2ecccfc9
KK
217182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21719
21720 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21721 read again.
21722 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21723
8a53f50f
KK
217242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21725
21726 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21727 an exception using FPU order intentionally.
21728
217292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21730
21731 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21732 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21733 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21734 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21735
d653abb7
SJ
217362012-04-05 Simon Josefsson <simon@josefsson.org>
21737
21738 [BZ #12340]
21739 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21740 EINVAL when BUFLEN is too smal.
21741
c3b1bf7d
TS
217422012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21743
21744 [BZ #13553]
21745 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21746 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21747
b1aa60f3
AJ
217482012-04-03 Andreas Jaeger <aj@suse.de>
21749
c3b1bf7d 21750 [BZ #13938]
67f60a26
AJ
21751 * manual/setjmp.texi (System V contexts): Fix sentence.
21752
b1aa60f3
AJ
21753 [BZ #13926]
21754 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21755 New macro for this case.
21756 [!__GNUC__] (__bswap_64): New inline function for this case.
21757 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21758 * bits/byteswap.h: Likewise.
21759 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21760 ull, guard with __GLIBC_HAVE_LONG_LONG.
21761
21762 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21763 __GLIBC_HAVE_LONG_LONG.
21764
21765 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21766 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21767
39c59c35
TMQMF
217682012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21769
21770 [BZ #13691]
21771 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21772 inptr and inend, rather than using last_ch.
21773
135ffda8
DM
217742012-04-02 David S. Miller <davem@davemloft.net>
21775
21776 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21777 * stdio-common/printf-parse.h (read_int): Change return type to
21778 'int', return -1 on INT_MAX overflow.
21779 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21780 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21781 overflows INT_MAX. Check for overflow of in-format-string precision
21782 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21783 SIZE_MAX not INT_MAX for integer overflow test.
21784 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21785 skip the construct in the format string but do not record anything.
21786 * stdio-common/bug22.c: Adjust to test both width/prevision
21787 INT_MAX overflow as well as total length INT_MAX overflow. Check
21788 explicitly for proper errno values.
21789
228c019e
TS
217902012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21791
302cadd3
TS
21792 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21793 CHAR_MAX.
21794 * string/test-strcmp.c [! WIDE]: Likewise.
21795 * time/tst-mktime2.c: Likewise for INT_MAX.
21796 * string/test-string.h: #include <sys/param.h> for MIN.
21797
228c019e
TS
21798 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21799 * sysdeps/i386/init-first.c (init): Likewise.
21800 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21801 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21802 * sysdeps/sh/init-first.c (init): Likewise.
21803
cfa633f5
UD
218042012-04-01 Ulrich Drepper <drepper@gmail.com>
21805
21806 * po/ru.po: Update from translation team.
d1635ef8 21807 * po/vi.po: Likewise.
cfa633f5 21808
6cd0a5ea
SP
218092012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21810
21811 * resolv/nss_dns/dns-host.c: Merge copyright years.
21812
4b43400f
LD
218132012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21814
21815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21816 Optimize memcpy with prefetch if
21817 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21818 src, dst pointers have unequal 16 byte alignments.
21819
48c41d04
SP
218202012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21821
21822 [BZ #13928]
21823 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21824 from a CNAME entry and return the minimum ttl for the query.
21825 (gaih_getanswer_slice): Likewise.
21826
b8dc394d
JL
218272012-03-30 Jeff Law <law@redhat.com>
21828
21829 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21830 due to long keys.
21831 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21832 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21833
2f5a5ed0
JL
21834 * resolv/nss_dns/dns-host.c: Update copyright year.
21835
1d39e359
UD
218362012-03-30 Ulrich Drepper <drepper@gmail.com>
21837
c030f70c 21838 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21839 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21840
1d39e359
UD
21841 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21842 comments for sendmmsg.
21843
218442012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21845
21846 [BZ #13691]
21847 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21848 with only 1 character between 0x0041 and 0x01b0.
21849 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21850 * wcsmbs/tst-mbsnrtowcs.c: New file.
21851
20fde227
DM
218522012-03-29 David S. Miller <davem@davemloft.net>
21853
21854 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21855 small copies by hand.
21856
984a4237
JL
218572012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21858
21859 [BZ #13761]
21860 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21861 _nss_compat_initgroups_dyn): Fall back to malloc/free
21862 for large group memberships.
21863
18c9d62b
DM
218642012-03-28 David S. Miller <davem@davemloft.net>
21865
88d85d4f
DM
21866 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21867 that branches into memcpy.
21868 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21870 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21871 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21872 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21873 bits.
21874 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21875 implementation too.
21876 * sysdeps/sparc/mempcpy.S: New file.
21877
e5aa83e1
DM
21878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21879 the IFUNC routine in the libc case.
21880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21881
88570753
DM
21882 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21883 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21884 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21885 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21886 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21887 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21888 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21889 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21890
249d7567
DM
21891 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21892 loop to 256 bytes instead of 64 bytes and fix test signedness.
21893
18c9d62b
DM
21894 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21895 * sysdeps/sparc/sparc32/Makefile: rather than here...
21896 * sysdeps/sparc/sparc64/Makefile: and here.
21897
05f3d1f6
UD
218982012-03-28 Ulrich Drepper <drepper@gmail.com>
21899
21900 * malloc/mallocbug.c: Avoid warnings about unused variables.
21901
86ae07a8
JL
219022012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21903
21904 [BZ #13760]
21905 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21906 in the right place. Discard and retry query if response is
21907 larger than input buffer size.
21908
41bf21a1
JM
219092012-03-28 Joseph Myers <joseph@codesourcery.com>
21910
d6270972
JM
21911 [BZ #369]
21912 [BZ #2678]
21913 [BZ #3866]
21914 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21915 x for large integer exponent.
21916 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21917 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21918 sign of result as needed afterwards.
21919 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21920 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21921 result for underflowing pow the same as for overflow.
21922 (__kernel_standard_l): Handle powl overflow and underflow here
21923 rather than calling __kernel_standard.
21924 * math/libm-test.inc (pow_test): Add more tests.
21925
414fca03 21926 [BZ #3868]
41bf21a1
JM
21927 [BZ #13879]
21928 [BZ #13910]
21929 [BZ #13911]
21930 [BZ #13912]
21931 [BZ #13913]
21932 [BZ #13915]
21933 [BZ #13916]
21934 [BZ #13917]
21935 [BZ #13918]
21936 [BZ #13919]
21937 [BZ #13920]
21938 [BZ #13921]
21939 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21940 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21941 (__kernel_standard_l): New function.
21942 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21943 __kernel_standard.
21944 * math/w_acosl.c (__acosl): Likewise.
21945 * math/w_asinl.c (__asinl): Likewise.
21946 * math/w_atan2l.c (__atan2l): Likewise.
21947 * math/w_atanhl.c (__atanhl): Likewise.
21948 * math/w_coshl.c (__coshl): Likewise.
21949 * math/w_exp10l.c (__exp10l): Likewise.
21950 * math/w_exp2l.c (__exp2l): Likewise.
21951 * math/w_fmodl.c (__fmodl): Likewise.
21952 * math/w_hypotl.c (__hypotl): Likewise.
21953 * math/w_j0l.c (__j0l, __y0l): Likewise.
21954 * math/w_j1l.c (__j1l, __y1l): Likewise.
21955 * math/w_jnl.c (__jnl, __ynl): Likewise.
21956 * math/w_lgammal.c (__lgammal): Likewise.
21957 * math/w_log10l.c (__log10l): Likewise.
21958 * math/w_log2l.c (__log2l): Likewise.
21959 * math/w_logl.c (__logl): Likewise.
21960 * math/w_powl.c (__powl): Likewise.
21961 * math/w_remainderl.c (__remainderl): Likewise.
21962 * math/w_scalbl.c (sysv_scalbl): Likewise.
21963 * math/w_sinhl.c (__sinhl): Likewise.
21964 * math/w_sqrtl.c (__sqrtl): Likewise.
21965 * math/w_tgammal.c (__tgammal): Likewise.
21966 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21967 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21968 * math/libm-test.inc (acos_test): Add more tests.
21969 (acosh_test): Likewise.
21970 (asin_test): Likewise.
21971 (atanh_test): Likewise.
21972 (exp_test): Likewise.
21973 (exp10_test): Likewise.
21974 (exp2_test): Likewise.
21975 (expm1_test): Likewise.
21976 (lgamma_test): Likewise.
21977 (log_test): Likewise.
21978 (log10_test): Likewise.
21979 (log1p_test): Likewise.
21980 (log2_test): Likewise.
21981 (pow_test): Do not allow some spurious overflow exceptions.
21982 (sqrt_test): Add more tests.
21983 (tgamma_test): Likewise.
21984 (y0_test): Likewise.
21985 (y1_test): Likewise.
21986 (yn_test): Likewise.
21987
dd62fda6
AB
219882012-03-27 Anton Blanchard <anton@samba.org>
21989
21990 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21991 MAP_HUGETLB.
21992 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21993 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21995
1e3cdfda
AJ
219962012-03-27 David S. Miller <davem@davemloft.net>
21997
b855ab85
DM
21998 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21999
1e3cdfda
AJ
22000 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22001 have-as-vis3 check.
22002
220032012-03-27 Andreas Jaeger <aj@suse.de>
22004
22005 * sysdeps/x86_64/elf/configure.in: Moved to ...
22006 * sysdeps/x86_64/configure.in: ... here.
22007 * sysdeps/x86_64/elf/start.S: Moved to ...
22008 * sysdeps/x86_64/start.S: ... here.
22009 * sysdeps/x86_64/elf/configure: Delete.
22010
22011 * sysdeps/x86_64/configure.in: Merge contents from
22012 sysdeps/i386/configure.in (without i686 check).
22013
22014 * sysdeps/i386/elf/Versions: Merge into ...
22015 * sysdeps/i386/Versions: ... this.
22016 * sysdeps/i386/elf/Versions: Delete file.
22017 * sysdeps/i386/elf/start.S: Moved to ...
22018 * sysdeps/i386/start.S: ...here.
22019 * sysdeps/i386/elf/configure.in: Merge into...
22020 * sysdeps/i386/configure.in: ...here.
22021 * sysdeps/i386/elf/configure.in: Delete file.
22022 * sysdeps/i386/elf/configure: Delete file.
22023
22024 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22025 * debug/backtracesyms.c: ... here.
22026 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22027 * debug/backtracesymsfd.c: ... here.
22028 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22029 * sysdeps/generic/ifunc-sel.h: ... here.
22030
22031 * sysdeps/unix/i386/start.c: Delete file.
22032 * sysdeps/unix/sparc/start.c: Delete file.
22033 * sysdeps/unix/start.c: Delete file.
22034
22035 * sysdeps/sh/elf/configure.in: Moved to ...
22036 * sysdeps/sh/configure.in: ... here.
22037 * sysdeps/sh/elf/start.S: Moved to ...
22038 * sysdeps/sh/start.S: ... here.
22039 * sysdeps/sh/elf/configure: Delete file.
22040
22041 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22042 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22043 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22044 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22045 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22046 * sysdeps/powerpc/powerpc64/start.S: here.
22047 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22048 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22049 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22050 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22051 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22052
22053 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22054 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22055 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22056 * sysdeps/powerpc/powerpc32/start.S: ... here.
22057 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22058 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22059 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22060
22061 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22062 * sysdeps/powerpc/ifunc-sel.h: ... here.
22063 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22064 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22065
22066 * sysdeps/sparc/elf/configure.in: Moved to ...
22067 * sysdeps/sparc/configure.in: ... here.
22068 * sysdeps/sparc/elf/configure: Delete file.
22069 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22070 * sysdeps/sparc/sparc32/start.S: ... here.
22071 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22072 * sysdeps/sparc/sparc64/start.S: ... here.
22073 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22074 * sysdeps/sparc/sparc32/Makefile: ... this.
22075 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22076 * sysdeps/sparc/sparc64/Makefile: ... this.
22077
22078 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22079 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22080 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22081 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22082 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22083 * sysdeps/s390/s390-32/setjmp.S: ... here.
22084 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22085 * sysdeps/s390/s390-32/configure.in: ... here.
22086 * sysdeps/s390/s390-32/elf/configure: Delete file.
22087 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22088 * sysdeps/s390/s390-32/start.S: ... here.
22089
22090 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22091 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22092 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22093 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22094 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22095 * sysdeps/s390/s390-64/setjmp.S: ... here.
22096 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22097 * sysdeps/s390/s390-64/configure.in: ... here
22098 * sysdeps/s390/s390-64/elf/configure: Delete file.
22099 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22100 * sysdeps/s390/s390-64/start.S: ... here.
22101 * sysdeps/s390/s390-64/elf/configure: Delete.
22102
22103 * configure.in: Remove support for elf directories in sysdeps.
22104
22105 * configure: Regenerated.
22106 * sysdeps/i386/configure: Regenerated.
22107 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22108 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22109 * sysdeps/s390/s390-32/configure: Regenerated.
22110 * sysdeps/s390/s390-64/configure: Regenerated.
22111 * sysdeps/sh/configure: Regenerated.
22112 * sysdeps/sparc/configure: Regenerated.
22113 * sysdeps/x86_64/configure: Regenerated.
22114
a3f61311
AS
221152012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22116
c876e002
AS
22117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22118
a3f61311
AS
22119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22120 denormal result into account.
22121
ac4c54f0
RM
221222012-03-25 Roland McGrath <roland@hack.frob.com>
22123
22124 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22125 Reported by Allan McRae <allan@archlinux.org>.
22126
6a9b9c02
JL
221272012-03-23 Jeff Law <law@redhat.com>
22128
22129 * nss/getnssent.c (__nss_getent): Fix typo.
22130
4c42a0c1
DM
221312012-03-23 David S. Miller <davem@davemloft.net>
22132
22133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22134
1532c7ac
L
221352012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22138 to pad to uint64_t for each field.
22139 (dl_tls_index): Replace unsigned long with uint64_t.
22140
3ff42526
PP
221412012-03-23 Daniel Jacobowitz <dmj@google.com>
22142 Paul Pluzhnikov <ppluzhnikov@google.com>
22143
22144 [BZ #6528]
22145 * grp/Makefile (otherlibs): Don't set it.
22146 * inet/Makefile (otherlibs): Likewise.
22147 * login/Makefile (otherlibs): Likewise.
22148 * nscd/Makefile (otherlibs): Likewise.
22149 * posix/Makefile (otherlibs): Likewise.
22150 * pwd/Makefile (otherlibs): Likewise.
22151 * rt/Makefile (otherlibs): Likewise.
22152 * sunrpc/Makefile (otherlibs): Likewise.
22153 * nss/Makefile (otherlibs): Likewise.
22154 Add libnss_files to routines and static-only-routines.
22155 ($(objpfx)getent): Remove rule.
22156 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22157 static-only-routines.
22158
7c69cd14
JM
221592012-03-22 Joseph Myers <joseph@codesourcery.com>
22160
22161 [BZ #13892]
22162 * math/s_cexp.c: Include <float.h>.
22163 (__cexp): Handle exp result overflowing not necessarily
22164 overflowing both real and imaginary parts of result.
22165 * math/s_cexpf.c: Likewise.
22166 * math/s_cexpl.c: Likewise.
22167 * math/libm-test.inc (cexp_test): Add more tests.
22168 * sysdeps/i386/fpu/libm-test-ulps: Update.
22169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22170
81b035fe
L
221712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22172
22173 * include/link.h (ELFW): New macro.
22174 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22175 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22176
1da7940c
L
221772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22178
22179 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22180 with uint64_t.
22181
b749dbb9
L
221822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22185 declaration.
22186 (struct La_x32_retval): Likewise.
22187
2ff87f3f
L
221882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22189
22190 * sysdeps/x86_64/preconfigure.in: New file.
22191 * sysdeps/x86_64/preconfigure: New generated file.
22192
c0df8e69
JM
221932012-03-22 Joseph Myers <joseph@codesourcery.com>
22194
48e44791
JM
22195 [BZ #13824]
22196 * math/e_exp2l.c: Include <float.h>.
22197 (__ieee754_exp2l): Handle overflow and underflow cases
22198 separately. Only pass fractional part of argument to
22199 __ieee754_expl.
22200 * math/libm-test.inc (exp2_test): Add more tests.
22201
c0df8e69
JM
22202 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22203 negating x to take absolute value.
22204 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22205 Likewise.
22206 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22207 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22208 Likewise.
22209 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22210 computing low part if x was negated.
22211 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22212
c8e43ba7
L
222132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22214
22215 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22216 la_x32_gnu_pltexit.
22217 (pltexit): Cast int_retval to ptrdiff_t.
22218 * elf/tst-auditmod3b.c: Likewise.
22219 * elf/tst-auditmod4b.c: Likewise.
22220 * elf/tst-auditmod5b.c: Likewise.
22221 * elf/tst-auditmod6b.c: Likewise.
22222 * elf/tst-auditmod6c.c: Likewise.
22223 * elf/tst-auditmod7b.c: Likewise.
22224
22225 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22226 and x32_gnu_pltexit.
22227
22228 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22229 __ELF_NATIVE_CLASS.
22230 (La_x32_regs): New macro.
22231 (La_x32_retval): Likewise.
22232 (la_x32_gnu_pltenter): New function prototype.
22233 (la_x32_gnu_pltexit): Likewise.
22234
7998fa78
AS
222352012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22236
dcb33988
AS
22237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22238 exponent.
22239
233fc563
AS
22240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22241
7998fa78
AS
22242 * configure.in (libc_cv_cc_nofma): Check for option to disable
22243 generation of FMA instructions.
22244 * configure: Regenerate.
22245 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22246 * sysdeps/ieee754/dbl-64/Makefile: New file.
22247 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22248 Remove brandred-fma4.
22249 (CFLAGS-brandred-fma4.c): Remove.
22250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22252 define.
22253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22254 define.
22255
8e95c99a
L
222562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22257
22258 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22259 LLONG_MAX != LONG_MAX.
22260 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22261 (_fitoa_word): Likewise.
22262 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22263 LLONG_MAX != LONG_MAX.
22264 * stdio-common/_itowa.h: Include <_itoa.h>.
22265 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22266 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22267 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22268 only if not defined.
22269 (_ITOA_WORD_TYPE): Likewise.
22270 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22271 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22272
6f4db457
DM
222732012-03-21 David S. Miller <davem@davemloft.net>
22274
22275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22276
7785fe5a
L
222772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22278
22279 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22280 of x86_64 when setting libc_cv_slibdir, libdir and
22281 libc_cv_localedir.
22282 * sysdeps/unix/sysv/linux/configure: Regenerated.
22283
4535cd55
JM
222842012-03-21 Joseph Myers <joseph@codesourcery.com>
22285
22286 * manual/lang.texi (Old Varargs): Remove section.
22287 (How Variadic): Update menu.
22288 (va_start): Do not mention varargs.h.
22289
17228132
TS
222902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22291 Joseph Myers <joseph@codesourcery.com>
22292
22293 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22294 link test.
22295 * configure: Regenerated.
22296
8149f976
TS
222972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22298
05f3d1f6
UD
22299 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22300 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22301 conformtest.pl
8149f976 22302
1a4ac776
JM
223032012-03-21 Joseph Myers <joseph@codesourcery.com>
22304
be22ce65
JM
22305 * NOTES: Remove.
22306 * Makefile (files-for-dist): Remove NOTES.
22307 (NOTES): Remove rule.
22308 * README: Don't refer to NOTES.
22309 * manual/creature.texi: Don't include macros.texi.
22310 * manual/intro.texi (creature.texi): Remove comment referring to
22311 NOTES.
22312
40b601fb
JM
22313 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22314 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22315 * configure: Regenerated.
22316 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22317 LIBC_TRY_CC_OPTION.
22318 (libc_cv_as_i686): Likewise.
22319 (libc_cv_cc_avx): Likewise.
22320 (libc_cv_cc_sse2avx): Likewise.
22321 (libc_cv_cc_fma4): Likewise.
22322 (libc_cv_cc_novzeroupper): Likewise.
22323 * sysdeps/i386/configure: Regenerated.
22324
1a4ac776
JM
22325 [BZ #13883]
22326 * sysdeps/i386/fpu/s_cexp.S: Remove.
22327 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22328 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22329 * math/libm-test.inc (cexp_test): Add more tests.
22330 * sysdeps/i386/fpu/libm-test-ulps: Update.
22331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22332
a458e7fe
AM
223332012-03-21 Allan McRae <allan@archlinux.org>
22334
22335 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22336
0cb7efc5
JM
223372012-03-21 Joseph Myers <joseph@codesourcery.com>
22338
22339 [BZ #13871]
22340 * math/w_exp2.c: Do not include <float.h>.
22341 (o_threshold, u_threshold): Remove.
22342 (__exp2): Calculate result before checking finiteness and calling
22343 __kernel_standard.
22344 * math/w_exp2f.c: Likewise.
22345 * math/w_exp2l.c: Likewise.
22346 * math/libm-test.inc (exp2_test): Require overflow exception for
22347 1e6 input.
2460d3aa
JM
22348
22349 [BZ #3866]
22350 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22351 range of signed 64-bit integers before using fistpll. Remove
22352 checks for whether integers fit in mantissa bits.
22353 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22354 the range of signed 32-bit integers before using fistpl. Remove
22355 checks for whether integers fit in mantissa bits.
22356 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22357 (__ieee754_powl): Test for y outside the range of signed 64-bit
22358 integers before using fistpll. Reduce 64-bit values to 63-bit
22359 ones as needed.
22360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22361 divide-by-zero is raised for zero to large negative powers.
22362 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22363 (__ieee754_powl): Test for y outside the range of signed 64-bit
22364 integers before using fistpll. Reduce 64-bit values to 63-bit
22365 ones as needed.
22366 * math/libm-test.inc (pow_test): Add more tests.
22367
eb96ffb0
L
223682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22369
22370 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22371 <stdio-common/_itoa.h>.
22372 * debug/segfault.c: Likewise.
22373 * elf/dl-cache.c: Likewise.
22374 * elf/dl-minimal.c: Likewise.
22375 * elf/dl-misc.c: Likewise.
22376 * elf/dl-sysdep.c: Likewise.
22377 * elf/dl-version.c: Likewise.
22378 * elf/rtld.c: Likewise.
22379 * hurd/hurdsock.c: Likewise.
22380 * hurd/lookup-retry.c: Likewise.
22381 * malloc/malloc.c: Likewise.
22382 * malloc/mtrace.c: Likewise.
22383 * nscd/nscd_getgr_r.c: Likewise.
22384 * nscd/nscd_getpw_r.c: Likewise.
22385 * nscd/nscd_getserv_r.c: Likewise.
22386 * posix/getopt_init.c: Likewise.
22387 * posix/wordexp.c: Likewise.
22388 * stdio-common/_itoa.c: Likewise.
22389 * stdio-common/printf_fphex.c: Likewise.
22390 * stdio-common/vfprintf.c: Likewise.
22391 * string/_strerror.c: Likewise.
22392 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22393 * sysdeps/i386/i686/hp-timing.h: Likewise.
22394 * sysdeps/mach/_strerror.c: Likewise.
22395 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22396 * sysdeps/mach/hurd/sethostid.c: Likewise.
22397 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22398 * sysdeps/mach/xpg-strerror.c: Likewise.
22399 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22401 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22402 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22403 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22404 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22406 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22407 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22408 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22409 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22410 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22411 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22412 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22413 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22414 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22415 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22416 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22417 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22418 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22419 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22420
22421 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22422
22423 * stdio-common/_itoa.h: Moved to ...
22424 * sysdeps/generic/_itoa.h: Here.
22425
22426 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22427
22428 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22429 instead of "_itoa.h" and "_itowa.h".
22430 * stdio-common/vfprintf.: Likewise.
22431
d1af992d
L
224322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22433
22434 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22435 <bits/wordsize.h>.
22436 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22437 (__signbit): Likwise.
22438 (llrintf): Likwise.
22439 (llrint): Likwise.
22440
114883e0
L
224412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22442
22443 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22444 __WORDSIZE != 64.
22445
c135cc1b
JM
224462012-03-20 Joseph Myers <joseph@codesourcery.com>
22447
22448 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22449 OVERFLOW_EXCEPTION_OK.
22450 * math/libm-test.inc ("Philosophy"): Update comment about
22451 exception testing.
22452 (OVERFLOW_EXCEPTION): Define.
22453 (OVERFLOW_EXCEPTION_OK): Likewise.
22454 (INVALID_EXCEPTION_OK): Renumber.
22455 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22456 (IGNORE_ZERO_INF_SIGN): Likewise.
22457 (test_exceptions): Handle FE_OVERFLOW.
22458 (exp10_test): Expect overflow exceptions.
22459 (exp2_test): Likewise.
22460 (expm1_test): Likewise.
22461 (nextafter_test): Likewise.
22462 (pow_test): Likewise.
22463 (scalbn_test): Likewise.
22464 (scalbln_test): Likewise.
22465
95443d88
L
224662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22467
22468 * sysdeps/x86_64/bits/atomic.h
22469 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22470 64bit integer.
22471 (atomic_exchange_acq): Likewise.
22472 (__arch_exchange_and_add_body): Likewise.
22473 (__arch_add_body): Likewise.
22474 (atomic_add_negative): Likewise.
22475 (atomic_add_zero): Likewise.
22476
490df6c4
L
224772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22478
c2722551 22479 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22480 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22481
5e52b189
L
224822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22483
22484 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22485 Check __x86_64__ instead of __WORDSIZE.
22486
a9879d4c
L
224872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22488
22489 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22490
5df98260
DM
224912012-03-19 David S. Miller <davem@davemloft.net>
22492
e1497744
DM
22493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22494
5df98260
DM
22495 * sysdeps/sparc/fpu/fenv_private.h: New file.
22496 * sysdeps/sparc/fpu/math_private.h: Use it.
22497 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22498 Remove.
22499 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22500 (libc_feholdexcept_setroundl): Remove.
22501 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22502 Remove.
22503 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22504 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22505
b4c35121
L
225062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22507
22508 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22509 int64_t instead of long int.
22510 (INSERT_WORDS64): Likwise.
22511
56965fd7
L
225122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22513
22514 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22515 _Unwind_GetCFA return to _Unwind_Ptr first.
22516
83d1aec8
JM
225172012-03-19 Joseph Myers <joseph@codesourcery.com>
22518
1897ad44
JM
22519 [BZ #13629]
22520 * math/s_clog.c: Include <float.h>.
22521 (__clog): Scale large or subnormal inputs.
22522 * math/s_clogf.c: Likewise.
22523 * math/s_clogl.c: Likewise.
22524 * math/s_clog10.c: Include <float.h>.
22525 (M_LOG10_2): Define.
22526 (__clog10): Scale large or subnormal inputs.
22527 * math/s_clog10f.c: Likewise.
22528 * math/s_clog10l.c: Likewise.
22529 * math/libm-test.inc (clog_test): Add more tests.
22530 (clog10_test): Likewise.
22531 * sysdeps/i386/fpu/libm-test-ulps: Update.
22532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22533
7726d6a9
JM
22534 [BZ #11451]
22535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22536 x and y.
22537 * math/libm-test.inc (atan2_test): Add another test.
22538
83d1aec8
JM
22539 * Makerules (common-objdir-compile): Remove.
22540 * sysdeps/unix/Makefile (config-generated): Do not add
22541 $(unix-generated) to variable.
22542 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22543 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22544 Remove rule.
22545 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22546 Likewise.
22547 [generic bits/local_lim.h] (before-compile): Do not append to
22548 variable.
22549 [generic bits/local_lim.h] (common-generated): Likewise.
22550 [generic sys/param.h] (before-compile): Do not append to variable.
22551 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22552 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22553 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22554 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22555 include.
22556 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22557 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22558 [generic sys/param.h] ($(addprefix
22559 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22560 [generic sys/param.h] (common-generated): Do not append to
22561 variable.
22562 [generic sys/param.h] (sysdep_headers): Likewise.
22563 [generic bits/errno.h] (before-compile): Do not append to
22564 variable.
22565 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22566 rule.
22567 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22568 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22569 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22570 [generic bits/errno.h] (common-generated): Do not append to
22571 variable.
22572 [generic bits/ioctls.h] (before-compile): Do not append to
22573 variable.
22574 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22575 rule.
22576 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22577 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22578 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22579 rule.
22580 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22581 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22582 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22583 [generic bits/ioctls.h] (common-generated): Do not append to
22584 variable.
22585 [generic sys/syscall.h] (syscall.h): Remove variable.
22586 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22587 rule.
22588 [generic sys/syscall.h] (before-compile): Do not append to
22589 variable.
22590 [generic sys/syscall.h] (common-generated): Likewise.
22591 * sysdeps/unix/errnos-tmpl.c: Remove file.
22592 * sysdeps/unix/errnos.awk: Likewise.
22593 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22594 * sysdeps/unix/ioctls.awk: Likewise.
22595 * sysdeps/unix/mk-local_lim.c: Likewise.
22596 * sysdeps/unix/snarf-ioctls: Likewise.
22597
4851a949
RH
225982012-03-19 Richard Henderson <rth@twiddle.net>
22599
bd37f2ee
RH
22600 * sysdeps/i386/fpu/fenv_private.h: New file.
22601 * sysdeps/i386/fpu/math_private.h: Use it.
22602 (math_opt_barrier, math_force_eval): Remove.
22603 (libc_feholdexcept_setround_53bit): Remove.
22604 (libc_feupdateenv_53bit): Remove.
22605 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22606 (math_opt_barrier, math_force_eval): Remove.
22607 (libc_feholdexcept): Remove.
22608 (libc_feholdexcept_setround): Remove.
22609 (libc_fetestexcept, libc_fesetenv): Remove.
22610 (libc_feupdateenv_test): Remove.
22611 (libc_feupdateenv, libc_feholdsetround): Remove.
22612 (libc_feresetround): Remove.
22613
d0adc922
RH
22614 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22615 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22616
0fe0f1f8
RH
22617 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22618 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22619 (libc_feupdateenv_testl): New.
22620 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22621 (libc_feupdateenv_testf): New.
22622 (libc_feupdateenv): Use libc_feupdateenv_test.
22623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22624 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22625
eb92c487
RH
22626 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22627 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22628 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22629 (libc_feresetround_noex): New.
22630 (libc_feresetround_noexf): New.
22631 (libc_feresetround_noexl): New.
22632 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22633 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22634 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22635 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22636 SET_RESTORE_ROUND.
22637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22639 (__cos): Likewise.
22640 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22641 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22642 SET_RESTORE_ROUND_NOEX.
22643 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22644 SET_RESTORE_ROUND_NOEXF.
22645 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22646 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22647 (libc_feholdsetroundf): New.
22648 (libc_feresetround, libc_feresetroundf): New.
22649
7d2e8012
RH
22650 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22651 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22652 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22653
b4dabbb4
RH
22654 * sysdeps/generic/math_private.h: Include <fenv.h>.
22655 (default_libc_feholdexcept): New.
22656 (default_libc_feholdexcept_setround): New.
22657 (default_libc_fesetenv, default_libc_feupdateenv): New.
22658 (libc_feholdexcept): Only define if undefined.
22659 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22660 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22661 (libc_feholdexcept_setroundl): Likewise.
22662 (libc_feholdexcept_setround_53bit): Likewise.
22663 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22664 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22665 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22666 (libc_feupdateenv_53bit): Likewise.
22667 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22668 (libc_feholdexcept): Convert from macro to inline function.
22669 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22670 (libc_fesetenv, libc_feupdateenv): Likewise.
22671
4851a949
RH
22672 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22673 not previously defined.
22674 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22675 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22676 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22677 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22678 * sysdeps/ieee754/flt-32/math_private.h: New file.
22679 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22680 math_private.h below SET_FLOAT_WORD.
22681 (__isnan, __isinf_ns, __finite): Remove.
22682 (__isnanf, __isinf_nsf, __finitef): Remove.
22683
e79d442e
AS
226842012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22685
22686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22687
90b80344
DM
226882012-03-17 David S. Miller <davem@davemloft.net>
22689
22690 [BZ #6471]
22691 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22692 for 2.16.
22693
edc21804
DM
226942012-03-16 David S. Miller <davem@davemloft.net>
22695
77e927af
DM
22696 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22697 warnings.
22698
374976dd
DM
22699 [BZ #6471]
22700 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22701 properly.
22702 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22703 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22704 sysdep_routines when subdir is sysvipc.
22705 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22706 __getshmlba helper.
22707
edc21804
DM
22708 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22709
473c3ef3
L
227102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22711
22712 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22713 [__LP64__].
22714
eb0f39b6
L
227152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22716
22717 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22718 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22719 (__lround): Renamed to ...
22720 (__llround): This. Replace long int with long long int.
22721 Define lround functions as aliases of llround functions.
22722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22723
6b6cd74b
L
227242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22725
22726 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22727 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22728 adresses to uintptr_t. Replace "long int" and "unsigned long
22729 int" with "greg_t" on va_arg.
22730
f1a77b01
L
227312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22732
22733 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22734 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22735
22736 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22737 Move e_machine check before EI_CLASS check. Handle x32
22738 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22739 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22740 SKIP_EM_IA_64 and include
22741 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22742
22743 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22744 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22745 (add_system_dir): New macro.
22746
22747 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22748 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22749
11b90b9f
JM
227502012-03-16 Joseph Myers <joseph@codesourcery.com>
22751
c36e1d23
JM
22752 [BZ #2551]
22753 [BZ #2552]
22754 [BZ #2553]
22755 [BZ #2554]
22756 [BZ #2562]
22757 [BZ #2563]
22758 [BZ #2565]
22759 [BZ #2566]
22760 [BZ #2576]
22761 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22762 (y0): Likewise.
22763 * math/w_j0f.c (j0f): Likewise.
22764 (y0f): Likewise.
22765 * math/w_j0l.c (__j0l): Likewise.
22766 (__y0l): Likewise.
22767 * math/w_j1.c (j1): Likewise.
22768 (y1): Likewise.
22769 * math/w_j1f.c (j1f): Likewise.
22770 (y1f): Likewise.
22771 * math/w_j1l.c (__j1l): Likewise.
22772 (__y1l): Likewise.
22773 * math/w_jn.c (jn): Likewise.
22774 (yn): Likewise.
22775 * math/w_jnf.c (jnf): Likewise.
22776 (ynf): Likewise.
22777 * math/w_jnl.c (__jnl): Likewise.
22778 (__ynl): Likewise.
22779 * math/libm-test.inc (j0_test): Add more tests.
22780 (j1_test): Likewise.
22781 (jn_test): Likewise. Add trailing semicolon to existing test.
22782 (y0_test): Likewise.
22783 (y1_test): Likewise.
22784 * sysdeps/i386/fpu/libm-test-ulps: Update.
22785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22786
11b90b9f
JM
22787 [BZ #13851]
22788 [BZ #13854]
22789 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22790 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22791 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22792 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22793 (__tanl): Set errno for infinite argument.
22794 * sysdeps/i386/fpu/mptan.c: Remove.
22795 * sysdeps/i386/fpu/s_tan.S: Likewise.
22796 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22797 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22798 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22799 * math/libm-test.inc (tan_test): Add more tests and enable more
22800 tests for double and long double.
22801 * sysdeps/i386/fpu/libm-test-ulps: Update.
22802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22803
6a1bd2a1
JK
228042012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22805
22806 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22807 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22808
10a803e0
RM
228092012-03-16 Roland McGrath <roland@hack.frob.com>
22810
22811 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22812 * configure.in: Use it for both main tree and add-ons.
22813 * configure: Regenerated.
22814
f196c7f7
L
228152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22818
8848d99d
JM
228192012-03-16 Joseph Myers <joseph@codesourcery.com>
22820
96cbe7f4
JM
22821 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22822 in comment.
22823
8848d99d
JM
22824 [BZ #13851]
22825 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22826 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22830 infinite argument.
22831 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22833 != 0 for prec == 2.
22834 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22835 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22836 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22837 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22838 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22839 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22840 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22841 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22842 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22843 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22844 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22845 * math/libm-test.inc (cos_test): Add more tests and enable more
22846 tests for long double.
22847 (sin_test): Likewise.
22848 (sincos_test): Likewise.
22849 * sysdeps/i386/fpu/libm-test-ulps: Update.
22850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22851
dd7f4703
DM
228522012-03-16 David S. Miller <davem@davemloft.net>
22853
22854 * sysdeps/sparc/fpu/math_private.h: New file.
22855
006f1daa
DM
228562012-03-15 David S. Miller <davem@davemloft.net>
22857
c0c83bc8
DM
22858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22859 file.
e6a62e18 22860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22862 file.
e6a62e18
DM
22863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22869 sysdep routines.
22870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22871
88cb87d9
DM
22872 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22873 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22874
006f1daa 22875 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22877 sparc-ifunc.h
006f1daa 22878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22880 Likewise.
22881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22882 Likewise.
006f1daa
DM
22883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22887 Likewise.
006f1daa
DM
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22893 Likewise.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22895 Likewise.
006f1daa
DM
22896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22920
11e0098e
AS
229212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22922
22923 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22924 scaling.
22925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22926
e85b09d0
AJ
229272012-03-15 Andreas Jaeger <aj@suse.de>
22928
22929 [BZ #13852]
22930 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22931 ieee754/flt-32 implementation for sin, cos and sincos.
22932 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22933 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22934 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22935 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22936 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22937 ieee754/flt-32 implementation for tan.
22938
22939 * math/libm-test.inc (cos_test): Enable some large input tests for
22940 float as well
22941 (sin_test): Likewise.
22942 (sincos_test): Likewise.
22943 (tan_test): Add tests for large input.
22944
22945 * sysdeps/i386/fpu/libm-test-ulps: Update.
22946
81c64153
AJ
229472012-03-15 Andreas Jaeger <aj@suse.de>
22948
22949 [BZ #13658]
22950 * math/libm-test.inc (cos_test): Add more test cases.
22951 (sin_test): Likewise.
22952 (sincos_test): Likewise.
22953
7bbfa5c6
AJ
229542012-03-15 Andreas Jaeger <aj@suse.de>
22955
22956 [BZ #13837]
22957 * math/libm-test.inc (cos_test): Add a test case for large input
22958 value.
22959 (sin_test): Likewise.
22960 (sincos_test): Likewise.
22961
229622012-03-15 Andreas Jaeger <aj@suse.de>,
22963 Joseph Myers <joseph@codesourcery.com>
22964
22965 [BZ #13658]
0671f479 22966 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22967 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22968 * sysdeps/i386/fpu/branred.c: Likewise.
22969 * sysdeps/i386/fpu/dosincos.c: Likewise.
22970 * sysdeps/i386/fpu/mpa.c: Likewise.
22971 * sysdeps/i386/fpu/s_cos.S: Likewise.
22972 * sysdeps/i386/fpu/s_sin.S: Likewise.
22973 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22974 * sysdeps/i386/fpu/sincos32.c: Likewise.
22975
22976 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22977 Define.
22978 (libc_feupdateenv_53bit): Define.
22979 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22980 Define.
22981 (libc_feupdateenv_53bit): Define.
22982
22983 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22984 53 bit (without extend i386 double precision).
22985
22986 * math/libm-test.inc (sincos_test): Add tests for large input.
22987 (sin): Likewise.
22988 (cos): Likewise.
22989
22990 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22991
9cad04ea
AS
229922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22993
22994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22995
f7062b9a
DM
229962012-03-15 David S. Miller <davem@davemloft.net>
22997
22998 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22999 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23000 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23001 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23014 file.
f7062b9a 23015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23017 file.
f7062b9a 23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23020 file.
f7062b9a 23021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23023 file.
f7062b9a
DM
23024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23026 fmin/fmax sysdep routines.
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23028
7bd951ff
DM
230292012-03-14 David S. Miller <davem@davemloft.net>
23030
559398ab
DM
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23060 routines.
23061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23062 file.
559398ab 23063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23065 file.
559398ab 23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23068 file.
559398ab 23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23071 file.
559398ab 23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23074 file.
559398ab 23075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23077 file.
23078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23079 file.
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23081 file.
23082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23083 file.
23084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23085 New file.
23086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23087 file.
23088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23089 file.
559398ab 23090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23092 file.
559398ab 23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23095 file.
559398ab 23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23098 file.
559398ab 23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23101 VIS3 routines.
559398ab
DM
23102
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23104 New file.
23105
5a1c1e32
DM
23106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23107
eae47a36
DM
23108 * sysdeps/sparc/configure.in: New file.
23109 * sysdeps/sparc/configure: Generate.
23110 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23111 * configure: Regenerate.
23112 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23113 * config.make.in (have-as-vis3): New.
23114 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23115 available use -Av9d instead of -Av9a.
23116 * sysdeps/sparc/sparc64/Makefile: Likewise.
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23119 New file.
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23121 file.
23122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23123 New file.
23124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23125 file.
eae47a36
DM
23126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23131
c0c83bc8
DM
23132 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23133 fzeros/fnegs to load 0x80000000 into a float register instead of
23134 using the stack.
7bd951ff
DM
23135 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23136
bd951ccb
JM
231372012-03-14 Joseph Myers <joseph@codesourcery.com>
23138
23139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23140 bits/syscall.h.
23141 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23142 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23143 ($(inst_includedir)/bits/syscall.h): Remove rule.
23144 ($(objpfx)bits/syscall.d): Include instead of
23145 $(objpfx)syscall-list.d.
23146 (generated): Change syscall-list.h and syscall-list.d to
23147 bits/syscall.h and bits/syscall.d.
23148
bb4e6db2
RM
231492012-03-14 Roland McGrath <roland@hack.frob.com>
23150
23151 [BZ #13846]
23152 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23153
aa4a2ae1
JM
231542012-03-14 Joseph Myers <joseph@codesourcery.com>
23155
e456826d
JM
23156 [BZ #13841]
23157 * math/s_csqrt.c: Include <float.h>.
23158 (__csqrt): Scale large or subnormal inputs.
23159 * math/s_csqrtf.c: Likewise.
23160 * math/s_csqrtl.c: Likewise.
23161 * math/libm-test.inc (csqrt_test): Add more tests.
23162 * sysdeps/i386/fpu/libm-test-ulps: Update.
23163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23164
aa4a2ae1
JM
23165 [BZ #13840]
23166 * math/libm-test.inc (hypot_test): Add more tests.
23167
7c10fd35
DM
231682012-03-13 David S. Miller <davem@davemloft.net>
23169
23170 [BZ #13840]
23171 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23172 double-precision for the calculation instead of scaling.
23173
f453b98b
JM
231742012-03-13 Joseph Myers <joseph@codesourcery.com>
23175
23176 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23177 manipulate bits before adding and subtracting TWO52[sx].
23178 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23179 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23180 Likewise.
23181 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23182
09a3453f
DM
231832012-03-13 David S. Miller <davem@davemloft.net>
23184
8e59da90
DM
23185 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23186 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23188 rtld-global-offsets.h
23189 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23190
2a8ab7f2
DM
23191 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23192 large parameters.
23193
10f62770
DM
23194 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23195
5f0bdb18
DM
23196 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23197 'err' in the ifdef scope in which it is actually used.
23198
09a3453f
DM
23199 * nss/nss_db/db-init.c: Include string.h
23200
b4b2eb5e
DM
232012012-03-12 David S. Miller <davem@davemloft.net>
23202
98bb2f1c
DM
23203 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23204 masking out of the most significant byte of random value used.
23205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23206 Fix coding style in previous change.
23207
b4b2eb5e
DM
23208 * sysdeps/unix/sysv/linux/kernel-features.h
23209 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23210 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23211 expression.
23212 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23213 later.
23214
6e226b09
DM
232152012-03-11 David S. Miller <davem@davemloft.net>
23216
a1bcbd40
DM
23217 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23218 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23220 for 'resultvar' otherwise things get truncated on 64-bit.
23221
cb9d6174
DM
23222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23223 Fix masking out of the most significant byte of random value used.
23224
6e226b09
DM
23225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23226
058c132d
AS
232272012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23228
23229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23230
2d2cd515
DM
232312012-03-09 David S. Miller <davem@davemloft.net>
23232
23233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23234 variables with appropriate CPP guards.
23235 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23236 frame pointer, not the stack pointer. Correct layout comments. Fix test
23237 on resulting framesize and the management of the outregs buffer for pltexit.
23238 Preserve floating point return values across _dl_call_pltexit call.
23239 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23240 framesize and the management of the outregs buffer for pltexit.
23241 Preserve floating point return values across _dl_call_pltexit
23242 call.
23243 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23244 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23245 (print_exit): Fix format string for return register value.
23246
9a07f9d0
JM
232472012-03-10 Joseph Myers <joseph@codesourcery.com>
23248
23249 * sunrpc/Makefile (others): Add rpcgen.
23250 ($(objpfx)rpcgen): Remove special build rule and dependency on
23251 libc.
23252 * sunrpc/rpcgen.c: New file.
23253
547b5e30
PE
232542012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23255
c524201a
PE
23256 [BZ #13673]
23257 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23258 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23259 * sysdeps/i386/crti.S: Likewise.
23260 * sysdeps/i386/crtn.S: Likewise.
23261 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23262 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23263 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23264 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23265 * sysdeps/sh/crti.S: Likewise.
23266 * sysdeps/sh/crtn.S: Likewise.
23267 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23268
7b6235f2
PE
23269 [BZ #13673]
23270 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23271 with URL.
23272 * locale/programs/locfile-kw.gperf: Likewise.
23273 * locale/programs/charmap-kw.h: Regenerated.
23274 * locale/programs/locfile-kw.h: Likewise.
23275
547b5e30
PE
23276 [BZ #13673]
23277 * intl/plural.y: Replace FSF snail mail address with URL.
23278 * intl/plural.c: Regenerated.
23279
5f0a5dae
RH
232802012-03-09 Richard Henderson <rth@twiddle.net>
23281
23282 * include/math_private.h: Remove file.
23283 * math/math_private.h: Move file ...
23284 * sysdeps/generic/math_private.h: ... here.
23285
b8c03620
RH
23286 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23287 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23288 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23289
4e234f5d 23290 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23291 and <math_private.h>.
23292 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23293 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23294 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23295 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23296 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23297 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23298 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23380 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23381 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23382 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23387 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23389 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23391 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23392 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23393 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23394 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23395 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23396 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23397 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23398 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23399 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23400 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23402 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23403 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23404 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23405 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23406 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23407 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23408 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23409 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23411 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23412 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23413 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23414 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23415 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23417 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23419 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23420 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23422 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23423 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23424 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23427 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23431 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23432 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23433 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23434 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23435 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23436 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23437 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23438 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23439 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23440 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23441 * sysdeps/ieee754/k_standard.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23454 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23455 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23456 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23459 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23462 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23468 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23469 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23557 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23561 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23562 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23564 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23590 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23591 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23592 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23602 * sysdeps/ieee754/s_lib_version.c: Likewise.
23603 * sysdeps/ieee754/s_matherr.c: Likewise.
23604 * sysdeps/ieee754/s_signgam.c: Likewise.
23605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23607 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23608 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23610 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23611 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23612 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23613 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23614 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23615 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23616 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23617 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23618 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23619 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23620 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23622 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23623 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23626
1991fa03
JM
236272012-03-09 Joseph Myers <joseph@codesourcery.com>
23628
23629 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23630 * sunrpc/rpc_main.c: Likewise.
23631 * sunrpc/rpc_svcout.c: Likewise.
23632
60d6f5a6
DM
236332012-03-09 David S. Miller <davem@davemloft.net>
23634
23635 * include/math_private.h: New file.
23636
4962050e
JM
236372012-03-09 Joseph Myers <joseph@codesourcery.com>
23638
02a6f887
JM
23639 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23640 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23641 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23642 from <bits/socket_type.h>.
23643 (enum __socket_type): Don't define here.
23644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23646 bits/socket_type.h.
23647
c6e013c1
JM
23648 [BZ #13566]
23649 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23650 checking __USE_GNU.
23651
4962050e
JM
23652 * Makerules ($(inst_includedir)/%.h): New rule.
23653 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23654 (install-others): Remove variable setting.
23655 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23656
38842f45
RH
236572012-03-08 Richard Henderson <rth@twiddle.net>
23658
67bb6da6
RH
23659 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23660 from macro to inline function; merge with the
23661 !__LIBC_INTERNAL_MATH_INLINES version.
23662 (__ieee754_sqrtf): Likewise.
23663
15194b4b
RH
23664 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23665 to inline function.
23666 (__rintf, __floor, __floorf): Likewise.
23667
64e21ede
RH
23668 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23669 macro to inline function.
23670 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23671
38842f45
RH
23672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23673 not <math/math_private.h>.
23674
c64bf5fe
DM
236752012-03-08 David S. Miller <davem@davemloft.net>
23676
23677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23678 copyright year.
23679 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23680
82d86f28
TS
236812012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23682
23683 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23684 normalization.
23685 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23686 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23687
aea5d727
UD
236882012-03-08 Ulrich Drepper <drepper@gmail.com>
23689
23690 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23691 be defined individually, they must be defined as a block. Define
23692 S for printing a string instead of hidint the different by using a
23693 macro for adding the 'l'.
23694 * stdio-common/tst-fphex-wide.c: Adjust.
23695
70bca0a3
MP
236962012-03-07 Marek Polacek <polacek@redhat.com>
23697
23698 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23699
65b81130
MP
237002012-03-08 Marek Polacek <polacek@redhat.com>
23701
23702 [BZ #13806]
23703 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23704 * stdio-common/tst-fphex.c: Define a few macros to make the
23705 test reusable. Use them.
23706 * stdio-common/tst-fphex-wide.c: New file.
23707
07037eeb
JM
237082012-03-08 Joseph Myers <joseph@codesourcery.com>
23709
a7a93d50
JM
23710 [BZ #6911]
23711 * manual/macros.texi (gnusystems): New macro.
23712 (nongnusystems): Likewise.
23713 (gnulinuxhurdsystems): Likewise.
23714 (gnuhurdsystems): Likewise..
23715 (gnulinuxsystems): Likewise.
23716 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23717 variants of the GNU system, not "GNU system".
23718 * manual/conf.texi: Likewise.
23719 * manual/errno.texi: Likewise. Update example of errno macro
23720 expansion.
23721 * manual/filesys.texi: Likewise.
23722 (getumask): Document as specific to GNU/Hurd.
23723 * manual/install.texi: Likewise. Reword some references to
23724 GNU/Linux.
23725 * manual/intro.texi: Likewise.
23726 * manual/io.texi: Likewise.
23727 (File Name Portability): Detail which constraints are inapplicable
23728 to all GNU systems and which are only inapplicable to GNU/Hurd.
23729 * manual/job.texi: Likewise.
23730 * manual/llio.texi: Likewise.
23731 (O_NOCTTY): Document as present on GNU/Linux.
23732 * manual/maint.texi: Likewise.
23733 * manual/memory.texi: Likewise.
23734 * manual/pattern.texi: Likewise.
23735 * manual/pipe.texi: Likewise.
23736 * manual/process.texi: Likewise.
23737 * manual/resource.texi: Likewise.
23738 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23739 child on GNU/Hurd.
23740 * manual/setjmp.texi: Likewise.
23741 * manual/signal.texi: Likewise.
23742 * manual/startup.texi: Likewise.
23743 * manual/stdio.texi: Likewise.
23744 * manual/terminal.texi: Likewise.
23745 (ONLCR): Document as POSIX.
23746 (OXTABS): Document availability on GNU/Linux as XTABS.
23747 (ONOEOT): Document availability separately from other bits.
23748 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23749 * manual/time.texi: Likewise.
23750 * manual/users.texi: Likewise.
23751 * INSTALL: Regenerated.
23752 * sysdeps/gnu/errlist.c: Regenerated.
23753
07037eeb
JM
23754 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23755 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23756 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23757 puts.
23758 * configure: Regenerated.
23759
d1d3431a
JM
237602012-03-07 Joseph Myers <joseph@codesourcery.com>
23761
af6a1e37
JM
23762 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23763 default includes instead of AC_HEADER_CHECK.
23764 * sysdeps/i386/configure: Regenerated.
23765
d1d3431a
JM
23766 [BZ #10716]
23767 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23768 * math/s_cacoshf.c (__cacoshf): Likewise.
23769 * math/s_cacoshl.c (__cacoshl): Likewise.
23770 * math/s_casinh.c (__casinh): Set signs of result from argument.
23771 * math/s_casinhf.c (__casinhf): Likewise.
23772 * math/s_casinhl.c (__casinhl): Likewise.
23773 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23774 (casinh_test): Add more tests.
23775 * sysdeps/i386/fpu/libm-test-ulps: Update.
23776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23777
482ff4da
UD
237782012-03-07 Ulrich Drepper <drepper@gmail.com>
23779
872fda05
UD
23780 * po/zh_TW.po: Update from translation team.
23781
a4300c7a
UD
23782 * login/Makefile (distribute): Remove variable.
23783 * catgets/Makefile: Likewise.
23784 * mach/Makefile: Likewise.
23785 * malloc/Makefile: Likewise.
23786 * misc/Makefile: Likewise.
23787 * iconv/Makefile: Likewise.
23788 * nscd/Makefile: Likewise.
23789 * hurd/Makefile: Likewise.
23790 * manual/Makefile: Likewise.
23791 * locale/Makefile: Likewise.
23792 * intl/Makefile: Likewise.
23793 * conform/Makefile: Likewise.
23794 * nss/Makefile: Likewise.
23795 * time/Makefile: Likewise.
23796 * soft-fp/Makefile: Likewise.
23797 * dirent/Makefile: Likewise.
23798 * gmon/Makefile: Likewise.
23799 * po/Makefile: Likewise.
23800 * rt/Makefile: Likewise.
23801 * socket/Makefile: Likewise.
23802 * math/Makefile: Likewise.
23803 * signal/Makefile: Likewise.
23804 * debug/Makefile: Likewise.
23805 * elf/Makefile: Likewise.
23806 * timezone/Makefile: Likewise.
23807 * stdlib/Makefile: Likewise.
23808 * iconvdata/Makefile: Likewise.
23809 * sunrpc/Makefile: Likewise.
23810 * io/Makefile: Likewise.
23811 * argp/Makefile: Likewise.
23812 * inet/Makefile: Likewise.
23813 * hesiod/Makefile: Likewise.
23814 * grp/Makefile: Likewise.
23815 * csu/Makefile: Likewise.
23816 * wctype/Makefile: Likewise.
23817 * crypt/Makefile: Likewise.
23818 * libio/Makefile: Likewise.
23819 * string/Makefile: Likewise.
23820 * nis/Makefile: Likewise.
23821 * resolv/Makefile: Likewise.
23822 * stdio-common/Makefile: Likewise.
23823 * wcsmbs/Makefile: Likewise.
23824 * dlfcn/Makefile: Likewise.
23825 * posix/Makefile: Likewise.
23826
3b7c4e74 23827 [BZ #6959]
482ff4da
UD
23828 * timezone/Makefile: Don't install timezone files, just the programs
23829 and scripts.
23830
f72ed77d
UD
238312012-03-06 Ulrich Drepper <drepper@gmail.com>
23832
a000466f
UD
23833 * nss/databases.def: Add missing gshadow entry.
23834
f72ed77d
UD
23835 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23836
a53b7a4e
MP
238372012-03-06 Marek Polacek <polacek@redhat.com>
23838
23839 [BZ #13726]
23840 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23841 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23842 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23843 * stdio-common/tst-long-dbl-fphex.c: New file.
23844
e9258400
DM
238452012-03-06 David S. Miller <davem@davemloft.net>
23846
23847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23848 (set_obp_int): New function.
23849 (get_obp_int): New function.
23850 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23851 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23852 Avoid unused variable warnings on 'val' and use builtin_expect.
23853 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23854 __builtin_expect.
e9258400
DM
23855 (INLINE_CLONE_SYSCALL): Likewise.
23856
3bd2c723
DM
238572012-03-05 David S. Miller <davem@davemloft.net>
23858
23859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23860
bbb78d03
AS
238612012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23862
884c5db4
AS
23863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23864
bbb78d03
AS
23865 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23866 only for |x| >= 40.
23867 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23868
1c9f702a 238692012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23870
23871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23872 Replace gettimeofday with __vdso_gettimeofday.
23873
7be16f82
RM
23874 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23875 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23876 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23877
23878 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23879 time with __vdso_time.
23880
ed58a00f
JM
238812012-03-05 Joseph Myers <joseph@codesourcery.com>
23882
23883 * manual/lang.texi (size_t): Note types to which size_t may be
23884 equivalent with the GNU C Library, but do not describe when
23885 differences between them are significant.
23886
30ee4ced
AJ
238872012-03-05 Andreas Jaeger <aj@suse.de>
23888
23889 * sysdeps/i386/fpu/libm-test-ulps: Update.
23890
b7cd39e8
JM
238912012-03-05 Joseph Myers <joseph@codesourcery.com>
23892
23893 [BZ #3976]
23894 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23895 (__ieee754_pow): Save and restore rounding mode and use
23896 round-to-nearest for main computations.
23897 * math/libm-test.inc (pow_test_tonearest): New function.
23898 (pow_test_towardzero): Likewise.
23899 (pow_test_downward): Likewise.
23900 (pow_test_upward): Likewise.
23901 (main): Call the new functions.
23902 * sysdeps/i386/fpu/libm-test-ulps: Update.
23903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23904
23905 [BZ #3976]
23906 * math/libm-test.inc (cosh_test_tonearest): New function.
23907 (cosh_test_towardzero): Likewise.
23908 (cosh_test_downward): Likewise.
23909 (cosh_test_upward): Likewise.
23910 (sinh_test_tonearest): Likewise.
23911 (sinh_test_towardzero): Likewise.
23912 (sinh_test_downward): Likewise.
23913 (sinh_test_upward): Likewise.
23914 (main): Call the new functions.
23915 * sysdeps/i386/fpu/libm-test-ulps: Update.
23916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23917
6c6a98c9
TV
239182012-03-05 Tom de Vries <tom@codesourcery.com>
23919
23920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23921 default stack guard is set in last bytes.
23922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23923
21bb2d2e 239242012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23925
21bb2d2e 23926 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23927
21bb2d2e
AJ
23928 [BZ #13656]
23929 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23930 possibly allocate from heap instead of stack.
23931 * stdio-common/bug-vfprintf-nargs.c: New file.
23932 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23933
c6922934
AS
239342012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23935
23936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23937
bc957d53
MP
239382012-03-03 Marek Polacek <polacek@redhat.com>
23939
23940 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23941 * math/math_private.h: Likewise.
23942 * stdlib/tst-strtod.c: Likewise.
23943 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23944 * sysdeps/x86_64/bits/atomic.h: Likewise.
23945
6358490d
DM
239462012-03-02 David S. Miller <davem@davemloft.net>
23947
23948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23952 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23953 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23954 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23955 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23956
01ae168d
RM
239572012-03-02 Roland McGrath <roland@hack.frob.com>
23958
d9a17c07
RM
23959 [BZ #13792]
23960 * manual/examples/README: New file, says the example source files
23961 can be used under GPL>=2.
23962 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23963 line containing just "*/".
23964 * manual/examples/add.c: Add copyright header (GPL>=2).
23965 * manual/examples/argp-ex1.c: Likewise.
23966 * manual/examples/argp-ex2.c: Likewise.
23967 * manual/examples/argp-ex3.c: Likewise.
23968 * manual/examples/argp-ex4.c: Likewise.
23969 * manual/examples/atexit.c: Likewise.
23970 * manual/examples/db.c: Likewise.
23971 * manual/examples/dir.c: Likewise.
23972 * manual/examples/dir2.c: Likewise.
23973 * manual/examples/execinfo.c: Likewise.
23974 * manual/examples/filecli.c: Likewise.
23975 * manual/examples/filesrv.c: Likewise.
23976 * manual/examples/fmtmsgexpl.c: Likewise.
23977 * manual/examples/genpass.c: Likewise.
23978 * manual/examples/inetcli.c: Likewise.
23979 * manual/examples/inetsrv.c: Likewise.
23980 * manual/examples/isockad.c: Likewise.
23981 * manual/examples/longopt.c: Likewise.
23982 * manual/examples/memopen.c: Likewise.
23983 * manual/examples/memstrm.c: Likewise.
23984 * manual/examples/mkfsock.c: Likewise.
23985 * manual/examples/mkisock.c: Likewise.
23986 * manual/examples/mygetpass.c: Likewise.
23987 * manual/examples/pipe.c: Likewise.
23988 * manual/examples/popen.c: Likewise.
23989 * manual/examples/rprintf.c: Likewise.
23990 * manual/examples/search.c: Likewise.
23991 * manual/examples/select.c: Likewise.
23992 * manual/examples/setjmp.c: Likewise.
23993 * manual/examples/sigh1.c: Likewise.
23994 * manual/examples/sigusr.c: Likewise.
23995 * manual/examples/stpcpy.c: Likewise.
23996 * manual/examples/strdupa.c: Likewise.
23997 * manual/examples/strftim.c: Likewise.
23998 * manual/examples/strncat.c: Likewise.
23999 * manual/examples/subopt.c: Likewise.
24000 * manual/examples/swapcontext.c: Likewise.
24001 * manual/examples/termios.c: Likewise.
24002 * manual/examples/testopt.c: Likewise.
24003 * manual/examples/testpass.c: Likewise.
24004 * manual/examples/timeval_subtract.c: Likewise.
24005
01ae168d
RM
24006 [BZ #13792]
24007 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24008 function to ...
24009 * manual/timeval_subtract.c.texi: ... here, new file.
24010
49efa33d
DM
240112012-03-02 David S. Miller <davem@davemloft.net>
24012
24013 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24014
28afd92d
JM
240152012-03-02 Joseph Myers <joseph@codesourcery.com>
24016
804360ed
JM
24017 [BZ #3976]
24018 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24019 (__sin): Save and restore rounding mode and use round-to-nearest
24020 for all computations.
24021 (__cos): Save and restore rounding mode and use round-to-nearest
24022 for all computations.
24023 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24024 <fenv.h>.
24025 (tan): Save and restore rounding mode and use round-to-nearest for
24026 all computations.
24027 * math/libm-test.inc (cos_test_tonearest): New function.
24028 (cos_test_towardzero): Likewise.
24029 (cos_test_downward): Likewise.
24030 (cos_test_upward): Likewise.
24031 (sin_test_tonearest): Likewise.
24032 (sin_test_towardzero): Likewise.
24033 (sin_test_downward): Likewise.
24034 (sin_test_upward): Likewise.
24035 (tan_test_tonearest): Likewise.
24036 (tan_test_towardzero): Likewise.
24037 (tan_test_downward): Likewise.
24038 (tan_test_upward): Likewise.
24039 (main): Call the new functions.
24040 * sysdeps/i386/fpu/libm-test-ulps: Update.
24041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24042
a6d06d7b
JM
24043 [BZ #10135]
24044 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24045 small n, then large n, before computing and testing k+n.
24046 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24048 Likewise.
24049 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24050 Likewise.
24051 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24052 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24053 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24054 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24055 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24057 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24058 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24059 * math/libm-test.inc (scalbn_test): Add more tests.
24060 (scalbln_test): Likewise.
24061
07e12bb3
JM
24062 * manual/filesys.texi (mode_t): Describe constraints on size and
24063 signedness, not exact equivalence to a particular type.
24064 (ino_t): Likewise.
24065 (ino64_t): Likewise.
24066 (dev_t): Likewise.
24067 (nlink_t): Likewise.
24068 (blkcnt_t): Likewise.
24069 (blkcnt64_t): Likewise.
24070 * manual/llio.texi (off_t): Likewise.
24071
28afd92d
JM
24072 [BZ #3976]
24073 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24074 (__ieee754_exp): Save and restore rounding mode and use
24075 round-to-nearest for all computations.
24076 * math/libm-test.inc (exp_test_tonearest): New function.
24077 (exp_test_towardzero): Likewise.
24078 (exp_test_downward): Likewise.
24079 (exp_test_upward): Likewise.
24080 (main): Call the new functions.
24081 * sysdeps/i386/fpu/libm-test-ulps: Update.
24082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24083
b1eeb65d
CD
240842012-03-01 Chris Demetriou <cgd@google.com>
24085
24086 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24087 have predictable order.
24088
53362a4b
DM
240892012-03-01 David S. Miller <davem@davemloft.net>
24090
3c969083
DM
24091 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24092
759707de
DM
24093 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24094 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24095 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24096 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24097
dfdb8ff2
DM
24098 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24099 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24100 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24102 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24103 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24104 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24105 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24106 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24107
ead89f96
DM
24108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24109
7f66bd07
DM
24110 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24111 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24112 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24113
53362a4b
DM
24114 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24115 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24116 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24117 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24118 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24121 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24122 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24123 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24124 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24126 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24127 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24128 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24130 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24131 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24132 * sysdeps/sparc/elf/configure: Regenerated.
24133
7b1902cb
JM
241342012-03-01 Joseph Myers <joseph@codesourcery.com>
24135
bec039bc
JM
24136 * configure.in (AS, LD): Require binutils 2.20 or later.
24137 * configure: Regenerated.
24138 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24139 as required minimum version.
24140 * INSTALL: Regenerated.
24141
7b1902cb
JM
24142 [BZ #2541]
24143 [BZ #4108]
24144 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24145 before squaring exponent.
24146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24147 bottom long double and 27 bits of top long double before squaring
24148 exponent.
24149 * math/libm-test.inc (erfc_test): Add more tests.
24150 * sysdeps/i386/fpu/libm-test-ulps: Update.
24151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24153
f775c276
KT
241542012-03-01 Kai Tietz <ktietz@redhat.com>
24155
24156 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24157 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24158 containing bit-fields.
24159 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24160 * soft-fp/single.h (_FP_UNION_S): Likewise.
24161 * soft-fp/double.h (_FP_UNION_D): Likewise.
24162
5b8a4d4a
JM
241632012-02-29 Joseph Myers <joseph@codesourcery.com>
24164
0bab47b6
JM
24165 [BZ #13786]
24166 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24167 not include ../strcmp.S.
24168 [USE_AS_STRNCASECMP_L]: Likewise.
24169 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24170 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24171 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24172 (__strncasecmp_l_ia32): Define as alias to
24173 __strncasecmp_l_nonascii.
24174
0fcad3e2
JM
24175 [BZ #5794]
24176 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24177 * sysdeps/i386/fpu/libm-test-ulps: Update.
24178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24179
5b8a4d4a
JM
24180 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24182
8fdceb2e
JL
241832012-02-29 Jeff Law <law@redhat.com>
24184
24185 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24186 out of bounds read.
24187
1f393a11
MP
241882012-02-29 Marek Polacek <polacek@redhat.com>
24189
24190 [BZ #13706]
24191 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24192 * elf/Makefile: Add rules to run tst-unused-dep.out.
24193
8847f037
DM
241942012-02-28 David S. Miller <davem@davemloft.net>
24195
24196 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24197 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24198 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24199 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24200 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24201 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24202
169d7f11
JM
242032012-02-29 Joseph Myers <joseph@codesourcery.com>
24204
24205 * math/libm-test.inc (llround_test): Move one test from
24206 lround_test. Use TEST_f_L in moved test.
24207 (lround_test): Move misplaced test to llround_test. Add testcase
24208 from bug 2561.
24209
39adf059
UD
242102012-02-28 Ulrich Drepper <drepper@gmail.com>
24211
24212 * sysdeps/x86_64/fpu/e_expf.S: New file.
24213 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24214
71b5d1c5
SB
242152012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24216
24217 [BZ #13637]
24218 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24219 of remain_len that may cause incomplete multi-byte character and
24220 false match.
24221 * posix/bug-regex33.c: New file.
24222 * posix/Makefile (tests): Add bug-regex33.
24223
1f77f049
JM
242242012-02-28 Joseph Myers <joseph@codesourcery.com>
24225
24226 * manual/macros.texi: New file.
24227 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24228 * manual/libc.texinfo: Include macros.texi.
24229 * manual/creatute.texi: Likewise.
24230 * manual/install.texi: Likewise.
24231 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24232 @glibcadj{} in references to the GNU C Library.
24233 * manual/charset.texi: Likewise.
24234 * manual/conf.texi: Likewise.
24235 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24236 when not using those macros.
24237 * manual/creature.texi: Likewise.
24238 * manual/crypt.texi: Likewise.
24239 * manual/errno.texi: Likewise.
24240 * manual/filesys.texi: Likewise.
24241 * manual/header.texi: Likewise.
24242 * manual/install.texi: Likewise.
24243 * manual/intro.texi: Likewise.
24244 * manual/io.texi: Likewise.
24245 * manual/job.texi: Likewise.
24246 * manual/lang.texi: Likewise.
24247 * manual/libc.texiinfo: Likewise.
24248 * manual/llio.texi: Likewise.
24249 * manual/locale.texi: Likewise.
24250 * manual/maint.texi: Likewise.
24251 * manual/math.texi: Likewise.
24252 * manual/memory.texi: Likewise.
24253 * manual/message.texi: Likewise.
24254 * manual/nss.texi: Likewise.
24255 * manual/pattern.texi: Likewise.
24256 * manual/process.texi: Likewise.
24257 * manual/resource.texi: Likewise.
24258 * manual/search.texi: Likewise.
24259 * manual/setjmp.texi: Likewise.
24260 * manual/signal.texi: Likewise.
24261 * manual/socket.texi: Likewise.
24262 * manual/startup.texi: Likewise.
24263 * manual/stdio.texi: Likewise.
24264 * manual/string.texi: Likewise.
24265 * manual/sysinfo.texi: Likewise.
24266 * manual/syslog.texi: Likewise.
24267 * manual/terminal.texi: Likewise.
24268 * manual/time.texi: Likewise.
24269 * manual/users.texi: Likewise.
24270 * INSTALL: Regenerated.
24271 * NOTES: Regenerated.
d40c5d54 24272 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24273
450bf206
AS
242742012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24275
24276 * include/dirent.h: Include <dirstream.h> before
24277 <dirent/dirent.h>.
24278
741a235b
DM
242792012-02-28 David S. Miller <davem@davemloft.net>
24280
24281 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24282 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24283 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24284 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24285
d6b5aa58
DM
242862012-02-27 David S. Miller <davem@davemloft.net>
24287
1aff59a3
DM
24288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24290 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24291 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24292
d6b5aa58
DM
24293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24294 frame pointer instead of stack pointer relative arg slot.
24295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24298
433f48bf
CD
242992012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24300
24301 [BZ #3992]
24302 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24303
d674b76d
DM
243042012-02-27 David S. Miller <davem@davemloft.net>
24305
24306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24310 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24311 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24312 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24313 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24314
0e7727f7
JM
243152012-02-27 Joseph Myers <joseph@codesourcery.com>
24316
24317 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24318 later. Allow versions 5-9.
43be4ca2 24319 * configure: Regenerated.
0e7727f7
JM
24320 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24321 required minimum version and 4.6 as recommended version. Do not
24322 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24323 * INSTALL: Regenerated.
0e7727f7 24324
a78bc654
DM
243252012-02-27 David S. Miller <davem@davemloft.net>
24326
428d5830
DM
24327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24331 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24332 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24333 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24334 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24335
a78bc654
DM
24336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24337 manipulate bits before adding and subtracting TWO112[sx].
24338 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24339
4579f81c
RM
243402012-02-27 Roland McGrath <roland@hack.frob.com>
24341
36c8acb4
RM
24342 [BZ #13775]
24343 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24344 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24345 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24346 being in POSIX, because they are in 1003.1-2008.
24347
84ad622b
RM
24348 * rt/tst-aio.c: Include <fcntl.h>.
24349 * rt/tst-aio7.c: Likewise.
24350 * rt/tst-aio64.c: Likewise.
24351
4579f81c
RM
24352 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24353
abd923db
JM
243542012-02-27 Joseph Myers <joseph@codesourcery.com>
24355
24356 * manual/install.texi (--with-headers): Describe headers as
24357 interface headers, not private headers.
24358 (Specific advice for GNU/Linux systems): Describe use of headers
24359 from "make headers_install", not private headers from older
24360 kernels.
43be4ca2 24361 * INSTALL: Regenerated.
abd923db
JM
24362 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24363 Change to 2.6.19.
24364 * sysdeps/unix/sysv/linux/configure: Regenerated.
24365
6664049b
JM
24366 * manual/llio.texi (fclean): Remove documentation.
24367
bb8b6697
JM
24368 * manual/Makefile (libc-texi-generated): New variable. Include
24369 version.texi.
24370 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24371 $(libc-texi-generated), not duplicated list of files.
24372 (version.texi, stamp-version): New rules.
24373 (realclean): Remove $(libc-texi-generated), not individual files
24374 from that list. Do not remove dir-add.texinfo.
24375 * manual/libc.texinfo: Comment out uses of edition numbers and
24376 references to printed manual. Remove last-updated dates.
24377 (EDITION): Comment out.
24378 (ISBN): Likewise.
24379 (VERSION, UPDATED): Remove.
24380 (version.texi): Include.
24381
12e5c3b9
AS
243822012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24383
24384 * sysdeps/posix/spawni.c: Include <signal.h>.
24385 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24386 * sysdeps/pthread/aio_fsync.c: Likewise.
24387
4efeffc1 243882012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24389
ba63ba08
UD
24390 * conform/Makefile (tests): Run only when not cross-compiling and
24391 when fast-check is not defined.
24392
d94a4670
UD
24393 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24394 * conform/data/limits.h-data: Fixes for POSIX2008.
24395 * conform/run-conformtest.sh: Run all tests.
24396 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24397 headers.
24398 * include/bits/dlfcn.h: Likewise.
24399 * include/langinfo.h: Likewise.
24400 * include/monetary.h: Likewise.
24401 * include/sys/poll.h: Likewise.
24402
24403 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24404 for __USE_GNU.
24405 * posix/spawn.h: Define __need_sigset_t.
24406 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24407 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24408 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24409 to get sigevent_t only.
24410 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24411 only for __USE_GNU.
24412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24413 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24414 process_vm_writev only for __USE_GNU.
24415 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24416
24417 * conform/Makefile: For now ignore errors from run-conformtest.
24418 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24419 POSIX to avoid namespace pollution. Don't prepend headers.
24420 * conform/data/aio.h-data: Fixes for POSIX testing.
24421 * conform/data/fcntl.h-data: Likewise.
24422 * conform/data/glob.h-data: Likewise.
24423 * conform/data/grp.h-data: Likewise.
24424 * conform/data/pthread.h-data: Likewise.
24425 * conform/data/pwd.h-data: Likewise.
24426 * conform/data/signal.h-data: Likewise.
24427 * conform/data/spawn.h-data: Likewise.
24428 * conform/data/stdio.h-data: Likewise.
24429 * conform/data/stdlib.h-data: Likewise.
24430 * conform/data/stropts.h-data: Likewise.
24431 * conform/data/sys/mman.h-data: Likewise.
24432 * conform/data/sys/stat.h-data: Likewise.
24433 * conform/data/sys/types.h-data: Likewise.
24434 * conform/data/sys/wait.h-data: Likewise.
24435 * conform/data/time.h-data: Likewise.
24436 * conform/data/unistd.h-data: Likewise.
24437 * conform/data/utime.h-data: Likewise.
24438
24439 * io/sys/stat.h: fchmod was always in POSIX.
24440 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24441 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24442 * rt/aio.h: Define __need_timespec before including <time.h>.
24443 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24444 struct. Add forward declaration of pthread_attr_t and use it in
24445 sigevent.
24446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24447 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24448 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24449 always remove CLK_TCK definition.
24450
c20105c3
AS
244512012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24452
24453 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24454
7a270350
UD
244552012-02-25 Ulrich Drepper <drepper@gmail.com>
24456
31341567
UD
24457 * conform/run-conformtest.sh: New file.
24458 * conform/Makefile: Run run-conformtest for tests.
24459 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24460 support.
24461
24462 * conform/data/uchar.h-data: New file.
24463 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24464 * conform/data/arpa/inet.h-data: Likewise.
24465 * conform/data/assert.h-data: Likewise.
24466 * conform/data/complex.h-data: Likewise.
24467 * conform/data/cpio.h-data: Likewise.
24468 * conform/data/ctype.h-data: Likewise.
24469 * conform/data/dirent.h-data: Likewise.
24470 * conform/data/dlfcn.h-data: Likewise.
24471 * conform/data/errno.h-data: Likewise.
24472 * conform/data/fcntl.h-data: Likewise.
24473 * conform/data/float.h-data: Likewise.
24474 * conform/data/fmtmsg.h-data: Likewise.
24475 * conform/data/fnmatch.h-data: Likewise.
24476 * conform/data/ftw.h-data: Likewise.
24477 * conform/data/glob.h-data: Likewise.
24478 * conform/data/grp.h-data: Likewise.
24479 * conform/data/iconv.h-data: Likewise.
24480 * conform/data/inttypes.h-data: Likewise.
24481 * conform/data/langinfo.h-data: Likewise.
24482 * conform/data/libgen.h-data: Likewise.
24483 * conform/data/limits.h-data: Likewise.
24484 * conform/data/locale.h-data: Likewise.
24485 * conform/data/math.h-data: Likewise.
24486 * conform/data/monetary.h-data: Likewise.
24487 * conform/data/mqueue.h-data: Likewise.
24488 * conform/data/ndbm.h-data: Likewise.
24489 * conform/data/net/if.h-data: Likewise.
24490 * conform/data/netdb.h-data: Likewise.
24491 * conform/data/netinet/in.h-data: Likewise.
24492 * conform/data/nl_types.h-data: Likewise.
24493 * conform/data/poll.h-data: Likewise.
24494 * conform/data/pthread.h-data: Likewise.
24495 * conform/data/pwd.h-data: Likewise.
24496 * conform/data/regex.h-data: Likewise.
24497 * conform/data/sched.h-data: Likewise.
24498 * conform/data/search.h-data: Likewise.
24499 * conform/data/semaphore.h-data: Likewise.
24500 * conform/data/setjmp.h-data: Likewise.
24501 * conform/data/signal.h-data: Likewise.
24502 * conform/data/spawn.h-data: Likewise.
24503 * conform/data/stdarg.h-data: Likewise.
24504 * conform/data/stdio.h-data: Likewise.
24505 * conform/data/stdlib.h-data: Likewise.
24506 * conform/data/string.h-data: Likewise.
24507 * conform/data/strings.h-data: Likewise.
24508 * conform/data/stropts.h-data: Likewise.
24509 * conform/data/sys/ipc.h-data: Likewise.
24510 * conform/data/sys/mman.h-data: Likewise.
24511 * conform/data/sys/msg.h-data: Likewise.
24512 * conform/data/sys/resource.h-data: Likewise.
24513 * conform/data/sys/select.h-data: Likewise.
24514 * conform/data/sys/sem.h-data: Likewise.
24515 * conform/data/sys/shm.h-data: Likewise.
24516 * conform/data/sys/socket.h-data: Likewise.
24517 * conform/data/sys/stat.h-data: Likewise.
24518 * conform/data/sys/statvfs.h-data: Likewise.
24519 * conform/data/sys/time.h-data: Likewise.
24520 * conform/data/sys/timeb.h-data: Likewise.
24521 * conform/data/sys/times.h-data: Likewise.
24522 * conform/data/sys/types.h-data: Likewise.
24523 * conform/data/sys/uio.h-data: Likewise.
24524 * conform/data/sys/un.h-data: Likewise.
24525 * conform/data/sys/utsname.h-data: Likewise.
24526 * conform/data/sys/wait.h-data: Likewise.
24527 * conform/data/syslog.h-data: Likewise.
24528 * conform/data/tar.h-data: Likewise.
24529 * conform/data/termios.h-data: Likewise.
24530 * conform/data/utime.h-data: Likewise.
24531 * conform/data/utmpx.h-data: Likewise.
24532 * conform/data/varargs.h-data: Likewise.
24533 * conform/data/wchar.h-data: Likewise.
24534 * conform/data/wctype.h-data: Likewise.
24535 * conform/data/wordexp.h-data: Likewise.
24536
24537 * include/stropts.h: New file.
24538 * include/uchar.h: New file.
24539 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24540 * include/assert.h: Likewise.
24541 * include/ctype.h: Likewise.
24542 * include/dirent.h: Likewise.
24543 * include/dlfcn.h: Likewise.
24544 * include/fcntl.h: Likewise.
24545 * include/fnmatch.h: Likewise.
24546 * include/glob.h: Likewise.
24547 * include/grp.h: Likewise.
24548 * include/libio.h: Likewise.
24549 * include/locale.h: Likewise.
24550 * include/math.h: Likewise.
24551 * include/net/if.h: Likewise.
24552 * include/netdb.h: Likewise.
24553 * include/netinet/in.h: Likewise.
24554 * include/pthread.h: Likewise.
24555 * include/pwd.h: Likewise.
24556 * include/regex.h: Likewise.
24557 * include/sched.h: Likewise.
24558 * include/search.h: Likewise.
24559 * include/setjmp.h: Likewise.
24560 * include/signal.h: Likewise.
24561 * include/stdio.h: Likewise.
24562 * include/stdlib.h: Likewise.
24563 * include/string.h: Likewise.
24564 * include/sys/cdefs.h: Likewise.
24565 * include/sys/mman.h: Likewise.
24566 * include/sys/msg.h: Likewise.
24567 * include/sys/resource.h: Likewise.
24568 * include/sys/select.h: Likewise.
24569 * include/sys/socket.h: Likewise.
24570 * include/sys/stat.h: Likewise.
24571 * include/sys/statvfs.h: Likewise.
24572 * include/sys/time.h: Likewise.
24573 * include/sys/times.h: Likewise.
24574 * include/sys/uio.h: Likewise.
24575 * include/sys/utsname.h: Likewise.
24576 * include/sys/wait.h: Likewise.
24577 * include/termios.h: Likewise.
24578 * include/time.h: Likewise.
24579 * include/ulimit.h: Likewise.
24580 * include/unistd.h: Likewise.
24581 * include/utime.h: Likewise.
24582 * include/wchar.h: Likewise.
24583 * include/wctype.h: Likewise.
24584 * include/wordexp.h: Likewise.
24585
24586 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24587
7a270350
UD
24588 * time/time.h: TIME_UTC must be a macro.
24589 Make timespec_get available for ISO C11 only as well.
24590
7724defc
UD
245912012-02-24 Ulrich Drepper <drepper@gmail.com>
24592
24593 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24594 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24595
6b1d1d46
JM
245962012-02-24 Joseph Myers <joseph@codesourcery.com>
24597
24598 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24599
0f8bbd69
JM
246002012-02-24 Joseph Myers <joseph@codesourcery.com>
24601
24602 * manual/texinfo.tex: Update to version 2012-01-19.16.
24603
66ab80bc
JM
246042012-02-24 Joseph Myers <joseph@codesourcery.com>
24605
24606 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24607
74981cc5
RM
246082012-02-24 Roland McGrath <roland@hack.frob.com>
24609
ee968201
RM
24610 [BZ #13738]
24611 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24612 * manual/fdl-1.3.texi: New file.
24613 * manual/fdl-1.1.texi: File removed.
24614
74981cc5
RM
24615 [BZ #13738]
24616 * manual/libc.texinfo (FDL_VERSION): New @set.
24617 Use it for mention of FDL in cover text.
24618 (Documentation License): Use it in @include file name.
24619
7bb764bc
JM
246202012-02-22 Joseph Myers <joseph@codesourcery.com>
24621 Roland McGrath <roland@hack.frob.com>
24622
24623 [BZ #5461]
24624 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24625 not LONG_LONG_MAX and LONG_LONG_MIN.
24626 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24627 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24628 name.
24629 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24630
6cbeae47
JM
246312012-02-22 Joseph Myers <joseph@codesourcery.com>
24632
24633 [BZ #2547]
24634 [BZ #11365]
24635 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24636 manipulate bits before adding and subtracting TWO23[sx].
24637 * math/libm-test.inc (nearbyint_test): Add more tests.
24638
fe45ce09
JM
246392012-02-22 Joseph Myers <joseph@codesourcery.com>
24640
24641 [BZ #2548]
24642 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24643 bits before adding and subtracting TWO23[sx].
24644 * math/libm-test.inc (rint_test): Add more tests.
24645 (rint_test_tonearest): Likewise.
24646 (rint_test_towardzero): Likewise.
24647 (rint_test_downward): Likewise.
24648 (rint_test_upward: Likewise.
24649
ff3b3d82
JM
246502012-02-22 Joseph Myers <joseph@codesourcery.com>
24651
24652 [BZ #10110]
24653 * include/stdc-predef.h: New file. Extracted from features.h.
24654 * include/features.h: Include stdc-predef.h.
24655 * Makefile (headers): Add stdc-predef.h.
24656 * CONFORMANCE (Compiler limitations): Update.
24657
ef0aab35
JM
246582012-02-22 Joseph Myers <joseph@codesourcery.com>
24659
24660 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24661
58639409
DM
246622012-02-21 David S. Miller <davem@davemloft.net>
24663
24664 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24665 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24666
c0e70b25
DM
246672012-02-20 David S. Miller <davem@davemloft.net>
24668
24669 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24670 using a normal save/restore sequence, rather than allocating a
24671 dummy stack frame just to store a frame pointer and restore.
24672 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24673
fb06851d
JM
246742012-02-21 Joseph Myers <joseph@codesourcery.com>
24675
24676 * manual/install.texi: Fix stray word in line-wrapped comment.
24677
7a8b71c3
DM
246782012-02-20 David S. Miller <davem@davemloft.net>
24679
d510c123
DM
24680 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24681 both binutils and gcc support GOTDATA.
24682
0722d7c2
DM
24683 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24684 "rd %pc" in the PIC register setup sequences.
24685
3d2b3019
DM
24686 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24687 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24688 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24689 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24690 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24692 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24695 (SYSCALL_ERROR_HANDLER): Likewise.
24696 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24697 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24699 (SYSCALL_ERROR_HANDLER): Likewise.
24700
c80098a9
DM
24701 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24702 (HAVE_GCC_GOTDATA): New.
24703 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24704 relocation support in both binutils and gcc.
24705 * sysdeps/sparc/elf/configure: Regenerate.
24706
3a2545a0
DM
24707 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24708 * sysdeps/sparc/sparc32/elf/configure: Delete.
24709 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24710 * sysdeps/sparc/sparc64/elf/configure: Delete.
24711 * sysdeps/sparc/elf/configure.in: New file.
24712 * sysdeps/sparc/elf/configure: Generate.
24713
7a8b71c3
DM
24714 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24715 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24716 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24717 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24718 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24719
f1e86fca
JM
247202012-02-21 Joseph Myers <joseph@codesourcery.com>
24721
24722 * manual/install.texi: Do not mention specific glibc version
24723 numbers.
24724 * manual/libc.texinfo (VERSION, UPDATED): Update.
24725 (@copying): Use @copyright{} and range of years.
24726
0e7dfaef
JM
247272012-02-21 Joseph Myers <joseph@codesourcery.com>
24728
24729 [BZ #13695]
24730 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24731 [crti.S not in sysdirs] (generated): Do not append.
24732 [crti.S not in sysdirs] (omit-deps): Likewise.
24733 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24734 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24735 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24736 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24737 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24738 Likewise.
24739 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24740 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24741 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24742 * csu/defs.awk: Remove file.
24743 * sysdeps/generic/initfini.c: Likewise.
24744 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24745 variable.
24746 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24747 Likewise.
24748
599af3ca
JM
247492012-02-20 Joseph Myers <joseph@codesourcery.com>
24750
24751 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24752 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24753 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24756 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24757 <bits/epoll.h>.
24758 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24759 (__EPOLL_PACKED): Define to empty if not defined by
24760 <bits/epoll.h>.
24761 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24763 bits/epoll.h.
24764
0e499750
JM
247652012-02-20 Joseph Myers <joseph@codesourcery.com>
24766
24767 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24768 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24769 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24770 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24771 <bits/timerfd.h>.
24772 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24774 bits/timerfd.h.
24775
5ad91f6e
JM
247762012-02-20 Joseph Myers <joseph@codesourcery.com>
24777
24778 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24779 in C locale.
24780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24781 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24782 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24784
06b99b02
AJ
247852012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24786
24787 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24788 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24789
7638c0fd
AS
247902012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24791
24792 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24793 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24794 defined.
24795 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24796 Likewise.
24797 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24798 entry for 2.16.
24799
92221550
AJ
248002012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24801
24802 * math/w_acos.c: Use non-signaling floating-point comparisons.
24803 * math/w_acosf.c: Likewise.
24804 * math/w_acosh.c: Likewise.
24805 * math/w_acoshf.c: Likewise.
24806 * math/w_acoshl.c: Likewise.
24807 * math/w_acosl.c: Likewise.
24808 * math/w_asin.c: Likewise.
24809 * math/w_asinf.c: Likewise.
24810 * math/w_asinl.c: Likewise.
24811 * math/w_atanh.c: Likewise.
24812 * math/w_atanhf.c: Likewise.
24813 * math/w_atanhl.c: Likewise.
24814 * math/w_exp2.c: Likewise.
24815 * math/w_exp2f.c: Likewise.
24816 * math/w_exp2l.c: Likewise.
24817 * math/w_j0.c: Likewise.
24818 * math/w_j0f.c: Likewise.
24819 * math/w_j0l.c: Likewise.
24820 * math/w_j1.c: Likewise.
24821 * math/w_j1f.c: Likewise.
24822 * math/w_j1l.c: Likewise.
24823 * math/w_jn.c: Likewise.
24824 * math/w_jnf.c: Likewise.
24825 * math/w_log.c: Likewise.
24826 * math/w_log10.c: Likewise.
24827 * math/w_log10f.c: Likewise.
24828 * math/w_log10l.c: Likewise.
24829 * math/w_log2.c: Likewise.
24830 * math/w_log2f.c: Likewise.
24831 * math/w_log2l.c: Likewise.
24832 * math/w_logf.c: Likewise.
24833 * math/w_logl.c: Likewise.
24834 * math/w_sqrt.c: Likewise.
24835 * math/w_sqrtf.c: Likewise.
24836 * math/w_sqrtl.c: Likewise.
24837 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24838 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24839 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24840 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24841 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24842
ebaf36eb
JM
248432012-02-19 Joseph Myers <joseph@codesourcery.com>
24844
24845 [BZ #9739]
24846 * manual/string.texi (strnlen): Use correct parameter name in
24847 equivalent expression.
24848
71c254a6
JM
248492012-02-19 Joseph Myers <joseph@codesourcery.com>
24850
24851 [BZ #11174]
24852 * manual/users.texi (seteuid): Consistently use neweuid for
24853 argument name.
24854
16d2c631
JM
248552012-02-19 Joseph Myers <joseph@codesourcery.com>
24856
24857 [BZ #13704]
24858 * manual/nss.texi (Services in the NSS configuration): Correct
24859 list of services in example configuration file.
24860
cd837b09
NB
248612012-02-19 Nick Bowler <nbowler@draconx.ca>
24862
24863 [BZ #11322]
24864 * manual/arith.texi: Remove statements about negative zero
24865 behaving identically to zero.
24866
02c4bbad
JM
248672012-02-18 Joseph Myers <joseph@codesourcery.com>
24868
24869 [BZ #5993]
24870 * manual/install.texi: Do not document upgrading from libc5.
24871
366842e7
JM
248722012-02-18 Joseph Myers <joseph@codesourcery.com>
24873
24874 [BZ #4596]
24875 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24876
dd54084d
DM
248772012-02-18 David S. Miller <davem@davemloft.net>
24878
24879 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24880 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24881 %o7 across the call.
24882 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24883 instead.
24884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24885 SETUP_PIC_REG_LEAF.
24886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24887 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24888 * sysdeps/sparc/crtn.S: Likewise.
24889
2bcc53a3
UD
248902012-02-17 Ulrich Drepper <drepper@gmail.com>
24891
24892 * aout/Makefile: Remove.
24893
09c093b5
RK
248942012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24895
24896 [BZ #13058]
24897 * manual/examples/argp-ex1.c (main): Format definition in GNU
24898 style.
24899 * manual/examples/argp-ex2.c (main): Likewise.
24900 * manual/examples/argp-ex3.c (main): Likewise.
24901 * manual/examples/argp-ex4.c (main): Likewise.
24902 * manual/examples/longopt.c (main): Use new-style prototype
24903 definition.
24904 * manual/examples/strncat.c (main): Specify return type and use
24905 (void) for arguments.
24906 * manual/examples/subopt.c (main): Use char **argv argument.
24907
2ee633a2
JM
249082012-02-17 Joseph Myers <joseph@codesourcery.com>
24909
24910 [BZ #5077]
24911 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24912 rounding modes.
24913
0520adde
FB
249142012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24915
24916 [BZ #6907]
24917 * manual/string.texi (strchr): Change when strchrnul is
24918 recommended.
24919
3f4081cd
DGM
249202012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24921
24922 [BZ #174]
24923 * manual/locale.texi (setlocale): Document LOCPATH.
24924
d1b10e78
JM
249252012-02-17 Joseph Myers <joseph@codesourcery.com>
24926
24927 [BZ #10210]
24928 * manual/process.texi (execle): Move @dots{} before last argument.
24929
79c6869c
PB
249302012-02-17 Paul Bolle <pebolle@tiscali.nl>
24931
24932 [BZ #12047]
24933 * manual/charset.texi (Generic Charset Conversion): Fix typo
24934 (LC_TYPE -> LC_CTYPE).
24935
cc6e48bc
NB
249362012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24937
24938 [BZ #5805]
24939 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24940 (scalbnf): Likewise.
24941 (scalbnl): Likewise.
24942 (scalbln): Likewise.
24943 (scalblnf): Likewise.
24944 (scalblnl): Likewise.
24945 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24946 (vwarnx): Likewise.
24947 (verr): Likewise.
24948 (verrx): Likewise.
24949 * manual/filesys.texi (telldir): Use braces around return type.
24950 * manual/llio.texi (mmap): Add space after comma.
24951 (mmap64): Likewise.
24952 * manual/math.texi (jn): Use @var{} on parameter names.
24953 (jnf): Likewise.
24954 (jnl): Likewise.
24955 (yn): Likewise.
24956 (ynf): Likewise.
24957 (ynl): Likewise.
24958 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24959 line.
24960 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24961 "...".
24962 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24963 (sched_get_priority_max): Likewise.
24964 * manual/signal.texi (sigvec): Add space after comma.
24965 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24966 names.
24967 (if_indextoname): Likewise.
24968 (if_freenameindex): Likewise.
24969 (sendto): Use ',' instead of '.' in prototype.
24970 * manual/startup.texi (syscall): Use @dots{} instead of literal
24971 "...".
24972 * manual/stdio.texi (__fpending): Separate initial words of
24973 paragraph from @deftypefun line.
24974 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24975 "...".
24976 (vsyslog): Use @var{} on parameter names.
24977 * manual/terminal.texi (stty): Use @var{} on parameter names.
24978 * manual/users.texi (getutmp): Use @var{} on parameter names.
24979 (getutmpx): Likewise.
24980
5b23062f
JM
249812012-02-17 Joseph Myers <joseph@codesourcery.com>
24982
24983 [BZ #6884]
24984 * manual/stdio.texi (fopen): Fix typos in description of
24985 ",ccs=STRING".
24986
8dee4833
AJ
249872012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24988
24989 [BZ #4026]
24990 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24991 get clock_id definition.
24992
9078ce93
TS
249932012-02-17 Thomas Schwinge <thomas@schwinge.name>
24994
24995 [BZ #4822]
24996 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24997 (madvise): Cast every argument to void on its own.
24998
3835c55f
JM
249992012-02-17 Joseph Myers <joseph@codesourcery.com>
25000
25001 [BZ #9902]
25002 * manual/startup.texi (Exit Status): Fix typo.
25003
35c47e37
JM
250042012-02-17 Joseph Myers <joseph@codesourcery.com>
25005
25006 [BZ #10140]
25007 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25008 * manual/examples/argp-ex2.c: Likewise.
25009 * manual/examples/argp-ex3.c: Likewise.
25010
e3b69ca7
RH
250112012-02-16 Richard Henderson <rth@redhat.com>
25012
25013 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25014 * sysdeps/s390/s390-32/initfini.c: Remove.
25015 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25016 * sysdeps/s390/s390-64/initfini.c: Remove.
25017
df83af67
KK
250182012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25019
25020 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25021 compiler output for sysdeps/generic/initfini.c.
25022 * sysdeps/sh/elf/initfini.c: Remove file.
25023
f63f3380
DM
250242012-02-16 David S. Miller <davem@davemloft.net>
25025
fb59b3a4
DM
25026 [BZ #11494]
25027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25028
f63f3380
DM
25029 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25030 * sysdeps/sparc/crti.S: New file.
25031 * sysdeps/sparc/crtn.S: New file.
25032 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25033 * sysdeps/sparc/sparc64/Makefile: Likewise.
25034
df6a4a4a
MF
250352012-02-15 Mike Frysinger <vapier@gentoo.org>
25036
6dd8f3dc 25037 [BZ #3335]
df6a4a4a
MF
25038 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25039
1cac7236
RM
250402012-02-15 Roland McGrath <roland@hack.frob.com>
25041
d2c736f8
RM
25042 [BZ #4822]
25043 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25044
1cac7236
RM
25045 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25046 (write, read, close): Likewise.
25047 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25048
8e475601
JM
250492012-02-15 Joseph Myers <joseph@codesourcery.com>
25050
25051 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25052 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25053 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25054 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25055 <bits/signalfd.h>.
25056 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25058 bits/signalfd.h.
25059
ed656b40
MP
250602012-02-14 Marek Polacek <polacek@redhat.com>
25061
25062 * sysdeps/x86_64/crti.S: New file.
25063 * sysdeps/x86_64/crtn.S: New file.
25064 * sysdeps/x86_64/elf/initfini.c: Remove file.
25065
2a979d3a
JM
250662012-02-13 Joseph Myers <joseph@codesourcery.com>
25067
25068 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25069 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25070 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25071 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25072 <bits/inotify.h>.
25073 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25075 bits/inotify.h.
25076
2a418ac3
JM
250772012-02-13 Joseph Myers <joseph@codesourcery.com>
25078
25079 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25080 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25081 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25082 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25083 <bits/eventfd.h>.
25084 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25086 bits/eventfd.h.
25087
fb779be7
TS
250882012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25089
e19e83c5
RM
25090 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25091 __feraiseexcept instead of feraiseexcept.
7c35ffed 25092
fb779be7
TS
25093 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25094 nanosleep invocations.
25095 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25096 strings, and add error checking for a nanosleep invocations.
25097
59ba27a6
PE
250982012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25099
25100 Replace FSF snail mail address with URLs, as per GNU coding standards.
25101 Most of the snail mail addresses were wrong anyway, and omitting
25102 them makes the source code easier to maintain. Almost all of the
25103 changes are to license notices and to locale LC_IDENTIFICATION
25104 addresses, except for this one:
25105 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25106 not its snail mail address.
25107
57b957eb
RH
251082012-02-09 Richard Henderson <rth@twiddle.net>
25109
af850b1c
RH
25110 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25111 of kernel-features.h.
25112
57b957eb
RH
25113 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25114
6b73181a
MP
251152012-02-08 Marek Polacek <polacek@redhat.com>
25116
25117 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25118 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25119 * sysdeps/gnu/_G_config.h: Likewise.
25120 * sysdeps/generic/_G_config.h: Likewise.
25121
26ecc33a
AS
251222012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25123
6c6dbc63
AS
25124 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25125 tests.
25126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25127
e216c012
AS
25128 * sysdeps/powerpc/powerpc32/crti.S: New file.
25129 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25130 * sysdeps/powerpc/powerpc64/crti.S: New file.
25131 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25132
26ecc33a
AS
25133 * Makeconfig (have-initfini): Don't set.
25134 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25135 * configure.in (nopic_initfini): Don't substitute.
25136 * config.h.in (HAVE_INITFINI): Don't #undef.
25137 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25138 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25139
3add8e13
JM
251402012-02-08 Joseph Myers <joseph@codesourcery.com>
25141
25142 Support crti.S and crtn.S provided directly by architectures.
25143 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25144 [crti.S in sysdirs] (omit-deps): Likewise.
25145 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25146 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25147 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25148 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25149 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25150 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25151 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25152 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25153 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25154 compiler output for sysdeps/generic/initfini.c.
25155 * sysdeps/i386/elf/Makefile: Remove file.
25156 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25157
a22f12b4
MP
251582012-02-07 Marek Polacek <polacek@redhat.com>
25159
25160 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25161 * sysdeps/gnu/_G_config.h: Likewise.
25162 * sysdeps/mach/hurd/_G_config.h: Likewise.
25163
148cf100
MP
251642012-02-07 Marek Polacek <polacek@redhat.com>
25165
25166 * math/Makefile (tests): Add tst-CMPLX2.
25167 * math/tst-CMPLX2.c: New file.
25168
cfdc0dd7
AS
251692012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25170
84ba42c4
AS
25171 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25172
cfdc0dd7
AS
25173 * math/libm-test.inc (jn_test): Add missing L suffix.
25174
622c86f4
MP
251752012-02-06 Marek Polacek <polacek@redhat.com>
25176
25177 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25178 * sysdeps/i386/fpu/e_powf.S: Likewise.
25179 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25180 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25181 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25182 * sysdeps/i386/fpu/e_pow.S: Likewise.
25183 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25184 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25185 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25186 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25187 * sysdeps/i386/fpu/e_log2.S: Likewise.
25188 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25189 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25190 * sysdeps/i386/fpu/e_powl.S: Likewise.
25191 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25192 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25193 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25194 * sysdeps/i386/fpu/e_logl.S: Likewise.
25195 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25196 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25197 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25198 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25199 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25201 * sysdeps/i386/fpu/e_log.S: Likewise.
25202 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25203 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25204 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25205 * sysdeps/i386/fpu/e_logf.S: Likewise.
25206 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25207 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25208 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25209 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25210 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25211 * sysdeps/i386/fpu/e_log10.S: Likewise.
25212 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25213 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25214 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25215 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25216 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25217 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25218 * sysdeps/i386/asm-syntax.h: Likewise.
25219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25220 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25221 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25222 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25223 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25224 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25225 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25226 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25227 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25228 * sysdeps/powerpc/sysdep.h: Likewise.
25229 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25230 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25231
d4a54ac6
JM
252322012-02-06 Joseph Myers <joseph@codesourcery.com>
25233
25234 [BZ #411]
25235 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25236
314054ea
JM
252372012-02-06 Joseph Myers <joseph@codesourcery.com>
25238
25239 * sysdeps/i386/sysdep.h: Include <features.h>.
25240 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25241 version.
25242
d8e0ca50
JM
252432012-02-05 Joseph Myers <joseph@codesourcery.com>
25244
25245 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25246 Define.
25247 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25248 LOAD_PIC_REG_STR.
25249
b1da7dd9
JM
252502012-02-03 Joseph Myers <joseph@codesourcery.com>
25251
25252 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25253 (SETUP_PIC_REG): Use GET_PC_THUNK.
25254 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25255 macro.
25256
9a1d9254
JM
252572012-02-03 Joseph Myers <joseph@codesourcery.com>
25258
25259 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25260 for non-PIC compilation.
25261 (SETUP_PIC_REG): Add .p2align directive.
25262 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25263 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25264 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25265 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25266 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25267 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25268 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25269 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25270 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25271 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25272 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25273 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25274 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25275 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25276 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25277 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25278 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25279 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25280 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25281 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25282 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25284 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25285 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25286 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25288 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25290 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25291 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25292 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25293 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25299 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25300 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25301 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25302 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25303
65dc3b75
JM
253042012-02-03 Joseph Myers <joseph@codesourcery.com>
25305
25306 * math/tst-CMPLX.c: Include <stdio.h>.
25307
d55bf177
JM
253082012-01-31 Joseph Myers <joseph@codesourcery.com>
25309
25310 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25311 float.
25312 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25313 * sysdeps/sparc/bits/mathdef.h: Likewise.
25314
69db4f8f
MP
253152012-01-31 Marek Polacek <polacek@redhat.com>
25316
25317 * libio/libio.h: Don't define _PARAMS.
25318 * locale/programs/config.h: Don't define PARAMS.
25319 * stdlib/strtol_l.c: Likewise.
25320 (__strtol_l): Remove PARAMS from the prototype.
25321
41b81892
UD
253222012-01-31 Ulrich Drepper <drepper@gmail.com>
25323
3b49edc0
UD
25324 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25325 names. Just use the correct names. Remove unnecessary wrapper
25326 functions.
25327 * malloc/arena.c: Likewise.
25328 * malloc/hooks.c: Likewise.
25329
41b81892
UD
25330 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25331 ARENA_TEST says not to. Simplify test for creation of a new arena.
25332 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25333
27a25b6e
UD
253342012-01-30 Ulrich Drepper <drepper@gmail.com>
25335
25336 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25337 into tail calls.
25338 (update_get_addr): New function.
25339 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25340 GET_ADDR_MODULE parameter.
25341
c8a89e7d
JM
253422012-01-30 Joseph Myers <joseph@codesourcery.com>
25343
25344 * crypt/cert.c: Remove __STDC__ conditionals.
25345 * crypt/crypt-entry.c: Likewise.
25346 * crypt/crypt_util.c: Likewise.
25347 * libio/filedoalloc.c: Likewise.
25348 * libio/fileops.c: Likewise.
25349 * libio/genops.c: Likewise.
25350 * libio/iofclose.c: Likewise.
25351 * libio/iofdopen.c: Likewise.
25352 * libio/iofopen.c: Likewise.
25353 * libio/iofopen64.c: Likewise.
25354 * libio/iogetdelim.c: Likewise.
25355 * libio/iopopen.c: Likewise.
25356 * libio/obprintf.c: Likewise.
25357 * libio/oldfileops.c: Likewise.
25358 * libio/oldiofclose.c: Likewise.
25359 * libio/oldiofdopen.c: Likewise.
25360 * libio/oldiofopen.c: Likewise.
25361 * libio/oldiopopen.c: Likewise.
25362 * libio/wfiledoalloc.c: Likewise.
25363 * libio/wgenops.c: Likewise.
25364 * locale/programs/xmalloc.c: Likewise.
25365 * misc/syslog.c: Likewise.
25366 * stdio-common/xbug.c: Likewise.
25367 * string/memchr.c: Likewise.
25368 * string/memcmp.c: Likewise.
25369 * string/memrchr.c: Likewise.
25370 * string/rawmemchr.c: Likewise.
25371 * sysdeps/posix/getcwd.c: Likewise.
25372 * time/strftime_l.c: Likewise.
25373
3b100462
JM
253742012-01-30 Joseph Myers <joseph@codesourcery.com>
25375
25376 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25377 * config.make.in (config-cflags-sse2avx): Define.
25378 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25379 Fix typo.
25380
607998af
CM
253812012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25382
25383 * scripts/config.guess: Update from upstream config git repository.
25384 * scripts/config.sub: Likewise.
25385
3601428f
CM
253862012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25387
3ac8b282
CM
25388 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25389 (EM_NUM): Update.
25390 (R_TILEPRO_*, R_TILEGX_*): New macros.
25391
e034841e
CM
25392 * scripts/firstversions.awk: Fix bug in version range handling.
25393
540d7568
CM
25394 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25395
3601428f
CM
25396 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25397
463de862
CM
25398 * include/sys/epoll.h: New file.
25399 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25400 libc_hidden_def.
25401
73139a76
UD
254022012-01-28 Ulrich Drepper <drepper@gmail.com>
25403
96bc5b45
UD
25404 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25405 Avoid unnecessary __WORDSIZE == 64 test.
25406 (fmaxf): Use VEX format if possible.
25407 (fmax): Likewise.
25408 (fminf): Likewise.
25409 (fmin): Likewise.
25410
56f6f6a2
UD
25411 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25412 * math/math_private.h: Remove libc_fegetround* and
25413 libc_fesetround*.
25414 * sysdeps/i386/configure.in: Check for -msse2avx.
25415 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25416 also if SSE2AVX is defined.
25417 Remove libc_fegetround* and libc_fesetround*.
25418 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25419 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25421 of HAS_YMM_USABLE.
25422 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25423 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25425 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25426 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25427
73139a76
UD
25428 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25429
d73f93a4
AZ
254302012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25431
25432 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25433 size is not set.
25434 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25435
6ee65ed6
UD
254362012-01-27 Ulrich Drepper <drepper@gmail.com>
25437
25438 [BZ #13618]
25439 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25440 relocation.
25441 * Makeconfig (libm): Define.
25442 * elf/Makefile: Add rules to build and run tst-relsort1.
25443 * elf/tst-relsort1.c: New file.
25444 * elf/tst-relsort1mod1.c: New file.
25445 * elf/tst-relsort1mod2.c: New file.
25446
8db21882
JM
254472012-01-27 Joseph Myers <joseph@codesourcery.com>
25448
25449 * math/s_ldexp.c: Remove __STDC__ conditionals.
25450 * math/s_ldexpf.c: Likewise.
25451 * math/s_ldexpl.c: Likewise.
25452 * math/s_nextafter.c: Likewise.
25453 * math/s_nexttowardf.c: Likewise.
25454 * math/s_significand.c: Likewise.
25455 * math/s_significandf.c: Likewise.
25456 * math/s_significandl.c: Likewise.
25457 * math/w_jnl.c: Likewise.
25458 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25459 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25460 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25461 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25462 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25464 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25465 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25473 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25477 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25478 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25479 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25480 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25482 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25483 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25484 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25485 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25486 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25487 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25488 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25489 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25490 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25491 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25492 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25493 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25494 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25495 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25496 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25497 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25498 * sysdeps/ieee754/k_standard.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25560 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25565 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25574 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25578 * sysdeps/ieee754/s_matherr.c: Likewise.
25579 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25580 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25583
965a54a4
JM
255842012-01-26 Joseph Myers <joseph@codesourcery.com>
25585
25586 * crypt/md5.h: Remove __STDC__ conditionals.
25587 * libio/libioP.h: Likewise.
25588 * locale/programs/config.h: Likewise.
25589 * sysdeps/generic/sysdep.h: Likewise.
25590 * sysdeps/i386/asm-syntax.h: Likewise.
25591 * sysdeps/s390/asm-syntax.h: Likewise.
25592 * sysdeps/unix/sysdep.h: Likewise.
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25595
7071ad79
JM
255962012-01-26 Joseph Myers <joseph@codesourcery.com>
25597
25598 * libio/libio.h: Remove __STDC__ conditionals.
25599 * malloc/obstack.h: Likewise.
25600 * math/complex.h: Likewise.
25601 * math/math.h: Likewise.
25602 * sysdeps/generic/_G_config.h: Likewise.
25603 * sysdeps/gnu/_G_config.h: Likewise.
25604 * sysdeps/mach/hurd/_G_config.h: Likewise.
25605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25606 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25607 * sysdeps/sparc/bits/mathdef.h: Likewise.
25608
afc5ed09
UD
256092012-01-26 Ulrich Drepper <drepper@gmail.com>
25610
25611 [BZ #13583]
25612 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25613 Clean up HAS_* macros.
afc5ed09 25614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25615 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25616 possible.
25617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25618 HAS_AVX.
25619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25624
bdb6de1d
JM
256252012-01-25 Joseph Myers <joseph@codesourcery.com>
25626
25627 * elf/tst-unique3.cc (gets): Remove declaration.
25628 * elf/tst-unique3lib.cc (gets): Likewise.
25629 * elf/tst-unique3lib2.cc (gets): Likewise.
25630 * elf/tst-unique4.cc (gets): Likewise.
25631
b15549e6
UD
256322012-01-24 Ulrich Drepper <drepper@gmail.com>
25633
25634 * include/stdio.h: Add C++ protection. Add gets declarations and
25635 definitions.
25636 * debug/tst-chk1.c: Don't declare gets here.
25637 * stdio-common/tst-gets.c: Likewise.
25638
a037381f
JM
256392012-01-24 Joseph Myers <joseph@codesourcery.com>
25640
25641 * posix/glob: Remove directory.
25642
f1d4aa75
JM
256432012-01-24 Joseph Myers <joseph@codesourcery.com>
25644
25645 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25646
81c0c964
PT
256472012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25648
25649 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25650 of the non-standard EPFNOSUPPORT.
25651
0ea698ae
ST
256522011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25653
25654 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25655 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25656 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25657
d220b117
UD
256582012-01-21 Ulrich Drepper <drepper@gmail.com>
25659
25660 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25661
3e1aa84e
UD
256622012-01-20 Ulrich Drepper <drepper@gmail.com>
25663
25664 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25665 transient errors.
25666 * nscd/grpcache.c (cache_addgr): Likewise.
25667 * nscd/hstcache.c (cache_addhst): Likewise.
25668 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25669 * nscd/pwdcache.c (cache_addpw): Likewise.
25670 * nscd/servicescache.c (cache_addserv): Likewise.
25671
400aa020
UD
256722012-01-16 Ulrich Drepper <drepper@gmail.com>
25673
d77e7869
UD
25674 * malloc/malloc.c: Various cleanups.
25675 * malloc/hooks.c: Likewise.
25676
400aa020
UD
25677 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25678 * stdlib/bug-fmtmsg1.c: New file.
25679
25680 * stdlib/fmtmsg.c (init): Add missing unlock.
25681 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25682
e0a309cf
MP
256832012-01-12 Marek Polacek <polacek@redhat.com>
25684
25685 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25686 and _GNU_SOURCE.
25687
929d11c7
WS
256882012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25689
25690 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25691 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25692 macro to ensure uniqueness of label name.
25693 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25694 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25695
41d0e869
UD
256962012-01-11 Ulrich Drepper <drepper@gmail.com>
25697
0cc5ed3b
UD
25698 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25699
41d0e869
UD
25700 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25701 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25702 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25704
a47a831a
UD
257052012-01-10 Ulrich Drepper <drepper@gmail.com>
25706
daa891c0
UD
25707 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25708
25709 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25710 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25711 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25712
e58ef0f2
UD
25713 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25714
a47a831a 25715 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25716 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25719
25720 * math/bits/math-finite.h: Add ldexp support.
25721
a0bfc9c7
MP
257222012-01-10 Marek Polacek <polacek@redhat.com>
25723
25724 * locale/programs/localedef.h (show_archive_content): Add noreturn
25725 attribute.
25726
d6e97a1d
UD
257272012-01-09 Ulrich Drepper <drepper@gmail.com>
25728
25729 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25730
d5835c26
UD
257312012-01-08 Ulrich Drepper <drepper@gmail.com>
25732
e5f484c6
UD
25733 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25734
d5835c26
UD
25735 * io/Makefile (headers): Add bits/poll2.h.
25736
d1f741e9
WS
257372011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25738
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25740 typo #include statement.
25741
ec09c1c4
UD
257422012-01-08 Ulrich Drepper <drepper@gmail.com>
25743
25744 * include/sys/cdefs.h: Define __attribute_alloc_size.
25745 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25746 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25747 * elf/pldd.c: Likewise.
25748 * iconv/iconv_charmap.c: Likewise.
25749 * iconv/iconvconfig.c: Likewise.
25750 * iconv/strtab.c: Likewise.
25751 * locale/programs/locale.c: Likewise.
25752 * locale/programs/localedef.h: Likewise.
25753 * locale/programs/simple-hash.c: Likewise.
25754 * nscd/nscd.h: Likewise.
25755 * nss/makedb.c: Likewise.
25756 * sysdeps/generic/ldconfig.h: Likewise.
25757 * locale/programs/localedef.c: Remove xmalloc prototype.
25758 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25759
20b38e03
PP
257602012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25761
25762 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25763 appropriate.
25764
a0da5fe1
UD
257652012-01-08 Ulrich Drepper <drepper@gmail.com>
25766
1d5a644a 25767 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25768 * math/tst-CMPLX.c: New file.
1d5a644a 25769
8784a6db
UD
25770 * math/complex.h (CMPLXL): Fix typo.
25771
d9a216c0
UD
25772 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25773 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25774 GLIBC_2.16.
25775 * debug/tst-chk1.c: Add poll and ppoll tests.
25776 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25777 * include/sys/poll.h: Add hidden proto for ppoll.
25778 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25779 * sysdeps/mach/hurd/ppoll.c: Likewise.
25780 * io/ppoll.c: Likewise.
25781 * debug/poll_chk.c: New file.
25782 * debug/ppoll_chk.c: New file.
25783 * include/bits/poll2.h: New file.
25784 * io/bits/poll2.h: New file.
25785
ac097f5c
UD
25786 [BZ #1350]
25787 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25788
2119dcfa
UD
25789 * configure.in: static is always set to yes. Remove.
25790 * config.make.in: Don't set build-static.
25791 * Makeconfig: Remove use of build-static.
25792 * dlfcn/Makefile: Likewise.
25793 * elf/Makefile: Likewise.
25794 * math/Makefile: Likewise.
25795 * misc/Makefile: Likewise.
25796 * nptl/Makefile: Likewise.
25797 * sysdeps/mach/hurd/Makefile: Likewise.
25798
121766a9
UD
25799 * configure.in: PWD_P is not used anymore.
25800 * config.make.in: Remove PWD_P entry.
25801
51a1d39c 25802 * configure.in: Remove last remnants of RANLIB.
8720d066 25803 No need to check for signed size_t anymore.
215f4bdc
UD
25804 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25805 and IA-64.
3857022a 25806 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25807 * aclocal.m4: Likewise.
25808
d3ed7225
UD
25809 * wcsmbs/mbrtoc16.c: Implement using towc function.
25810 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25811 * wcsmbs/wcsmbsload.c: Likewise.
25812 * iconv/gconv_simple.c: Likewise.
25813 * iconv/gconv_int.h: Likewise.
25814 * iconv/gconv_builtin.h: Likewise.
25815 * iconv/iconv_prog.c: Remove CHAR16 handling.
25816
25817 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25818
25819 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25820
a0da5fe1
UD
25821 * configure.in: Remove --with-elf and --enable-bounded options.
25822 Dont set base_machine for ia64. More non-ELF conditions removed.
25823 Remove testing and setting of leading underscore information.
25824 * config.make.in (build-bounded): Set to no.
25825 * config.h.in: Remove NO_UNDERSCORES entry.
25826 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25827 them.
25828 * csu/start.c: Remove !NO_UNDERSCORE code.
25829 * locale/localeinfo.h: Likewise.
25830 * sysdeps/generic/machine-gmon.h: Likewise.
25831 * sysdeps/generic/sysdep.h: Likewise.
25832 * sysdeps/i386/sysdep.h: Likewise.
25833 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25834 * sysdeps/mach/sysdep.h: Likewise.
25835 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25837 * sysdeps/sh/sysdep.h: Likewise.
25838 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25839 * sysdeps/unix/i386/sysdep.S: Likewise.
25840 * sysdeps/unix/sparc/start.c: Likewise.
25841 * sysdeps/unix/sparc/sysdep.S: Likewise.
25842 * sysdeps/unix/sparc/sysdep.h: Likewise.
25843 * sysdeps/unix/start.c: Likewise.
25844 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25845 * sysdeps/x86_64/sysdep.h: Likewise.
25846
df78418a
UD
258472012-01-07 Ulrich Drepper <drepper@gmail.com>
25848
a784e502
UD
25849 [BZ #13553]
25850 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25851 for non-gcc.
25852 * argp/argp-fmtstream.h: Use const instead __const.
25853 * argp/argp.h: Likewise.
25854 * assert/assert.h: Likewise.
25855 * bits/fenv.h: Likewise.
25856 * bits/sched.h: Likewise.
25857 * bits/sigset.h: Likewise.
25858 * bits/sigthread.h: Likewise.
25859 * catgets/nl_types.h: Likewise.
25860 * conform/data/pthread.h-data: Likewise.
25861 * crypt/crypt-private.h: Likewise.
25862 * crypt/crypt.h: Likewise.
25863 * crypt/crypt_util.c: Likewise.
25864 * ctype/ctype.h: Likewise.
25865 * debug/execinfo.h: Likewise.
25866 * debug/mbsnrtowcs_chk.c: Likewise.
25867 * debug/mbsrtowcs_chk.c: Likewise.
25868 * debug/wcsnrtombs_chk.c: Likewise.
25869 * debug/wcsrtombs_chk.c: Likewise.
25870 * debug/wcstombs_chk.c: Likewise.
25871 * dirent/dirent.h: Likewise.
25872 * dlfcn/dlfcn.h: Likewise.
25873 * elf/neededtest4.c: Likewise.
25874 * grp/grp.h: Likewise.
25875 * gshadow/gshadow.h: Likewise.
25876 * iconv/gconv.h: Likewise.
25877 * iconv/gconv_int.h: Likewise.
25878 * iconv/gconv_simple.c: Likewise.
25879 * iconv/iconv.h: Likewise.
25880 * iconv/loop.c: Likewise.
25881 * iconv/skeleton.c: Likewise.
25882 * include/aio.h: Likewise.
25883 * include/aliases.h: Likewise.
25884 * include/argz.h: Likewise.
25885 * include/arpa/inet.h: Likewise.
25886 * include/assert.h: Likewise.
25887 * include/dirent.h: Likewise.
25888 * include/dlfcn.h: Likewise.
25889 * include/execinfo.h: Likewise.
25890 * include/fcntl.h: Likewise.
25891 * include/fenv.h: Likewise.
25892 * include/glob.h: Likewise.
25893 * include/grp.h: Likewise.
25894 * include/libintl.h: Likewise.
25895 * include/mntent.h: Likewise.
25896 * include/netdb.h: Likewise.
25897 * include/pwd.h: Likewise.
25898 * include/rpc/netdb.h: Likewise.
25899 * include/sched.h: Likewise.
25900 * include/search.h: Likewise.
25901 * include/shadow.h: Likewise.
25902 * include/signal.h: Likewise.
25903 * include/stdio.h: Likewise.
25904 * include/stdlib.h: Likewise.
25905 * include/string.h: Likewise.
25906 * include/sys/socket.h: Likewise.
25907 * include/sys/stat.h: Likewise.
25908 * include/sys/statfs.h: Likewise.
25909 * include/sys/statvfs.h: Likewise.
25910 * include/sys/syslog.h: Likewise.
25911 * include/sys/time.h: Likewise.
25912 * include/sys/uio.h: Likewise.
25913 * include/time.h: Likewise.
25914 * include/unistd.h: Likewise.
25915 * include/utmp.h: Likewise.
25916 * include/wchar.h: Likewise.
25917 * include/wctype.h: Likewise.
25918 * inet/aliases.h: Likewise.
25919 * inet/arpa/inet.h: Likewise.
25920 * inet/netinet/ether.h: Likewise.
25921 * inet/netinet/in.h: Likewise.
25922 * intl/libintl.h: Likewise.
25923 * io/bits/fcntl2.h: Likewise.
25924 * io/fcntl.h: Likewise.
25925 * io/ftw.h: Likewise.
25926 * io/sys/poll.h: Likewise.
25927 * io/sys/stat.h: Likewise.
25928 * io/sys/statfs.h: Likewise.
25929 * io/sys/statvfs.h: Likewise.
25930 * io/utime.h: Likewise.
25931 * libio/bits/stdio.h: Likewise.
25932 * libio/bits/stdio2.h: Likewise.
25933 * libio/libio.h: Likewise.
25934 * libio/libioP.h: Likewise.
25935 * libio/stdio.h: Likewise.
25936 * locale/lc-ctype.c: Likewise.
25937 * locale/locale.h: Likewise.
25938 * login/utmp.h: Likewise.
25939 * malloc/arena.c: Likewise.
25940 * malloc/malloc.c: Likewise.
25941 * malloc/malloc.h: Likewise.
25942 * malloc/mcheck.c: Likewise.
25943 * malloc/mtrace.c: Likewise.
25944 * math/bits/mathcalls.h: Likewise.
25945 * math/fenv.h: Likewise.
25946 * math/math_private.h: Likewise.
25947 * misc/bits/error.h: Likewise.
25948 * misc/bits/syslog.h: Likewise.
25949 * misc/err.h: Likewise.
25950 * misc/error.h: Likewise.
25951 * misc/fstab.h: Likewise.
25952 * misc/mntent.h: Likewise.
25953 * misc/regexp.h: Likewise.
25954 * misc/search.h: Likewise.
25955 * misc/sgtty.h: Likewise.
25956 * misc/sys/mman.h: Likewise.
25957 * misc/sys/syslog.h: Likewise.
25958 * misc/sys/uio.h: Likewise.
25959 * misc/sys/xattr.h: Likewise.
25960 * misc/ttyent.h: Likewise.
25961 * nis/rpcsvc/ypclnt.h: Likewise.
25962 * nss/nss.h: Likewise.
25963 * posix/bits/unistd.h: Likewise.
25964 * posix/fnmatch.h: Likewise.
25965 * posix/glob.h: Likewise.
25966 * posix/sched.h: Likewise.
25967 * posix/spawn.h: Likewise.
25968 * posix/sys/wait.h: Likewise.
25969 * posix/unistd.h: Likewise.
25970 * posix/wordexp.h: Likewise.
25971 * pwd/pwd.h: Likewise.
25972 * resolv/netdb.h: Likewise.
25973 * resource/sys/resource.h: Likewise.
25974 * rt/aio.h: Likewise.
25975 * rt/bits/mqueue2.h: Likewise.
25976 * rt/mqueue.h: Likewise.
25977 * shadow/shadow.h: Likewise.
25978 * signal/signal.h: Likewise.
25979 * socket/send.c: Likewise.
25980 * socket/sendto.c: Likewise.
25981 * socket/sys/socket.h: Likewise.
25982 * stdio-common/printf.h: Likewise.
25983 * stdlib/bits/stdlib.h: Likewise.
25984 * stdlib/fmtmsg.h: Likewise.
25985 * stdlib/monetary.h: Likewise.
25986 * stdlib/stdlib.h: Likewise.
25987 * stdlib/ucontext.h: Likewise.
25988 * streams/stropts.h: Likewise.
25989 * string/argz.h: Likewise.
25990 * string/bits/string2.h: Likewise.
25991 * string/string.h: Likewise.
25992 * string/strings.h: Likewise.
25993 * sunrpc/rpc/auth.h: Likewise.
25994 * sunrpc/rpc/auth_des.h: Likewise.
25995 * sunrpc/rpc/clnt.h: Likewise.
25996 * sunrpc/rpc/netdb.h: Likewise.
25997 * sunrpc/rpc/pmap_clnt.h: Likewise.
25998 * sunrpc/rpc/xdr.h: Likewise.
25999 * sysdeps/generic/inttypes.h: Likewise.
26000 * sysdeps/generic/net/if.h: Likewise.
26001 * sysdeps/generic/sys/swap.h: Likewise.
26002 * sysdeps/gnu/net/if.h: Likewise.
26003 * sysdeps/gnu/utmpx.h: Likewise.
26004 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26005 * sysdeps/i386/i486/bits/string.h: Likewise.
26006 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26007 * sysdeps/s390/bits/string.h: Likewise.
26008 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26009 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26010 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26011 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26012 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26013 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26014 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26015 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26016 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26017 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26018 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26019 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26020 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26021 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26022 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26023 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26024 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26027 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26028 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26029 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26030 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26031 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26032 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26033 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26034 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26035 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26036 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26037 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26038 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26039 * sysvipc/sys/ipc.h: Likewise.
26040 * sysvipc/sys/msg.h: Likewise.
26041 * sysvipc/sys/sem.h: Likewise.
26042 * sysvipc/sys/shm.h: Likewise.
26043 * termios/termios.h: Likewise.
26044 * time/sys/time.h: Likewise.
26045 * time/time.h: Likewise.
26046 * wcsmbs/bits/wchar2.h: Likewise.
26047 * wcsmbs/uchar.h: Likewise.
26048 * wcsmbs/wchar.h: Likewise.
26049 * wctype/wctype.h: Likewise.
26050
0269750c
UD
26051 [BZ #13551]
26052 * Makeconfig: Remove all but ELF support including AIX support.
26053 * Makerules: Likewise.
26054 * config.h.in: Likewise.
26055 * config.make.in: Likewise.
26056 * configure: Likewise.
26057 * configure.in: Likewise.
26058 * csu/Makefile: Likewise.
26059 * csu/version.c: Likewise.
26060 * debug/Makefile: Likewise.
26061 * dlfcn/Makefile: Likewise.
26062 * elf/Makefile: Likewise.
26063 * extra-lib.mk: Likewise.
26064 * iconv/Makefile: Likewise.
26065 * include/libc-symbols.h: Likewise.
26066 * include/shlib-compat.h: Likewise.
26067 * resolv/Makefile: Likewise.
26068 * resolv/res_libc.c: Likewise.
26069 * rt/Makefile: Likewise.
26070 * sysdeps/i386/asm-syntax.h: Likewise.
26071 * sysdeps/i386/sysdep.h: Likewise.
26072 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26073 * sysdeps/mach/sysdep.h: Likewise.
26074 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26075 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26076 * sysdeps/s390/asm-syntax.h: Likewise.
26077 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26078 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26079 * sysdeps/sh/sysdep.h: Likewise.
26080 * sysdeps/unix/sparc/sysdep.h: Likewise.
26081 * sysdeps/wordsize-32/divdi3.c: Likewise.
26082 * sysdeps/x86_64/sysdep.h: Likewise.
26083
00bbd29b
UD
26084 * argp/Versions: Remove _argp_unlock_xxx.
26085
26086 [BZ #13559]
26087 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26088 * abilist/libBrokenLocale.abilist: Likewise.
26089 * abilist/libanl.abilist: Likewise.
26090 * abilist/libc.abilist: Likewise.
26091 * abilist/libcrypt.abilist: Likewise.
26092 * abilist/libdl.abilist: Likewise.
26093 * abilist/libm.abilist: Likewise.
26094 * abilist/libnsl.abilist: Likewise.
26095 * abilist/libpthread.abilist: Likewise.
26096 * abilist/libresolv.abilist: Likewise.
26097 * abilist/librt.abilist: Likewise.
26098 * abilist/libthread_db.abilist: Likewise.
26099 * abilist/libutil.abilist: Likewise.
26100 * abilist/libnss_db.abilist: New file.
26101
26102 * scripts/abilist.awk: Add support for indirect functions.
26103
a2693a0e
UD
26104 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26105
3f05895f
UD
26106 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26107
ecb6fb48
UD
26108 * shlib-versions: Remove entries for ports architectures.
26109
664f8cb9
UD
26110 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26111 files in ports.
26112 * elf/stackguard-macros.h: Remove support for IA-64.
26113 * elf/tst-auditmod1.c: Likewise.
26114 * sysdeps/generic/ldsodefs.h: Likewise.
26115
7ae81d88
UD
26116 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26117 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26118 configure files.
26119
bdeba135
UD
26120 [BZ #13552]
26121 * configure.in: Remove --enable-omitfp support.
26122 * FAQ.in: Adjust.
26123 * config.make.in: Likewise.
26124 * Makeconfig: Likewise.
26125 * manual/install.texi: Likewise.
26126
d75a0a62
UD
26127 In case anyone cares, the IA-64 architecture could move to ports.
26128 * sysdeps/ia64/*: Removed.
26129 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26130 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26131
dcc9756b
UD
26132 [BZ #13555]
26133 * configure.in: Remove entries for unsupported architectures.
26134
d3761ebc 26135 [BZ #13533]
9954432e
UD
26136 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26137 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26138 routines.
26139 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26140 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26141 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26142 fall back to using wcrtomb.
26143 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26144 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26145 renaming.
26146 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26147 * wcsmbs/tst-c16c32-1.c: New file.
26148
26149 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26150 local variable.
26151
c3a87236
UD
26152 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26153
28926a1b
UD
26154 * elf/tst-unique3.cc: Add explicit declaration of gets.
26155 * elf/tst-unique3lib.cc: Likewise.
26156 * elf/tst-unique3lib2.cc: Likewise.
26157 * elf/tst-unique4.cc: Likewise.
26158
df78418a
UD
26159 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26160
8ecd6b2a
JM
261612012-01-06 Joseph Myers <joseph@codesourcery.com>
26162
26163 [BZ #13566]
26164 * assert/assert.h (static_assert): Don't define for C++.
26165 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26166 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26167
9f115170
UD
261682012-01-03 Ulrich Drepper <drepper@gmail.com>
26169
5e0d0300
UD
26170 * iconv/loop.c (single loop): Fix assertion in storing of
26171 remaining bytes.
26172
9f115170
UD
26173 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26174
81fb02b0
UD
261752012-01-01 Ulrich Drepper <drepper@gmail.com>
26176
26177 * posix/getconf.c: Update copyright year.
26178 * nss/getent.c: Likewise.
a316c1f6 26179 * nss/makedb.c: Likewise.
81fb02b0
UD
26180 * iconv/iconvconfig.c: Likewise.
26181 * iconv/iconv_prog.c: Likewise.
26182 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26183 * elf/pldd.c: Likewise.
26184 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26185 * catgets/gencat.c: Likewise.
26186 * csu/version.c: Likewise.
26187 * elf/ldd.bash.in: Likewise.
26188 * elf/sprof.c (print_version): Likewise.
26189 * locale/programs/locale.c: Likewise.
26190 * locale/programs/localedef.c: Likewise.
a316c1f6 26191 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26192 * nscd/nscd.c (print_version): Likewise.
26193 * debug/xtrace.sh: Likewise.
26194 * malloc/memusage.sh: Likewise.
26195 * malloc/mtrace.pl: Likewise.
26196 * debug/catchsegv.sh: Likewise.
26197
2ba92745
JJ
261982011-12-30 Jakub Jelinek <jakub@redhat.com>
26199
26200 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26201 pure attribute.
26202
dadebdae
UD
262032011-12-24 Ulrich Drepper <drepper@gmail.com>
26204
d3761ebc 26205 [BZ #13533]
db6af3eb
UD
26206 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26207 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26208 transformations.
26209 * iconv/gconv_int.h: Likewise.
26210 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26211 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26212 from libc for GLIBC_2.16.
26213 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26214 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26215 * wcsmbs/uchar.h: Really define mbstate_t.
26216 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26217 * wcsmbs/c16rtomb.c: New file.
26218 * wcsmbs/mbrtoc16.c: New file.
26219 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26220 for C/POSIX locale.
26221 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26222 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26223
dadebdae
UD
26224 * wcsmbs/wchar.h: Add missing __restrict.
26225
67371b56
UD
262262011-12-23 Ulrich Drepper <drepper@gmail.com>
26227
74033a25
UD
26228 [BZ #13532]
26229 * time/Makefile (routines): Add timespec_get.
26230 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26231 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26232 timespec for ISO C11.
26233 * time/timespec_get.c: New file.
26234 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26235 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26236
380d7e87
UD
26237 [BZ #13531]
26238 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26239 * stdlib/stdlib.h: Declare aligned_alloc.
26240 * Versions.def: Add GLIBC_2.16 for libc.
26241 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26242
4e9e7a35
UD
26243 [BZ 13527]
26244 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26245 ISO C11.
26246
380d7e87 26247 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26248 code.
26249
03a71829
UD
26250 [BZ #13528]
26251 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26252
839e283e
UD
26253 [BZ #13529]
26254 * assert/assert.h (static_assert): Define.
26255
ce5294e2 26256 * version.h: Update for 2.16 development version.
90fa7312 26257
8d44e150 26258 [BZ #13526]
d7809905
UD
26259 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26260 _ISOC11_SOURCE.
26261
c0da14cd
UD
26262 * version.h (RELEASE): Bump for 2.15 release.
26263 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26264
530a3249
MP
26265 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26266 Patch by Marek Polacek <mpolacek@redhat.com>.
26267
67371b56
UD
26268 * bits/byteswap.h: Protect long long constants with __extension__.
26269 * sysdeps/i386/bits/byteswap.h: Likewise.
26270 * sysdeps/ia64/bits/byteswap.h: Likewise.
26271 * sysdeps/s390/bits/byteswap.h: Likewise.
26272 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26273
15db4de1
LD
262742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26275
26276 [BZ #13540]
bbe315ea
LD
26277 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26278 destination buffer.
15db4de1
LD
26279 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26280
2b2596b1
MP
262812011-12-23 Marek Polacek <polacek@redhat.com>
26282
26283 * elf/dl-addr.c (determine_info): Add inline keyword.
26284 * elf/tst-auditmod4b.c (check_avx): Likewise.
26285 * elf/tst-auditmod6b.c (check_avx): Likewise.
26286 * elf/tst-auditmod6c.c (check_avx): Likewise.
26287 * elf/tst-auditmod7b.c (check_avx): Likewise.
26288
70c6c246
UD
262892011-12-23 Ulrich Drepper <drepper@gmail.com>
26290
26291 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26292 !__SSE_MATH__.
26293
c044cf14
LD
262942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26295
15db4de1 26296 [BZ #13540]
c044cf14
LD
26297 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26298 processing for last bytes.
26299
6b13d9d9
BH
263002011-08-06 Bruno Haible <bruno@clisp.org>
26301
d455f537
BH
26302 [BZ #13061]
26303 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26304 U+0385, not to U+1FEE.
26305
6b13d9d9
BH
26306 [BZ #13062]
26307 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26308 entry for U+00A5 U+0301.
26309
db910efd
UD
263102011-12-22 Ulrich Drepper <drepper@gmail.com>
26311
27deeafc
UD
26312 [BZ #13166]
26313 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26314 buffer for the output is too small.
26315
aed9d171
UD
26316 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26317 optimization.
26318
db910efd
UD
26319 [BZ #13185]
26320 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26321 SSE flags if possible.
26322
2bd779ae
LD
263232011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26324
e7f9dac3 26325 [BZ #13540]
2bd779ae
LD
26326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26327 processing for last bytes.
26328
154bfc16
JM
263292011-12-22 Joseph Myers <joseph@codesourcery.com>
26330
26331 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26332 (syscall-list-default-options, syscall-list-default-condition)
26333 (syscall-list-includes): Define.
26334 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26335 list of ABIs and options and #if conditions for each ABI. Do not
26336 handle common syscalls between ABIs specially.
26337 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26338 Remove.
26339 (syscall-list-variants, syscall-list-32bit-options)
26340 (syscall-list-32bit-condition, syscall-list-64bit-options)
26341 (syscall-list-64bit-condition): Define.
26342 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26343 (syscall-list-variants, syscall-list-32bit-options)
26344 (syscall-list-32bit-condition, syscall-list-64bit-options)
26345 (syscall-list-64bit-condition): Define.
26346 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26347 Remove.
26348 (syscall-list-variants, syscall-list-32bit-options)
26349 (syscall-list-32bit-condition, syscall-list-64bit-options)
26350 (syscall-list-64bit-condition): Define.
26351 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26352 Remove.
26353 (syscall-list-variants, syscall-list-32bit-options)
26354 (syscall-list-32bit-condition, syscall-list-64bit-options)
26355 (syscall-list-64bit-condition): Define.
26356
21eaf3a5
UD
263572011-12-22 Ulrich Drepper <drepper@gmail.com>
26358
16c6f992
UD
26359 * locale/iso-639.def: Add brx entry.
26360
41043168
UD
26361 [BZ #13328]
26362 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26363 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26364
21eaf3a5
UD
26365 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26366 __feraiseexcept_renamed.
26367
e3a851a2
UD
263682011-12-21 Ulrich Drepper <drepper@gmail.com>
26369
4920765e
UD
26370 [BZ #13538]
26371 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26372 EPOLLET with unsigned values.
26373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26374 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26375
e3a851a2
UD
26376 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26377 to large cancellation.
26378 * math/s_cacoshf.c: Likewise.
26379 * math/s_cacoshl.c: Likewise.
26380
b27e24b8
RK
263812011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26382
26383 [BZ #13305]
aebefeee 26384 [BZ #12786]
b27e24b8
RK
26385 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26386 * math/s_cacoshf.c: Likewise.
26387 * math/s_cacoshl.c: Likewise.
26388
ee190f67
UD
263892011-12-21 Ulrich Drepper <drepper@gmail.com>
26390
26391 [BZ #13439]
26392 * iconv/gconv.h: Define __GCONV_SWAP.
26393 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26394 * iconvdata/utf-16.c: Likewise.
26395 * iconvdata/utf-32.c: Likewise.
26396
707f25df
AS
263972011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26398
26399 [BZ #13524]
26400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26401 numerator after shifting it by one limb.
26402
d2daaa1e
RÁE
264032011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26404
26405 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26406 under [__USE_EXTERN_INLINES].
26407
a4647e72
UD
264082011-12-17 Ulrich Drepper <drepper@gmail.com>
26409
26410 [BZ #13446]
26411 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26412
f0b264f1
AZ
264132011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26414
26415 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26416 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26417 optimized code.
26418 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26419 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26420 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26421 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26422 for strncasecmp/strncasecmp_l compilation.
26423 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26424 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26425
8ef4f244
MP
264262011-12-08 Marek Polacek <mpolacek@redhat.com>
26427
26428 [BZ #13484]
26429 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26430 of __asm__.
26431
97ac2654
UD
264322011-12-17 Ulrich Drepper <drepper@gmail.com>
26433
26434 [BZ #13506]
26435 * time/tzfile.c (__tzfile_read): Check values from file header.
26436
91d2a845
WS
264372011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26438
26439 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26440 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26441 * powerpc/powerpc32/dl-start.S: Likewise.
26442 * powerpc/powerpc32/elf/start.S: Likewise.
26443 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26444 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26445 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26446 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26447 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26448 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26449 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26450 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26451 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26452 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26453 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26454 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26455 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26456 * powerpc/powerpc32/memset.S: Likewise.
26457 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26458 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26459 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26460 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26461 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26462 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26463 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26464 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26465 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26466 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26467 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26468 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26469 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26470
a1267ba1
AZ
264712011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26472
26473 * math/libm-test.inc: Added more nearbyint tests.
26474 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26475 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26476 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26477 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26478
ad8ac1bd
RL
264792011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26480
26481 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26482 FD_CLOEXEC.
26483
1d3e4b61
UD
264842011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26485
26486 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26487 Add wcscpy-ssse3 wcscpy-c.
26488 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26489 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26490 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26491 * sysdeps/x86_64/wcschr.S: New file.
26492 * sysdeps/x86_64/wcsrchr.S: New file.
26493 * string/test-strcmp.c: Remove checking of wcscmp function for
26494 wrong alignments.
26495 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26496 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26497 wcsrchr-sse2 wcsrchr-c.
26498 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26499 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26500 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26501 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26502 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26503 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26504 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26505 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26506 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26507 * wcsmbc/wcschr.c (WCSCHR): New macro.
26508
5b330a2d
UD
265092011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26510
26511 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26512 * wcsmbs/test-wcsrchr.c: New file.
26513 * string/test-strrchr.c: Add wcsrchr support.
26514 (WIDE): New macro.
26515 * wcsmbs/test-wcscpy.c: New file.
26516 * string/test-strcpy.c: Add wcscpy support.
26517 (WIDE): New macro.
26428b7c 26518
f039c043
UD
265192011-12-10 Ulrich Drepper <drepper@gmail.com>
26520
26521 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26522 the inner loop.
26523
850fb039
AS
265242011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26525
26526 [BZ #13472]
26527 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26528
4efbd5cb
UD
265292011-12-04 Ulrich Drepper <drepper@gmail.com>
26530
52ff5dd0 26531 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26532 Minor optimizations.
52ff5dd0 26533
4efbd5cb
UD
26534 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26535 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26536 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26537
8a426e12
UD
265382011-12-03 Ulrich Drepper <drepper@gmail.com>
26539
aff2453d
UD
26540 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26541 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26542 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26543 for gcc to avoid warnings.
26544 * inet/Makefile (tests): Add tst-checks.
26545 * inet/tst-checks.c: New file.
26546
26547 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26548 warning.
26549
26550 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26551 __wmemcmp_sse2.
26552
26553 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26554 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26555
8a426e12
UD
26556 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26557
9bea3473
UD
265582011-12-02 Ulrich Drepper <drepper@gmail.com>
26559
3a965496
UD
26560 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26561 problem.
26562
9bea3473
UD
26563 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26564
f101631b
UD
265652011-11-29 Joseph Myers <joseph@codesourcery.com>
26566
26567 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26568 conditional on GCC version.
26569 (__arch_compare_and_exchange_val_8_acq)
26570 (__arch_compare_and_exchange_val_16_acq)
26571 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26572 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26573 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26574
a98275aa
UD
265752011-12-02 Joseph Myers <joseph@codesourcery.com>
26576
26577 * sysdeps/sh/backtrace.c: New file.
26578
d4cc29a2
AS
265792011-12-02 Andreas Schwab <schwab@redhat.com>
26580
26581 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26582 parenthesis.
26583
6257af2d
AS
265842011-12-01 Andreas Schwab <schwab@redhat.com>
26585
26586 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26587 falling back to utime.
26588
b5f44c1a
AS
265892011-11-30 Andreas Schwab <schwab@redhat.com>
26590
26591 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26592 expectations for float.
26593
f3a6cc0a
AS
265942011-11-29 Andreas Schwab <schwab@redhat.com>
26595
26596 * locale/weight.h (findidx): Add parameter len.
26597 * locale/weightwc.h (findidx): Likewise.
26598 * posix/fnmatch_loop.c (FCT): Adjust caller.
26599 * posix/regcomp.c (build_equiv_class): Likewise.
26600 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26601 * posix/regexec.c (check_node_accept_bytes): Likewise.
26602 * string/strcoll_l.c (STRCOLL): Likewise.
26603 * string/strxfrm_l.c (STRXFRM): Likewise.
26604
9d65ea3a
UD
266052011-11-17 Ulrich Drepper <drepper@gmail.com>
26606
26607 * Makefile.in: Remove CVSOPT handling.
26608 * configure.in: Remove use of AC_REVISION.
26609 * iconvdata/Makefile (distribute): No need to filter out CVS.
26610 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26611 handling.
26612
5583a086
AS
266132011-11-16 Andreas Schwab <schwab@redhat.com>
26614
26615 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26616 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26617 [USE_AS_STRNCASECMP_L]: Likewise.
26618 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26619 NO_TLS_DIRECT_SEG_REFS.
26620 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26621 Fix argument offsets for non-PIC.
26622 [USE_AS_STRNCASECMP_L]: Likewise.
26623 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26624 NO_TLS_DIRECT_SEG_REFS.
26625
d62a8200
UD
266262011-11-15 Ulrich Drepper <drepper@gmail.com>
26627
9d65ea3a 26628 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26629 O_CLOEXEC.
26630 * locale/loadlocale.c (_nl_load_locale): Likewise.
26631
09f93bd3
AS
266322011-11-15 Andreas Schwab <schwab@redhat.com>
26633
446514f9
AS
26634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26635 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26636 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26637 (SYSCALL_GETTIME): Set errno on error.
26638
09f93bd3
AS
26639 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26640 count references to noai6ai_cached.
26641
312be3f9
UD
266422011-11-15 Ulrich Drepper <drepper@gmail.com>
26643
26644 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26645
26646 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26647 FD_CLOEXEC for /proc/self/maps.
26648
26649 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26650 FD_CLOEXEC for /proc/meminfo.
26651
26652 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26653 gai.conf.
26654
26655 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26656 FD_CLOEXEC for given file.
26657
26658 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26659
26660 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26661 FD_CLOEXEC for /etc/hosts.
26662 (_gethtent): Likewise.
26663
26664 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26665
26666 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26667 cancellation and set FD_CLOEXEC for /etc/netgroup.
26668
26669 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26670 reading /etc/publickey.
26671
26672 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26673 allow cancellation when reading /etc/group.
26674
26675 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26676 cancellation.
26677 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26678
26679 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26680 when using data file.
26681
26682 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26683
26684 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26685 (write_nis_obj): Use "c" and "e" in fopen.
26686
26687 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26688
26689 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26690
26691 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26692
26693 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26694
26695 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26696 locale.alias.
26697
26698 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26699
26700 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26701
26702 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26703
26704 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26705 file parsing and set FD_CLOEXEC.
26706
82af0fa8
UD
267072011-11-14 Ulrich Drepper <drepper@gmail.com>
26708
26709 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26710
a5fb313c
AS
267112011-11-14 Andreas Schwab <schwab@redhat.com>
26712
26713 * malloc/arena.c (arena_get2): Don't call reused_arena when
26714 _int_new_arena failed.
26715
6abf3465
UD
267162011-11-14 Ulrich Drepper <drepper@gmail.com>
26717
26718 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26719 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26720 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26721 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26722 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26724 to compile strcasecmp and strncasecmp.
26725 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26726 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26727
26728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26729
76e3966e
UD
267302011-11-13 Ulrich Drepper <drepper@gmail.com>
26731
26732 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26733 locale-defines.sym to gen-as-const-headers.
26734 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26735 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26737 to compile strcasecmp and strncasecmp.
26738 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26739 strcasecmp_l and strncasecmp_l.
26740 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26741 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26742 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26743 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26744 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26745 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26746 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26747 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26748 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26749 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26750 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26751
ab26144e
UD
267522011-11-12 Ulrich Drepper <drepper@gmail.com>
26753
7edb22ef
UD
26754 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26755 result of SYSDEP_GETTIME_CPU to retval.
26756 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26757 parameter list to macro. Remove trailing semicolon. Adjust users.
26758
9694fc44
UD
26759 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26760 variable.
26761
8ad89ef8
UD
26762 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26763 mantissa words.
26764 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26765
0c822ef9
UD
26766 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26767 from unused variable.
26768
874e0564
UD
26769 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26770 DWARF definitions.
26771 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26772 for assembling.
26773
3a2edc79
UD
26774 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26775 over namespaces.
26776
f3c2577f
UD
26777 * sunrpc/rpc_prot.c (rejected): Fix case value.
26778
294ce126
UD
26779 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26780 unsigned long long int to avoid warnings in shift.
26781
5e2b63c6
UD
26782 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26783 of use of trans.
26784 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26785 variable tmp.
26786
e7f4b08e
UD
26787 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26788 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26789 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26790
ab26144e
UD
26791 * nis/nis_table.c (nis_list): Use variable of correct type for
26792 result of __follow_path call.
26793
8a6d5255
AZ
267942011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26795
26796 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26797 of math functions ceil, trunc, floor, round, and sqrt, when
26798 avaliable on the platform.
26799 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26800 name clash.
26801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26804
aaddc98c
MP
268052011-10-30 Marek Polacek <mpolacek@redhat.com>
26806
26807 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26808 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26809
95b7042b
RM
268102011-11-11 Roland McGrath <roland@hack.frob.com>
26811
26812 * include/unistd.h: Fix __readlink return type.
26813 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26814
57769839
UD
268152011-11-11 Ulrich Drepper <drepper@gmail.com>
26816
26817 * stdlib/ucontext.h: Undo last change for makecontext.
26818
edc5984d
AS
268192011-11-11 Andreas Schwab <schwab@redhat.com>
26820
98591e58
AS
26821 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26822
edc5984d
AS
26823 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26824 * setjmp/setjmp.h: Mark functions as non-leaf.
26825 * setjmp/bits/setjmp2.h: Likewise.
26826 * stdlib/ucontext.h: Likewise.
26827
77cdc054
AS
268282011-11-10 Andreas Schwab <schwab@redhat.com>
26829
26830 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26831 (reused_arena): Don't check arena limit.
26832 (arena_get2): Atomically check arena limit.
26833
fe72eebd
UD
268342011-11-08 Ulrich Drepper <drepper@gmail.com>
26835
5f078c32
UD
26836 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26837 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26838
fe72eebd
UD
26839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26840 instructions.
26841
ae1bc2fa
AS
268422011-11-07 Andreas Schwab <schwab@redhat.com>
26843
7583a88d
AS
26844 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26845 handler when locking.
26846
ae1bc2fa
AS
26847 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26848 Fix size of allocated buffer.
26849
10fb0bfa
AS
268502011-11-04 Andreas Schwab <schwab@redhat.com>
26851
998832a4
AS
26852 [BZ #10103]
26853 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26854 declarations for long double functions.
26855 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26856
10fb0bfa
AS
26857 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26858
3d7ba52b
AS
268592011-11-03 Andreas Schwab <schwab@redhat.com>
26860
a9ae54a1
AS
26861 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26862 installed.
26863
3d7ba52b
AS
26864 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26865 is disabled.
26866
bc8db248
ST
268672011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26868
26869 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26870
45b96dd6
AS
268712011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26872
647776f6
AS
26873 * include/alloca.h (stackinfo_alloca_round): Define.
26874 (extend_alloca): Use it.
26875 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26876 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26877 here.
26878
d91a8b93
AS
26879 * scripts/check-local-headers.sh: Ignore libaudit.h.
26880
45b96dd6
AS
26881 * nscd/Makefile (extra-objs): Make recursively expanded.
26882
432d41ce
UD
268832011-11-01 Ulrich Drepper <drepper@gmail.com>
26884
34372fc6
UD
26885 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26887
fadb59f8
UD
26888 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26889 * posix/tst-rfc3484-2.c: Likewise.
26890 * posix/tst-rfc3484-3.c: Likewise.
26891
78239589
UD
26892 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26893 process_vm_writev.
26894 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26895 process_vm_writev.
26896 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26897 process_vm_writev from libc using GLIBC_2.15 version.
26898
432d41ce
UD
26899 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26900
02f9c6cf
PP
269012011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26902
26903 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26904 stack usage.
26905
3a2c0242
UD
269062011-10-31 Ulrich Drepper <drepper@gmail.com>
26907
f4ec4833
UD
26908 [BZ #13367]
26909 * nss/getent.c (initgroups_keys): Show error message in case no group
26910 names are given.
26911
3a2c0242
UD
26912 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26913 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26914 __bump_nl_timestamp.
26915 * nscd/connections (nscd_init): When host database is served open
26916 netlink socket and request notification about configuration changes.
26917 (main_loop_poll): Track netlink file descriptor and bump timestamp
26918 in case data becomes available.
26919 (main_loop_epoll): Likewise.
26920 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26921 (database_pers_head): Add extra_data fileds.
26922 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26923 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26924 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26925 Adjust caller.
26926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26927 in6ai data, call __free_in6ai.
26928 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26929 Add -DHAVE_NETLINK.
26930 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26931 interface information. Reuse previous data if netlink timestamp
26932 is not changed.
26933 (__bump_nl_timestamp): New function.
26934 (__free_in6ai): New function.
26935
636064eb
UD
269362011-10-30 Ulrich Drepper <drepper@gmail.com>
26937
26938 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26939 close_not_cancel_no_status here.
26940 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26941
9beb2334
UD
269422011-10-29 Ulrich Drepper <drepper@gmail.com>
26943
6ef76f3b
UD
26944 [BZ #13276]
26945 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26946 return value.
26947
0ffc4f3e 26948 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26949 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26950 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26951
cb95113e
UD
269522011-07-03 Andreas Jaeger <aj@suse.de>
26953
26954 [BZ #10709]
26955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26956 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26957 * math/libm-test.inc (sin_test): Add test case.
26958
a1b560ff
UD
269592011-10-29 Ulrich Drepper <drepper@gmail.com>
26960
c9aaface
UD
26961 [BZ #13337]
26962 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26963 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26964
d272e7f1
UD
26965 * elf/chroot_canon.c (chroot_canon): Cleanups.
26966
1bc33071
UD
26967 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26968
1760874d
TJ
26969 [BZ #13335]
26970 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26971 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26972
51d91b18
UD
26973 * string/test-strchr.c: Make usable for strchrnul testing.
26974 * string/test-strchrnul.c: New file.
26975 * string/Makefile (strop-tests): Add strchrnul.
26976
a1b560ff 26977 * po/it.po: Update from translation team.
b611fb81 26978 * po/es.po: Likewise.
a1b560ff 26979
a5b81e1f
UD
269802011-10-28 Ulrich Drepper <drepper@gmail.com>
26981
fd52bc6d
UD
26982 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26983 the three constants needed as parameters. Drop the others.
26984 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26985 __m128i_strloadu_tolower.
52e4b9eb
UD
26986 Create and initialize variable zero and use it in all the places
26987 where _mm_setzero_si128 was used.
fd52bc6d 26988
a5b81e1f
UD
26989 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26990 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26991 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26992 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26993 anymore.
26994 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26995 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26996 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26997 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26998 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26999 __mpranred, __mptan.
27000 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27001 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27002 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27003 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27004 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27005 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27006 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27007 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27008 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27009
b4343346
AS
270102011-10-28 Andreas Schwab <schwab@redhat.com>
27011
0c92d8a8
AS
27012 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27013 redefine if SHARED.
27014 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27015
b4343346
AS
27016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27017 wide char related routines to wcsmbs subdir.
27018
3871f58f
AS
270192011-10-27 Andreas Schwab <schwab@redhat.com>
27020
27021 [BZ #13344]
27022 * misc/sys/cdefs.h (__THROWNL): Define.
27023 * posix/unistd.h: Use __THREADNL instead of __THREAD
27024 for memory synchronization functions.
27025
94d44d9f
RM
270262011-10-26 Roland McGrath <roland@hack.frob.com>
27027
21b64b15 27028 [BZ #13349]
94d44d9f
RM
27029 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27030 doesn't exist.
27031 * manual/stdio.texi (Obstack Streams): Node removed.
27032
f6ce9294
AS
270332011-10-26 Andreas Schwab <schwab@redhat.com>
27034
80479147
AS
27035 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27036 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27037 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27038
f6ce9294
AS
27039 * math/math_private.h (math_force_eval): Allow non-addressable
27040 arguments.
27041 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27042
618280a1
UD
270432011-10-25 Ulrich Drepper <drepper@gmail.com>
27044
e0016b11
UD
27045 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27046 file is not needed.
27047
27048 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27050 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27051 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27052 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27053 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27055 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27056 Add AVX variants.
27057 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27058 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27059 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27060 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27061 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27062 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27063 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27064 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27065 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27066 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27067 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27068 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27070 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27071 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27072 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27073 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27074 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27075 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27076
27077 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27078 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27079
618280a1
UD
27080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27081 place. Use VEX encoding when compiling for AVX.
27082
37822576
AS
270832011-10-25 Andreas Schwab <schwab@redhat.com>
27084
1f1e1947
AS
27085 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27086 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27087
37822576
AS
27088 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27089
31ea014d
UD
270902011-10-25 Ulrich Drepper <drepper@gmail.com>
27091
d7826aa1 27092 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27093 useless if() expression.
d7826aa1
UD
27094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27095 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27096 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27097 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27104 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27106 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27107 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27108 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27109 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27110 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27111 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27112 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27113
31ea014d
UD
27114 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27115
16437fec
AS
271162011-10-25 Andreas Schwab <schwab@redhat.com>
27117
27118 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27119 condition.
27120 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27121
31d3cc00
UD
271222011-10-25 Ulrich Drepper <drepper@gmail.com>
27123
27124 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27125 .text section. Avoid duplicate constants.
27126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27135 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27136 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27138 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27139 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27140 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27141 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27143 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27149 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27150 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27151 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27152 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27153 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27154 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27155 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27156 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27157 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27159 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27160 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27161 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27162 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27163 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27164 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27165 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27166 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27167 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27168 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27169 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27170 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27171
58985aa9
UD
271722011-10-24 Ulrich Drepper <drepper@gmail.com>
27173
202c9deb
UD
27174 * sysdeps/x86_64/dla.h: Move to ...
27175 * sysdeps/x86_64/fpu/dla.h: ...here.
27176 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27177 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27178
af968f62
UD
27179 * config.make.in: Add have-mfma4 entry.
27180 * configure.in: Substitute libc_cv_cc_fma4.
27181 * math/Makefile (dbl-only-routines): Add sincostab.
27182 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27183 Use __sincostab not sincos.
27184 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27185 name is a macro.
27186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27190 using __copysign.
27191 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27192 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27193 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27194 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27195 and __inv.
27196 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27197 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27198 __copysign.
27199 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27200 define aliases when function name is a macro.
27201 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27202 sysdeps/ieee754/dbl-64/sincos.tbl.
27203 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27204 fma4-enabled routines.
27205 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27206 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27207 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27208 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27209 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27210 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27212 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27213 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27214 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27215 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27216 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27217 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27218 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27219 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27220 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27221 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27222 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27223 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27225 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27226 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27227 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27228 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27230 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27231 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27232 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27234 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27235
58985aa9
UD
27236 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27237 rename.
27238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27246
a201fbcf
AS
272472011-10-24 Andreas Schwab <schwab@redhat.com>
27248
27249 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27250
fc2ee42a
LD
272512011-10-23 Ulrich Drepper <drepper@gmail.com>
27252
bb3129bd
UD
27253 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27254
0275fff8
UD
27255 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27256 prediction.
27257 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27258
2fa2ae85
UD
27259 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27260 Remove unused variable magic_bits.
27261 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27262
fc2ee42a
LD
27263 * string/strnlen.c: Define and use STRNLEN macro.
27264 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27265 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27267 * wcsmbs/wcslen.c: Define and use WCSLEN.
27268 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27269 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27270 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27271 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27272 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27273 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27274 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27275
ce7dd29f
LD
272762011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27277
27278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27279 strnlen-sse2-no-bsf.
27280 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27282 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27283 Add strnlen support.
27284 (USE_AS_STRNLEN): New macro.
27285 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27286 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27287 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27288 * sysdeps/x86_64/wcslen.S: New file.
27289
979c70a3
MZ
272902011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27291
27292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27293 XMM-moves are used for copying on small sizes.
27294
2d09f82f
LD
272952011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27296
27297 * wcsmbs/Makefile (strop-tests): Add wcschr.
27298 * wcsmbs/test-wcschr.c: New file.
27299 * string/test-strchr.c: Update.
27300 Add wcschr support.
27301 (WIDE): New macro.
27302
619fccca
LD
273032011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27304
2d09f82f 27305 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27306 * wcsmbs/test-wcslen.c: New file.
27307 * string/test-strlen.c: Update.
27308 Add wcslen support.
27309 (WIDE): New macro.
27310
09f699ea
UD
273112011-10-23 Ulrich Drepper <drepper@gmail.com>
27312
27313 * po/it.po: Update from translation team.
27314
95584d3b
LD
273152011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27316
27317 * sysdeps/x86_64/wcscmp.S: Update.
27318 Fix wrong comparison semantics.
27319 wcscmp shall use signed comparison not unsigned.
27320 Don't use substraction to avoid overflow bug.
27321 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27322 * wcsmbc/wcscmp.c: Likewise.
27323 * string/test-strcmp.c: Likewise.
27324 Add new tests to check cases with negative values.
27325
c8b3296b
UD
273262011-10-23 Ulrich Drepper <drepper@gmail.com>
27327
27328 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27329 * sysdeps/x86_64/dla.h: ...here. New file.
27330 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27339
246ad57a
AS
273402011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27341
27342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27343 __ynl_finite aliases.
27344
a1a87169
UD
273452011-10-22 Ulrich Drepper <drepper@gmail.com>
27346
0d355eb7
UD
27347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27348
a1a87169
UD
27349 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27350 define DLA_FMA.
27351 [DLA_FMA] (EMULV): Use DLA_FMA.
27352 [DLA_FMA] (MUL12): Use EMULV.
27353 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27354 that are not needed.
27355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27362
ee2aafe0
AS
273632011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27364
27365 * math/s_nan.c: Undef __nan.
27366 * math/s_nanf.c: Undef __nanf.
27367 * math/s_nanl.c: Undef __nanl.
27368 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27369 "math_private.h".
27370
bc62c2fb
UD
273712011-10-22 Ulrich Drepper <drepper@gmail.com>
27372
77425c63
UD
27373 * math/s_catan.c: Add branch predictions.
27374 * math/s_catanf.c: Likewise.
27375 * math/s_catanh.c: Likewise.
27376 * math/s_catanhf.c: Likewise.
27377 * math/s_catanhl.c: Likewise.
27378 * math/s_catanl.c: Likewise.
27379 * math/s_cexp.c: Likewise.
27380 * math/s_cexpf.c: Likewise.
27381 * math/s_cexpl.c: Likewise.
27382 * math/s_clog.c: Likewise.
27383 * math/s_clog10.c: Likewise.
27384 * math/s_clog10f.c: Likewise.
27385 * math/s_clog10l.c: Likewise.
27386 * math/s_clogf.c: Likewise.
27387 * math/s_clogl.c: Likewise.
27388 * math/s_csqrt.c: Likewise.
27389 * math/s_csqrtf.c: Likewise.
27390 * math/s_csqrtl.c: Likewise.
27391 * math/s_ctanf.c: Likewise.
27392 * math/s_ctanh.c: Likewise.
27393 * math/s_ctanhf.c: Likewise.
27394 * math/s_ctanhl.c: Likewise.
27395 * math/s_ctanl.c: Likewise.
27396
bc62c2fb
UD
27397 * math/math_private.h: Define __nan, __nanf, __nanl.
27398 * math/s_cacosh.c: Include <math_private.h>.
27399 * math/s_cacoshl.c: Likewise.
27400 * math/s_casinh.c: Likewise.
27401 * math/s_casinhf.c: Likewise.
27402 * math/s_casinhl.c: Likewise.
27403 * math/s_ccos.c: Rely entire on ccosh.
27404 * math/s_ccosf.c: Rely entire on ccoshf.
27405 * math/s_ccosl.c: Rely entirely on ccoshl.
27406 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27407 Remove tests for FE_INVALID.
27408 * math/s_ccoshf.c: Likewise.
27409 * math/s_ccoshl.c: Likewise.
27410 * math/s_csin.c: Likewise.
27411 * math/s_csinf.c: Likewise.
27412 * math/s_csinh.c Likewise.
27413 * math/s_csinhf.c: Likewise.
27414 * math/s_csinhl.c: Likewise.
27415 * math/s_csinl.c: Likewise.
27416 * math/s_ctan.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27418 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27420
8ec250a4
UD
274212011-10-21 Ulrich Drepper <drepper@gmail.com>
27422
c196fed8
UD
27423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27424 compilation problems.
27425
8ec250a4
UD
27426 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27427 __builtin_expect.
27428
8d4f46c6
UD
274292011-10-20 Ulrich Drepper <drepper@gmail.com>
27430
ed72b654
UD
27431 * sysdeps/i386/configure.in: Test for -mfma4 option.
27432 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27433 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27434 COMMON_CPUID_INDEX_80000001.
27435 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27436 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27437 use it if FMA3 is not supported.
27438 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27439
8d4f46c6
UD
27440 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27441 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27442
d45c60c2
AS
274432011-10-20 Andreas Schwab <schwab@redhat.com>
27444
27445 [BZ #12892]
27446 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27447 it would create a cycle with a link time dependency.
27448
d9a4d2ab
UD
274492011-10-19 Ulrich Drepper <drepper@gmail.com>
27450
855d1560
UD
27451 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27452 instruction.
27453 * string/Makefile (strop-tests): Add rawmemchr.
27454 * string/test-rawmemchr.c: New file.
27455
d9a4d2ab
UD
27456 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27457 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27458 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27459 when compiling str{,n}casecmp and when AVX is available. Hook up
27460 new optimized code in initializers.
27461
8f3b1ffe
AS
274622011-10-19 Andreas Schwab <schwab@redhat.com>
27463
27464 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27465 __feraiseexcept instead of feraiseexcept.
27466
d38f1dba
UD
274672011-10-18 Ulrich Drepper <drepper@gmail.com>
27468
d9a8d0ab
UD
27469 * math/math_private.h: Define defaults for libc_fetestexcept and
27470 libc_feupdateenv.
27471 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27472 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27473 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27474 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27475 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27476 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27477 libc_fetestexcept and libc_feupdateenv.
27478
4855e3dd
UD
27479 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27480 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27481 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27482 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27483 libc_feholdexcept_setround.
27484
581d30e3
UD
27485 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27486 Add s_nearbyint-c and s_nearbyintf-c.
27487 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27488 nearbyintf inlines.
27489 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27490 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27491 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27492 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27493
d38f1dba
UD
27494 * math/math_private.h: Define defaults for libc_fegetround,
27495 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27496 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27497 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27499 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27500 standard functions.
27501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27502 Remove comments and hacks for old compiler versions.
27503 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27504 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27505 libc_feholdexceptl.
27506
caa6c9d8
AS
275072011-10-18 Andreas Schwab <schwab@redhat.com>
27508
27509 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27510 (__feraiseexcept_renamed): Add __NTH.
27511 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27512 namespace violations.
27513
97c066e6
UD
275142011-10-17 Ulrich Drepper <drepper@gmail.com>
27515
99ce7b04
UD
27516 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27517
1004d182
UD
27518 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27519
228a984d
UD
27520 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27521 recently added interfaces.
27522 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27523
c8553a6a
UD
27524 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27525 about macro parameter expansion.
27526
ed22dcf6
UD
27527 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27528 __NO_MATH_INLINES is defined. Cleanups.
27529
27530 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27531 and __floorf is target has SSE4.1.
27532 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27533 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27534 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27535 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27536
b171c137
UD
27537 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27538 name.
27539 (floorf): Likewise.
27540
97c066e6
UD
27541 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27542
629f62ef
AS
275432011-10-17 Andreas Schwab <schwab@redhat.com>
27544
49a43d80
AS
27545 * misc/sys/cdefs.h: Fix last change.
27546
629f62ef
AS
27547 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27548 database lookup.
27549
e453f6cd
UD
275502011-10-16 Ulrich Drepper <drepper@gmail.com>
27551
aa78043a
UD
27552 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27553
ad0f5cad
UD
27554 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27560 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27561 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27562 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27563 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27564 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27565 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27566 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27567 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27568 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27569 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27570 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27571 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27572 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27573 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27574 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27575 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27576
27577 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27578 ceil, ceilf, floor, floorf.
27579
27580 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27581 Perform IRELATIVE relocations last.
27582
e453f6cd
UD
27583 * elf/do-rel.h: Add another parameter nrelative, replacing the
27584 local variable with the same name. Change name of the function
27585 to end in Rel or Rela (uppercase).
27586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27587 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27588 elf_dynamic_do_##reloc function.
27589
fd5bdc09
UD
275902011-10-15 Ulrich Drepper <drepper@gmail.com>
27591
79b195b5
UD
27592 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27593 is sufficient, at least on modern CPUs.
27594
d4a28569
UD
27595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27596
b61099b5
UD
27597 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27598 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27599
bcf01e6d
UD
27600 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27601 __expl_finite.
27602 * math/bits/math-finite.h: Add entries for exp.
27603 * math/e_expl.c: Add __*_finite alias.
27604 * sysdeps/i386/fpu/e_exp.S: Likewise.
27605 * sysdeps/i386/fpu/e_expf.S: Likewise.
27606 * sysdeps/i386/fpu/e_expl.c: Likewise.
27607 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27608 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27609 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27612 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27613 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27614
ba1a0d59
UD
27615 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27616 is sufficient, at least on modern CPUs.
27617
fd5bdc09
UD
27618 * ctype/ctype-info.c (__ctype_init): Define.
27619 * include/ctype.h (__ctype_init): Declare.
27620 (__ctype_b_loc): The variable is always initialized.
27621 (__ctype_toupper_loc): Likewise.
27622 (__ctype_tolower_loc): Likewise.
27623 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27624 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27625
7872cfb0
AS
276262011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27627
b468825a
AS
27628 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27629
7872cfb0
AS
27630 * configure.in: Also look in $cxxmachine/include for C++ system
27631 headers.
27632
be13f7bf
LD
276332011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27634
27635 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27636 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27637 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27638 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27639 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27640 (USE_AS_WMEMCMP): New macro.
27641 Fixing indents.
27642 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27643 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27644 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27645 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27647 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27648 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27649 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27650 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27651 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27652 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27653 (USE_AS_WMEMCMP): New macro.
27654 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27655 * sysdeps/string/test-memcmp.c: Update.
27656 Fix simple_wmemcmp.
27657 Add new tests.
27658 * wcsmbs/wmemcmp.c: Update.
27659 (WMEMCMP): New macro.
27660 Fix overflow bug.
27661
556a2007
AJ
276622011-10-12 Andreas Jaeger <aj@suse.de>
27663
27664 [BZ #13268]
27665 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27666
538faaa7
UD
276672011-10-15 Ulrich Drepper <drepper@gmail.com>
27668
ab6737ff
UD
27669 * libio/iofwide.c (do_length): Avoid warning.
27670
538faaa7
UD
27671 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27672
396a21b1
UD
276732011-10-14 Ulrich Drepper <drepper@gmail.com>
27674
cdf2901f
UD
27675 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27676
38ad40ce
UD
27677 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27678 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27679 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27680 * sysdeps/i386/i686/fpu/e_log.S: New file.
27681 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27682 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27683
396a21b1
UD
27684 * ctype/ctype.h: Add support for inlined isXXX functions when
27685 compiling C++ code.
27686
6b1f68c9
AS
276872011-10-14 Andreas Schwab <schwab@redhat.com>
27688
349290c0
AS
27689 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27690
6b1f68c9
AS
27691 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27692
f2282d42
RM
276932011-10-13 Roland McGrath <roland@hack.frob.com>
27694
27695 [BZ #13291]
27696 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27697
5298ffa8
AS
276982011-10-13 Andreas Schwab <schwab@redhat.com>
27699
714fad23
AS
27700 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27701 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27702 feraiseexcept.
27703
81dcc7fb
AS
27704 * sysdeps/x86_64/memrchr.S: Check for zero size.
27705
5298ffa8
AS
27706 * string/stratcliff.c: Add memrchr tests.
27707
951fbcec
LD
277082011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27709
27710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27711 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27712 rawmemchr-sse2 rawmemchr-sse2-bsf.
27713 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27714 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27715 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27716 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27717 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27718 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27719 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27720 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27721 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27722 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27723 * string/memrchr.c (MEMRCHR): New macro.
27724
0ac5ae23
UD
277252011-10-12 Ulrich Drepper <drepper@gmail.com>
27726
27727 Add integration with gcc's -ffinite-math-only and optimize wrapper
27728 functions in libm.
27729 * Versions.def: Define GLIBC_2.15 version for libm.
27730 * math/Makefile (headers): Add bits/math-finite.h.
27731 * math/bits/math-finite.h: New file.
27732 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27733 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27734 * math/e_acoshl.c: Add __*_finite alias.
27735 * math/e_acosl.c: Likewise.
27736 * math/e_asinl.c: Likewise.
27737 * math/e_atan2l.c: Likewise.
27738 * math/e_atanhl.c: Likewise.
27739 * math/e_coshl.c: Likewise.
27740 * math/e_exp10.c: Likewise.
27741 * math/e_exp10f.c: Likewise.
27742 * math/e_exp10l.c: Likewise.
27743 * math/e_exp2l.c: Likewise.
27744 * math/e_fmodl.c: Likewise.
27745 * math/e_gammal_r.c: Likewise.
27746 * math/e_hypotl.c: Likewise.
27747 * math/e_j0l.c: Likewise.
27748 * math/e_j1l.c: Likewise.
27749 * math/e_jnl.c: Likewise.
27750 * math/e_lgammal_r.c: Likewise.
27751 * math/e_log10l.c: Likewise.
27752 * math/e_log2l.c: Likewise.
27753 * math/e_logl.c: Likewise.
27754 * math/e_powl.c: Likewise.
27755 * math/e_sinhl.c: Likewise.
27756 * math/e_sqrtl.c: Likewise.
27757 * math/e_scalb.c: Completely rewritten and optimized.
27758 * math/e_scalbf.c: Likewise.
27759 * math/e_scalbl.c: Likewise.
27760 * math/w_acos.c: Likewise.
27761 * math/w_acosf.c: Likewise.
27762 * math/w_acosl.c: Likewise.
27763 * math/w_acosh.c: Likewise.
27764 * math/w_acoshf.c: Likewise.
27765 * math/w_acoshl.c: Likewise.
27766 * math/w_asin.c: Likewise.
27767 * math/w_asinf.c: Likewise.
27768 * math/w_asinl.c: Likewise.
27769 * math/w_atan2.c: Likewise.
27770 * math/w_atan2f.c: Likewise.
27771 * math/w_atan2l.c: Likewise.
27772 * math/w_atanh.c: Likewise.
27773 * math/w_atanhf.c: Likewise.
27774 * math/w_atanhl.c: Likewise.
27775 * math/w_exp10.c: Likewise.
27776 * math/w_exp10f.c: Likewise.
27777 * math/w_exp10l.c: Likewise.
27778 * math/w_fmod.c: Likewise.
27779 * math/w_fmodf.c: Likewise.
27780 * math/w_fmodl.c: Likewise.
27781 * math/w_j0.c: Likewise.
27782 * math/w_j0f.c: Likewise.
27783 * math/w_j0l.c: Likewise.
27784 * math/w_j1.c: Likewise.
27785 * math/w_j1f.c: Likewise.
27786 * math/w_j1l.c: Likewise.
27787 * math/w_jn.c: Likewise.
27788 * math/w_jnf.c: Likewise.
27789 * math/w_log.c: Likewise.
27790 * math/w_logf.c: Likewise.
27791 * math/w_logl.c: Likewise.
27792 * math/w_log10.c: Likewise.
27793 * math/w_log10f.c: Likewise.
27794 * math/w_log10l.c: Likewise.
27795 * math/w_log2.c: Likewise.
27796 * math/w_log2f.c: Likewise.
27797 * math/w_log2l.c: Likewise.
27798 * math/w_pow.c: Likewise.
27799 * math/w_powf.c: Likewise.
27800 * math/w_powl.c: Likewise.
27801 * math/w_remainder.c: Likewise.
27802 * math/w_remainderf.c: Likewise.
27803 * math/w_remainderl.c: Likewise.
27804 * math/w_scalb.c: Likewise.
27805 * math/w_scalbf.c: Likewise.
27806 * math/w_scalbl.c: Likewise.
27807 * math/w_sqrt.c: Likewise.
27808 * math/w_sqrtf.c: Likewise.
27809 * math/w_sqrtl.c: Likewise.
27810 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27811 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27812 used.
27813 * math/math_private.h: Declare __kernel_standard_f.
27814 * math/w_cosh.c: Remove cruft and optimize a bit.
27815 * math/w_coshf.c: Likewise.
27816 * math/w_coshl.c: Likewise.
27817 * math/w_exp2.c: Likewise.
27818 * math/w_exp2f.c: Likewise.
27819 * math/w_exp2l.c: Likewise.
27820 * math/w_hypot.c: Likewise.
27821 * math/w_hypotf.c: Likewise.
27822 * math/w_hypotl.c: Likewise.
27823 * math/w_lgamma.c: Likewise.
27824 * math/w_lgamma_r.c: Likewise.
27825 * math/w_lgammaf.c: Likewise.
27826 * math/w_lgammaf_r.c: Likewise.
27827 * math/w_lgammal.c: Likewise.
27828 * math/w_lgammal_r.c: Likewise.
27829 * math/w_sinh.c: Likewise.
27830 * math/w_sinhf.c: Likewise.
27831 * math/w_sinhl.c: Likewise.
27832 * math/w_tgamma.c: Likewise.
27833 * math/w_tgammaf.c: Likewise.
27834 * math/w_tgammal.c: Likewise.
27835 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27836 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27837 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27838 Minor optimizations. Pretty printing. Remove cruft.
27839 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27840 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27842 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27843 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27844 * sysdeps/i386/fpu/e_asin.S: Likewise.
27845 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27846 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27847 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27848 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27849 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27850 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27852 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27853 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27854 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27855 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27856 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27857 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27858 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27859 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27860 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27861 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27862 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27863 * sysdeps/i386/fpu/e_log.S: Likewise.
27864 * sysdeps/i386/fpu/e_log10.S: Likewise.
27865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27867 * sysdeps/i386/fpu/e_log2.S: Likewise.
27868 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27869 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27870 * sysdeps/i386/fpu/e_logf.S: Likewise.
27871 * sysdeps/i386/fpu/e_logl.S: Likewise.
27872 * sysdeps/i386/fpu/e_pow.S: Likewise.
27873 * sysdeps/i386/fpu/e_powf.S: Likewise.
27874 * sysdeps/i386/fpu/e_powl.S: Likewise.
27875 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27876 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27877 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27878 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27879 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27880 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27881 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27882 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27883 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27884 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27888 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27889 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27890 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27891 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27892 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27893 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27894 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27895 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27898 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27901 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27904 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27905 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27906 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27907 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27908 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27909 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27910 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27911 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27912 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27913 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27914 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27915 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27916 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27917 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27918 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27919 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27920 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27921 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27922 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27923 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27924 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27925 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27964 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27967 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27969 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27970 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27972 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27975 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27976 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27977 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27978 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27979 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27980 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27981 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27982 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27983 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27984 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27985 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27986 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27987 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27988 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27989 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27991 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27992 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27993 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27994 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27995 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27996 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27997 (__isnanf): Likewise.
27998 (__isinf_ns): Likewise.
27999 (__isinf_nsf): Likewise.
28000 (__finite): Likewise.
28001 (__finitef): Likewise.
28002 (__ieee754_sqrt): Define as macro.
28003 (__ieee754_sqrtf): Define as macro.
28004 (__ieee754_sqrtl): Define as macro.
28005 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28006 inlined copy.
28007 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28008 __FINITE_MATH_ONLY__ consistent.
28009 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28010
12cc2fcd
AS
280112011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28012
a843a204
AS
28013 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28014 of rawmemchr.
28015
12cc2fcd
AS
28016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28017
c853acd5
UD
280182011-10-09 Ulrich Drepper <drepper@gmail.com>
28019
28020 * po/ja.po: Update from translation team.
28021
c658d255
RM
280222011-10-08 Roland McGrath <roland@hack.frob.com>
28023
110946e4
RM
28024 * locale/programs/locarchive.c (prepare_address_space): New function.
28025 (create_archive, enlarge_archive, open_archive): Use it.
28026
50604220
RM
28027 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28028 inside [SHARED], where it is used.
28029
c658d255
RM
28030 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28031
28032 * nss/getent.c (netgroup_keys): Remove unused variable.
28033 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28034
6a621eb7
UD
280352011-10-08 Ulrich Drepper <drepper@gmail.com>
28036
7edb55ce
UD
28037 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28038 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28039 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28040 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28041 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28042 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28043 * math/Makefile (libm-calls): Add s_isinf_ns.
28044 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28045 * math/multc3.c: Likewise.
28046 * math/s_casin.c: Likewise.
28047 * math/s_casinf.c: Likewise.
28048 * math/s_casinl.c: Likewise.
28049 * math/s_ccos.c: Likewise.
28050 * math/s_ccosf.c: Likewise.
28051 * math/s_ccosl.c: Likewise.
28052 * math/s_ctan.c: Likewise.
28053 * math/s_ctanf.c: Likewise.
28054 * math/s_ctanh.c: Likewise.
28055 * math/s_ctanhf.c: Likewise.
28056 * math/s_ctanhl.c: Likewise.
28057 * math/s_ctanl.c: Likewise.
28058 * math/w_fmod.c: Likewise.
28059 * math/w_fmodf.c: Likewise.
28060 * math/w_fmodl.c: Likewise.
28061 * math/w_remainder.c: Likewise.
28062 * math/w_remainderf.c: Likewise.
28063 * math/w_remainderl.c: Likewise.
28064 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28065 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28068 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28069 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28070 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28071 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28072
187da0ae
UD
28073 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28074 of the number.
28075 * stdio-common/printf_fphex.c: Likewise.
28076 * stdio-common/printf_size.c: Likewise.
28077
9277c064
UD
28078 * math/e_exp10.c: Include math_private.h using <...> not "...".
28079 * math/e_exp10f.c: Likewise.
28080 * math/e_exp10l.c: Likewise.
28081 * math/e_exp2l.c: Likewise.
28082 * math/e_j0l.c: Likewise.
28083 * math/e_j1l.c: Likewise.
28084 * math/e_jnl.c: Likewise.
28085 * math/e_lgammal_r.c: Likewise.
28086 * math/e_rem_pio2l.c: Likewise.
28087 * math/e_scalb.c: Likewise.
28088 * math/e_scalbf.c: Likewise.
28089 * math/e_scalbl.c: Likewise.
28090 * math/k_cosl.c: Likewise.
28091 * math/k_sinl.c: Likewise.
28092 * math/k_tanl.c: Likewise.
28093 * math/s_cacoshf.c: Likewise.
28094 * math/s_catan.c: Likewise.
28095 * math/s_catanf.c: Likewise.
28096 * math/s_catanh.c: Likewise.
28097 * math/s_catanhf.c: Likewise.
28098 * math/s_catanhl.c: Likewise.
28099 * math/s_catanl.c: Likewise.
28100 * math/s_ccosh.c: Likewise.
28101 * math/s_ccoshf.c: Likewise.
28102 * math/s_ccoshl.c: Likewise.
28103 * math/s_cexp.c: Likewise.
28104 * math/s_cexpf.c: Likewise.
28105 * math/s_cexpl.c: Likewise.
28106 * math/s_clog.c: Likewise.
28107 * math/s_clog10.c: Likewise.
28108 * math/s_clog10f.c: Likewise.
28109 * math/s_clog10l.c: Likewise.
28110 * math/s_clogf.c: Likewise.
28111 * math/s_clogl.c: Likewise.
28112 * math/s_csin.c: Likewise.
28113 * math/s_csinf.c: Likewise.
28114 * math/s_csinh.c: Likewise.
28115 * math/s_csinhf.c: Likewise.
28116 * math/s_csinhl.c: Likewise.
28117 * math/s_csinl.c: Likewise.
28118 * math/s_csqrt.c: Likewise.
28119 * math/s_csqrtf.c: Likewise.
28120 * math/s_csqrtl.c: Likewise.
28121 * math/s_ctan.c: Likewise.
28122 * math/s_ctanf.c: Likewise.
28123 * math/s_ctanh.c: Likewise.
28124 * math/s_ctanhf.c: Likewise.
28125 * math/s_ctanhl.c: Likewise.
28126 * math/s_ctanl.c: Likewise.
28127 * math/s_ldexp.c: Likewise.
28128 * math/s_ldexpf.c: Likewise.
28129 * math/s_ldexpl.c: Likewise.
28130 * math/s_significand.c: Likewise.
28131 * math/s_significandf.c: Likewise.
28132 * math/s_significandl.c: Likewise.
28133 * math/w_acos.c: Likewise.
28134 * math/w_acosf.c: Likewise.
28135 * math/w_acosh.c: Likewise.
28136 * math/w_acoshf.c: Likewise.
28137 * math/w_acoshl.c: Likewise.
28138 * math/w_acosl.c: Likewise.
28139 * math/w_asin.c: Likewise.
28140 * math/w_asinf.c: Likewise.
28141 * math/w_asinl.c: Likewise.
28142 * math/w_atan2.c: Likewise.
28143 * math/w_atan2f.c: Likewise.
28144 * math/w_atan2l.c: Likewise.
28145 * math/w_atanh.c: Likewise.
28146 * math/w_atanhf.c: Likewise.
28147 * math/w_atanhl.c: Likewise.
28148 * math/w_cosh.c: Likewise.
28149 * math/w_coshf.c: Likewise.
28150 * math/w_coshl.c: Likewise.
28151 * math/w_dremf.c: Likewise.
28152 * math/w_exp10.c: Likewise.
28153 * math/w_exp10f.c: Likewise.
28154 * math/w_exp10l.c: Likewise.
28155 * math/w_exp2.c: Likewise.
28156 * math/w_exp2f.c: Likewise.
28157 * math/w_fmod.c: Likewise.
28158 * math/w_fmodf.c: Likewise.
28159 * math/w_fmodl.c: Likewise.
28160 * math/w_hypot.c: Likewise.
28161 * math/w_hypotf.c: Likewise.
28162 * math/w_hypotl.c: Likewise.
28163 * math/w_j0.c: Likewise.
28164 * math/w_j0f.c: Likewise.
28165 * math/w_j0l.c: Likewise.
28166 * math/w_j1.c: Likewise.
28167 * math/w_j1f.c: Likewise.
28168 * math/w_j1l.c: Likewise.
28169 * math/w_jn.c: Likewise.
28170 * math/w_jnf.c: Likewise.
28171 * math/w_jnl.c: Likewise.
28172 * math/w_lgamma.c: Likewise.
28173 * math/w_lgamma_r.c: Likewise.
28174 * math/w_lgammaf.c: Likewise.
28175 * math/w_lgammaf_r.c: Likewise.
28176 * math/w_lgammal.c: Likewise.
28177 * math/w_lgammal_r.c: Likewise.
28178 * math/w_log.c: Likewise.
28179 * math/w_log10.c: Likewise.
28180 * math/w_log10f.c: Likewise.
28181 * math/w_log10l.c: Likewise.
28182 * math/w_log2.c: Likewise.
28183 * math/w_log2f.c: Likewise.
28184 * math/w_log2l.c: Likewise.
28185 * math/w_logf.c: Likewise.
28186 * math/w_logl.c: Likewise.
28187 * math/w_pow.c: Likewise.
28188 * math/w_powf.c: Likewise.
28189 * math/w_powl.c: Likewise.
28190 * math/w_remainder.c: Likewise.
28191 * math/w_remainderf.c: Likewise.
28192 * math/w_remainderl.c: Likewise.
28193 * math/w_scalb.c: Likewise.
28194 * math/w_scalbf.c: Likewise.
28195 * math/w_scalbl.c: Likewise.
28196 * math/w_sinh.c: Likewise.
28197 * math/w_sinhf.c: Likewise.
28198 * math/w_sinhl.c: Likewise.
28199 * math/w_sqrt.c: Likewise.
28200 * math/w_sqrtf.c: Likewise.
28201 * math/w_sqrtl.c: Likewise.
28202 * math/w_tgamma.c: Likewise.
28203 * math/w_tgammaf.c: Likewise.
28204 * math/w_tgammal.c: Likewise.
28205
6a621eb7
UD
28206 * po/ja.po: Update from translation team.
28207
bf582445
AJ
282082011-09-29 Andreas Jaeger <aj@suse.de>
28209
f9efbf3a
AJ
28210 [BZ #13179]
28211 * sunrpc/netname.c (netname2host): Fix logic.
28212
bf582445
AJ
28213 [BZ #6779]
28214 [BZ #6783]
28215 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28216 correctly.
28217 * math/w_remainder.c (__remainder): Likewise.
28218 * math/w_remainderf.c (__remainderf): Likewise.
28219 * math/libm-test.inc (remainder_test): Add test cases.
28220
48693bea
AK
282212011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28222
28223 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28224 sdiv_qrnnd.
28225
42622229
LD
282262011-10-07 Ulrich Drepper <drepper@gmail.com>
28227
28228 * string/test-memcmp.c: Avoid unncessary #defines.
28229 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28230
093ecf92
LD
282312011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28232
28233 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28234 Use new sse2 version for core i3 - i7 as it's faster
28235 than sse42 version.
28236 (bit_Prefer_PMINUB_for_stringop): New.
28237 * sysdeps/x86_64/rawmemchr.S: Update.
28238 Replace with faster SSE2 version.
28239 * sysdeps/x86_64/memrchr.S: New file.
28240 * sysdeps/x86_64/memchr.S: Update.
28241 Replace with faster SSE2 version.
28242
fde56e5c
MP
282432011-09-12 Marek Polacek <mpolacek@redhat.com>
28244
28245 * elf/dl-load.c (lose): Add cast to avoid warning.
28246
21fd49a9
UD
282472011-10-07 Ulrich Drepper <drepper@gmail.com>
28248
5a06e643
UD
28249 * po/ca.po: Update from translation team.
28250
684ae515
UD
28251 * inet/getnetgrent_r.c: Hook up nscd.
28252 * nscd/Makefile (routines): Add nscd_netgroup.
28253 (nscd-modules): Add netgroupcache.
28254 (CFLAGS-netgroupcache.c): Define.
28255 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28256 (cache_search): Add const to second parameter.
28257 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28258 INNETGR.
28259 (dbs): Add netgrdb entry.
28260 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28261 (verify_persistent_db): Handle netgrdb.
28262 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28263 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28264 GETFDNETGR.
28265 (netgroup_response_header): Define.
28266 (innetgroup_response_header): Define.
28267 (datahead): Add netgroup_response_header and innetgroup_response_header
28268 elements.
28269 * nscd/nscd.conf: Add entries for netgroup cache.
28270 * nscd/nscd.h (dbtype): Add netgrdb.
28271 (_PATH_NSCD_NETGROUP_DB): Define.
28272 (netgroup_iov_disabled): Declare.
28273 (xmalloc, xcalloc, xrealloc): Move declarations here.
28274 (cache_search): Adjust prototype.
28275 Add netgroup-related prototypes.
28276 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28277 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28278 (__nscd_innetgr): Declare.
28279 * nscd/selinux.c (perms): Use access_vector_t as element type and
28280 add netgroup-related initializers.
28281 * nscd/netgroupcache.c: New file.
28282 * nscd/nscd_netgroup.c: New file.
28283 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28284 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28285 For four parameters use innetgr.
28286 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28287 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28288 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28289 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28290
21fd49a9
UD
28291 * nscd/connections.c (register_traced_file): Don't register file
28292 for disabled databases.
28293
054c0457
UD
282942011-10-06 Ulrich Drepper <drepper@gmail.com>
28295
32b63198
UD
28296 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28297
054c0457
UD
28298 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28299 from tree and freeing node.
28300
64031225
JO
283012011-09-25 Jiri Olsa <jolsa@redhat.com>
28302
28303 * nss/nsswitch.c (__nss_database_lookup): Handle
28304 nss_parse_service_list out of memory case.
28305
0490345c
JO
283062011-09-15 Jiri Olsa <jolsa@redhat.com>
28307
28308 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28309 out of memory case.
28310
3a62d00d
AS
283112011-10-04 Andreas Schwab <schwab@redhat.com>
28312
28313 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28314 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28315 pass it down.
28316 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28317 elf_machine_rela, elf_machine_lazy_rel.
28318 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28319 (ELF_DYNAMIC_DO_REL): Likewise.
28320 (ELF_DYNAMIC_DO_RELA): Likewise.
28321 (ELF_DYNAMIC_RELOCATE): Likewise.
28322 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28323 to ELF_DYNAMIC_DO_REL.
28324 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28325 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28326 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28327 elf_machine_rela.
28328 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28329 skip_ifunc, don't call ifunc function if non-zero.
28330 (elf_machine_rela): Likewise.
28331 (elf_machine_lazy_rel): Likewise.
28332 (elf_machine_lazy_rela): Likewise.
28333 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28334 (elf_machine_lazy_rel): Likewise.
28335 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28336 Likewise.
28337 (elf_machine_lazy_rel): Likewise.
28338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28339 Likewise.
28340 (elf_machine_lazy_rel): Likewise.
28341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28342 (elf_machine_lazy_rel): Likewise.
28343 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28344 (elf_machine_lazy_rel): Likewise.
28345 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28346 (elf_machine_lazy_rel): Likewise.
28347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28348 (elf_machine_lazy_rel): Likewise.
28349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28350 (elf_machine_lazy_rel): Likewise.
28351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28352 (elf_machine_lazy_rel): Likewise.
28353
68577918
UD
283542011-09-28 Ulrich Drepper <drepper@gmail.com>
28355
28356 * nss/nss_files/files-init.c (_nss_files_init): Use static
28357 initialization for all the *_traced_file variables.
28358
68822d74
AS
283592011-09-28 Andreas Schwab <schwab@redhat.com>
28360
28361 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28362
2056100b
RM
283632011-09-27 Roland McGrath <roland@hack.frob.com>
28364
28365 [BZ #13226]
28366 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28367
32c76b63
AS
283682011-09-27 Andreas Schwab <schwab@redhat.com>
28369
28370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28371 Reread the line before reparsing it.
28372
bf972c9d
AS
283732011-09-26 Andreas Schwab <schwab@redhat.com>
28374
28375 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28376
e057a1b5
JM
283772011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28378 Maxim Kuvyrkov <maxim@codesourcery.com>
28379 Joseph Myers <joseph@codesourcery.com>
28380
28381 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28382 if needed for __stack_chk_guard.
28383
bc7e1c36
RM
283842011-09-19 Roland McGrath <roland@hack.frob.com>
28385
ecb1482f
RM
28386 * sysdeps/posix/spawni.c (script_execute): Always define it.
28387 It will be optimized away if unused.
28388 (maybe_script_execute): New function.
28389 (__spawni): Call it.
28390
bc7e1c36
RM
28391 * Makerules: Don't include tls.make.
28392 (config-tls): Always set to thread.
28393 * tls.make.c: File removed.
28394
1c3b002b
MF
283952011-09-19 Mike Frysinger <vapier@gentoo.org>
28396
28397 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28398 * config.make.in (CPPFLAGS-config): New substituted variable.
28399
2840865d
UD
284002011-09-15 Ulrich Drepper <drepper@gmail.com>
28401
88738eb6
UD
28402 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28403
cbf645a6 28404 [BZ #13192]
2840865d
UD
28405 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28406 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28407
b402e91a
RM
284082011-09-15 Roland McGrath <roland@hack.frob.com>
28409
28410 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28411 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28413 (CALL_FAIL): Likewise.
28414 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28415 (CALL_FAIL): Macro removed.
28416 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28417
4c1a1f71
UD
284182011-09-15 Ulrich Drepper <drepper@gmail.com>
28419
28420 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28421 for __FINITE_MATH_ONLY__ == 1.
28422
edc121be
AS
284232011-09-15 Andreas Schwab <schwab@redhat.com>
28424
28425 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28426 __ieee754_sqrt instead of sqrt.
28427 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28428 __ieee754_sqrtf instead of sqrtf.
28429 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28430 __floorf instead of floorf.
28431 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28432 __floorf, __truncf instead of floorf, truncf.
28433
cd205654
UD
284342011-09-14 Ulrich Drepper <drepper@gmail.com>
28435
ee4d0315
UD
28436 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28437
cd205654
UD
28438 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28439 __extern_always_inline.
28440 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28441 32-bit.
28442
48b67d71
AS
284432011-09-14 Andreas Schwab <schwab@redhat.com>
28444
28445 * elf/rtld.c (dl_main): Also relocate in dependency order when
28446 doing symbol dependency testing.
28447
1ae12c75
AS
284482011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28449
28450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28451 Always define `refsym'.
28452
995a80df
AS
284532011-09-13 Andreas Schwab <schwab@redhat.com>
28454
e529793b
AS
28455 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28456 (__FD_ELT): Renamed from __FDELT.
28457 * misc/bits/select2.h (__FD_ELT): Likewise.
28458 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28459 __FD_MASK instead of __FDELT, __FDMASK.
28460 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28461 Likewise.
28462 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28463 Likewise.
28464
52d4fef8
AS
28465 * elf/Makefile (gen-ldd): Fix pattern.
28466
995a80df
AS
28467 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28468 (init_tls): Likewise.
28469
8682f8b0
UD
284702011-09-12 Ulrich Drepper <drepper@gmail.com>
28471
28472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28473
de82006d
AS
284742011-09-12 Andreas Schwab <schwab@redhat.com>
28475
a7c8e6a1
AS
28476 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28477 `struct cmsghdr *' instead of `void *'.
28478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28479 Likewise.
28480
0f31fe77
AS
284812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28482
28483 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28484 if non-absolute.
28485 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28486 ldd_rewrite_script.
0f31fe77 28487
32b4c839
UD
284882011-09-11 Ulrich Drepper <drepper@gmail.com>
28489
83cd1420
UD
28490 * configure.in: Remove --with-tls option.
28491 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28492 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28493 out in case it is missing.
28494 * sysdeps/ia64/elf/configure.in: Likewise.
28495 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28496 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28497 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28498 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28499 * sysdeps/sh/elf/configure.in: Likewise.
28500 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28501 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28502 * sysdeps/x86_64/elf/configure.in: Likewise.
28503 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28504 * sysdeps/mach/hurd/tls.h: Likewise.
28505
633f745d
UD
28506 [BZ #13067]
28507 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28508
f318beb8
UD
28509 [BZ #13090]
28510 * configure.in: Fix use of AC_INIT.
28511
32b4c839
UD
28512 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28513
3ce1f295
UD
285142011-09-10 Ulrich Drepper <drepper@gmail.com>
28515
bb016596
UD
28516 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28517 __set_errno.
8e58439c
UD
28518 * malloc/hooks.c: Likewise.
28519
aebae053 28520 [BZ #11929]
02d46fc4
UD
28521 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28522 variables statically.
28523 (narenas): Initialize.
28524 (list_lock): Initialize.
bb016596
UD
28525 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28526 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28527 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28528 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28529 Add initializers to main_arena and mp_.
28530 (malloc_state): Remove pagesize member. Change all users to use
28531 GLRO(dl_pagesize).
28532
28533 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28534 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28535 is always initialized.
28536
22a89187
UD
28537 * malloc/malloc.c: Removed unused configurations and dead code.
28538 * malloc/arena.c: Likewise.
28539 * malloc/hooks.c: Likewise.
02d46fc4 28540 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28541
d063d164
UD
28542 * include/tls.h: Removed. USE___THREAD must always be defined.
28543 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28544 * elf/dl-libc.c: Likewise.
28545 * elf/dl-tsd.c: Likewise.
28546 * include/errno.h: Likewise.
28547 * include/netdb.h: Likewise.
28548 * include/resolv.h: Likewise.
28549 * inet/herrno-loc.c: Likewise.
28550 * inet/herrno.c: Likewise.
28551 * malloc/arena.c: Likewise.
28552 * malloc/hooks.c: Likewise.
28553 * malloc/malloc.c: Likewise.
28554 * resolv/res-state.c: Likewise.
28555 * resolv/res_libc.c: Likewise.
28556 * sysdeps/i386/dl-machine.h: Likewise.
28557 * sysdeps/ia64/dl-machine.h: Likewise.
28558 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28559 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28560 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28561 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28562 * sysdeps/sh/dl-machine.h: Likewise.
28563 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28564 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28565 * sysdeps/unix/i386/sysdep.S: Likewise.
28566 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28567 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28569 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28572 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28576 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28577 * sysdeps/x86_64/dl-machine.h: Likewise.
28578 * tls.make.c: Likewise.
28579
3ce1f295
UD
28580 * configure.in: Remove --with-__thread option. Make tests for
28581 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28582 tls_model attribute fail if no support is available. Remove
28583 USE_IN_LIBIO.
28584 * Makeconfig: Adjust for dropped configure option. All features are
28585 now mandatory.
28586 * Makerules: Likewise.
28587 * Versions.def: Likewise.
28588 * argp/argp-fmtstream.c: Likewise.
28589 * argp/argp-fmtstream.h: Likewise.
28590 * argp/argp-help.c: Likewise.
28591 * assert/assert.c: Likewise.
28592 * config.h.in: Likewise.
28593 * config.make.in: Likewise.
28594 * configure: Likewise.
28595 * configure.in: Likewise.
28596 * csu/Versions: Likewise.
28597 * csu/init.c: Likewise.
28598 * elf/tst-audit2.c: Likewise.
28599 * elf/tst-tls10.c: Likewise.
28600 * elf/tst-tls10.h: Likewise.
28601 * elf/tst-tls11.c: Likewise.
28602 * elf/tst-tls12.c: Likewise.
28603 * elf/tst-tls14.c: Likewise.
28604 * elf/tst-tlsmod11.c: Likewise.
28605 * elf/tst-tlsmod12.c: Likewise.
28606 * elf/tst-tlsmod13.c: Likewise.
28607 * elf/tst-tlsmod13a.c: Likewise.
28608 * elf/tst-tlsmod14a.c: Likewise.
28609 * elf/tst-tlsmod15b.c: Likewise.
28610 * elf/tst-tlsmod16a.c: Likewise.
28611 * elf/tst-tlsmod16b.c: Likewise.
28612 * elf/tst-tlsmod7.c: Likewise.
28613 * elf/tst-tlsmod8.c: Likewise.
28614 * elf/tst-tlsmod9.c: Likewise.
28615 * gmon/gmon.c: Likewise.
28616 * grp/fgetgrent_r.c: Likewise.
28617 * grp/putgrent.c: Likewise.
28618 * hurd/fopenport.c: Likewise.
28619 * include/libc-symbols.h: Likewise.
28620 * include/tls.h: Likewise.
28621 * intl/gettextP.h: Likewise.
28622 * intl/loadinfo.h: Likewise.
28623 * locale/global-locale.c: Likewise.
28624 * locale/localeinfo.h: Likewise.
28625 * mach/devstream.c: Likewise.
28626 * malloc/arena.c: Likewise.
28627 * malloc/set-freeres.c: Likewise.
28628 * misc/err.c: Likewise.
28629 * misc/getttyent.c: Likewise.
28630 * misc/mntent_r.c: Likewise.
28631 * posix/getopt.c: Likewise.
28632 * posix/wordexp.c: Likewise.
28633 * pwd/fgetpwent_r.c: Likewise.
28634 * resolv/Versions: Likewise.
28635 * resolv/res_hconf.c: Likewise.
28636 * shadow/fgetspent_r.c: Likewise.
28637 * shadow/putspent.c: Likewise.
28638 * stdio-common/printf_fphex.c: Likewise.
28639 * stdio-common/tmpfile.c: Likewise.
28640 * stdlib/abort.c: Likewise.
28641 * stdlib/fmtmsg.c: Likewise.
28642 * sunrpc/auth_unix.c: Likewise.
28643 * sunrpc/clnt_perr.c: Likewise.
28644 * sunrpc/clnt_tcp.c: Likewise.
28645 * sunrpc/clnt_udp.c: Likewise.
28646 * sunrpc/clnt_unix.c: Likewise.
28647 * sunrpc/openchild.c: Likewise.
28648 * sunrpc/svc_simple.c: Likewise.
28649 * sunrpc/svc_tcp.c: Likewise.
28650 * sunrpc/svc_udp.c: Likewise.
28651 * sunrpc/svc_unix.c: Likewise.
28652 * sunrpc/xdr.c: Likewise.
28653 * sunrpc/xdr_array.c: Likewise.
28654 * sunrpc/xdr_rec.c: Likewise.
28655 * sunrpc/xdr_ref.c: Likewise.
28656 * sunrpc/xdr_stdio.c: Likewise.
28657
1248c1c4
PB
286582011-09-09 Ulrich Drepper <drepper@gmail.com>
28659
28660 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28661
286622011-07-03 Andreas Jaeger <aj@suse.de>
28663
28664 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28665 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28666 regenerate with gen-libm-tests.pl.
28667
286682010-05-12 Petr Baudis <pasky@suse.cz>
28669
28670 [BZ #11589]
28671 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28672 around j0() zero points by switching to j1().
28673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28677
f22e1074
UD
286782011-09-09 Ulrich Drepper <drepper@gmail.com>
28679
f19009c1
UD
28680 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28681 instead of 0.
28682 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28683 instead of 0.
f19009c1
UD
28684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28685 Patch in part by Pavel Roskin <proski@gnu.org>.
28686
3f8cc204
UD
28687 [BZ #13138]
28688 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28689 realloc.
28690 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28691 Free memory block if necessary.
28692
f22e1074
UD
28693 [BZ #12847]
28694 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28695 be NULL. Don't lock in this case.
28696
0a2349f9
RM
286972011-09-09 Roland McGrath <roland@hack.frob.com>
28698
28699 * elf/elf.h (ELFOSABI_GNU): New macro.
28700 (ELFOSABI_LINUX): Define to that.
28701
f3cdd467
DZ
287022011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28703
28704 * string/strncat.c (strncat): Undef the symbol in case it has been
28705 defined in bits/string.h.
28706
74718d13
UD
287072011-09-09 Ulrich Drepper <drepper@gmail.com>
28708
633e9e0f
UD
28709 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28710
0a2349f9 28711 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28712 link map.
28713
f9924780
AJ
287142011-08-17 Andreas Jaeger <aj@suse.de>
28715
28716 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28717
7f5517aa
PP
287182011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28719 Ian Lance Taylor <iant@google.com>
28720
28721 * math/libm-test.inc (lround_test): New testcase.
28722 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28723
762011fe
UD
287242011-09-08 Ulrich Drepper <drepper@gmail.com>
28725
92963737
UD
28726 * Makefile: Remove support for automatic cvs check-ins.
28727 * Makerules: Likewise.
28728 * config.make.in: Likewise.
28729 * configure.in: Likewise.
28730 * intl/Makefile: Likewise.
28731 * locale/Makefile: Likewise.
28732 * po/Makefile: Likewise.
28733 * posix/Makefile: Likewise.
28734 * sysdeps/gnu/Makefile: Likewise.
28735 * sysdeps/mach/hurd/Makefile: Likewise.
28736 * sysdeps/sparc/sparc32/Makefile: Likewise.
28737
b0727fd8
JS
28738 [BZ #13118]
28739 * posix/Makefile (bug-regex32-ENV): Define.
28740 Patch by John Stanley <jpsinthemix@verizon.net>.
28741
a0f33f99
UD
28742 * misc/Makefile (headers): Add bits/select2.h.
28743 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28744 * misc/bits/select2.h: New file.
28745 * include/bits/select2.h: New file.
28746 * debug/Makefile (routines): Add fdelt_chk.
28747 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28748 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28749 FD_ISSET.
28750 * debug/fdelt_chk.c: New file.
28751
762011fe
UD
28752 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28753 * wcsmbs/test-wmemcmp.c: Likewise.
28754 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28755 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28756
287572011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28758
28759 * string/Makefile (strop-tests): Add memcmp.
28760 * string/test-wmemcmp.c: New file.
28761 * string/test-memcmp.c: Add wmemcmp support.
28762
7f513ec8
RM
287632011-09-08 Roland McGrath <roland@hack.frob.com>
28764
0442afb4
RM
28765 [BZ #13153]
28766 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28767 2011-07-19 change.
28768
7f513ec8
RM
28769 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28770 garbage value in a __mach_port_mod_refs call in the cases of the
28771 task-self and thread-self ports.
28772
a12b2239
ST
287732011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28774
28775 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28776
610f9ab4
AS
287772011-09-08 Andreas Schwab <schwab@redhat.com>
28778
7f513ec8 28779 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28780
48882a1a
LD
287812011-09-07 Ulrich Drepper <drepper@gmail.com>
28782
b49865be
UD
28783 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28784
fdc86bc9
UD
28785 * elf/dl-libc.c (dlerror_run): Pass back error code from
28786 dl_catch_error.
28787
c966526a
UD
28788 [BZ #13123]
28789 * elf/dl-load.c (lose): Free l_origin if it is valid.
28790
48882a1a
LD
28791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28792 names.
28793 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28795 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28796 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28797 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28798 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28799
77a2a8b4
AZ
288002011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28801
28802 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28803 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28804 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28805 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28806 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28807 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28808 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28809 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28810 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28811 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28812
24f579d8
AM
288132011-08-15 Alan Modra <amodra@gmail.com>
28814
28815 [BZ #13092]
28816 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28817 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28818 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28819 ppc_mcount to static-only-routines.
28820 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28821 __mcount_internal.
28822 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28823 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28824
3d4837df
UD
288252011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28826
28827 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28828 for finite and infinity parameters.
28829
22700377
WS
288302011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28831
28832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28833 and add nop instructions for throughput optimization.
28834 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28835
5025581e
WS
288362011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28837
28838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28839 aligned copy for power7 with vector-scalar instructions.
28840 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28841
08a300c9
L
288422011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28843
28844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28845 AVX check.
28846
59178ef9
AS
288472011-09-07 Andreas Schwab <schwab@redhat.com>
28848
28849 [BZ #13144]
28850 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28851 last change.
28852
e38ba7ab
UD
288532011-09-07 Ulrich Drepper <drepper@gmail.com>
28854
28855 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28856 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28857 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28858 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28859 clock_gettime.
28860
d53a73ac
UD
288612011-09-06 Ulrich Drepper <drepper@gmail.com>
28862
fc8bffcc
UD
28863 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28864 Forgot to demangle the pointer.
28865
ceaa0c5d
UD
28866 * sysdeps/i386/sysdep.h: Define atom_text_section.
28867 * sysdeps/x86_64/sysdep.h: Likewise.
28868 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28869 section with atom_text_section.
28870 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28871 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28872 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28873 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28874 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28875
a77d3c17
UD
28876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28877 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28878 already be defined. Change to take two parameters and don't assign
28879 result to variable. Adjust all users.
28880 Define INTERNAL_GETTIME if not already defined.
28881 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28882 call.
28883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28884 HAVE_CLOCK_GETTIME_VSYSCALL.
28885 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28886
d53a73ac
UD
28887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28888 gettimeofday vsyscall, just use time.
28889
a8f84144
AS
288902011-09-06 Andreas Schwab <schwab@redhat.com>
28891
28892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28893 <errno.h>.
28894
ef606249
UD
288952011-09-06 Ulrich Drepper <drepper@gmail.com>
28896
28897 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28898 syscall on x86-64.
28899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28900 syscall.
28901 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28902 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28903 syscall if possible.
28904
6585cb60
UD
289052011-09-05 Ulrich Drepper <drepper@gmail.com>
28906
28907 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28908 e_ident. Don't pass to find_mapsXX.
28909 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28910
a5f524e4
LD
289112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28912
28913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28914 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28915 * sysdeps/x86_64/multiarch/strchr.S: Update.
28916 Check bit_slow_BSF bit.
28917 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28918 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28919 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28920
554881ef
UD
289212011-09-05 Ulrich Drepper <drepper@gmail.com>
28922
d96de963
UD
28923 [BZ #13134]
28924 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28925 before glibc 2.15.
28926 (tryshell): Define.
28927 (__spawni): Change last parameter to be flag. Test
28928 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28929 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28930 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28931 * posix/spawni.c: Likewise.
28932 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28933 * posix/spawnp.c: Likewise. Change normal version to use
28934 SPAWN_XFLAGS_USE_PATH.
28935 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28936 SPAWN_XFLAGS_TRY_SHELL.
28937
d48e5868
UD
28938 [BZ #13150]
28939 * posix/glob.h: Remove gcc 1.x support.
28940
554881ef
UD
28941 [BZ #13068]
28942 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28943
693fb948
LD
289442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28945
28946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28947 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28948 strrchr-sse2-bsf
28949 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28950 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28951 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28952 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28953 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28954 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28955
1b48c537
UD
289562011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28957
49d42c37
UD
28958 * sysdeps/x86_64/wcscmp.S: New file.
28959
1b48c537
UD
28960 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28961 wcscmp-c wcscmp-sse2
28962 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28963 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28964 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28965 * wcsmbs/wcscmp.c: Allow renaming.
28966
15c95c5d
DM
289672011-09-05 David S. Miller <davem@davemloft.net>
28968
28969 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28970 stack slot, rather than the struct return pointer slot.
28971 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28972 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28974 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28975
2f0ad8f3
UD
289762011-09-05 Ulrich Drepper <drepper@gmail.com>
28977
d88ae418
UD
28978 * po/ja.po: Update from translation team.
28979
2f0ad8f3
UD
28980 [BZ #13144]
28981 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28982 kernel in 64-bit binaries.
28983
5f4318d1
DM
289842011-09-01 David S. Miller <davem@davemloft.net>
28985
28986 * elf/elf.h (HWCAP_SPARC_*): Move to..
28987 * sysdeps/sparc/sysdep.h: this new file and add new values.
28988 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28989 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28990 _DL_HWCAP_COUNT to 24.
28991 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28992 entries.
28993 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28994 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28995 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28997 instead of magic constants.
28998 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28999
3ba57516
DM
290002011-08-31 David S. Miller <davem@davemloft.net>
29001
29002 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29004 Reimplement to do errno handling inline.
29005 (SYSCALL_ERROR_HANDLER): New macro.
29006 (__SYSCALL_STRING): Do not do errno handling in asm.
29007 (__CLONE_SYSCALL_STRING): Delete.
29008 (__INTERNAL_SYSCALL_STRING): Delete.
29009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29010 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29011 (PSEUDO): Reimplement to do errno handling inline.
29012 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29013 (SYSCALL_ERROR_HANDLER): New macro.
29014 (__SYSCALL_STRING): Do not do errno handling in asm.
29015 (__CLONE_SYSCALL_STRING): Delete.
29016 (__INTERNAL_SYSCALL_STRING): Delete.
29017 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29018 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29019 i386.
29020 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29021 (inline_syscall*): Add 'err' argument.
29022 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29023 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29024 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29025 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29026
29027 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29028 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29029
2bc17433
AS
290302011-08-30 Andreas Schwab <schwab@redhat.com>
29031
29032 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29033
fbeb5f4d
JO
290342011-08-29 Jiri Olsa <jolsa@redhat.com>
29035
29036 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29037 directive.
29038
ad69cc26
DM
290392011-08-24 David S. Miller <davem@davemloft.net>
29040
29041 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29042
39dd69df
AS
290432011-08-24 Andreas Schwab <schwab@redhat.com>
29044
29045 * elf/Makefile: Add rules to build and run unload8 test.
29046 * elf/unload8.c: New file.
29047 * elf/unload8mod1.c: New file.
29048 * elf/unload8mod1x.c: New file.
29049 * elf/unload8mod2.c: New file.
29050 * elf/unload8mod3.c: New file.
29051
29052 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29053 it wasn't used.
29054
2c0b250a
DM
290552011-08-23 David S. Miller <davem@davemloft.net>
29056
29057 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29058 subtract stack bias.
29059 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29060 %sp not %fp in calculations.
29061 (_JMPBUF_UNWINDS_ADJ): Likewise.
29062
22044b48
DM
29063 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29064 (aio_suspend): Call it to force an exception region around the
29065 AIO_MISC_WAIT() invocation.
29066
2cae4995
AS
290672011-08-23 Andreas Schwab <schwab@redhat.com>
29068
29069 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29070 backslash.
29071
873a772e
AJ
290722011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29073
29074 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29075 protection macro.
29076 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29077 and <dl-machine.h>.
29078 (Elf64_FuncDesc): Remove.
29079
25ad0df1
DM
290802011-08-22 David S. Miller <davem@davemloft.net>
29081
29082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29083 sigaltstack check, add missing cfi directives.
29084 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29085 missing cfi directives, and sigaltstack handling.
29086
e888bcbe
AS
290872011-08-16 Andreas Schwab <schwab@redhat.com>
29088
29089 [BZ #11724]
29090 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29091 object is seen twice.
29092 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29093
29094 * elf/Makefile (distribute): Add tst-initorder2.c.
29095 (tests): Add tst-initorder2.
29096 (modules-names): Add tst-initorder2a tst-initorder2b
29097 tst-initorder2c tst-initorder2d. Add rules to build them.
29098 ($(objpfx)tst-initorder2.out): New rule.
29099 * elf/tst-initorder2.c: New file.
29100 * elf/tst-initorder2.exp: New file.
29101
87162f46
AS
291022011-08-22 Andreas Schwab <schwab@redhat.com>
29103
70538b7f
AS
29104 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29105
f55ffe58
AS
29106 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29107 dependencies back to end of function.
29108
87162f46
AS
29109 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29110 $(elfobjdir)/ld.so.
29111
91b392a4
UD
291122011-08-21 Ulrich Drepper <drepper@gmail.com>
29113
29114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29115 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29117 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29118 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29119 of __vdso_gettimeofday.
29120 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29121 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29122 attribute_hidden.
29123 (_libc_vdso_platform_setup): Remove initialization of
29124 __vdso_gettimeofday and __vdso_time.
29125
5c43483f
UD
291262011-08-20 Ulrich Drepper <drepper@gmail.com>
29127
775a77e7
UD
29128 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29129 and fgetc_unlocked.
29130 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29131 getc_unlocked.
89f447ed 29132
49c74ba9
UD
29133 * elf/dl-open.c (add_to_global): Report additions to the global scope
29134 for LD_DEBUG=scopes.
29135 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29136 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29137
5c43483f
UD
29138 [BZ #13114]
29139 * stdio-common/Makefile (tests): Add bug24.
29140 * stdio-common/bug24.c: New file.
29141
a101b025
AJ
291422011-08-19 Andreas Jaeger <aj@suse.de>
29143
29144 [BZ #13114]
29145 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29146 non-existant file when using close-on-exec mode.
29147
c88f1766
UD
291482011-08-20 Ulrich Drepper <drepper@gmail.com>
29149
0276a718
UD
29150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29151 the very first instruction.
29152
c88f1766
UD
29153 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29154 the CFI state in the end.
29155 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29156 inclusion of dl-trampoline.h.
29157 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29158
51ccffa0
AS
291592011-08-19 Andreas Schwab <schwab@redhat.com>
29160
94d7165f
AS
29161 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29162 expectations for long double.
29163
51ccffa0
AS
29164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29165 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29166
fd708658 291672011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29168
29169 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29170 artificual limit depends upon the system page size.
29171
44f0a71e
UD
291722011-08-17 Ulrich Drepper <drepper@gmail.com>
29173
29174 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29175 * resolv/Makefile: Define CFLAGS-libresolv.
29176
8de79a24
AS
291772011-08-17 Andreas Schwab <schwab@redhat.com>
29178
29179 * nss/makedb.c (compute_tables): Make variables used in nested
29180 function static.
29181
27724598
UD
291822011-08-17 Ulrich Drepper <drepper@gmail.com>
29183
c5305d88
UD
29184 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29185 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29186 if buffer was too small.
29187
27724598
UD
29188 * elf/pldd.c (main): Attach to all threads in the process.
29189 Rewrite /proc handling to use *at functions.
29190
076fe015
UD
291912011-08-16 Ulrich Drepper <drepper@gmail.com>
29192
174baab3
UD
29193 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29194 specifies first scope to show.
29195 (dl_open_worker): Update callers. Move printing scope of new
29196 object to before the relocation.
44f0a71e 29197 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29198 * sysdeps/generic/ldsodefs.h: Update declaration.
29199
076fe015
UD
29200 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29201 string for the scope number.
29202
a60df2c3
UD
292032011-08-14 Ulrich Drepper <drepper@gmail.com>
29204
29205 * nscd/servicescache.c (cache_addserv): Make sure written is always
29206 initialized.
29207
5e4287d1
RM
292082011-08-14 Roland McGrath <roland@hack.frob.com>
29209
85ae0589
RM
29210 * sysdeps/i386/i486/bits/atomic.h
29211 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29212 statement expression, so as to suppress "set but not used" warning.
29213 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29214
69f63097
RM
29215 * string/strncat.c (STRNCAT): Use prototype definition.
29216
675456ef
RM
29217 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29218 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29219 -Iprograms here.
29220 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29221 (localedef-modules): Add localedef.
29222 (locale-modules): Add locale.
29223
5e4287d1
RM
29224 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29225 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29226 to avoid a warning.
29227
9c96ff23
DM
292282011-08-14 David S. Miller <davem@davemloft.net>
29229
29230 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29231 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29232
f9ddf089
UD
292332011-08-13 Ulrich Drepper <drepper@gmail.com>
29234
44f0a71e 29235 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29236 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29237 * elf/rtld.c (dl_main): Set l_name of vDSO.
29238 Call _dl_show_scope when DL_DEBUG_SCOPES.
29239 (process_dl_debug): Recognize scopes flag and also set it for all.
29240 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29241 Declare _dl_show_scope.
29242
1dc27704
UD
29243 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29244 (do_dlopen): Pass caller_dlopen to dl_open.
29245 (__libc_dlopen_mode): Initialize caller_dlopen.
29246
f9ddf089
UD
29247 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29248 of libc. Make tolower call locale-independent. Optimize a bit by
29249 using isdigit instead of isalnum.
29250 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29251
9ac533d3
UD
292522011-08-12 Ulrich Drepper <drepper@gmail.com>
29253
29254 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29255 was a dependency or dynamically loaded.
29256
89edf2e9
UD
292572011-08-11 Ulrich Drepper <drepper@gmail.com>
29258
8e999d29
UD
29259 * intl/l10nflist.c: Allow architecture-specific pop function.
29260 * sysdeps/x86_64/l10nflist.c: New file.
29261
89edf2e9
UD
29262 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29263 classification.
29264
14d96785
AS
292652011-08-10 Andreas Schwab <schwab@redhat.com>
29266
29267 * include/dirent.h: Add libc_hidden_proto for scandirat and
29268 scandirat64. Don't declare __scandirat64.
29269 * dirent/scandirat.c: Add libc_hidden_def.
29270 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29271 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29272
6761ac04
DM
292732011-08-10 David S. Miller <davem@davemloft.net>
29274
29275 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29276 enum.
29277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29280
c55fbd1e
UD
292812011-08-09 Ulrich Drepper <drepper@gmail.com>
29282
29283 * Versions.def [libc]: Add GLIBC_2.15.
29284 * dirent/Makefile (routines): Add scandirat and scandirat64.
29285 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29286 GLIBC_2.15.
29287 * dirent/dirent.h: Declare scandirat and scandirat64.
29288 * dirent/scandirat.c: New file.
29289 * dirent/scandirat64.c: New file.
29290 * sysdeps/wordsize-64/scandirat.c: New file.
29291 * sysdeps/wordsize-64/scandirat64.c: New file.
29292 * dirent/opendir.c: Define opendirat.
29293 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29294 using scandirat.
29295 * dirent/scandir64.c: Adjust for scandir.c change.
29296 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29297 __scandirat64, and __scandir_cancel_handler.
29298 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29299 additional parameter and use openat instead of open (outside of ld.so).
29300 Add new __opendir as wrapper around __opendirat.
29301 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29302 here without requiring old scandirat implementation.
29303
879165f2
UD
293042011-08-08 Ulrich Drepper <drepper@gmail.com>
29305
29306 * dirent/scandir.c (cancel_handler): Renamed to
29307 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29308 defined. Adjust users.
29309 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29310 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29311
cb7e923b
UD
293122011-08-04 Ulrich Drepper <drepper@gmail.com>
29313
16292edd
UD
29314 * string/test-string.h (IMPL): Use __STRING to expand name and then
29315 stringify it.
29316
cb7e923b
UD
29317 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29318 of cleanups.
29319
cff82933
LD
293202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29321
29322 * string/Makefile: Update.
29323 (strop-tests): Append strncat.
29324 * string/test-wcscmp.c: New file.
29325 New comprehensive test for wcscmp.
29326 * string/test-strcmp.c: Update.
29327 (WIDE): New define.
29328
9be9bfcc
AS
293292011-07-22 Andreas Schwab <schwab@redhat.com>
29330
29331 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29332 line.
29333
2e96f1c7
AS
293342011-07-26 Andreas Schwab <schwab@redhat.com>
29335
29336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29337 encoding to ACE if AI_IDN.
29338
85188888
JJ
293392011-08-01 Jakub Jelinek <jakub@redhat.com>
29340
29341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29342 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29343
5fa16e9b
LD
293442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29345
29346 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29347 Fix overflow bug in strncat.
29348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29349
29350 * string/test-strncat.c: Update.
29351 Add new tests for checking overflow bugs.
29352
293532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29354
29355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29356 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29357 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29358 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29359 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29360 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29361 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29362 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29363 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29364
29365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29366 (USE_AS_STRCAT): Define.
29367 Add strcat and strncat support.
29368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29369
8c1a459f
AS
293702011-07-25 Andreas Schwab <schwab@redhat.com>
29371
29372 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29373 __n bigger than INT_MAX+1.
29374 (__strncmp_g): Likewise.
29375
bba33c28
UD
293762011-07-23 Ulrich Drepper <drepper@gmail.com>
29377
798be72d
UD
29378 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29379 * libio/stido.h: Likewise.
29380
8accd4dc
UD
29381 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29382 (AF_NFC): Define.
29383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29384 (AF_NFC): Define.
29385
cbff0d96
UD
29386 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29388 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29389 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29391
9191c04a
UD
29392 [BZ #13021]
29393 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29394 installed.
29395
bba33c28
UD
29396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29397 typo.
29398 (_dl_x86_64_save_sse): Likewise.
29399
90f139dd
UD
294002011-07-22 Ulrich Drepper <drepper@gmail.com>
29401
1aae088a
UD
29402 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29403 OSXSAVE.
29404 (_dl_x86_64_save_sse): Likewise.
29405
8e2045f5
UD
29406 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29407
90f139dd
UD
29408 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29409
1d002f25
AS
294102011-07-21 Andreas Schwab <schwab@redhat.com>
29411
29412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29413 change.
29414 (_dl_x86_64_save_sse): Use correct AVX check.
29415
21137f89
UD
294162011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29417
29418 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29419 bug in strncpy/strncat.
29420 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29421
a65c0b7a
UD
294222011-07-21 Ulrich Drepper <drepper@gmail.com>
29423
29424 * string/tester.c (test_strcat): Add tests for different alignments
29425 of source and destination.
29426 (test_strncat): Likewise.
29427
6986b98a
UD
294282011-07-20 Ulrich Drepper <drepper@gmail.com>
29429
90bb2039
UD
29430 [BZ #12852]
29431 * posix/glob.c (glob): Check passed in values before using them in
29432 expressions to avoid some overflows.
29433 (glob_in_dir): Likewise.
29434
5644ef54
UD
29435 [BZ #13007]
29436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29437 check for AVX enablement so that we don't crash with old kernels and
29438 new hardware.
29439 * elf/tst-audit4.c: Add same checks here.
29440 * elf/tst-audit6.c: Likewise.
29441
29442 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29443
bfc9dc9b
AS
294442011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29445
29446 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29447
702e64bb
UD
294482011-07-20 Ulrich Drepper <drepper@gmail.com>
29449
29450 * po/cs.po: Update from translation team.
29451 * po/bg.po: Likewise.
29452
295e904f
MP
294532011-07-12 Marek Polacek <mpolacek@redhat.com>
29454
29455 * misc/sys/cdefs.h: Add support for const attribute.
29456 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29457 to gnu_dev_{major,minor,makedev} functions.
29458
3ff94596
MP
294592011-07-20 Marek Polacek <mpolacek@redhat.com>
29460
29461 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29462
28b59fca
AS
294632011-07-20 Andreas Schwab <schwab@redhat.com>
29464
29465 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29466 strlen results.
29467
19df733e
AK
294682011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29469
29470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29471 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29472 register in order to avoid conflicts with the soft frame pointer
29473 being held in r11 when necessary.
29474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29475 (INTERNAL_VSYSCALL_NCS): Likewise.
29476
c8835729
MP
294772011-07-14 Marek Polacek <mpolacek@redhat.com>
29478
29479 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29480 * elf/dl-fini.c (_dl_fini): Adjust caller.
29481 * elf/dl-close.c (_dl_close_worker): Likewise.
29482 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29483
b902330c
MP
294842011-07-15 Marek Polacek <mpolacek@redhat.com>
29485
8991e135
MP
29486 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29487 "aux_cache->nlibs < 0".
29488
b902330c
MP
29489 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29490 in the reload-count case.
29491
99710781
LD
294922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29493
29494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29495 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29496 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29497 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29498 * sysdeps/x86_64/multiarch/strcat.S: New file.
29499 * sysdeps/x86_64/multiarch/strncat.S: New file.
29500 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29501 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29502 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29503 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29505 (USE_AS_STRCAT): Define.
29506 Add strcat and strncat support.
29507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29508 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29509 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29510 * string/strncat.c: Update.
29511 (USE_AS_STRNCAT): Define.
29512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29513 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29514 and i7.
29515 * sysdeps/x86_64/multiarch/init-arch.h
29516 (bit_Prefer_PMINUB_for_stringop): New.
29517 (index_Prefer_PMINUB_for_stringop): Likewise.
29518 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29519 bit_Prefer_PMINUB_for_stringop.
29520
7dc6bd90
UD
295212011-07-19 Ulrich Drepper <drepper@gmail.com>
29522
29523 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29524 buffer64.
29525 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29526 of casting of buffer.
29527 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29528 buffer32 and buffer64.
29529 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29530 writes instead of casting of buffer.
29531 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29532 buffer32.
29533 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29534 casting of buffer.
29535
e0e72284
AS
295362011-07-19 Andreas Schwab <schwab@redhat.com>
29537
29538 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29539
feb1eb0b
UD
295402011-07-19 Ulrich Drepper <drepper@gmail.com>
29541
29542 * nscd/nscd.c (termination_handler): Don't do anything for a database
29543 if it has not yet been initialized.
29544
298711ff
UD
295452011-07-18 Ulrich Drepper <drepper@gmail.com>
29546
29547 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29548
295492011-07-15 Marek Polacek <mpolacek@redhat.com>
29550
29551 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29552
f9d68389
UD
295532011-07-18 Ulrich Drepper <drepper@gmail.com>
29554
29555 * po/nl.po: Update from translation team.
29556 * po/sv.po: Likewise.
29557
db290cf5
RM
295582011-07-16 Roland McGrath <roland@hack.frob.com>
29559
29560 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29561 now disallowed by GCC.
5c550700 29562
fd5e21c7
RM
29563 * configure.in (use-default-link): Default to yes if a test -shared
29564 link meets our qualifications.
29565 * configure: Regenerated.
29566
5c550700
RM
29567 * config.make.in (output-format): New variable.
29568 * configure.in: Check for ld --print-output-format support.
29569 * configure: Regenerated.
29570 * Makerules ($(common-objpfx)format.lds)
29571 [$(output-format) != unknown]: Just use $(output-format),
29572 instead of the linker-script munging.
29573
9fa2c032
RM
295742011-07-14 Roland McGrath <roland@hack.frob.com>
29575
a6928d51
RM
29576 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29577 of $(common-objpfx)shlib.lds.
29578 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29579
661607b3
RM
29580 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29581 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29582
9fa2c032
RM
29583 * configure.in (-z relro check): Adjust test code to add a large
29584 writable data section after it.
29585 * configure: Regenerated.
29586
defe9061
RM
295872011-07-11 Roland McGrath <roland@hack.frob.com>
29588
29589 * configure.in (-z relro check): Fix test code to make the variable
29590 truly const.
29591 * configure: Regenerated.
29592
319b9ad4
UD
295932011-07-11 Ulrich Drepper <drepper@gmail.com>
29594
29595 * nscd/nscd.h (struct traced_file): Define.
29596 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29597 elements. Add traced_files.
29598 (inotify_fd): Declare.
29599 (register_traced_file): Declare.
29600 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29601 (inotify_fd): Export.
29602 (resolv_conf_descr): Remove.
29603 (nscd_init): Move inotify descriptor creation to main.
29604 Don't register files for notification here.
29605 (register_traced_file): New function.
29606 (invalidate_cache): Don't use reset_res to determine whether to call
29607 res_init, go through the list of registered files.
29608 (main_loop_poll): The inotify descriptors are now stored in the
29609 structures for the traced files.
29610 (main_loop_epoll): Likewise
29611 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29612 to __nss_disable_nscd.
29613 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29614 for a database anymore. Check the records for all the registered
29615 files instead.
29616 * nss/Makefile (libnss_files-routines): Add files-init.
29617 (libnss_db-routines): Add db-init.
29618 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29619 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29620 * nss/nss_db/db-init.c: New file.
29621 * nss/nss_files/files-init.c: New file.
29622 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29623 __nss_lookup_function.
29624 (__nss_lookup_function): Call nss_load_library.
29625 (nss_load_all_libraries): New function.
29626 (__nss_disable_nscd): Take parameter with callback function for files
29627 to register. Set is_nscd. Load all the DSOs for the NSS modules
29628 used for the cached services.
29629 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29630 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29631 options for features to all the files in nscd.
29632
29633 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29634
23bee3e8
RM
296352011-07-10 Roland McGrath <roland@hack.frob.com>
29636
29637 * csu/elf-init.c (__libc_csu_init): Comment typo.
29638
46a5b7f0
UD
296392011-07-09 Ulrich Drepper <drepper@gmail.com>
29640
29641 * po/pl.po: Update from translation team.
29642 * po/ja.po: Likewise.
29643 * po/ru.po: Likewise.
29644 * po/ko.po: Likewise.
29645 * po/fr.po: Likewise.
29646
d30cf5bb
RM
296472011-07-09 Roland McGrath <roland@hack.frob.com>
29648
113ddea4
RM
29649 * configure.in (.ctors/.dtors header and trailer check):
29650 Use an empirical test on a built program.
29651 * configure: Regenerated.
29652
574920b4
RM
29653 * configure.in (-z relro check): Use an empirical test on a built DSO.
29654 Detect, but do not require, on ia64.
29655 * configure: Regenerated.
29656
d30cf5bb
RM
29657 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29658 Update tests that use readelf to use $READELF instead.
29659 * configure: Regenerated.
29660
8538fdb3
UD
296612011-07-08 Ulrich Drepper <drepper@gmail.com>
29662
29663 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29664 if the result is not used.
29665
04d08991
AJ
296662011-07-05 Andreas Jaeger <aj@suse.de>
29667
29668 [BZ#9696]
29669 * stdlib/tst-strtod.c: Add testcase.
29670
de283087
AD
296712011-07-07 Ulrich Drepper <drepper@gmail.com>
29672
4e5f31c8 29673 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29674 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29675 The latter has a higher limit. Take additional parameter to pass to
29676 the new function.
29677 (__pathconf): Pass file to __statfs_link_max.
29678 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29679 __statfs_link_max.
29680 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29681 __statfs_link_max.
29682
de283087
AD
29683 [BZ #12868]
29684 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29685 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29686 Handle Lustre.
29687 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29688 (__statfs_filesize_max): Likewise.
29689 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29690
c75fa153
AJ
296912011-07-05 Andreas Jaeger <aj@suse.de>
29692
29693 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29694
1a544854
UD
296952011-07-06 Marek Polacek <mpolacek@redhat.com>
29696
29697 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29698 `status' variable.
29699 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29700 Likewise.
29701
6f0eec67
UD
297022011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29703
29704 * Makefile (strop-tests): Add strncat.
29705 * string/test-strncat.c: New file.
29706
aae30307
UD
297072011-06-30 Marek Polacek <mpolacek@redhat.com>
29708
29709 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29710
c0cfb5eb
UD
297112011-06-21 Andreas Jaeger <aj@suse.de>
29712
29713 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29714 Copy rule from iconvdata/Makefile.
29715
01636b21
UD
297162011-07-06 Ulrich Drepper <drepper@gmail.com>
29717
29718 [BZ #12922]
29719 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29720 but no long options are defined, just return 'W'.
29721
9895c8bc
UD
297222011-06-22 Marek Polacek <mpolacek@redhat.com>
29723
29724 [BZ #9696]
29725 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29726
5d4cf042
UD
297272011-07-06 Ulrich Drepper <drepper@gmail.com>
29728
29729 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29730 netgroups to read.
960e5535 29731 (innetgr): Likewise.
5d4cf042 29732
751eb97e
RM
297332011-07-05 Roland McGrath <roland@hack.frob.com>
29734
29735 * config.make.in (install_root): Default to $(DESTDIR).
29736
f15f1e45
UD
297372011-07-05 Ulrich Drepper <drepper@gmail.com>
29738
29739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29740
4e34ac6a
RM
297412011-07-02 Roland McGrath <roland@hack.frob.com>
29742
5e9b6af4
RM
29743 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29744
84f9ea0f
RM
29745 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29746 containing directory rather than embedding absolute directory names.
29747
ea5ee9f7
RM
29748 * scripts/check-local-headers.sh: Rewritten using awk.
29749 Match by word, not by line. Print error messages for matches.
29750 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29751
1b74661a
RM
29752 * Makerules [shlib-lds-flags empty]:
29753 ($(common-objpfx)libc_pic.opts): New target.
29754 ($(common-objpfx)libc_pic.os.clean): New target.
29755 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29756
29757 * config.make.in (OBJCOPY): New variable.
29758 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29759 * configure: Regenerated.
29760
f781ef40
RM
29761 * config.make.in (use-default-link): New variable.
29762 * configure.in (use_default_link): Grok --with-default-link to set it.
29763 * configure: Regenerated.
29764 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29765 (shlib-lds, shlib-lds-flags): Define to empty.
29766
2d4fa81e
RM
29767 * Makerules (shlib-lds): New variable.
29768 (shlib-lds-flags): New variable.
29769 (build-shlib, build-moduile, build-module-asneeded): Use it.
29770 ($(common-objpfx)libc.so): Use $(shlib-lds).
29771 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29772 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29773
31fffa6b
RM
29774 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29775 DT_FLAGS/DT_FLAGS_1 with zero flags.
29776
4e34ac6a
RM
29777 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29778 linker script munging.
29779
fcfc776b
UD
297802011-07-02 Ulrich Drepper <drepper@gmail.com>
29781
29782 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29783 as 128-bit value.
29784 * crypt/sha512.c (sha512_process_block): Perform total addition using
29785 128-bit if possible.
29786 (__sha512_finish_ctx): Likewise.
29787 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29788 as 64-bit value.
29789 * crypt/sha256.c (SWAP64): Define.
29790 (sha256_process_block): Perform total addition using 64-bit if
29791 possible.
29792 (__sha256_finish_ctx): Likewise.
29793
99231d9a
UD
297942011-07-01 Ulrich Drepper <drepper@gmail.com>
29795
29796 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29797 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29798 * nscd/hstcache.c (cache_addhst): Likewise.
29799 * nscd/grpcache.c (cache_addgr): Likewise.
29800 * nscd/aicache.c (addhstaiX): Likewise
29801 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29802
445b4a53
TK
298032011-07-01 Thorsten Kukuk <kukuk@suse.de>
29804
29805 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29807 * nscd/hstcache.c (cache_addhst): Likewise.
29808 * nscd/grpcache.c (cache_addgr): Likewise.
29809 * nscd/aicache.c (addhstaiX): Likewise
29810
6d4d8e8e
AS
298112011-07-01 Andreas Schwab <schwab@redhat.com>
29812
29813 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29814 domain only when needed.
29815
89f654c5
AS
298162011-06-30 Andreas Schwab <schwab@redhat.com>
29817
29818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29819 is always restored.
29820
cf3b23ff
UD
298212011-06-29 Ulrich Drepper <drepper@gmail.com>
29822
29823 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29824 are re-adding the entry.
29825 * nscd/servicescache.c (cache_addserv): Likewise.
29826
751626f9
AJ
298272011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29828
29829 * sysdeps/generic/dl-irel.h: fix protection against multiple
29830 inclusions.
29831 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29832
9113ea1f
UD
298332011-06-28 Ulrich Drepper <drepper@gmail.com>
29834
5c0b8d90
UD
29835 [BZ #12935]
29836 * malloc/memusage.sh: Fix quoting in message.
29837 * debug/xtrace.sh: Likewise.
29838
9113ea1f
UD
29839 * configure.in: Remove support for --experimental-malloc option, make
29840 it the default.
29841 * config.make.in: Likewise.
29842 * malloc/Makefile: Likewise.
29843
a4172181
AS
298442011-06-27 Andreas Schwab <schwab@redhat.com>
29845
29846 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29847 two-byte characters.
29848
78a7eee7
RM
298492011-06-27 Roland McGrath <roland@hack.frob.com>
29850
62bede13
RM
29851 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29852 AC_CACHE_CHECK invocation.
29853 * configure: Regenerated.
29854
78a7eee7
RM
29855 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29856
5ce33a62
UD
298572011-06-27 Ulrich Drepper <drepper@gmail.com>
29858
034807a9
UD
29859 [BZ #12350]
29860 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29861 bit from old_res_options.
29862
4902da17
UD
29863 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29864
5ce33a62
UD
29865 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29866 value type for setfct.
29867
c2344f56
L
298682011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29869
29870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29871 __gettimeofday instead of gettimeofday.
29872
68468076
UD
298732011-06-26 Ulrich Drepper <drepper@gmail.com>
29874
29875 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29876
acb0d739
L
298772011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29878
29879 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29880
29881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29882 info.
29883
8912479f
L
298842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29885
29886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29887 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29888 strcpy-sse2-unaligned strncpy-sse2-unaligned
29889 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29890 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29891 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29892 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29893 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29895 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29896 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29897 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29898 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29899 (STRCPY): Support SSE2 and SSSE3 versions.
29900
d5495a11
UD
299012011-06-24 Ulrich Drepper <drepper@gmail.com>
29902
29903 [BZ #12874]
29904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29905 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29906 kernels which artificially limit size of requests.
29907
0b1cbaae
L
299082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29909
29910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29911 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29912 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29913 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29914 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29915 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29916 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29917 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29919 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29920 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29921 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29922 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29923 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29924 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29926 Enable unaligned load optimization for Intel Core i3, i5 and i7
29927 processors.
29928 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29929 Define.
29930 (index_Fast_Unaligned_Load): Define.
29931 (HAS_FAST_UNALIGNED_LOAD): Define.
29932
07f494a0
MP
299332011-06-23 Marek Polacek <mpolacek@redhat.com>
29934
29935 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29936
fa3fc0fe
UD
299372011-06-22 Ulrich Drepper <drepper@gmail.com>
29938
29939 [BZ #12907]
29940 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29941 until it is clear that the information is realy needed.
29942 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29943
e12df166
AS
299442011-06-22 Andreas Schwab <schwab@redhat.com>
29945
29946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29947
852eb34d
UD
299482011-06-22 Ulrich Drepper <drepper@gmail.com>
29949
84e2a551
UD
29950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29951 /sys/devices/system/cpu/online if it is usable.
29952
852eb34d
UD
29953 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29954 reading the information from the /proc filesystem to once a second.
29955
6e502e19
UD
299562011-06-21 Andreas Jaeger <aj@suse.de>
29957
29958 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29959 NULL after inclusion of kernel headers.
29960
75d39ff2
UD
299612011-06-21 Ulrich Drepper <drepper@gmail.com>
29962
51f9aa6a
UD
29963 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29964 calls to internal_setent.
29965
c0244a9d
UD
29966 [BZ #12885]
29967 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29968 addresses using gethostbyname4_r ignore IPv4 addresses.
29969
c5e3c2ae
UD
29970 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29971 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29972
75d39ff2
UD
29973 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29974
42675c6f
DM
299752011-06-20 David S. Miller <davem@davemloft.net>
29976
29977 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29978 inclusions.
29979 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29980
29981 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29982 (elf_irel): Use it.
29983 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29984 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29985 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29986 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29987 * sysdeps/x86_64/dl-irel.h: Likewise.
29988
29989 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29990 * elf/dl-sym.c: Likewise.
29991
57912a71
UD
299922011-06-15 Ulrich Drepper <drepper@gmail.com>
29993
29994 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29995 need to dereference resplen2.
29996
ee22793d
AS
299972011-06-14 Andreas Schwab <schwab@redhat.com>
29998
29999 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30000
a9e836b0
UD
300012011-06-15 Ulrich Drepper <drepper@gmail.com>
30002
77fb9117
UD
30003 * Makeconfig: Define vardbdir and inst_vardbdir.
30004 * nss/Makefile: Add rules to install db-Makefile.
30005
40c1b22c
UD
30006 * nss/nss_db/db-XXX.c: Cleanup.
30007
9f2da732
UD
30008 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30009 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30010 GLIBC_PRIVATE.
30011 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30012 * nss/makedb.c: Implement -g option to specify that value strings
30013 are generated and should not be added to table iterated over for
30014 get*ent calls.
30015 * nss/nss_db/db-initgroups.c: New file.
30016
82e9a1f7
UD
30017 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30018 interface.
30019
c41af17e
UD
30020 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30021 (internal_getgrouplist): Adjust to name change.
30022 Update use_initgroups_entry if this is not the first call.
30023 * nss/databases.def: Add initgroups entry.
30024
a9e836b0
UD
30025 * nss/makedb.c (compute_tables): Check result of multiple hash table
30026 sizes to minimize maximum chain length.
30027
2666d441
UD
300282011-06-14 Ulrich Drepper <drepper@gmail.com>
30029
30030 * Versions.def: Add entry for libnss_db.
30031 * shlib-versions: Likewise.
30032 * nss/Makefile: Add rules to build libnss_db.
30033 * nss/Versions: Add libnss_db information. Organize libnss_files
30034 entries better.
30035 * nss/db-Makefile: Add gshadow support. Change rules for the new
30036 makedb progra. Some minor improvements to generate smaller files.
30037 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30038 here from...
30039 * nss/makedb.c: ...here.
30040 Improve database format to be smaller and require less memory at
30041 runtime.
30042 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30043 db anymore.
30044 * nss/nss_db/db-netgrp.c: Likewise.
30045 * nss/nss_db/db-open.c: Likewise.
30046 * nss/nss_files/flies-XXX.x: Adjust comments.
30047 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30048 * nss/nss_files/files-grp.c: Likewise.
30049 * nss/nss_files/files-hosts.c: Likewise.
30050 * nss/nss_files/files-network.c: Likewise.
30051 * nss/nss_files/files-proto.c: Likewise.
30052 * nss/nss_files/files-pwd.c: Likewise.
30053 * nss/nss_files/files-rpc.c: Likewise.
30054 * nss/nss_files/files-service.c: Likewise.
30055 * nss/nss_files/files-sgrp.c: Likewise.
30056 * nss/nss_files/files-spwd.c: Likewise.
30057 * nss/nss_db/db-alias.c: Removed.
30058 * nss/nss_db/dummy-db.h: Removed.
30059
9ee76b5a
UD
300602011-06-02 Ulrich Drepper <drepper@gmail.com>
30061
30062 * nss/makedb.c: Rewritten to not use database library.
30063 * nss/Makefile: Update to build new makedb program.
30064
c71ca1f8
AJ
300652011-06-14 Andreas Jaeger <aj@suse.de>
30066
30067 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30068 memset declaration.
30069
3154bfb8
UD
300702011-06-10 Andreas Schwab <schwab@redhat.com>
30071
30072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30073 tmpbuf.
30074
b350afab
RM
300752011-06-10 Roland McGrath <roland@hack.frob.com>
30076
decd4e50
RM
30077 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30078 * elf/Makefile ($(objpfx)ld.so): Likewise.
30079
5615eaf2
RM
30080 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30081 Don't list ld.so twice in dependencies.
30082
30083 * posix/bug-regex31.c: Include <stdlib.h>.
30084
30085 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30086
30087 * nis/nss_compat/compat-spwd.c
30088 (getspent_next_nss_netgr): Remove unused variable.
30089 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30090
30091 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30092 nonmembers" output to use the right array.
30093
30094 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30095
30096 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30097
30098 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30099 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30100 * catgets/gencat.c (read_input_file): Likewise.
30101 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30102
30103 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30104 variable definition inside #if's controlling its use.
30105
30106 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30107
30108 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30109
30110 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30111
30112 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30113 unreachable code.
30114
30115 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30116
b68e08db
RM
30117 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30118 * configure: Regenerated.
30119
b350afab
RM
30120 * Makerules: Revert last change.
30121 * elf/Makefile: Likewise.
30122
28368601
RM
301232011-06-09 Roland McGrath <roland@hack.frob.com>
30124
30125 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30126 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30127 (reloc-link): Likewise.
30128
11988f8f
UD
301292011-06-09 Ulrich Drepper <drepper@gmail.com>
30130
30131 * elf/Makefile: Add rules to build pldd.
30132 * elf/pldd.c: New file.
30133 * elf/pldd-xx.c: New file.
30134
e80fab37
UD
301352011-06-07 Ulrich Drepper <drepper@gmail.com>
30136
30137 * version.h: Update for 2.15 development version.
30138
9b849836
DM
301392011-06-07 David S. Miller <davem@davemloft.net>
30140
30141 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30142 ifuncs.
30143 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30144 elf_machine_lazy_rel): Likewise.
30145 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30147 elf_machine_lazy_rel): Likewise.
30148 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30149 dl_hwcap via passed in argument.
30150 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30151 Likewise.
30152
5a31b283
AK
301532011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30154
30155 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30156
069e52f8
RM
301572011-06-06 Roland McGrath <roland@hack.frob.com>
30158
30159 [BZ #12849]
30160 * manual/fdl-1.1.texi: New file, verbatim from:
30161 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30162 * manual/lgpl-2.1.texi: New file, verbatim from:
30163 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30164 * manual/Makefile (licenses): New variable, list those new file names.
30165 (texis): Use it.
30166 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30167
30168 * manual/fdl.texi: File removed.
30169 * manual/lesser.texi: File removed.
30170 * manual/libc.texinfo (Copying, Documentation License):
30171 Use new @include file names, put @appendix directive before @include.
30172
f16846a5
JJ
301732011-06-04 Jakub Jelinek <jakub@redhat.com>
30174
30175 [BZ #12841]
30176 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30177 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30178 (mq_open): Add __NTH.
30179
3d29045b
L
301802011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30181
30182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30183 Assume Intel Core i3/i5/i7 processor if AVX is available.
30184
8c297311
UD
301852011-05-31 Ulrich Drepper <drepper@gmail.com>
30186
30187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30188 typo.
30189
c8fc0c91
UD
301902011-05-31 Andreas Schwab <schwab@redhat.com>
30191
30192 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30193 memory. Use alloca_account. Fix memory leak when retrying.
30194
5b27a807
UD
301952011-05-31 Ulrich Drepper <drepper@gmail.com>
30196
356f8bc6
UD
30197 * version.h (RELEASE): Bump for 2.14 release.
30198 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30199
5b27a807
UD
30200 * config.make.in (RANLIB): Remove entry.
30201
01f16ab0
UD
302022011-05-30 Ulrich Drepper <drepper@gmail.com>
30203
41fce8bd
UD
30204 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30205 (libc.pot): Work around missing support for .ksh extension in xgettext.
30206
4769ae77
UD
30207 [BZ #12684]
30208 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30209 if both request failed.
30210 (send_dg): In case of server errors clear resplen or *resplen2.
30211
6b1e7d19
UD
30212 [BZ #12454]
30213 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30214 when there are multiple maps.
30215 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30216 (_dl_fini): Remove test here.
30217
01f16ab0
UD
30218 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30219
b1ebd700
UD
302202011-05-29 Ulrich Drepper <drepper@gmail.com>
30221
7ae22829
UD
30222 [BZ #12350]
30223 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30224 bit from old_res_options.
30225 (gaih_inet): Likewise.
30226
553149f6 30227 [BZ #11099]
18a84741 30228 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30229 as signed.
30230
652ffab1
UD
30231 * resolv/res_init.c (res_setoptions): Make the code more compact.
30232
16985fd0
UD
30233 [BZ #11558]
30234 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30235 set RES_USEVC.
30236
0464f746
UD
30237 [BZ #11634]
30238 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30239
7d17596c
UD
30240 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30241
cf6bbbd7
UD
30242 [BZ #11781]
30243 * malloc/malloc.h: Declare malloc hook variables as volatile.
30244
13f1ab36
UD
30245 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30246 in last patch.
30247
b1ebd700
UD
30248 [BZ #11799]
30249 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30250 raise in the comment.
80e2212d
UD
30251 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30253 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30254
ce67228d
UD
302552011-05-28 Ulrich Drepper <drepper@gmail.com>
30256
8887a920
UD
30257 [BZ #12811]
30258 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30259 grow the buffers more if it already has to be sufficient.
30260 (build_wcs_upper_buffer): Likewise.
30261 * posix/regexec.c (check_matching): Likewise.
30262 (clean_state_log_if_needed): Likewise.
30263 (extend_buffers): Don't enlarge buffers beyond size of the input
30264 buffer.
30265 Patches mostly by Emil Wojak <emil@wojak.eu>.
30266 * posix/bug-regex32.c: New file.
30267 * posix/Makefile (tests): Add bug-regex32.
30268
4f031072
UD
30269 * locale/findlocale.c (_nl_find_locale): Return right away if
30270 _nl_explode_name failed.
30271 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30272
d0478f0c
UD
30273 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30274
de81b246
UD
30275 * debug/xtrace.sh: Unify messages.
30276 * malloc/memusage.sh: Likewise.
30277
c738465a
UD
30278 [BZ #12813]
30279 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30280 time symbol from vDSO. Substitute with vsyscall if not available.
30281 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30282 __vdso_time.
30283
f1f929d7
UD
30284 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30285 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30286 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30287 Add sendmmsg and internal_sendmmsg.
30288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30289 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30290 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30291
ce67228d
UD
30292 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30293 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30295
e57420c6
UD
302962011-05-27 Ulrich Drepper <drepper@gmail.com>
30297
a8509ca5
UD
30298 [BZ #12813]
30299 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30300 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30301 available.
30302 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30303 __vdso_getcpu.
30304
e57420c6
UD
30305 [BZ #12814]
30306 * iconvdata/Makefile (tests): Add bug-iconv9.
30307 * iconvdata/bug-iconv9.c: New file.
30308
4d07db15
AS
303092011-05-27 Andreas Schwab <schwab@redhat.com>
30310
30311 [BZ #12814]
30312 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30313
ea486f69
JJ
303142011-05-25 Jakub Jelinek <jakub@redhat.com>
30315
30316 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30317 (struct user_regs_struct): Change intcs field back to cs.
30318
6f038433
UD
303192011-05-25 Ulrich Drepper <drepper@gmail.com>
30320
30321 * po/ja.po: Update from translation team.
30322
67f86a25
UD
303232011-05-23 Ulrich Drepper <drepper@gmail.com>
30324
30325 [BZ #12795]
30326 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30327 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30328
def7fbd6
AS
303292011-05-20 Andreas Schwab <schwab@redhat.com>
30330
30331 * stdlib/longlong.h: Update from GCC.
30332
f50ef8f1
AS
303332011-05-23 Andreas Schwab <schwab@redhat.com>
30334
30335 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30336 parameter name.
30337 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30338 Add parameter name.
30339 (__sysconf): Pass it down.
30340
de7ce8f1
UD
303412011-05-22 Ulrich Drepper <drepper@gmail.com>
30342
f2962a71
UD
30343 [BZ #12671]
30344 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30345 some situations.
30346 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30347 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30348 add in in __libc_use_alloca calls. Adjust callers.
30349 (glob): Use malloc in some situations.
30350
de7ce8f1
UD
30351 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30352 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30353 pltexit.
30354
aec84f53
UD
303552011-05-21 Ulrich Drepper <drepper@gmail.com>
30356
05bb4a68
UD
30357 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30358 and CLOCK_BOOTTIME_ALARM.
30359
7ea72f99
UD
30360 [BZ #12782]
30361 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30362 is returned.
30363
7e4afad5
UD
30364 * string/_strerror.c (__strerror_r): Print negative errors as signed
30365 numbers.
30366
8e211fec
UD
30367 [BZ #12777]
30368 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30369 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30370 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30371
f7d82dc9
UD
30372 * configure.in: Fix typo in redirection and correct removal of test
30373 files in two cases.
30374
cc9e536d
UD
30375 [BZ #12788]
30376 * locale/setlocale.c (new_composite_name): Fix test to check for
30377 identical name of all categories.
30378
aec84f53
UD
30379 [BZ #12792]
30380 * libio/filedoalloc.c (local_isatty): New function.
30381 (_IO_file_doallocate): Use local_isatty.
30382 * stdio-common/perror.c (perror): In case a new stream is used
30383 forward the stream error.
30384 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30385 error flag.
30386
78e64fdc
RT
303872011-05-20 Ulrich Drepper <drepper@gmail.com>
30388
34a9094f
UD
30389 [BZ #11869]
30390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30391 alloca.
30392 * include/alloca.h (extend_alloca_account): Define.
30393
78e64fdc
RT
30394 [BZ #11857]
30395 * posix/regex.h: Fix comments with documentation of user-accessible
30396 fields after compilation and describe correct free'ing of pattern
30397 after re_compile_pattern.
30398 Patch by Reuben Thomas <rrt@sc3d.org>.
30399
457bddfc
RA
304002011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30401
30402 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30403 and -mno-altivec to prevent the compiler from using Altivec and/or
30404 VSX instructions when the corresponding registers are not available.
30405
a4527b51
AS
304062011-05-19 Andreas Schwab <schwab@redhat.com>
30407
30408 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30409
ed690b2f
UD
304102011-05-19 Ulrich Drepper <drepper@gmail.com>
30411
30412 * libio/freopen.c (freopen): Use __dup2, not dup2.
30413 * libio/freopen64.c (freopen64): Likewise.
30414
8db73634
L
304152011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30416
30417 [BZ #12775]
30418 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30419 * math/Makefile (tests): Add test-powl.
30420 (CFLAGS-test-powl.c): Define.
30421 * math/test-powl.c: New file.
30422
0a197a9d
L
304232011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30424
30425 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30426
ee30c380
UD
304272011-05-17 Ulrich Drepper <drepper@gmail.com>
30428
30429 [BZ #11837]
30430 * iconvdata/gb18030.c: Update to GB18020-2005.
30431
6ce75379
UD
304322011-05-16 Ulrich Drepper <drepper@gmail.com>
30433
a4b89fd8
AR
30434 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30435 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30436 Patch by Aharon Robbins <arnold@skeeve.com>.
30437
ea389b12
UD
30438 [BZ #11892]
30439 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30440 on the stack.
30441
68a3f91f
UD
30442 [BZ #11895]
30443 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30444 through underflows.
30445
15cc7dd1
UD
30446 [BZ #12766]
30447 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30448 point to strings before performing equality test for error_one_per_line
30449 mode.
30450
f3799213
UD
30451 [BZ #11697]
30452 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30453
d79a9c94
UD
30454 [BZ #11820]
30455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30456 (struct user_fpregs_struct): Avoid __uint*_t types.
30457
56e5eb46
UD
30458 [BZ #6420]
30459 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30460 symbol info. Use it instead of calling _dl_addr locally.
30461 (lock_and_info): New function.
30462 (tr_freehook): Call lock_and_info and pass symbol info as additional
30463 parameter to tr_where.
30464 (tr_mallochook): Likewise.
30465 (tr_reallochook): Likewise.
30466 (tr_memalignhook): Likewise.
30467
6ce75379
UD
30468 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30469 used and couldn't be at all thread-safe.
30470
f8a3b5bf
UD
304712011-05-15 Ulrich Drepper <drepper@gmail.com>
30472
94b7cc37
UD
30473 * libio/freopen.c (freopen): Don't close old file descriptor
30474 before the new one is opened. Instead dup the new file descriptor
30475 to the old one after the new stream is created.
30476 * libio/freopen64.c (freopen64): Likewise.
30477 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30478 * libio/fileops.c (_IO_new_file_close_it): Handle new
30479 _IO_FLAGS2_NOCLOSE flag.
30480 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30481 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30482 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30483 _IO_FLAGS2_NOCLOSE flag.
30484 * include/unistd.h: Add hidden_proto for dup3.
30485 Define __have_dup3.
30486 * io/dup3.c: Define hidden symbol.
30487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30488
bd25564e
UD
30489 [BZ #7101]
30490 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30491 when an incomplete long option is used.
30492 * posix/tst-getopt_long1.c: New file.
30493 * posix/Makefile (tests): Add tst-getopt_long1.
30494
c84cfef4
UD
30495 [BZ #10138]
30496 * scripts/config.guess: Update from autoconf-2.68.
30497 * scripts/config.sub: Likewise.
30498
3b85df27
UD
30499 [BZ #10157]
30500 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30501 tests into ...
30502 (has_cpuclock): ...this. New function.
30503 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30504 macro here based on has_cpuclock code.
30505
15a856b1
UD
30506 [BZ #10149]
30507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30508 First byte (not low byte) is now always NUL.
30509 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30510
05f399e6
UD
30511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30512 Use non-cancelable interfaces.
30513
10a52685 30514 [BZ #9809]
94ecc67d
UD
30515 * locale/iso-639.def: Add entry for Sorani.
30516
f8a3b5bf
UD
30517 [BZ #11901]
30518 * include/stdlib.h: Move include protection to the right place.
30519 Define abort_msg_s. Declare __abort_msg with it.
30520 * stdlib/abort.c (__abort_msg): Adjust type.
30521 * assert/assert.c (__assert_fail_base): New function. Majority
30522 of code from __assert_fail. Allocate memory for __abort_msg with
30523 mmap.
30524 (__assert_fail): Now call __assert_fail_base.
30525 * assert/assert-perr.c: Remove bulk of implementation. Use
30526 __assert_fail_base.
30527 * include/assert.hL Declare __assert_fail_base.
30528 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30529 mmap.
30530 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30531
1af4e298
UD
305322011-05-14 Ulrich Drepper <drepper@gmail.com>
30533
f8a3b5bf 30534 [BZ #11952]
d26dfc60
MG
30535 [BZ #12453]
30536 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30537 until all modules are registered in the DTV.
30538 * elf/Makefile: Add rules to build and run tst-tls19.
30539 * elf/tst-tls19.c: New file.
30540 * elf/tst-tls19mod1.c: New file.
30541 * elf/tst-tls19mod2.c: New file.
30542 * elf/tst-tls19mod3.c: New file.
30543 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30544
2fc54d6f
UD
30545 [BZ #12083]
30546 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30547 correctly.
30548
98d76b46
UD
30549 [BZ #12601]
30550 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30551 two-byte sequence errors.
30552 * iconvdata/Makefile (tests): Add bug-iconv8.
30553 * iconvdata/bug-iconv8.c: New file.
30554
da3c19ef
UD
30555 [BZ #12626]
30556 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30557 buf2 definition.
30558
ca408c15
UD
30559 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30560
d6f67f7d
UD
30561 [BZ #12432]
30562 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30563 (dummy_getcfa): New function.
30564 (init): Get _Unwind_GetCFA address, use dummy if not found.
30565 (backtrace_helper): In recursion check, also check whether CFA changes.
30566 (__backtrace): Completely initialize arg.
30567
1af4e298 30568 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30569 storing incomplete byte sequence in state object. Avoid testing for
30570 guaranteed too small input if we know there is enough data available.
1af4e298 30571
da62f81b
AS
305722011-05-11 Andreas Schwab <schwab@redhat.com>
30573
30574 * Makeconfig (+link-pie): Indent.
30575 * Rules (binaries-pie): Define if $(have-fpie) and
30576 $(build-shared).
30577 (binaries-shared): Also filter out $(binaries-pie).
30578 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30579 * nscd/Makefile (others-pie): Add nscd.
30580 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30581 ($(objpfx)nscd): Remove command override.
30582 * login/Makefile (others-pie): Add pt_chown.
30583 ($(objpfx)pt_chown): Remove command override.
30584 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30585 remove command overrides.
30586
fcabc0f8
UD
305872011-05-13 Ulrich Drepper <drepper@gmail.com>
30588
20030ae6
UD
30589 * libio/tst_putwc.c: Fix error messages.
30590
fcabc0f8
UD
30591 [BZ #12724]
30592 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30593 currently writing and seek to current position when not.
30594 * libio/Makefile (tests): Add bug-fclose1.
30595 * libio/bug-fclose1.c: New file.
30596
320a5dc0
PB
305972011-05-12 Ulrich Drepper <drepper@gmail.com>
30598
30599 [BZ #12511]
30600 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30601 don't set DF_1_NODELETE here.
30602 (do_lookup_x): When entering new entry test for copy relocation
30603 and if necessary set DF_1_NODELETE flag.
30604 * elf/tst-unique4.cc: New file.
30605 * elf/tst-unique4.h: New file.
30606 * elf/tst-unique4lib.cc: New file.
30607 * elf/Makefile: Add rules to build and run tst-unique4.
30608 Patch by Piotr Bury <pbury@goahead.com>.
30609
22836f52
UD
306102011-05-11 Ulrich Drepper <drepper@gmail.com>
30611
f574184a
UD
30612 [BZ #12052]
30613 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30614
e1fb097f
UD
30615 [BZ #12625]
30616 * misc/mntent_r.c (addmntent): Flush the stream after the output
30617
22836f52
UD
30618 [BZ #12393]
30619 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30620 (is_trusted_path_normalize): Skip initial colon. Append slash
30621 to empty buffer. Duplicate is_trusted_path code but allow
30622 constructed patch to be prefix.
30623 (is_dst): Allow $ORIGIN followed by /.
30624 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30625 Correct testing of result of is_trusted_path_normalize
30626 (decompose_rpath): Fix warning.
30627
7b3b0b2a
UD
306282011-05-10 Ulrich Drepper <drepper@gmail.com>
30629
30630 [BZ #11257]
30631 * grp/initgroups.c (internal_getgrouplist): When we found the service
30632 list through the initgroups entry in nsswitch.conf do not always
30633 continue on a successful lookup. Don't always use the
eac80ce2 30634 __nss_group_database value if it is set.
7b3b0b2a
UD
30635 * nss/nsswitch.conf (initgroups): Change action for successful db
30636 lookup to continue for compatibility.
30637
2a81eaa5
UD
306382011-05-09 Ulrich Drepper <drepper@gmail.com>
30639
be97a69e
UD
30640 [BZ #11532]
30641 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30642 and CP774 modules.
30643 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30644 and CP774 modules.
30645 * iconvdata/tst-tables.sh: Likewise.
30646 * iconvdata/cp770.c: New file.
30647 * iconvdata/cp771.c: New file.
30648 * iconvdata/cp772.c: New file.
30649 * iconvdata/cp773.c: New file.
30650 * iconvdata/cp774.c: New file.
30651 * iconvdata/testdata/CP770: New file.
30652 * iconvdata/testdata/CP770..UTF8: New file.
30653 * iconvdata/testdata/CP771: New file.
30654 * iconvdata/testdata/CP771..UTF8: New file.
30655 * iconvdata/testdata/CP772: New file.
30656 * iconvdata/testdata/CP772..UTF8: New file.
30657 * iconvdata/testdata/CP773: New file.
30658 * iconvdata/testdata/CP773..UTF8: New file.
30659 * iconvdata/testdata/CP774: New file.
30660 * iconvdata/testdata/CP774..UTF8: New file.
30661
30662 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30663 END CHARMAP line.
30664 * iconvdata/gen-8bit-gap.sh: Likewise.
30665 * iconvdata/gen-8bit.sh: Likewise.
30666
c1e9e399
UD
30667 * locale/iso-639.def: Add ary entry.
30668
24c55fb3 30669 [BZ #11258]
96b4b1b0
UD
30670 * locale/C-translit.h.in: Add U20A1 transliteration.
30671
bdc2f971
KB
30672 [BZ #12178]
30673 * locale/iso-639.def: Add wae entry.
30674 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30675
2952b117
UD
30676 [BZ #12545]
30677 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30678 for n.
30679
2a81eaa5
UD
30680 [BZ #12711]
30681 * locale/C-translit.h.in: Add entry for U20B9.
30682 Patch by pravin.d.s@gmail.com.
30683
28377d1b
UD
306842011-05-08 Ulrich Drepper <drepper@gmail.com>
30685
7fb90fb8
UD
30686 [BZ #12713]
30687 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30688 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30689 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30690 in rtld. Use *stat64.
7fb90fb8 30691 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30692 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30693 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30694 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30695 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30696 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30697 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30698 __fstatat64 macros.
7fb90fb8
UD
30699 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30700 * dirent/rewinddir.c: Add libc_hidden_def.
30701 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30702 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30703
28377d1b
UD
30704 * include/dirent.h (__alloc_dir): Add flags parameter.
30705 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30706 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30707 __alloc_dir.
30708 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30709 from fdopendir if O_CLOEXEC is already set.
30710
66bdbaa4
AM
307112011-03-15 Alan Modra <amodra@gmail.com>
30712
30713 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30714 l_tls_firstbyte_offset non-zero. Save padding offset in
30715 l_tls_firstbyte_offset for later use.
30716 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30717 freeing static tls block.
30718
95721191
JN
307192011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30720
30721 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30722 where #ifdef was intended. The intent is to prevent ARG_MAX from
30723 being defined by the kernel headers.
30724
f87dfb1f
UD
307252011-05-07 Ulrich Drepper <drepper@gmail.com>
30726
30727 [BZ #12734]
30728 * resolv/resolv.h: Define RES_NOTLDQUERY.
30729 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30730 no-tld-query and set RES_NOTLDQUERY.
30731 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30732 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30733 modern BIND to search name as TLD unless forbidden.
30734
47c3cd7a
UD
307352011-05-07 Petr Baudis <pasky@suse.cz>
30736 Ulrich Drepper <drepper@gmail.com>
30737
30738 [BZ #12393]
30739 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30740 (is_trusted_path): ...to here.
c1e9ea35 30741 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30742 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30743 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30744
8a35c912
PP
307452011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30746
30747 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30748 __BEGIN/__END_DECLS.
30749
acd41f47
UD
307502011-05-06 Ulrich Drepper <drepper@gmail.com>
30751
30752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30753 NSS_STATUS_NOTFOUND if no record was found.
30754
597df647
AS
307552011-05-05 Andreas Schwab <schwab@redhat.com>
30756
30757 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30758 (headers-not-in-tirpc): Remove rpc/netdb.h
30759 * resolv/netdb.h: Revert last change.
30760
b9af1301
PP
307612011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30762
30763 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30764 circular dependency between libgcc.a and libc.a.
30765
4e34d5f5
AS
307662011-05-05 Andreas Schwab <schwab@redhat.com>
30767
30768 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30769 * nis/Makefile: Don't install rpcsvc/*.
30770 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30771 instead of <rpc/types.h>.
30772 (MAXHOSTNAMELEN): Define.
30773
00ee369c
AS
307742011-05-03 Andreas Schwab <schwab@redhat.com>
30775
30776 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30777
0b592a30
MB
307782011-04-28 Maciej Babinski <mbabinski@google.com>
30779
30780 [BZ #12714]
30781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30782 gethostbyname4_r when IPv6 results are possible.
30783
6e04cbbe
UD
307842011-05-02 Ulrich Drepper <drepper@gmail.com>
30785
30786 [BZ #12723]
30787 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30788 _PC_PIPE_BUF handling.
30789
e4ecafe0
BH
307902011-04-30 Bruno Haible <bruno@clisp.org>
30791
30792 [BZ #12717]
30793 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30794 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30795 to 'int'.
30796 * inet/getnameinfo.c (getnameinfo): Likewise.
30797
125ee683
UD
307982011-04-29 Ulrich Drepper <drepper@gmail.com>
30799
30800 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30801 to groups setting in database lookup.
30802 * nss/nsswitch.conf: Add initgroups entry.
30803
b722481a
EB
308042011-04-22 Ulrich Drepper <drepper@gmail.com>
30805
30806 [BZ #12685]
30807 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30808 mode string.
30809 Patch by Eric Blake <eblake@redhat.com>.
30810
4df46dbd
L
308112011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30812
30813 * sunrpc/Makefile (need-export-routines): Add svc_run.
30814 (routines): Remove svc_run.
30815 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30816 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30817 * sunrpc/svc_run.c (svc_run): Likewise.
30818 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30819
e84142d2
UD
308202011-04-21 Ulrich Drepper <drepper@gmail.com>
30821
30822 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30823 problem in reallocation in last patch.
30824
877175d8
UD
308252011-04-20 Ulrich Drepper <drepper@gmail.com>
30826
30827 * sunrpc/Makefile: Move inclusion of Rules.
30828
ab8eed78
UD
308292011-04-19 Ulrich Drepper <drepper@gmail.com>
30830
30831 * nss/nss_files/files-initgroups.c: New file.
30832 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30833 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30834 _nss_files_initgroups_dyn.
30835
e3d8f584
RS
308362011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30837
30838 * elf/elf.h (R_ARM_IRELATIVE): Define.
30839
af190f45
UD
308402011-04-19 Ulrich Drepper <drepper@gmail.com>
30841
30842 * po/ru.po: Update from translation team.
30843
53cf59ef
UD
308442011-04-17 Ulrich Drepper <drepper@gmail.com>
30845
30846 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30847 dependencies.
30848
4c559bcd
MF
308492011-02-06 Mike Frysinger <vapier@gentoo.org>
30850
30851 [BZ #12653]
30852 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30853 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30856 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30857
4420675c
AS
308582011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30859
30860 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30861 differing bytes.
30862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30863 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30865
75ea32ab
UD
308662011-04-17 Ulrich Drepper <drepper@gmail.com>
30867
30868 [BZ #12420]
30869 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30870 storing it.
30871 * stdlib/bug-getcontext.c: New file.
30872 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30873
27390476
AK
308742011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30875
30876 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30877 instructions into .machine "z9-109".
30878 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30879 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30880
10442705
AK
308812011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30882
30883 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30884 between environment variables and auxiliary vector.
30885
7b57bfe5
UD
308862011-04-16 Ulrich Drepper <drepper@gmail.com>
30887
30888 * Makefile: Add rules to build linkobj/libc.so.
30889 * include/libc-symbols.h: Define libc_hidden_nolink.
30890 * include/rpc/auth.h: Mark functions which are to be hidden.
30891 * include/rpc/auth_des.h: Likewise.
30892 * include/rpc/auth_unix.h: Likewise.
30893 * include/rpc/clnt.h: Likewise.
30894 * include/rpc/des_crypt.h: Likewise.
30895 * include/rpc/key_prot.h: Likewise.
30896 * include/rpc/pmap_clnt.h: Likewise.
30897 * include/rpc/pmap_prot.h: Likewise.
30898 * include/rpc/pmap_rmt.h: Likewise.
30899 * include/rpc/rpc_msg.h: Likewise.
30900 * include/rpc/svc.h: Likewise.
30901 * include/rpc/svc_auth.h: Likewise.
30902 * include/rpc/xdr.h: Likewise.
30903 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30904 * nss/Makefile: Likewise.
30905 * sunrpc/Makefile: Don't install headers. Build library with normal
30906 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30907 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30908 for the compat linking library. Remove use of INTDEF/INTUSE.
30909 * sunrpc/auth_none.c: Likewise.
30910 * sunrpc/auth_unix.c: Likewise.
30911 * sunrpc/authdes_prot.c: Likewise.
30912 * sunrpc/authuxprot.c: Likewise.
30913 * sunrpc/clnt_gen.c: Likewise.
30914 * sunrpc/clnt_perr.c: Likewise.
30915 * sunrpc/clnt_raw.c: Likewise.
30916 * sunrpc/clnt_simp.c: Likewise.
30917 * sunrpc/clnt_tcp.c: Likewise.
30918 * sunrpc/clnt_udp.c: Likewise.
30919 * sunrpc/clnt_unix.c: Likewise.
30920 * sunrpc/des_crypt.c: Likewise.
30921 * sunrpc/des_soft.c: Likewise.
30922 * sunrpc/get_myaddr.c: Likewise.
30923 * sunrpc/key_call.c: Likewise.
30924 * sunrpc/key_prot.c: Likewise.
30925 * sunrpc/netname.c: Likewise.
30926 * sunrpc/pm_getmaps.c: Likewise.
30927 * sunrpc/pm_getport.c: Likewise.
30928 * sunrpc/pmap_clnt.c: Likewise.
30929 * sunrpc/pmap_prot.c: Likewise.
30930 * sunrpc/pmap_prot2.c: Likewise.
30931 * sunrpc/pmap_rmt.c: Likewise.
30932 * sunrpc/publickey.c: Likewise.
30933 * sunrpc/rpc_cmsg.c: Likewise.
30934 * sunrpc/rpc_common.c: Likewise.
30935 * sunrpc/rpc_dtable.c: Likewise.
30936 * sunrpc/rpc_prot.c: Likewise.
30937 * sunrpc/rpc_thread.c: Likewise.
30938 * sunrpc/rtime.c: Likewise.
30939 * sunrpc/svc.c: Likewise.
30940 * sunrpc/svc_auth.c: Likewise.
30941 * sunrpc/svc_authux.c: Likewise.
30942 * sunrpc/svc_raw.c: Likewise.
30943 * sunrpc/svc_run.c: Likewise.
30944 * sunrpc/svc_simple.c: Likewise.
30945 * sunrpc/svc_tcp.c: Likewise.
30946 * sunrpc/svc_udp.c: Likewise.
30947 * sunrpc/svc_unix.c: Likewise.
30948 * sunrpc/svcauth_des.c: Likewise.
30949 * sunrpc/xcrypt.c: Likewise.
30950 * sunrpc/xdr.c: Likewise.
30951 * sunrpc/xdr_array.c: Likewise.
30952 * sunrpc/xdr_float.c: Likewise.
30953 * sunrpc/xdr_intXX_t.c: Likewise.
30954 * sunrpc/xdr_mem.c: Likewise.
30955 * sunrpc/xdr_rec.c: Likewise.
30956 * sunrpc/xdr_ref.c: Likewise.
30957 * sunrpc/xdr_sizeof.c: Likewise.
30958 * sunrpc/xdr_stdio.c: Likewise.
30959
e6c61494
UD
309602011-04-10 Ulrich Drepper <drepper@gmail.com>
30961
30962 [BZ #12650]
30963 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30964 * sysdeps/ia64/dl-tls.h: Likewise.
30965 * sysdeps/powerpc/dl-tls.h: Likewise.
30966 * sysdeps/s390/dl-tls.h: Likewise.
30967 * sysdeps/sh/dl-tls.h: Likewise.
30968 * sysdeps/sparc/dl-tls.h: Likewise.
30969 * sysdeps/x86_64/dl-tls.h: Likewise.
30970 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30971
34fe483e
AS
309722011-03-14 Andreas Schwab <schwab@redhat.com>
30973
30974 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30975 rpath element also skip the following colon.
30976 (expand_dynamic_string_token): Add is_path parameter and pass
30977 down to DL_DST_REQUIRED and _dl_dst_substitute.
30978 (decompose_rpath): Call expand_dynamic_string_token with
30979 non-zero is_path. Ignore empty rpaths.
30980 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30981 with zero is_path.
30982
f12a32e6
AS
309832011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30984
30985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30986 Make cancelable.
30987
38a7d692
UD
309882011-04-09 Ulrich Drepper <drepper@gmail.com>
30989
30990 [BZ #12655]
30991 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30992 Patch by Filipe David Manana <fdmanana@apache.org>.
30993
e451d22b
AS
309942011-04-07 Andreas Schwab <schwab@redhat.com>
30995
30996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30997 Maintain aligned stack.
30998 (CHECK_RSP): Remove unused macro.
30999
dedc7c7b
UD
310002011-04-03 Ulrich Drepper <drepper@gmail.com>
31001
31002 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31003 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31004
94521213
UD
310052011-04-02 Ulrich Drepper <drepper@gmail.com>
31006
31007 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31008
8cb700c0 31009 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31010
0354e355
L
310112011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31012
31013 [BZ #12518]
31014 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31015 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31016 * sysdeps/x86_64/memmove.c: New file.
31017 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31018 (memcpy): Renamed to ...
31019 (__new_memcpy): This.
31020 (memcpy): Provide GLIBC_2_14 memcpy.
31021 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31022 (memcpy): Provide GLIBC_2_2_5 memcpy.
31023
8593482f
UD
310242011-04-01 Ulrich Drepper <drepper@gmail.com>
31025
31026 [BZ #12631]
31027 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31028
81a5726b
AS
310292011-03-30 Andreas Schwab <schwab@redhat.com>
31030
31031 * misc/syncfs.c: New file.
31032 * misc/Makefile (routines): Add syncfs.
31033 * posix/unistd.h: Declare syncfs.
31034 * sysdeps/unix/syscalls.list: Add syncfs.
31035
00e5419f
AS
310362011-04-01 Andreas Schwab <schwab@redhat.com>
31037
31038 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31039 open_by_handle_at.
31040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31041 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31043 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31045 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31047
748876bf
UD
310482011-04-01 Ulrich Drepper <drepper@gmail.com>
31049
658e451d
UD
31050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31051 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31052 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31056 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31057
748876bf
UD
31058 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31059 sync_file_range.c with -fexceptions.
31060 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31061 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31062 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31063 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31064 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31065 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31066 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31067 sync_file_range as cancellation point
31068 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31069 now a wrapper around __call_sync_file_range with cancellation handling.
31070 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31071 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31072 function name to __call_sync_file_range.
31073 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31074 Add call_sync_file_range.
748876bf 31075
6e63d5e1
AS
310762011-04-01 Andreas Schwab <schwab@redhat.com>
31077
31078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31079 bits/timex.h.
6e63d5e1 31080
46998f74
UD
310812011-04-01 Ulrich Drepper <drepper@gmail.com>
31082
4c1423ed
UD
31083 * iconv/iconv.h: Fix typo in comment.
31084 * io/fcntl.h: Likewise.
31085 * libio/stdio.h: Likewise.
31086 * posix/spawn.h: Likewise.
31087 * posix/unistd.h: Likewise.
31088 * stdlib/stdlib.h: Likewise.
31089 * time/time.h: Likewise.
31090 * wcsmbs/wchar.h: Likewise.
31091
158648c0
UD
31092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31093 open_by_handle): Add.
31094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31095 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31096 Augment a few comments.
31097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31102 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31103 open_by_handle.
31104
46998f74
UD
31105 * io/fcntl.h (AT_EMPTY_PATH): Define.
31106
83fe108b
UD
311072011-03-30 Ulrich Drepper <drepper@gmail.com>
31108
31109 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31110 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31111 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31112 to...
31113 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31114 * Versions.def: Add GLIBC_2.14.
31115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31116 Export.
83fe108b 31117
bb242059
UD
311182011-03-22 Ulrich Drepper <drepper@gmail.com>
31119
31120 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31121 round counter.
31122 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31123
c97a1282
L
311242011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31125
31126 [BZ #12597]
31127 * string/test-strncmp.c (do_page_test): New function.
31128 (check2): Likewise.
31129 (test_main): Call check2.
31130 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31131
2a115601
UD
311322011-03-20 Ulrich Drepper <drepper@gmail.com>
31133
31134 [BZ #12587]
31135 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31136 Handle cache information in CPU leaf 4.
31137 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31138
8126d904
UD
311392011-03-18 Ulrich Drepper <drepper@gmail.com>
31140
042c49c6 31141 [BZ #12583]
8126d904
UD
31142 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31143 character representation.
31144 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31145
ccfe366e
RA
311462011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31147
31148 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31149 END(__isnan) to END(__isnanf) to match function entry point/label
31150 EALIGN(__isnanf,...).
31151
c6e13027
JJ
311522011-03-10 Jakub Jelinek <jakub@redhat.com>
31153
31154 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31155
33f85a3f
UD
311562011-03-10 Ulrich Drepper <drepper@gmail.com>
31157
028478fa
UD
31158 [BZ #12510]
31159 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31160 copy from the symbol referenced in the relocation to initialize the
31161 used variable.
31162 Patch by Piotr Bury <pbury@goahead.com>.
31163 * elf/Makefile: Add rules to build and tst-unique3.
31164 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31165 * elf/tst-unique3.cc: New file.
31166 * elf/tst-unique3.h: New file.
31167 * elf/tst-unique3lib.cc: New file.
31168 * elf/tst-unique3lib2.cc: New file.
31169
33f85a3f
UD
31170 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31171
03592fc7
MF
311722011-03-10 Mike Frysinger <vapier@gentoo.org>
31173
31174 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31175 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31176 to _start.
03592fc7 31177
6a5ee102
UD
311782011-03-06 Ulrich Drepper <drepper@gmail.com>
31179
31180 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31181 to-be-loaded object along a path to loader is ld.so.
31182
7e4ba49c
HJ
311832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31184 Ulrich Drepper <drepper@gmail.com>
31185
31186 * sysdeps/x86_64/memset.S: After aligning destination, code
31187 branches to different locations depending on the value of
31188 misalignment, when multiarch is enabled. Fix this.
31189
311902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31191
31192 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31193 Set _x86_64_preferred_memory_instruction for AMD processsors.
31194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31195 Set bit_Prefer_SSE_for_memop for AMD processors.
31196
13a804de
UD
311972011-03-04 Ulrich Drepper <drepper@gmail.com>
31198
31199 * libio/fmemopen.c (fmemopen): Optimize a bit.
31200
9d25c392
AS
312012011-03-03 Andreas Schwab <schwab@redhat.com>
31202
31203 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31204
a5543c6a
RM
312052011-03-03 Roland McGrath <roland@redhat.com>
31206
31207 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31208
012d35f7
DM
312092011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31210
7e4ba49c 31211 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31212 __bzero_ultra1 instead of __memset_ultra1.
31213
4bff6e01
AS
312142011-02-23 Andreas Schwab <schwab@redhat.com>
31215 Ulrich Drepper <drepper@gmail.com>
31216
31217 [BZ #12509]
31218 * include/link.h (struct link_map): Add l_orig_initfini.
31219 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31220 returning unsuccessfully.
31221 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31222 close of a file loaded at startup, restore the original l_initfini
31223 list.
31224 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31225 list, store the pointer.
31226 * elf/Makefile ($(objpfx)noload-mem): New rule.
31227 (noload-ENV): Define.
31228 (tests): Add $(objpfx)noload-mem.
31229 * elf/noload.c: Include <memcheck.h>.
31230 (main): Call mtrace. Close all opened handles.
31231
f2092faf
AS
312322011-02-17 Andreas Schwab <schwab@redhat.com>
31233
31234 [BZ #12454]
31235 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31236 dependencies are missing.
31237
6c8a2e88
ST
312382011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31239
f2092faf 31240 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31241 Hurd needs munmap.
31242 * sysdeps/mach/hurd/ifreq.h: New file.
31243
84a42118
PB
312442011-01-27 Petr Baudis <pasky@suse.cz>
31245 Ulrich Drepper <drepper@gmail.com>
31246
071f805e 31247 [BZ 12445]#
84a42118
PB
31248 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31249 to extend_alloca().
31250 * stdio-common/bug23.c: New file.
31251 * stdio-common/Makefile (tests): Add bug23.
31252
e23fe25b
AS
312532010-09-28 Andreas Schwab <schwab@redhat.com>
31254 Ulrich Drepper <drepper@gmail.com>
31255
31256 [BZ #12489]
31257 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31258 before performing relro protection. At old place add assertion
31259 to make sure nothing changed.
31260
d3f02e10
NS
312612011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31262 Glauber de Oliveira Costa <glommer@gmail.com>
31263
31264 * elf/elf.h: Add new ARM TLS relocs.
31265
d55fd7a5
RA
312662011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31267
31268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31269 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31270 cast from r3.
31271 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31272 'tests' variable.
31273 * sysdeps/wordsize-64/tst-writev.c: New file.
31274
2206397e
RA
312752011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31276
31277 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31278 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31279 insns in _dl_start to prevent a TOC reference before relocs are
31280 resolved.
31281
e9433893
UD
312822011-02-15 Ulrich Drepper <drepper@gmail.com>
31283
31284 [BZ #12469]
31285 * Makeconfig: Remove RANLIB definition.
31286 * Makerules: Don't use RANLIB.
31287 * aclocal.m4: Remove ranlib test.
31288 * configure.in: No need to check for ranlib.
31289 * elf/rtld-Rules: Don't use RANLIB.
31290
f75286c6
ST
312912011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31292
8e31c82d
ST
31293 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31294 protection macro.
31295 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31296 inclusion protection macro.
31297
f75286c6
ST
31298 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31299 SIGRTMIN and SIGRTMAX and print information in that case only when
31300 SIGRTMIN is defined.
31301
c1d0e639
JJ
313022011-02-11 Jakub Jelinek <jakub@redhat.com>
31303
31304 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31305 arginfo fn returning -1.
31306
31307 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31308 and thousands string is zero terminated.
31309
edf9294e
AS
313102011-02-03 Andreas Schwab <schwab@redhat.com>
31311
31312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31313 sysdeps/unix/sysv/linux/bits/socket.h.
31314
2b7e92df
ST
313152011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31316
edf9294e
AS
31317 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31318 (__CPU_COUNT): Remove old macros.
31319 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31320 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31321 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31322 (__sched_cpualloc, __sched_cpufree): Add declarations.
31323
a4c7ea7b
UD
313242011-02-05 Ulrich Drepper <drepper@gmail.com>
31325
31326 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31327 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31328 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31329 (readdhstai): Return value of addhstaiX call.
31330 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31331 (addgrbyX): Return value returned by cache_addgr.
31332 (readdgrbyname): Return value returned by addgrbyX.
31333 (readdgrbygid): Likewise.
31334 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31335 (addpwbyX): Return value returned by cache_addpw.
31336 (readdpwbyname): Return value returned by addhstbyX.
31337 (readdpwbyuid): Likewise.
31338 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31339 (addservbyX): Return value returned by cache_addserv.
31340 (readdservbyname): Return value returned by addservbyX:
31341 (readdservbyport): Likewise.
31342 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31343 (addhstbyX): Return value returned by cache_addhst.
31344 (readdhstbyname): Return value returned by addhstbyX.
31345 (readdhstbyaddr): Likewise.
31346 (readdhstbynamev6): Likewise.
31347 (readdhstbyaddrv6): Likewise.
31348 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31349 (readdinitgroups): Return value returned by addinitgroupsX.
31350 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31351 (prune_cache): Keep track of timeout value of re-added entries.
31352 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31353 * nscd/nscd.h: Adjust prototypes of readd* functions.
31354
a0bf67cc
RM
313552011-02-04 Roland McGrath <roland@redhat.com>
31356
31357 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31358 (nis_stats): Likewise.
31359 * nis/nis_modify.c (nis_modify): Likewise.
31360 * nis/nis_remove.c (nis_remove): Likewise.
31361 * nis/nis_add.c (nis_add): Likewise.
31362
31363 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31364
31365 * posix/fnmatch_loop.c: Add some consts.
31366
31367 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31368
435b95eb
L
313692011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31370
31371 [BZ #12460]
31372 * config.make.in (config-cflags-novzeroupper): Define.
31373 * configure.in: Substitute libc_cv_cc_novzeroupper.
31374 * elf/Makefile (AVX-CFLAGS): Define.
31375 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31376 (CFLAGS-tst-auditmod4a.c): Likewise.
31377 (CFLAGS-tst-auditmod4b.c): Likewise.
31378 (CFLAGS-tst-auditmod6b.c): Likewise.
31379 (CFLAGS-tst-auditmod6c.c): Likewise.
31380 (CFLAGS-tst-auditmod7b.c): Likewise.
31381 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31382
8517b15e
UD
313832011-02-02 Ulrich Drepper <drepper@gmail.com>
31384
31385 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31386 function to the callback.
31387 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31388
10a656fe
AS
313892011-02-02 Andreas Schwab <schwab@redhat.com>
31390
31391 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31392 of errno.
31393
968dad0a
UD
313942011-01-19 Ulrich Drepper <drepper@gmail.com>
31395
9f94d2ea 31396 [BZ #11724]
968dad0a
UD
31397 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31398 of constructors.
31399 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31400 of destructors.
31401 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31402
31403 [BZ #11724]
31404 * elf/Makefile: Add rules to build and run new test.
31405 * elf/tst-initorder.c: New file.
31406 * elf/tst-initorder.exp: New file.
31407 * elf/tst-initordera1.c: New file.
31408 * elf/tst-initordera2.c: New file.
31409 * elf/tst-initordera3.c: New file.
31410 * elf/tst-initordera4.c: New file.
31411 * elf/tst-initorderb1.c: New file.
31412 * elf/tst-initorderb2.c: New file.
31413 * elf/tst-order-a1.c: New file.
31414 * elf/tst-order-a2.c: New file.
31415 * elf/tst-order-a3.c: New file.
31416 * elf/tst-order-a4.c: New file.
31417 * elf/tst-order-b1.c: New file.
31418 * elf/tst-order-b2.c: New file.
31419 * elf/tst-order-main.c: New file.
31420 New test case by George Gensure <werkt0@gmail.com>.
31421
86e92359
UD
314222010-10-01 Andreas Schwab <schwab@redhat.com>
31423
31424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31425 decoding ACE if AI_CANONIDN.
31426
5d5732b0
UD
314272011-01-18 Ulrich Drepper <drepper@gmail.com>
31428
31429 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31430
a77e8cbc
UD
314312011-01-17 Ulrich Drepper <drepper@gmail.com>
31432
6392473f
UD
31433 * version.h (RELEASE): Bump for 2.13 release.
31434 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31435
620a0529
UD
31436 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31437
18ba70a5
UD
31438 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31439 MADV_NOHUGEPAGE.
32465c3e
UD
31440 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31441 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31442 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31443 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31444 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31445 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31446
c0dafcf1
UD
31447 * posix/getconf.c: Update copyright year.
31448 * catgets/gencat.c: Likewise.
31449 * csu/version.c: Likewise.
31450 * debug/catchsegv.sh: Likewise.
31451 * debug/xtrace.sh: Likewise.
31452 * elf/ldconfig.c: Likewise.
31453 * elf/ldd.bash.in: Likewise.
31454 * elf/sprof.c (print_version): Likewise.
31455 * iconv/iconv_prog.c: Likewise.
31456 * iconv/iconvconfig.c: Likewise.
31457 * locale/programs/locale.c: Likewise.
31458 * locale/programs/localedef.c: Likewise.
31459 * malloc/memusage.sh: Likewise.
31460 * malloc/mtrace.pl: Likewise.
31461 * nscd/nscd.c (print_version): Likewise.
31462 * nss/getent.c: Likewise.
31463
a77e8cbc
UD
31464 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31465 PF_CAIF, and PF_ALG.
31466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31467
77e8bddf
AS
314682011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31469
1f20b93a
AS
31470 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31471 (modules-names): Use them.
31472 (ifunc-test-modules, ifunc-pie-tests): Define.
31473 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31474 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31475 (test-extras): Likewise.
31476 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31477 $(compile-command.c).
31478 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31479 (all-built-dso): Define.
31480 (check-textrel.out, check-execstack.out): Depend on it.
31481
77e8bddf
AS
31482 * configure.in: Don't override --enable-multi-arch.
31483
bc425b33
UD
314842011-01-15 Ulrich Drepper <drepper@gmail.com>
31485
31486 [BZ #6812]
31487 * nscd/hstcache.c (tryagain): Define.
31488 (cache_addhst): Return tryagain not notfound for temporary errors.
31489 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31490 failed.
31491
794c3ad3
UD
314922011-01-14 Ulrich Drepper <drepper@gmail.com>
31493
70181fdd
UD
31494 [BZ #10563]
31495 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31496 to make the syscall.
31497 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31498
794c3ad3
UD
31499 [BZ #12378]
31500 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31501 and fall back to matching as normal character if the string ends before
31502 the matching ']' is found. This is what POSIX requires.
31503 * posix/testfnm.c: Adjust test result.
31504 * posix/globtest.sh: Adjust test result. Add new test.
31505 * posix/tst-fnmatch.input: Likewise.
31506 * posix/tst-fnmatch2.c: Add new test.
31507
68dc9497
AS
315082010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31509
31510 * elf/Makefile (check-execstack): Revert last change. Depend on
31511 check-execstack.h.
31512 (check-execstack.h): New target.
31513 (generated): Add check-execstack.h.
31514 * elf/check-execstack.c: Include "check-execstack.h".
31515 (main): Revert last change.
31516 (handle_file): Return zero if GNU_STACK is absent and
31517 DEFAULT_STACK_PERMS doesn't include PF_X.
31518
451f001b
UD
315192011-01-13 Ulrich Drepper <drepper@gmail.com>
31520
cfa28e56
UD
31521 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31522 in child fails because the descriptor is already closed.
8cf8ce17
UD
31523 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31524 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31525 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31526
1086d70d
UD
31527 [BZ #12397]
31528 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31529 syscall.
31530
451f001b
UD
31531 [BZ #10484]
31532 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31533 temporary buffer used to handle multi lookups locally.
a85b5cb4 31534 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31535
08769175
UD
315362011-01-12 Ulrich Drepper <drepper@gmail.com>
31537
31538 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31539 loader is ld.so.
31540
5e49c52e
UD
315412011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31542
31543 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31544 alignment for SSE2.
31545
60522a5f
UD
315462011-01-12 Ulrich Drepper <drepper@gmail.com>
31547
31548 [BZ #12394]
31549 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31550 characters. When rounding increased number of integer digits recompute
31551 number of groups.
31552 * stdio-common/tst-grouping.c: New file.
31553 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31554
f257bbd7
UD
315552011-01-09 Ulrich Drepper <drepper@gmail.com>
31556
31557 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31558 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31559
31560 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31561 void.
31562 * bits/select.h: Likewise.
31563
fa9c15cb
UD
315642011-01-08 Ulrich Drepper <drepper@gmail.com>
31565
31566 * po/ja.po: Update from translation team.
31567
16c2895f
DM
315682011-01-04 David S. Miller <davem@sunset.davemloft.net>
31569
31570 [BZ #11155]
31571 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31572 implementation just like for lxstat, fxstatat, et al.
31573
2543fef2
JM
315742010-12-27 Jim Meyering <meyering@redhat.com>
31575
31576 [BZ #12348]
31577 * posix/regexec.c (build_trtable): Return failure indication upon
31578 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31579
98727dbe
UD
315802010-12-25 Ulrich Drepper <drepper@gmail.com>
31581
5bd6dc5c
UD
31582 [BZ #12201]
31583 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31584 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31585 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31586 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31587
97983464
UD
31588 [BZ #12207]
31589 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31590
98727dbe
UD
31591 [BZ #12204]
31592 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31593 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31594
4a531bb0
L
315952010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31596
31597 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31598 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31599 script has SORT_BY_INIT_PRIORITY.
31600 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31601 NO_CTORS_DTORS_SECTIONS is defined.
31602 * elf/soinit.c: Likewise.
31603 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31604 NO_CTORS_DTORS_SECTIONS is defined.
31605 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31606 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31607 * sysdeps/sh/init-first.c: Likewise.
31608 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31609
07eb4b71
UD
316102010-12-24 Ulrich Drepper <drepper@gmail.com>
31611
31612 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31613 always use the slow path.
31614
30950a5f
RA
316152010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31616
31617 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31618 similar rule which adds the sysdep directories to the header search in
31619 order to pick up the correct platform stackinfo.h.
31620 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31621 perform test if it is, otherwise return successfully without testing.
31622 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31623 DEFAULT_STACK_PERMS define in stackinfo.h.
31624 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31625 defined in stackinfo.h.
31626 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31627 DEFAULT_STACK_PERMS defined in stackinfo.h.
31628 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31629 * sysdeps/ia64/stackinfo.h: Likewise.
31630 * sysdeps/s390/stackinfo.h: Likewise.
31631 * sysdeps/sh/stackinfo.h: Likewise.
31632 * sysdeps/sparc/stackinfo.h: Likewise.
31633 * sysdeps/x86_64/stackinfo.h: Likewise.
31634 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31635 PF_X for powerpc64. Retain PF_X for powerpc32.
31636
db753e2c
UD
316372010-12-19 Ulrich Drepper <drepper@gmail.com>
31638
14b697f7
UD
31639 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31640 accurately.
db753e2c
UD
31641 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31642 GETDENTS_64BIT_ALIGNED.
31643
28300719
UD
316442010-12-14 Ulrich Drepper <dreper@gmail.com>
31645
14b697f7 31646 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31647
4f197237
AS
316482010-12-10 Andreas Schwab <schwab@redhat.com>
31649
dbb0472f
AS
31650 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31651 _GNU_SOURCE.
31652
4f197237
AS
31653 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31654 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31655 Remove __restrict.
31656 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31657 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31658
fb88ac72
UD
316592010-12-09 Ulrich Drepper <drepper@gmail.com>
31660
31661 [BZ #11655]
31662 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31663 are initialized.
31664
42acbb92
JJ
316652010-12-09 Jakub Jelinek <jakub@redhat.com>
31666
31667 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31668
c038d98d
UD
316692010-12-03 Ulrich Drepper <drepper@gmail.com>
31670
31671 * po/it.po: Update from translation team.
31672
3a4a2499
L
316732010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31674
31675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31676 unused codes.
31677
1e24cf6e
UD
316782010-11-30 Ulrich Drepper <drepper@gmail.com>
31679
31680 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31681
a7690819
AS
316822010-11-24 Andreas Schwab <schwab@redhat.com>
31683
31684 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31685 specially.
31686 (gaih_getanswer_slice): Likewise.
31687
3bf8d1b1
JJ
316882010-10-20 Jakub Jelinek <jakub@redhat.com>
31689
31690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31691
6db52fbb
PB
316922010-05-31 Petr Baudis <pasky@suse.cz>
31693
31694 [BZ #11149]
31695 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31696 silently even in the chroot mode.
31697
eaca7569
UD
316982010-11-22 Ulrich Drepper <drepper@gmail.com>
31699
31700 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31701 last patch a bit. Pretty printing
31702
3056dcdb
UD
317032010-05-31 Petr Baudis <pasky@suse.cz>
31704
31705 [BZ #10085]
31706 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31707 initialization of skip_initgroups_dyn.
31708
cf7c9078
UD
317092010-11-19 Ulrich Drepper <drepper@gmail.com>
31710
31711 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31712 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31713
a1fb5e3e
UD
317142010-11-16 Ulrich Drepper <drepper@gmail.com>
31715
31716 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31717
3540d66b
AS
317182010-11-11 Andreas Schwab <schwab@redhat.com>
31719
31720 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31721 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31722 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31723 ($(objpfx)tst-fnmatch-mem): New rule.
31724 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31725 * posix/tst-fnmatch.c (main): Call mtrace.
31726
13b69574
L
317272010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31728
31729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31730 Support Intel processor model 6 and model 0x2c.
31731
da93d214
LM
317322010-11-10 Luis Machado <luisgpm@br.ibm.com>
31733
31734 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31735 signed comparison.
31736
8ca52c6e
L
317372010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31738
31739 [BZ #12205]
31740 * string/test-strncasecmp.c (check_result): New function.
31741 (do_one_test): Use it.
31742 (check1): New function.
31743 (test_main): Use it.
31744 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31745 Support strcasecmp and strncasecmp.
31746
69da074d
UD
317472010-11-08 Ulrich Drepper <drepper@gmail.com>
31748
31749 [BZ #12194]
31750 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31752
ff02d528
L
317532010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31754
31755 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31756 IFUNC support.
31757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31758 memset-x86-64.
31759 * sysdeps/x86_64/multiarch/bzero.S: New file.
31760 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31761 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31762 * sysdeps/x86_64/multiarch/memset.S: New file.
31763 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31765 Set bit_Prefer_SSE_for_memop for Intel processors.
31766 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31767 Define.
31768 (index_Prefer_SSE_for_memop): Define.
31769 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31770
344d0b54
LM
317712010-11-04 Luis Machado <luisgpm@br.ibm.com>
31772
31773 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31774 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31775
c0dde15b
UD
317762010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31777
31778 [BZ #12191]
31779 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31780 (__x86_64_raw_data_cache_size_half): Likewise.
31781 (__x86_64_raw_shared_cache_size): Likewise.
31782 (__x86_64_raw_shared_cache_size_half): Likewise.
31783
31784 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31785 (__x86_64_raw_data_cache_size_half): Likewise.
31786 (__x86_64_raw_shared_cache_size): Likewise.
31787 (__x86_64_raw_shared_cache_size_half): Likewise.
31788 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31789 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31790 and __x86_64_raw_shared_cache_size_half. Round
31791 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31792 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31793 to multiple of 256 bytes.
31794
0e516e0e
MS
317952010-11-03 Ulrich Drepper <drepper@gmail.com>
31796
31797 [BZ #12167]
31798 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31799 of inacessible symlinks. Verify result of symlink before returning it.
31800 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31801 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31802
0e012e87
ER
318032010-10-28 Erich Ritz <erichritz@gmail.com>
31804
31805 * math/math.h (isinf): Fix typo in comment.
31806
de0ff7bc
UD
318072010-11-01 Ulrich Drepper <drepper@gmail.com>
31808
31809 * po/da.po: Update from translation team.
31810
fa41c84d
UD
318112010-10-26 Ulrich Drepper <drepper@gmail.com>
31812
31813 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31814 is added to the list.
31815
f0967738
AK
318162010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31817 Ulrich Drepper <drepper@gmail.com>
31818
31819 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31820 the global list here. Move code to...
31821 (_dl_add_to_namespace_list): ...here. New function.
31822 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31823 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31824 * elf/dl-load.c (lose): Don't remove the element from the list.
31825 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31826 (_dl_map_object): Likewise.
31827
318282010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31829
31830 [BZ #12159]
31831 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31832 into all bytes of SSE register.
31833 Patch by Richard Li <richardpku@gmail.com>.
31834
f0967738 318352010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31836
31837 [BZ #12140]
31838 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31839 perturbing.
31840
d0b9e94f
MB
318412010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31842
31843 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31844 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31845 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31846 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31848 submachine.
31849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31850
8e9f92e9
AS
318512010-10-22 Andreas Schwab <schwab@redhat.com>
31852
31853 * include/dlfcn.h (__RTLD_SECURE): Define.
31854 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31855 mode & __RTLD_SECURE instead.
31856 (open_path): Rename preloaded parameter to secure.
31857 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31858 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31859 * elf/dl-deps.c (openaux): Likewise.
31860 * elf/rtld.c (struct map_args): Remove is_preloaded.
31861 (map_doit): Don't use it.
31862 (dl_main): Likewise.
31863 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31864 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31865
bc96fbda
AS
318662010-09-09 Andreas Schwab <schwab@redhat.com>
31867
31868 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31869 (sysd-rules-targets): Remove duplicates.
31870 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31871 rtld-%.$o dependency.
31872
22cd1c9b
AS
318732010-10-18 Andreas Schwab <schwab@redhat.com>
31874
31875 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31876 _dl_map_object do it.
31877
18edac48
UD
318782010-10-19 Ulrich Drepper <drepper@gmail.com>
31879
31880 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31881 fast fma builtins, define the macros in the C99 standard.
31882 (FP_FAST_FMAF): Likewise.
31883 (FP_FAST_FMAL): Likewise.
31884 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31885
31886 * bits/mathdef.h: Update copyright year.
31887 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31888
d2050124
MM
318892010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31890
31891 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31892 builtins, define the macros in the C99 standard.
31893 (FP_FAST_FMAF): Likewise.
31894 (FP_FAST_FMAL): Likewise.
31895 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31896 multiply/add.
31897 (FP_FAST_FMAF): Likewise.
31898
475facd1
JJ
318992010-10-15 Jakub Jelinek <jakub@redhat.com>
31900
31901 [BZ #3268]
31902 * math/libm-test.inc (fma_test): Some new testcases.
31903 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31904 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31905 y and infinite z. Do multiplication by C already in long double.
31906 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31908 y and infinite z. Do bitwise or of inexact bit into u.d.
31909 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31910 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31911 * sysdeps/i386/fpu/s_fma.S: Removed.
31912 * sysdeps/i386/fpu/s_fmal.S: Removed.
31913
7c08a05c
JJ
319142010-10-16 Jakub Jelinek <jakub@redhat.com>
31915
31916 [BZ #3268]
31917 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31919 computation is not scheduled after fetestexcept. Fix value
31920 of minimum denormal long double.
31921
f3f7372d
JJ
319222010-10-14 Jakub Jelinek <jakub@redhat.com>
31923
31924 [BZ #3268]
31925 * math/libm-test.inc (fma_test): Add some more tests.
31926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31927 correctly.
31928
14d43591
AS
319292010-10-15 Andreas Schwab <schwab@redhat.com>
31930
31931 * scripts/data/localplt-s390-linux-gnu.data: New file.
31932 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31933
5e908464
JJ
319342010-10-13 Jakub Jelinek <jakub@redhat.com>
31935
31936 [BZ #3268]
31937 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31938 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31939 instead of dbl-64.
31940 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31941 inlines.
31942 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31944 if one of x and y is very large and the other is subnormal.
31945 * sysdeps/s390/fpu/s_fmaf.c: New file.
31946 * sysdeps/s390/fpu/s_fma.c: New file.
31947 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31948 * sysdeps/powerpc/fpu/s_fma.S: New file.
31949 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31950 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31951 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31952
319532010-10-12 Jakub Jelinek <jakub@redhat.com>
31954
31955 [BZ #3268]
31956 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31957 fma tests.
31958 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31959 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31960 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31961 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31962 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31963 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31964 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31965
b833d51f
UD
319662010-10-12 Ulrich Drepper <drepper@redhat.com>
31967
31968 [BZ #12078]
31969 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31970 * posix/bug-regex31.input: Add test case.
31971
1751705d
UD
319722010-10-11 Ulrich Drepper <drepper@gmail.com>
31973
e9b9cbf5
UD
31974 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31975 * posix/bug-regex31.input: New file.
31976
31977 [BZ #12078]
31978 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31979 (parse_sub_exp): Fix last change, use postorder.
31980
ef06edbe
UD
31981 * posix/bug-regex31.c: New file.
31982 * posix/Makefile: Add rules to build and run bug-regex31.
31983
a129c80d
UD
31984 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31985
31986 [BZ #12078]
31987 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31988
b76b818e
UD
31989 [BZ #12108]
31990 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31991 to have entries in sys_siglist.
31992
1751705d
UD
31993 [BZ #12093]
31994 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31995 be NULL.
31996
9ff8d36f
JJ
319972010-10-07 Jakub Jelinek <jakub@redhat.com>
31998
31999 [BZ #3268]
32000 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32001 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32002 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32003 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32004 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32005 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32006 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32007 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32008 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32009 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32010 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32011 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32012 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32013 * math/ftestexcept.c (fetestexcept): Likewise.
32014 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32015 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32016 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32017 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32018 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32019 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32021
af325969
UD
320222010-10-11 Ulrich Drepper <drepper@gmail.com>
32023
c579b202 32024 [BZ #12107]
af325969
UD
32025 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32026 newline.
32027
67a67b95
UD
320282010-10-06 Ulrich Drepper <drepper@gmail.com>
32029
32030 * string/bug-strstr1.c: New file.
32031 * string/Makefile: Add rules to build and run bug-strstr1.
32032
5fb308bc
EB
320332010-10-05 Eric Blake <eblake@redhat.com>
32034
32035 [BZ #12092]
32036 * string/str-two-way.h (two_way_long_needle): Always clear memory
32037 when skipping input due to the shift table.
32038
45db99c7
UD
320392010-10-03 Ulrich Drepper <drepper@gmail.com>
32040
3b111893
UD
32041 [BZ #12005]
32042 * malloc/mcheck.c: Handle large requests.
32043
45db99c7
UD
32044 [BZ #12077]
32045 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32046 for strncmp and strncasecmp.
32047 * string/stratcliff.c: Add tests for strcmp and strncmp.
32048 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32049
cf7a1eb8
NI
320502010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32051
32052 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32053 __set_fpscr.
32054
6484ba5e
AJ
320552010-09-30 Andreas Jaeger <aj@suse.de>
32056
32057 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32058 (CGROUP_SUPER_MAGIC): Define.
32059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32060 Handle btrfs and cgroup file systems.
32061 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32062 Likewise.
32063
91c42559
LM
320642010-09-27 Luis Machado <luisgpm@br.ibm.com>
32065
32066 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32067 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32068
87a97932
AK
320692010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32070
32071 [BZ #12067]
32072 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32073 trying to locate the ELF header.
32074
c21cc9bc
AS
320752010-09-27 Andreas Schwab <schwab@redhat.com>
32076
32077 [BZ #11611]
32078 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32079 Mask out sign-bit copies when constructing f_fsid.
32080
315970f6
PB
320812010-09-24 Petr Baudis <pasky@suse.cz>
32082
32083 * debug/stack_chk_fail_local.c: Add missing licence exception.
32084 * debug/warning-nop.c: Likewise.
32085
1ac7a2c7
JM
320862010-09-15 Joseph Myers <joseph@codesourcery.com>
32087
32088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32089 implementing getdents64 using getdents syscall, set d_type if
32090 __ASSUME_GETDENTS32_D_TYPE.
32091
56801c50
AS
320922010-09-16 Andreas Schwab <schwab@redhat.com>
32093
32094 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32095 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32096
dda51327
UD
320972010-09-21 Ulrich Drepper <drepper@redhat.com>
32098
32099 [BZ #12037]
32100 * posix/unistd.h: Undo change of feature selection for ftruncate from
32101 2010-01-11.
32102
8ffcee4a
UD
321032010-09-20 Ulrich Drepper <drepper@redhat.com>
32104
a545ecd9 32105 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32106 detection.
32107
e24f0a8b
AS
321082010-09-20 Andreas Schwab <schwab@redhat.com>
32109
32110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32111 fanotify_mark.
32112 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32113
7291c56f
AS
321142010-09-14 Andreas Schwab <schwab@redhat.com>
32115
32116 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32117 variables after CHECK_SP call.
32118 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32119
bc5fb037
AS
321202010-09-13 Andreas Schwab <schwab@redhat.com>
32121 Ulrich Drepper <drepper@redhat.com>
32122
32123 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32124 re-relocationg ld.so.
32125 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32126 _dl_init_paths call.
32127 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32128 here anymore.
32129
e66e7419
UD
321302010-09-14 Ulrich Drepper <drepper@redhat.com>
32131
32132 * resolv/res_init.c (__res_vinit): Count the default server we added.
32133
c044aa75
CLT
321342010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32135 Ulrich Drepper <drepper@redhat.com>
32136
32137 [BZ #11968]
32138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32139 (____longjmp_chk): Use %ebx for saving value across system call.
32140 Add unwind info.
32141
32cf4069
AS
321422010-09-06 Andreas Schwab <schwab@redhat.com>
32143
32144 * manual/Makefile: Don't mix pattern rules with normal rules.
32145
817328ee
AS
321462010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32147
32148 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32149 operation.
32150 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32151 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32152 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32153 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32154 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32155 Likewise.
32156
29fddf61
UD
321572010-09-04 Ulrich Drepper <drepper@redhat.com>
32158
32159 [BZ #11979]
32160 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32161 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32162
0959ffc9
UD
321632010-09-02 Ulrich Drepper <drepper@redhat.com>
32164
32165 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32166 * sysdeps/x86_64/addmul_1.S: Likewise.
32167 * sysdeps/x86_64/lshift.S: Likewise.
32168 * sysdeps/x86_64/mul_1.S: Likewise.
32169 * sysdeps/x86_64/rshift.S: Likewise.
32170 * sysdeps/x86_64/sub_n.S: Likewise.
32171 * sysdeps/x86_64/submul_1.S: Likewise.
32172
ece29840
ST
321732010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32174
0959ffc9
UD
32175 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32176 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32177 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32178 * bits/sched.h [__need_schedparam]
ece29840 32179 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32180 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32181 (__defined_schedparam): Define to 1.
ece29840
ST
32182 (__sched_param): New structure, identical to sched_param.
32183 (__need_schedparam): Undefine.
32184
e53a31fe
MF
321852010-08-31 Mike Frysinger <vapier@gentoo.org>
32186
fdc0c10d
MF
32187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32188 (epoll_create1): Declare.
32189
e53a31fe
MF
32190 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32191
a726d796
AS
321922010-08-31 Andreas Schwab <schwab@redhat.com>
32193
32194 [BZ #7066]
32195 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32196 shifting retval into place.
32197
2f3e3dc7
UD
321982010-09-01 Ulrich Drepper <drepper@redhat.com>
32199
f2933da9
UD
32200 * nis/rpcsvc/nis.h: Update copyright notice.
32201 * nis/rpcsvc/nis.x: Likewise.
32202 * nis/rpcsvc/nis_callback.h: Likewise.
32203 * nis/rpcsvc/nis_callback.x: Likewise.
32204 * nis/rpcsvc/nis_object.x: Likewise.
32205 * nis/rpcsvc/nis_tags.h: Likewise.
32206 * nis/rpcsvc/yp.h: Likewise.
32207 * nis/rpcsvc/yp.x: Likewise.
32208 * nis/rpcsvc/ypupd.h: Likewise.
32209 * nis/yp_xdr.c: Likewise.
32210 * nis/ypupdate_xdr.c: Likewise.
32211
2f3e3dc7
UD
32212 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32213 mainly the body of pmap_getport. Add parameters to specify timeouts.
32214 (pmap_getport): Use __libc_rpc_getport.
32215 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32216 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32217 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32218
f3dcc2f9
AS
322192010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32220
32221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32222 fanotify_mark.
32223
6d34eb5b
RM
322242010-08-27 Roland McGrath <roland@redhat.com>
32225
32226 * sysdeps/i386/i686/multiarch/Makefile
32227 (CFLAGS-varshift.c): New variable.
32228
9ea3de11
UD
322292010-08-27 Ulrich Drepper <drepper@redhat.com>
32230
c96d23fc
UD
32231 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32232 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32233
9ea3de11
UD
32234 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32235
32236 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32237
623aac7f
L
322382010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32239
32240 * sysdeps/x86_64/strlen.S: Unroll the loop.
32241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32242 strlen-sse2 strlen-sse2-bsf.
32243 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32244 __strlen_no_bsf if bit_Slow_BSF is set.
32245 (__strlen_sse42): Removed.
32246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32247 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32248
8b2b7715
RM
322492010-08-25 Roland McGrath <roland@redhat.com>
32250
32251 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32252 * sysdeps/x86_64/multiarch/varshift.c: New file.
32253 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32254 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32255 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32256 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32257
e73015f2
L
322582010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32259
32260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32261 strlen-sse2 strlen-sse2-bsf.
32262 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32263 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32264 (__strlen_sse2): Removed.
32265 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32268 bit_Slow_BSF for Atom.
32269 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32270 (index_Slow_BSF): Define.
32271 (HAS_SLOW_BSF): Define.
32272
df24a73e
UD
322732010-08-25 Ulrich Drepper <drepper@redhat.com>
32274
32275 [BZ #10851]
32276 * resolv/res_init.c (__res_vinit): When no server address at all
32277 is given default to loopback.
32278
f2ac4868
RM
322792010-08-24 Roland McGrath <roland@redhat.com>
32280
09055553
RM
32281 * configure.in: Remove config-name.h generation.
32282 * configure: Regenerated.
32283 * config-name.in: File removed.
32284 * scripts/config-uname.sh: New file.
32285 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32286 ($(objdir)config-name.h): New target.
32287
f2ac4868
RM
32288 * sunrpc/rpc_parse.h: Avoid nested comment.
32289
73f27d5e
RH
322902010-08-24 Richard Henderson <rth@redhat.com>
32291 Ulrich Drepper <drepper@redhat.com>
32292 H.J. Lu <hongjiu.lu@intel.com>
32293
32294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32296 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32297 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32298 _mm_alignr_epi8 with _mm_loadu_si128.
32299 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32300 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32301 (__m128i_shift_right): Removed.
32302 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32303 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32304 * sysdeps/x86_64/multiarch/varshift.h: New file.
32305 * sysdeps/x86_64/multiarch/varshift.S: New file.
32306
84b9230c
MF
323072010-08-21 Mike Frysinger <vapier@gentoo.org>
32308
32309 * configure.in: Move assembler checks to before sysdep dir checking.
32310
9bbd0ddc
PB
323112010-08-20 Petr Baudis <pasky@suse.cz>
32312
32313 * LICENSES: Sync the sunrpc license.
32314
9da4bb31
UD
323152010-08-19 Ulrich Drepper <drepper@redhat.com>
32316
a7ab6ec8
UD
32317 * sunrpc/auth_des.c: Update copyright notice once again.
32318 * sunrpc/auth_none.c: Likewise.
32319 * sunrpc/auth_unix.c: Likewise.
32320 * sunrpc/authdes_prot.c: Likewise.
32321 * sunrpc/authuxprot.c: Likewise.
32322 * sunrpc/bindrsvprt.c: Likewise.
32323 * sunrpc/clnt_gen.c: Likewise.
32324 * sunrpc/clnt_perr.c: Likewise.
32325 * sunrpc/clnt_raw.c: Likewise.
32326 * sunrpc/clnt_simp.c: Likewise.
32327 * sunrpc/clnt_tcp.c: Likewise.
32328 * sunrpc/clnt_udp.c: Likewise.
32329 * sunrpc/clnt_unix.c: Likewise.
32330 * sunrpc/des_crypt.c: Likewise.
32331 * sunrpc/des_soft.c: Likewise.
32332 * sunrpc/get_myaddr.c: Likewise.
32333 * sunrpc/getrpcport.c: Likewise.
32334 * sunrpc/key_call.c: Likewise.
32335 * sunrpc/key_prot.c: Likewise.
32336 * sunrpc/openchild.c: Likewise.
32337 * sunrpc/pm_getmaps.c: Likewise.
32338 * sunrpc/pm_getport.c: Likewise.
32339 * sunrpc/pmap_clnt.c: Likewise.
32340 * sunrpc/pmap_prot.c: Likewise.
32341 * sunrpc/pmap_prot2.c: Likewise.
32342 * sunrpc/pmap_rmt.c: Likewise.
32343 * sunrpc/rpc/auth.h: Likewise.
32344 * sunrpc/rpc/auth_unix.h: Likewise.
32345 * sunrpc/rpc/clnt.h: Likewise.
32346 * sunrpc/rpc/des_crypt.h: Likewise.
32347 * sunrpc/rpc/key_prot.h: Likewise.
32348 * sunrpc/rpc/netdb.h: Likewise.
32349 * sunrpc/rpc/pmap_clnt.h: Likewise.
32350 * sunrpc/rpc/pmap_prot.h: Likewise.
32351 * sunrpc/rpc/pmap_rmt.h: Likewise.
32352 * sunrpc/rpc/rpc.h: Likewise.
32353 * sunrpc/rpc/rpc_des.h: Likewise.
32354 * sunrpc/rpc/rpc_msg.h: Likewise.
32355 * sunrpc/rpc/svc.h: Likewise.
32356 * sunrpc/rpc/svc_auth.h: Likewise.
32357 * sunrpc/rpc/types.h: Likewise.
32358 * sunrpc/rpc/xdr.h: Likewise.
32359 * sunrpc/rpc_clntout.c: Likewise.
32360 * sunrpc/rpc_cmsg.c: Likewise.
32361 * sunrpc/rpc_common.c: Likewise.
32362 * sunrpc/rpc_cout.c: Likewise.
32363 * sunrpc/rpc_dtable.c: Likewise.
32364 * sunrpc/rpc_hout.c: Likewise.
32365 * sunrpc/rpc_main.c: Likewise.
32366 * sunrpc/rpc_parse.c: Likewise.
32367 * sunrpc/rpc_parse.h: Likewise.
32368 * sunrpc/rpc_prot.c: Likewise.
32369 * sunrpc/rpc_sample.c: Likewise.
32370 * sunrpc/rpc_scan.c: Likewise.
32371 * sunrpc/rpc_scan.h: Likewise.
32372 * sunrpc/rpc_svcout.c: Likewise.
32373 * sunrpc/rpc_tblout.c: Likewise.
32374 * sunrpc/rpc_util.c: Likewise.
32375 * sunrpc/rpc_util.h: Likewise.
32376 * sunrpc/rpcinfo.c: Likewise.
32377 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32378 * sunrpc/rpcsvc/key_prot.x: Likewise.
32379 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32380 * sunrpc/rpcsvc/mount.x: Likewise.
32381 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32382 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32383 * sunrpc/rpcsvc/rex.x: Likewise.
32384 * sunrpc/rpcsvc/rstat.x: Likewise.
32385 * sunrpc/rpcsvc/rusers.x: Likewise.
32386 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32387 * sunrpc/rpcsvc/spray.x: Likewise.
32388 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32389 * sunrpc/rtime.c: Likewise.
32390 * sunrpc/svc.c: Likewise.
32391 * sunrpc/svc_auth.c: Likewise.
32392 * sunrpc/svc_authux.c: Likewise.
32393 * sunrpc/svc_raw.c: Likewise.
32394 * sunrpc/svc_run.c: Likewise.
32395 * sunrpc/svc_simple.c: Likewise.
32396 * sunrpc/svc_tcp.c: Likewise.
32397 * sunrpc/svc_udp.c: Likewise.
32398 * sunrpc/svc_unix.c: Likewise.
32399 * sunrpc/svcauth_des.c: Likewise.
32400 * sunrpc/xcrypt.c: Likewise.
32401 * sunrpc/xdr.c: Likewise.
32402 * sunrpc/xdr_array.c: Likewise.
32403 * sunrpc/xdr_float.c: Likewise.
32404 * sunrpc/xdr_mem.c: Likewise.
32405 * sunrpc/xdr_rec.c: Likewise.
32406 * sunrpc/xdr_ref.c: Likewise.
32407 * sunrpc/xdr_sizeof.c: Likewise.
32408 * sunrpc/xdr_stdio.c: Likewise.
32409
9da4bb31
UD
32410 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32411 handling.
32412
bdaa77bc
AS
324132010-08-19 Andreas Schwab <schwab@redhat.com>
32414
32415 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32416
fe2f79db
LM
324172010-08-19 Luis Machado <luisgpm@br.ibm.com>
32418
32419 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32420 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32421 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32422 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32423 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32424 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32425 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32426 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32428 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32429 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32430 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32431 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32432 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32433
b9b42ee0
AB
324342010-07-26 Anton Blanchard <anton@samba.org>
32435
32436 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32437 * malloc/arena.c (heap_trim): Likewise.
32438
1c06ba31
UD
324392010-08-16 Ulrich Drepper <drepper@redhat.com>
32440
32441 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32442 here. Not...
32443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32444 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32445
f8392f40
L
324462010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32447
32448 * sysdeps/i386/elf/Makefile: New file.
32449
3162f12e
AS
324502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32451
32452 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32453 from fanotify_init.
32454 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32456
28c90b2c
UD
324572010-08-15 Ulrich Drepper <drepper@redhat.com>
32458
32459 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32460 of strncasecmp_l.
1feccb6c 32461 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32462
ca6bb004
UD
324632010-08-14 Ulrich Drepper <drepper@redhat.com>
32464
e9f82e0d
UD
32465 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32466 strncase_l-nonascii.
32467 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32468 Add strncase_l-ssse3.
32469 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32470 * sysdeps/x86_64/strcmp.S: Likewise.
32471 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32472 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32473 * sysdeps/x86_64/strncase.S: New file.
32474 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32475 * sysdeps/x86_64/strncase_l.S: New file.
32476 * string/Makefile (strop-tests): Add strncasecmp.
32477 * string/test-strncasecmp.c: New file.
32478
32479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32480 warning.
32481
ca6bb004
UD
32482 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32483 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32484
052fa7b3
AS
324852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32486
32487 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32488
962dba78
UD
324892010-08-12 Ulrich Drepper <drepper@redhat.com>
32490
32491 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32492 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32494
bebff237
AM
324952010-05-01 Alan Modra <amodra@gmail.com>
32496
32497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32498 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32499 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32500 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32501 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32502 tidying. Don't tail-call __sigjmp_save for static lib.
32503 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32504 save location.
32505 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32506 (CALL_MCOUNT): Add eh info, and nop after bl.
32507 (TAIL_CALL_SYSCALL_ERROR): New macro.
32508 (PSEUDO_RET): Use it.
32509 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32510 Correct save location of integer regs and cr.
32511 (_dl_profile_resolve): Correct cr save location. Delete nops
32512 after bl when SHARED. Reduce cfi size a little by better
32513 placement of cfi directives.
32514 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32515 make a stack frame. Instead use parm save area as a temp.
32516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32517 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32519 Don't make a stack frame for parent, use parm save area.
32520 Increase child stack frame to 112 bytes. Don't save unused reg,
32521 and adjust reg usage. Set up cfi on error recovery and
32522 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32524 (__makecontext): Add dummy nop after jump to exit.
32525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32526 Use correct parm save area and cr save, reduce stack frame.
32527 Correct cfi for possible PSEUDO_RET frame setup.
32528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32529 Branch to local label emitted by PSEUDO_RET rather than
32530 __syscall_error.
32531
02637374
AS
325322010-08-12 Andreas Schwab <schwab@redhat.com>
32533
32534 [BZ #11904]
32535 * locale/programs/locale.c (print_assignment): New function.
32536 (show_locale_vars): Use it.
32537
c3e2f19b
UD
325382010-08-11 Ulrich Drepper <drepper@redhat.com>
32539
3cdaa6ad
UD
32540 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32541 field.
32542 (struct statfs64): Likewise.
32543 (_STATFS_F_FLAGS): Define.
32544 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32545 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32546 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32547 (ST_VALID): Define locally.
32548 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32549 __statvfs_getflags, use the provided value.
32550 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32551 __ASSUME_STATFS_F_FLAGS.
32552
754f7da3
UD
32553 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32554
10b3bedc
UD
32555 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32556 Add sys/fanotify.h.
32557 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32558 fanotify_mask for GLIBC_2.13.
32559 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32560 fanotify_init and fanotify_mark.
32561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32562 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32563
c08fb0d7
UD
32564 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32565 Add prlimit.
32566 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32567 prlimit64 for GLIBC_2.13.
32568 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32569 prlimit64.
32570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32571 syscall.
32572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32573 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32574 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32575 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32577 add prlimit alias.
32578 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32579
15bac72b
UD
32580 [BZ #11903]
32581 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32582 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32583
c3e2f19b
UD
32584 * nss/Makefile: Add rules to build and run tst-nss-test1.
32585 * shlib-versions: Add entry for libnss_test1.
32586 * nss/nss_test1.c: New file.
32587 * nss/tst-nss-test1.c: New file.
32588
32589 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32590 (__nss_configure_lookup): Set appropriate entry in
32591 __nss_configure_lookup to true.
32592 * nss/nsswitch.h: Define enum with indeces of databases in
32593 databases and __nss_database_custom arrays. Declare
32594 __nss_database_custom.
32595 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32596 to avoid using nscd when custom rules are installed.
32597 * nss/getXXbyYY_r.c: Likewise.
32598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32599
32600 * nss/nss_files/files-parse.c: Whitespace fixes.
32601
f15ce4d8
UD
326022010-08-09 Ulrich Drepper <drepper@redhat.com>
32603
32604 [BZ #11883]
32605 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32606 * posix/fnmatch_loop.c: Likewise.
32607
d22e4cc9
AK
326082010-07-17 Andi Kleen <ak@linux.intel.com>
32609
32610 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32611 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32612 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32613 * Versions.def [GLIBC_2.13]: Add.
32614
805bc17d
UD
326152010-08-06 Ulrich Drepper <drepper@redhat.com>
32616
32617 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32618 Also fail if tpwd after pwuid call is NULL.
32619
5a42321d
ST
326202010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32621
32622 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32623 when converting to ms.
32624
fd3ebeda
ST
326252010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32626
32627 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32628 EOPNOTSUPP errors with ENOTTY.
32629 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32630 EOPNOTSUPP errors with ENOTTY.
32631
73507d3a
UD
326322010-07-31 Ulrich Drepper <drepper@redhat.com>
32633
32634 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32635 Add strcasecmp_l-ssse3.
32636 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32637 strcasecmp.
32638 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32639 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32640 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32641
fe36dd02
UD
326422010-07-30 Ulrich Drepper <drepper@redhat.com>
32643
66f6765a
UD
32644 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32645
42e08a54
UD
32646 * string/Makefile (strop-tests): Add strcasecmp.
32647 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32648 strcasecmp_l-nonascii.
32649 (gen-as-const-headers): Add locale-defines.sym.
32650 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32651 * sysdeps/x86_64/strcasecmp.S: New file.
32652 * sysdeps/x86_64/strcasecmp_l.S: New file.
32653 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32654 * sysdeps/x86_64/locale-defines.sym: New file.
32655 * string/test-strcasecmp.c: New file.
32656
fe36dd02
UD
32657 * string/test-strcasestr.c: Test both ends of the range of characters.
32658 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32659
48cbc0d6
RM
326602010-07-29 Roland McGrath <roland@redhat.com>
32661
76e6d6bc 32662 [BZ #11856]
48cbc0d6
RM
32663 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32664
880113d9
UD
326652010-07-27 Ulrich Drepper <drepper@redhat.com>
32666
32667 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32668 for ld.so.
32669
deb9cabb
AS
326702010-07-27 Andreas Schwab <schwab@redhat.com>
32671
32672 * manual/memory.texi (Malloc Tunable Parameters): Document
32673 M_PERTURB.
32674
1c7570ff
RM
326752010-07-26 Roland McGrath <roland@redhat.com>
32676
32677 [BZ #11840]
32678 * configure.in (-fgnu89-inline check): Set and substitute
32679 gnu89_inline, not libc_cv_gnu89_inline.
32680 * configure: Regenerated.
32681 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32682
24fb0f88
UD
326832010-07-26 Ulrich Drepper <drepper@redhat.com>
32684
32685 * string/test-strnlen.c: New file.
32686 * string/Makefile (strop-tests): Add strnlen.
32687 * string/tester.c (test_strnlen): Add a few more test cases.
32688 * string/tst-strlen.c: Better error reporting.
32689
32690 * sysdeps/x86_64/strnlen.S: New file.
32691
8e96b93a
UD
326922010-07-24 Ulrich Drepper <drepper@redhat.com>
32693
32694 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32695 lower-latency instructions.
32696
dbc676d4
UD
326972010-07-23 Ulrich Drepper <drepper@redhat.com>
32698
32699 * string/test-strcasestr.c: New file.
32700 * string/test-strstr.c: New file.
32701 * string/Makefile (strop-tests): Add strstr and strcasestr.
32702 * string/str-two-way.h: Don't undefine MAX.
32703 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32704
f6a31e0e
AS
327052010-07-21 Andreas Schwab <schwab@redhat.com>
32706
32707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32708 strcasestr-nonascii.
32709 (CFLAGS-strcasestr-nonascii.c): Define.
32710 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32712 Remove unused attribute.
32713
5dbc3b6c
RM
327142010-07-20 Roland McGrath <roland@redhat.com>
32715
32716 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32717 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32718 ld.so.cache was broken. With it, there is no way to disable dsocaps
32719 like LD_HWCAP_MASK can disable hwcaps.
32720
23d101d8
EPM
327212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32722
32723 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32724
cc9f2e47
UD
327252010-07-16 Ulrich Drepper <drepper@redhat.com>
32726
32727 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32728 call in strcasestr.
32729 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32730 __strcasestr_sse42_nonascii.
32731 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32732 strcasestr-nonascii.c.
32733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32734
77c1b069
LM
327352010-06-15 Luis Machado <luisgpm@br.ibm.com>
32736
32737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32738 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32739 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32740 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32741
440566c3
UD
327422010-07-09 Ulrich Drepper <drepper@redhat.com>
32743
32744 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32745 fcntl.
32746
5be9d05d
AS
327472010-07-06 Andreas Schwab <schwab@redhat.com>
32748
c30b7ee2 32749 [BZ #11577]
5be9d05d
AS
32750 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32751 dl_signal_cerror.
32752
8a492a67
UD
327532010-07-06 Ulrich Drepper <drepper@redhat.com>
32754
32755 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32756 _PC_PIPE_BUF using F_GETPIPE_SZ.
32757
713df3d5
RM
327582010-07-05 Roland McGrath <roland@redhat.com>
32759
32760 * manual/arith.texi (Rounding Functions): Fix rint description
32761 implicit in round description.
32762
702e8f14
UD
327632010-07-02 Ulrich Drepper <drepper@redhat.com>
32764
32765 * elf/Makefile: Fix linking for a few tests to make recent linker
32766 happy.
32767
52ed8be9
AS
327682010-06-30 Andreas Schwab <schwab@redhat.com>
32769
32770 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32771 $(common-objpfx)libc_nonshared.a.
32772
f47c9a11
LM
327732010-06-21 Luis Machado <luisgpm@br.ibm.com>
32774
32775 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32776 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32777 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32778 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32779 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32780 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32781 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32782 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32797 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32798 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32799 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32800 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32801 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32802 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32803 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32804 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32805 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32806 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32807 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32808 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32823
6fb8cbcb
L
328242010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32825
32826 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32827 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32828 * string/memmove.c (memmove): Renamed to ...
32829 (MEMMOVE): ...this. Default to memmove.
32830 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32831 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32832 (END_CHK): Define.
32833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32834 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32835 mempcpy-ssse3-back memmove-ssse3-back.
32836 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32837 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32839 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32840 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32841 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32842 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32843 * sysdeps/x86_64/multiarch/memmove.c: New file.
32844 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32845 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32846 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32847 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32848 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32849 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32850 Define.
32851 (index_Fast_Copy_Backward): Define.
32852 (HAS_ARCH_FEATURE): Define.
32853 (HAS_FAST_REP_STRING): Define.
32854 (HAS_FAST_COPY_BACKWARD): Define.
32855
4e733bac 328562010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32857
32858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32859 Restore proper fallback handling.
32860
63c4ed22
UD
328612010-06-19 Ulrich Drepper <drepper@redhat.com>
32862
ac2b484c
UD
32863 [BZ #11701]
32864 * posix/group_member.c (__group_member): Correct checking loop.
32865
63c4ed22
UD
32866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32867 OOM in getpwuid_r correctly. Return error number when the caller
32868 should return, otherwise -1.
32869 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32870 call returning > 0 value.
32871 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32872
765ade4b
AS
328732010-06-07 Andreas Schwab <schwab@redhat.com>
32874
32875 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32876 libc_nonshared.a from targets in modules-names.
32877
80da2e09
KS
328782010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32879
32880 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32881 requires it.
32882
158db122
LM
328832010-06-10 Luis Machado <luisgpm@br.ibm.com>
32884
32885 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32886 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32888 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32889
caa78cf8
AS
328902010-06-02 Andreas Schwab <schwab@redhat.com>
32891
32892 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32893
b2ef2c01
UD
328942010-06-14 Ulrich Drepper <drepper@redhat.com>
32895
32896 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32897 and F_GETPIPE_SZ.
32898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32899 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32903 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32904
fbd643b6
RM
329052010-06-14 Roland McGrath <roland@redhat.com>
32906
32907 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32908
f32f2869
JJ
329092010-06-07 Jakub Jelinek <jakub@redhat.com>
32910
32911 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32912 __REDIRECT followed by __THROW.
32913 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32914 * posix/getopt.h (getopt): Likewise.
32915
2a50c078
EPM
329162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32917
32918 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32919 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32920 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32921 in AT_FLAGS.
32922 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32923 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32924
eb5ad2eb
LM
329252010-05-28 Luis Machado <luisgpm@br.ibm.com>
32926
32927 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32928
3c88fe1e
L
329292010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32930
32931 [BZ #11640]
32932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32933 Properly check family and model.
32934
d2f73151
TY
329352010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32936
32937 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32938
ebd2e13d
LM
329392010-05-24 Luis Machado <luisgpm@br.ibm.com>
32940
32941 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32942
b32b8b45
UD
329432010-05-21 Ulrich Drepper <drepper@redhat.com>
32944
32945 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32946 symbol reference.
32947
9acbe24d
AS
329482010-05-19 Andreas Schwab <schwab@redhat.com>
32949
32950 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32951 symbol reference.
32952
f0ccf6ea
AS
329532010-05-21 Andreas Schwab <schwab@redhat.com>
32954
3d04ff3a
AS
32955 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32956 and internal_recvmmsg.
32957 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32958 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32959 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32960 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32961
f0ccf6ea
AS
32962 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32963 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32964 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32965
5b08ac57
AS
329662010-05-20 Andreas Schwab <schwab@redhat.com>
32967
32968 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32969
4828935d
LM
329702010-05-17 Luis Machado <luisgpm@br.ibm.com>
32971
32972 POWER7 optimizations.
32973 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32974 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32975
373d545e
UD
329762010-05-19 Ulrich Drepper <drepper@redhat.com>
32977
32978 * version.h: Update for 2.13 development version.
32979
21a2b1ae
AS
329802010-05-12 Andrew Stubbs <ams@codesourcery.com>
32981
32982 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32983 exceptions. Return 0.
32984
3f7dcb2b
RM
329852010-05-07 Roland McGrath <roland@redhat.com>
32986
32987 * elf/ldconfig.c (main): Add a const.
32988
5f24d53a 329892010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32990
a160f8d8
UD
32991 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32992 (args_options): Add no-idn option.
32993 (ahosts_keys_int): Add idn_flags to ai_flags.
32994 (parse_option): Handle 'i' option to clear idn_flags.
32995
5f24d53a
UD
32996 * malloc/malloc.c (_int_free): Possible race in the most recently
32997 added check. Only act on the data if no current modification
32998 happened.
265bb1ce
UD
32999
33000See ChangeLog.17 for earlier changes.
This page took 4.11621 seconds and 5 git commands to generate.