]> sourceware.org Git - glibc.git/blame - ChangeLog
Update iso-639.def
[glibc.git] / ChangeLog
CommitLineData
4aafb73c
SP
12013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4 (POLYNOMIAL): Likewise.
5 (TAYLOR_SINCOS): Likewise.
6 (TAYLOR_SLOW): Likewise.
7 (__sin): Use TAYLOR_SINCOS.
8 (__cos): Likewise.
9 (slow): Use TAYLOR_SLOW.
10 (sloww): Likewise.
11 (bsloww): Likewise.
12 (csloww): Likewise.
13
d84f25c7
LD
142013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15
16 * stdlib/strtod_l.c: Fix buffer overrun.
17
5eea0404
SP
182013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19
7849ff93
SP
20 * benchtests/Makefile (bench): Add sincos.
21 * benchtests/bench-sincos.c: New file.
22
cfa3c886
SP
23 * math/libm-test.inc (cos_test_data): New test inputs.
24 (sin_test_data): Likewise.
25
b348e1e3
SP
26 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27 macro.
28 (__sin): Use it.
29 (__cos): Likewise.
30 (slow1): Likewise.
31 (slow2): Likewise.
32 (sloww1): Likewise.
33 (sloww2): Likewise.
34 (bsloww1): Likewise.
35 (bsloww2): Likewise.
36 (cslow2): Likewise.
37 (csloww1): Likewise.
38 (csloww2): Likewise.
39
6cce25f8
SP
40 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41 function.
42 (__sin): Use it.
43 (__cos): Likewise.
44
5eea0404
SP
45 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46 gotos.
47 (__cos): Likewise.
48
9c21573c
MR
492013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
50
51 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
55 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56 * elf/cache.c (print_entry): Handle the new cache flags.
57
24d22e65
JM
582013-09-18 Joseph Myers <joseph@codesourcery.com>
59 Aldy Hernandez <aldyh@redhat.com>
60
61 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
62 Change condition to [_SOFT_FLOAT].
63 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
64 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
65 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
66 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
67 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
68 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
69 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
70 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
71 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
72 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
73 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
74 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
75 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
76 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
77 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
78 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
79 declaration.
80
d13ef066
JM
812013-09-18 Joseph Myers <joseph@codesourcery.com>
82
2e071de0
JM
83 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
84 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
85 (__longjmp): Use LOAD_GP to load saved GPRs.
86 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
87 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
88 (__sigsetjmp): Use SAVE_GP to save GPRs.
89
d13ef066
JM
90 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
91 Do not append -msoft-float.
92 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
93
97a0650b
SP
942013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
95
96 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
97
11ca09e9
JM
982013-09-17 Joseph Myers <joseph@codesourcery.com>
99
100 [BZ #15966]
101 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
102 (_FPU_GETCW): Use initial "__" on variable and field names but not
103 on macro parameter name.
104 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
105 parentheses around reference to macro parameter.
106
08ffcf34
RS
1072013-09-13 Richard Sandiford <richard@codesourcery.com>
108
109 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
110 prototype.
111 (ctype_startup): Use uint32_t in cast and sizeof for
112 ctype->charnames.
113
ae7080d3
JL
1142013-09-11 Jia Liu <proljc@gmail.com>
115
116 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
117 __daddr_t_defined.
118 [__FreeBSD__]: Likewise.
119
5905e7b3
OB
1202013-09-11 Ondřej Bílka <neleai@seznam.cz>
121
122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
123 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
124 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
125 (strchr): Remove __strchr_sse42 ifunc selection.
126 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
127 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
128
b987c776
WN
1292013-09-11 Will Newton <will.newton@linaro.org>
130
131 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
132 parameter to RES. Remove hardcoded 1000 value.
133 * benchtests/bench-skeleton.c (main): Pass RES parameter
134 to TIMING_INIT and multiply result by 1000.
135
ddf985af
AZ
1362013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
139
ffdd3181
AS
1402013-09-11 Andreas Schwab <schwab@suse.de>
141
142 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
143 if not defined.
144 (O_TMPFILE) [__USE_GNU]: Define.
145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
146 Define.
147
b73ed247
WN
1482013-09-11 Will Newton <will.newton@linaro.org>
149
150 [BZ #15857]
151 * malloc/malloc.c (__libc_memalign): Check the value of bytes
152 does not overflow.
153
55e17aad
WN
1542013-09-11 Will Newton <will.newton@linaro.org>
155
156 [BZ #15856]
157 * malloc/malloc.c (__libc_valloc): Check the value of bytes
158 does not overflow.
159
1159a193
WN
1602013-09-11 Will Newton <will.newton@linaro.org>
161
162 [BZ #15855]
163 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
164 does not overflow.
165
5905e7b3 1662013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
167
168 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
170 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
171 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
172 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
173
cdfc721b
AM
1742013-09-10 Allan McRae <allan@archlinux.org>
175
aa04af00
AM
176 [BZ #15748]
177 * manual/arith.texi (Parsing of Floats): Clarify
178 cross-reference.
179
cdfc721b
AM
180 [BZ #15849]
181 * manual/install.texi (Running make install): Mention
182 --enable-pt-chown.
183 * INSTALL: Regenerated.
184
95e7cf29
MR
1852013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
186
187 * csu/init-first.c (_init): Remove the !SHARED condition around
188 FPU control word initialization.
189 * elf/dl-support.c (_dl_fpu_control): New variable.
190 (_dl_aux_init) <AT_FPUCW>: Initialize it.
191 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
192 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
193 * math/test-fpucw-static.c: New file.
194 * math/test-fpucw-ieee.c: New file.
195 * math/test-fpucw-ieee-static.c: New file.
196 * math/Makefile (tests): Add `test-fpucw-ieee' and
197 `$(tests-static)'.
198 (tests-static): New variable.
199 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
200 dependency to...
201 [($(build-shared),yes)]
202 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
203 ... this.
204 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
205 New dependency.
206
83e43bf0
AM
2072013-09-09 Allan McRae <allan@archlinux.org>
208
a9f5ce09
AM
209 [BZ #15939]
210 * manual/string.texi (Collation Functions): Fix typo in
211 strcoll example.
212 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
213
34829bc2
AM
214 [BZ #15893]
215 * stdlib/isomac.c (get_null_defines): Fix memory leak.
216
3932737d
AM
217 [BZ #15892]
218 * libio/memstream.c (open_memstream): Fix memory leak.
219 * libio/wmemstream.c (open_wmemstream): Likewise.
220
83e43bf0
AM
221 [BZ #15895]
222 * nscd/netgroupcache.c: Fix nesting of ifdefs.
223
0c66b8e9
WN
2242013-09-09 Will Newton <will.newton@linaro.org>
225
226 * malloc/Makefile: Add tst-realloc to tests.
227 * malloc/tst-realloc.c: New file.
228
f6b00fd1
AM
2292013-09-09 Allan McRae <allan@archlinux.org>
230
231 [BZ #15844]
232 * COPYING: Update from GNU website to fix FSF address.
233 * COPYING.LIB: Likewise.
234
eec55e16
DM
2352013-09-06 David S. Miller <davem@davemloft.net>
236
237 * po/zh_TW.po: Update Chinese (traditional) translation from
238 translation project.
239
1ecbb381
RS
2402013-09-06 Richard Sandiford <richard@codesourcery.com>
241 Joseph Myers <joseph@codesourcery.com>
242
243 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
244 "localeinfo.h".
245 (obstack_chunk_alloc): New macro.
246 (obstack_chunk_free): Likewise.
247 (record_offset): New function.
248 (init_locale_data): Likewise.
249 (align_locale_data): Likewise.
250 (add_locale_empty): Likewise.
251 (add_locale_raw_data): Likewise.
252 (add_locale_raw_obstack): Likewise.
253 (add_locale_string): Likewise.
254 (add_locale_wstring): Likewise.
255 (add_locale_uint32): Likewise.
256 (add_locale_uint32_array): Likewise.
257 (add_locale_char): Likewise.
258 (start_locale_structure): Likewise.
259 (end_locale_structure): Likewise.
260 (start_locale_prelude): Likewise.
261 (end_locale_prelude): Likewise.
262 (write_locale_data): Take locale_file structure rather than an
263 iovec.
264 * locale/programs/locfile.h: Include "obstack.h".
265 (struct locale_file): Change to store locale file contents instead
266 of header.
267 (init_locale_data): New prototype.
268 (align_locale_data): Likewise.
269 (add_locale_empty): Likewise.
270 (add_locale_raw_data): Likewise.
271 (add_locale_raw_obstack): Likewise.
272 (add_locale_string): Likewise.
273 (add_locale_wstring): Likewise.
274 (add_locale_uint32): Likewise.
275 (add_locale_uint32_array): Likewise.
276 (add_locale_char): Likewise.
277 (start_locale_structure): Likewise.
278 (end_locale_structure): Likewise.
279 (start_locale_prelude): Likewise.
280 (end_locale_prelude): Likewise.
281 (write_locale_data): Update prototype.
282 * locale/programs/3level.h (struct TABLE): Remove result field.
283 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
284 Use new locale_file interface.
285 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
286 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
287 * locale/programs/ld-address.c (address_output): Use new
288 locale_file interface.
289 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
290 NO_ADD_LOCALE.
291 (collate_finish): Don't call collseq_table_finalize.
292 (collate_output): Use new locale_file interface.
293 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
294 in file.
295 (NO_FINALIZE): Change to NO_ADD_LOCALE.
296 (TABLE): Move defines earlier in file.
297 (ELEMENT): Likewise.
298 (DEFAULT): Likewise.
299 (wctrans_table_add): Move macro and inline function earlier in
300 file.
301 (struct wctype_table): Move type earlier in file.
302 (add_locale_wctype_table): New static prototype.
303 (struct locale_ctype_t): Use logical types instead of struct iovec
304 pointers for members.
305 (ctype_output): Use new locale_file interface.
306 (wctype_table_finalize): Change to add_locale_wctype_table. Use
307 new locale_file interface.
308 (allocate_arrays): Update for use of new locale_file interface.
309 * locale/programs/ld-identification.c (identification_output): Use
310 new locale_file interface.
311 * locale/programs/ld-measurement.c (measurement_output): Likewise.
312 * locale/programs/ld-messages.c (messages_output): Likewise.
313 * locale/programs/ld-monetary.c (monetary_output): Likewise.
314 * locale/programs/ld-name.c (name_output): Likewise.
315 * locale/programs/ld-numeric.c (numeric_output): Likewise.
316 * locale/programs/ld-paper.c (paper_output): Likewise.
317 * locale/programs/ld-telephone.c (telephone_output): Likewise.
318 * locale/programs/ld-time.c (time_output): Likewise.
319
e029e2e5
AZ
3202013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
321
322 * benchtests/Makefile: Add memrchr benchmark.
323 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
324 benchmark as memrchr.
325 * benchtests/bench-memrchr-ifunc.c: New file.
326 * benchtests/bench-memrchr.c: New file.
327
bbf6e8e4
WN
3282013-09-06 Will Newton <will.newton@linaro.org>
329
330 * benchtests/Makefile (string-bench): Add memcpy.
331
6c82a2f8
CD
3322013-09-05 Carlos O'Donell <carlos@redhat.com>
333 Cong Wang <amwang@redhat.com>
334
335 * sysdeps/unix/sysv/linux/bits/in.h
336 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
337 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
338 before __USE_KERNEL_IPV6_DEFS uses.
339 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
340 IPPROTO_BEETPH.
341 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
342 sockaddr_in6, or ipv6_mreq.
343
5430fc65
AZ
3442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
345
346 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
347 memory access for final bytes in some large inputs.
348 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
349
4660856c
AZ
3502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
352 * string/test-memrchr.c: New file.
353 * string/test-memrchr-ifunc.c: New file.
354 * string/Makefile: Add new memrchr testcase.
355
bb8ea713
MF
3562013-09-05 Mike Frysinger <vapier@gentoo.org>
357
358 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
359 fanotify_init returns EPERM.
360
b92a20b5
JM
3612013-09-04 Joseph Myers <joseph@codesourcery.com>
362
363 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
364 errors.
365 (top level): Treat second token from macro or constant entries for
366 allowed headers as allowed.
367 * include/complex.h: Condition internal declarations on
368 [!_ISOMAC].
369 * include/fenv.h: Condition include of <stdbool.h> and internal
370 declarations on [!_ISOMAC].
7447ccd9
CL
371
3722013-09-04 Chris Leonard <cjl@sugarlabs,.org>
373
374 [BZ #15923]
375 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
376
3f2e46a4
JM
3772013-09-04 Joseph Myers <joseph@codesourcery.com>
378
379 * configure.in (--enable-versioning): Remove configure option.
380 (libc_cv_asm_symver_directive): Remove configure test.
381 (libc_cv_ld_version_script_option): Likewise.
382 (VERSIONING): Remove variable and AC_SUBST.
383 (DO_VERSIONING): Remove AC_DEFINE.
384 * configure: Regenerated.
385 * config.h.in (DO_VERSIONING): Remove macro.
386 * Makerules [$(versioning) = yes]: Change conditionals to
387 [$(build-shared) = yes].
388 * config.make.in (versioning): Remove variable.
389 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
390 [$(build-shared) = yes].
391 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
392 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
393 * elf/Makefile [$(versioning) = yes]: Change conditionals to
394 [$(build-shared) = yes].
395 * extra-lib.mk [$(versioning) = yes]: Likewise.
396 * hurd/Makefile [$(versioning) = yes]: Likewise.
397 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
398 [SHARED].
399 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
400 [SHARED].
401 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
402 [SHARED && !NO_HIDDEN].
403 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
404 [SHARED].
405 [SHARED && DO_VERSIONING]: Likewise..
406 * libio/Makefile [$(versioning) = yes]: Change conditionals to
407 [$(build-shared) = yes].
408 * manual/install.texi (--disable-versioning): Remove
409 documentation.
410 * INSTALL: Regenerated.
411 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
412 to [SHARED].
413 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
414 [$(build-shared) = yes].
415 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
416 * sysdeps/i386/i686/multiarch/strstr-c.c
417 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
418 [SHARED && !NO_HIDDEN].
419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
420 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
421 * sysdeps/powerpc/powerpc32/dl-machine.c
422 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
423 * sysdeps/powerpc/powerpc32/sysdep.h
424 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
425 to [SHARED && PIC && !NO_HIDDEN].
426 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
427 conditional to [SHARED].
428
44558701
WN
4292013-09-04 Will Newton <will.newton@linaro.org>
430
431 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
432 * benchtests/bench-string.h: Include bench-timing.h instead
433 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
434 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
435 call to HP_TIMING_DIFF_INIT.
436 * benchtests/bench-memccpy.c: Use bench-timing.h macros
437 instead of hp-timing.h macros.
438 * benchtests/bench-memchr.c: Likewise.
439 * benchtests/bench-memcmp.c: Likewise.
440 * benchtests/bench-memcpy.c: Likewise.
441 * benchtests/bench-memmem.c: Likewise.
442 * benchtests/bench-memmove.c: Likewise.
443 * benchtests/bench-memset.c: Likewise.
444 * benchtests/bench-rawmemchr.c: Likewise.
445 * benchtests/bench-strcasecmp.c: Likewise.
446 * benchtests/bench-strcasestr.c: Likewise.
447 * benchtests/bench-strcat.c: Likewise.
448 * benchtests/bench-strchr.c: Likewise.
449 * benchtests/bench-strcmp.c: Likewise.
450 * benchtests/bench-strcpy.c: Likewise.
451 * benchtests/bench-strcpy_chk.c: Likewise.
452 * benchtests/bench-strlen.c: Likewise.
453 * benchtests/bench-strncasecmp.c: Likewise.
454 * benchtests/bench-strncat.c: Likewise.
455 * benchtests/bench-strncmp.c: Likewise.
456 * benchtests/bench-strncpy.c: Likewise.
457 * benchtests/bench-strnlen.c: Likewise.
458 * benchtests/bench-strpbrk.c: Likewise.
459 * benchtests/bench-strrchr.c: Likewise.
460 * benchtests/bench-strspn.c: Likewise.
461 * benchtests/bench-strstr.c: Likewise.
462
cae16d66
WN
4632013-09-04 Will Newton <will.newton@linaro.org>
464
465 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
466
ffa3cd7f
JM
4672013-09-03 Joseph Myers <joseph@codesourcery.com>
468
469 [BZ #15427]
470 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
471 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
472 * math/libm-test.inc (lgamma_test_data): Add more tests.
473 * sysdeps/i386/fpu/libm-test-ulps: Update.
474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
475
8f02859f
OB
4762013-09-03 Ondřej Bílka <neleai@seznam.cz>
477
478 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
480 Add ifunc.
481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
482 Add strcmp-sse2-unaligned
483 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
484
18d43716
MF
4852013-09-02 Mike Frysinger <vapier@gentoo.org>
486
487 * Versions.def (libc): Add GLIBC_2.19.
488
ac444012
MF
4892013-09-02 Mike Frysinger <vapier@gentoo.org>
490
491 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
492 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
493
b7835e32
JM
4942013-09-02 Joseph Myers <joseph@codesourcery.com>
495
496 [BZ #14155]
497 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
498 intermediate calculations in recurrence.
499 (__ieee754_ynf): Likewise.
500 * math/libm-test.inc (jn_test_data): Do not allow spurious
501 underflow exception. Add more tests.
502 (yn_test_data): Add more tests.
503 * sysdeps/i386/fpu/libm-test-ulps: Update.
504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
505
8220f4f0
OB
5062013-09-02 Ondřej Bílka <neleai@seznam.cz>
507
508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
509
f24a6d08
OB
5102013-08-30 Ondřej Bílka <neleai@seznam.cz>
511
512 * csu/init-first.c: Fix then/than typos.
513 * locale/programs/ld-collate.c: Likewise.
514 * locale/programs/linereader.h: Likewise.
515 * manual/charset.texi: Likewise.
516 * manual/filesys.texi: Likewise.
517 * manual/stdio.texi: Likewise.
518 * manual/string.texi: Likewise.
519 * stdlib/fmtmsg.c: Likewise.
520 * sysdeps/i386/stpncpy.S: Likewise.
521 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
522 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
523 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
524 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
525
382466e0
OB
5262013-08-30 Ondřej Bílka <neleai@seznam.cz>
527
528 * elf/dl-open.c: Fix typos.
529 * iconvdata/gbbig5.c: Likewise.
530 * iconvdata/iso-2022-jp.c: Likewise.
531 * iconv/gconv_int.h: Likewise.
532 * iconv/loop.c: Likewise.
533 * nis/rpcsvc/nis.h: Likewise.
534 * resolv/ns_name.c: Likewise.
535 * stdio-common/vfscanf.c: Likewise.
536 * streams/stropts.h: Likewise.
537 * sunrpc/rpc_thread.c: Likewise.
538 * sysdeps/i386/strpbrk.S: Likewise.
539 * sysdeps/ieee754/k_standard.c: Likewise.
540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
542 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
543 * sysdeps/mach/hurd/profil.c: Likewise.
544 * sysdeps/s390/dl-procinfo.h: Likewise.
545 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
546 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
547 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
548 * sysdeps/x86_64/dl-trampoline.S: Likewise.
549 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
550
0186c6e9
OB
5512013-08-30 Ondřej Bílka <neleai@seznam.cz>
552
553 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
555
d4e16af1
OB
5562013-08-29 Ondřej Bílka <neleai@seznam.cz>
557
558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
559 aix specific files.
560 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
561 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
562 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
563 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
564 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
565 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
566 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
567 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
568
88335980
TS
5692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
570 Roland McGrath <roland@hack.frob.com>
571
572 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
573 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
574
ed479b02
ST
5752013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
576
577 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
578 __executable_start symbol instead of _start.
579
f1cc4c86
TS
5802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
581
d821f07c
TS
582 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
583 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
584 Move macros to...
585 * sysdeps/gnu/ldsodefs.h: ... this new file.
586
c54290cf
TS
587 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
588 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
589 instead of ELFOSABI_LINUX.
590
0007fc9b 591 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
592 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
593 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
594 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
595 Likewise.
596 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
597 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
598 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
599 Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
601 (ibm_extended_long_double): Add ieee_nan member.
602 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
603 (do_test): New function.
604
f1cc4c86
TS
605 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
606 TEST_TRUNC.
607 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
608 functions, renamed from truncdfsf_test, trunctfsf_test,
609 trunctfdf_test.
610 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
611 functions.
612 (do_test): Run all these.
613
6f65e668
OB
6142013-08-29 Ondřej Bílka <neleai@seznam.cz>
615
616 * argp/argp-help.c: Fix typos.
617 * argp/argp-parse.c: Likewise.
618 * debug/backtracesyms.c: Likewise.
619 * elf/elf.h: Likewise.
620 * malloc/malloc.c: Likewise.
621 * nis/nis_print.c: Likewise.
622 * resolv/res_comp.c: Likewise.
623 * stdlib/stdlib.h: Likewise.
624 * sunrpc/clnt_tcp.c: Likewise.
625 * sunrpc/clnt_udp.c: Likewise.
626 * sunrpc/clnt_unix.c: Likewise.
627 * sysdeps/unix/bsd/ptsname.c: Likewise.
628 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
629 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
631 Likewise.
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
633 Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
635 Likewise.
6f65e668
OB
636 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
637
3a309239
SP
6382013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
639
640 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
642
3b813b29
MF
6432013-08-27 Mike Frysinger <vapier@gentoo.org>
644
645 [BZ #15897]
646 * dlfcn/Makefile (tests): Add bug-dl-leaf.
647 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
648 ($(objpfx)bug-dl-leaf): New rule.
649 ($(objpfx)bug-dl-leaf.so): Likewise.
650 ($(objpfx)bug-dl-leaf.out): Likewise.
651 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
652 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
653 * dlfcn/bug-dl-leaf.c: New test.
654 * dlfcn/bug-dl-leaf-lib.c: Likewise.
655 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
656 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
657 (dlclose): Likewise.
658 (dlmopen): Likewise.
659
8cc3269f
RM
6602013-08-27 Roland McGrath <roland@hack.frob.com>
661
7f9d0034
RM
662 * include/netdb.h [!_ISOMAC]:
663 Don't include <tls.h>.
664 (h_errno, __libc_h_errno): Move declaration and macros out of
665 [_LIBC_REENTRANT].
666
fb431262
RM
667 * include/resolv.h [_RESOLV_H_]:
668 Don't include <tls.h>.
669 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
670 * resolv/res_libc.c: Don't include <tls.h>.
671 (_res): Use __attribute__ ((nocommon)) in place of
672 __attribute__ ((section (".bss"))).
673
bd81123a
RM
674 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
675 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
676
c4e42566
RM
677 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
678
f890a59b
RM
679 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
680 only under [SIOCGIFCONF && SIOCGIFNETMASK].
681
682 * resolv/res_mkquery.c: Include <sys/time.h>.
683
5d1f0a09
RM
684 * inet/ifreq.c: Moved to ...
685 * sysdeps/unix/ifreq.c: ... here.
686 * inet/ifreq.c: New file, true stub version.
687
6fcf28b3
RM
688 * socket/sa_len.c: New file.
689 * socket/Makefile (aux): Add it.
690 * sysdeps/unix/sysv/linux/Makefile
691 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
692 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
693 and #include <socket/sa_len.c>.
694 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
695 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
696
e041fb8b
RM
697 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
698 * bits/socket.h: ... here.
699
8cc3269f
RM
700 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
701 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
702 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
703
5d228a43
AS
7042013-08-27 Andreas Schwab <schwab@suse.de>
705
45b8accc
AS
706 [BZ #15736]
707 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
708 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
709 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
710 * string/test-strcasecmp.c (test_main): Run tests in several
711 locales.
712 * string/test-strncasecmp.c (test_main): Likewise.
713
5d228a43
AS
714 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
715 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
716 to __strcasecmp_nonascii and __strncasecmp_nonascii.
717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
718 (__strncasecmp_ssse3) [PIC]: Likewise.
719
59d112a4
RM
7202013-08-26 Roland McGrath <roland@hack.frob.com>
721
53234cc3
RM
722 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
723
59d112a4
RM
724 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
725 instead of explicitly declaring xdecrypt.
726 * nis/nss_nis/nis-publickey.c: Likewise.
727
595aba70
SP
7282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
729
730 [BZ #15890]
731 * nscd/aicache.c: Include res_hconf.h.
732 (addhstaiX): Initialize res_hconf.
733
ffabd393
AS
7342013-08-26 Andreas Schwab <schwab@suse.de>
735
736 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
737 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
738
e0a69f5c
SP
7392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
740
741 * nscd/aicache.c (addhstaiX): Fix indentation.
742
8c12f01d
MF
7432013-08-25 Mike Frysinger <vapier@gentoo.org>
744
745 * configure.ac: Quote $build_pt_chown test.
746 * configure: Regenerated.
747
8fe89494
JM
7482013-08-23 Joseph Myers <joseph@codesourcery.com>
749
750 [BZ #15532]
751 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
752 * math/s_cexpf.c (__cexpf): Likewise.
753 * math/s_cexpl.c (__cexpl): Likewise.
754 * math/libm-test.inc (cexp_test_data): Correct expected return
755 value for NaN + i0. Add another test.
756
75b181d6
DM
7572013-08-22 David S. Miller <davem@davemloft.net>
758
759 * po/ca.po: Update Catalan translation from translation project.
936241e4 760 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 761
acd06bb1
JM
7622013-08-21 Joseph Myers <joseph@codesourcery.com>
763
764 [BZ #15797]
765 * math/s_fdim.c (__fdim): Check for infinite arguments if result
766 is infinite, not alongside NaN test.
767 * math/s_fdimf.c (__fdimf): Likewise.
768 * math/s_fdiml.c (__fdiml): Likewise.
769 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
770 errno is unchanged.
771
c0c3f78a
OB
7722013-08-21 Ondřej Bílka <neleai@seznam.cz>
773
774 * argp/argp-help.c: Fix typos.
775 * crypt/speeds.c: Likewise.
776 * csu/check_fds.c: Likewise.
777 * elf/dl-load.c: Likewise.
778 * elf/dl-open.c: Likewise.
779 * elf/reldep3.c: Likewise.
780 * elf/reldep.c: Likewise.
781 * elf/sprof.c: Likewise.
782 * iconv/iconv_charmap.c: Likewise.
783 * iconv/skeleton.c: Likewise.
784 * iconv/strtab.c: Likewise.
785 * io/lockf64.c: Likewise.
786 * libio/libioP.h: Likewise.
787 * resolv/gai_notify.c: Likewise.
788 * resolv/ns_name.c: Likewise.
789 * resolv/ns_samedomain.c: Likewise.
790 * resolv/res_send.c: Likewise.
791 * stdlib/random.c: Likewise.
792 * sunrpc/rpc/xdr.h: Likewise.
793 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
795 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
796 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
800 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
801 * sysdeps/mach/hurd/check_fds.c: Likewise.
802 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
803 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
805 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
806 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
807 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
808 * sysdeps/pthread/aio_notify.c: Likewise.
809 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
810 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
811 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
812 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
813 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
814
46ed1038
LD
8152013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
816
817 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
818 version if bit_Slow_SSE4_2 is set.
819 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
820 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
821
d400dcac
AZ
8222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823
824 [BZ #15867]
825 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
826 trampoline stack frame information.
827 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
828 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
829 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
830 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
831 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
832 * sysdeps/unix/sysv/linux/powerpc/init-first.c
833 (_libc_vdso_platform_setup): Initialize the signal trampolines.
834 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
835 sa_flags value.
836 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
837 interrupting a syscall and set with option SA_SIGINFO.
838
42c8fdd8
JM
8392013-08-20 Joseph Myers <joseph@codesourcery.com>
840
c980f2f4
JM
841 [BZ #15531]
842 * math/s_cproj.c (__cproj): Only return an infinity if one part of
843 argument is infinite.
844 * math/s_cprojf.c (__cprojf): Likewise.
845 * math/s_cprojl.c (__cprojl): Likewise.
846 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
847 * math/libm-test.inc (cproj_test_data): Add more tests.
848
0716c4fc
JM
849 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
850
42c8fdd8
JM
851 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
852 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
853 size. Use __ffs to determine corresponding shift.
854
b31469d0
JM
8552013-08-20 Joseph Myers <joseph@codesourcery.com>
856 Roland McGrath <roland@hack.frob.com>
857
858 * Makefile (INSTALL): Remove trailing blank lines from output of
859 makeinfo.
860
4e39af6e
AK
8612013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
862
863 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
864 Align 32 bit compat elf_greg to 8 bytes.
865
f315524e
AA
8662013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
867
868 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
869
1326ba1a
SP
8702013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
871
872 * string/strcoll_l.c (coll_seq): New structure.
873 (get_next_seq_cached): New function.
874 (get_next_seq): New function.
875 (do_compare): New function.
876 (STRCOLL): Use GNU style definition. Simplify implementation
877 by using get_next_seq, get_next_seq_cached and do_compare.
878
91ce4085
FW
8792013-08-16 Florian Weimer <fweimer@redhat.com>
880
881 [BZ #14699]
882 CVE-2013-4237
883 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
884 member.
885 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
886 member.
887 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
888 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
889 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
890 conditional.
891 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
892 GETDENTS_64BIT_ALIGNED.
893 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
894 * manual/filesys.texi (Reading/Closing Directory): Document
895 ENAMETOOLONG return value of readdir_r. Recommend readdir more
896 strongly.
897 * manual/conf.texi (Limits for Files): Add portability note to
898 NAME_MAX, PATH_MAX.
899 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
900
ca0a6bc4
AS
9012013-08-13 Andreas Schwab <schwab@suse.de>
902
903 [BZ #15749]
904 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
905 of fabs.
906 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
907 LDBL_MAX_EXP >= 16384]: Add tests for it.
908
6c1fd795
DM
9092013-08-12 David S. Miller <davem@davemloft.net>
910
911 * version.h (RELEASE): Set to "development".
912 (VERSION): Set to "2.18.90".
913 * NEWS: Add 2.19 section.
914
31ad488d
DM
9152013-08-03 David S. Miller <davem@davemloft.net>
916
917 * po/ko.po: Update Korean translation from translation project.
918
db24e684
DM
9192013-08-01 David S. Miller <davem@davemloft.net>
920
921 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
922 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
923 Bilka.
924
f723285b
DM
9252013-07-30 David S. Miller <davem@davemloft.net>
926
927 * po/fr.po: Update French translation from translation project.
928
3cbc52db
DM
9292013-07-28 David S. Miller <davem@davemloft.net>
930
30bbc0cc
DM
931 * po/cs.po: Update Czech translation from translation project.
932
3cbc52db
DM
933 * po/sv.po: Update Swedish translation from translation project.
934
d492e6d0
DM
9352013-07-27 David S. Miller <davem@davemloft.net>
936
f1a7f492
DM
937 * po/eo.po: Update Esperanto translation from translation project.
938
90e62a4a
DM
939 * po/vi.po: Update Vietnamese translation from translation project.
940
d492e6d0
DM
941 * po/de.po: Update German translation from translation project.
942
d4baa62d
DM
9432013-07-26 David S. Miller <davem@davemloft.net>
944
641aa7b4
DM
945 * po/bg.po: Update Bulgarian translation from translation project.
946
d4baa62d
DM
947 * po/nl.po: Update Dutch translation from translation project.
948 * po/pl.po: Update Polish translation from translation project.
949 * po/ru.po: Update Russian translation from translation project.
950
61a9dcb9
DM
9512013-07-24 David S. Miller <davem@davemloft.net>
952
953 * po/libc.pot: Update.
954
7b1f8b58
AZ
9552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
956
957 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
958 variable page size.
959 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
960 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
962
a8fc7a03
AK
9632013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
964
965 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
966
e4608715
CD
9672013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
968 Andreas Schwab <schwab@suse.de>
969 Roland McGrath <roland@hack.frob.com>
970 Joseph Myers <joseph@codesourcery.com>
971 Carlos O'Donell <carlos@redhat.com>
972
973 [BZ #15755]
974 * config.h.in: Define HAVE_PT_CHOWN.
975 * config.make.in (build-pt-chown): New variable.
976 * configure.in (--enable-pt_chown): New configure option.
977 * configure: Regenerate.
978 * login/Makefile: Include Makeconfig. Build pt_chown only if
979 build-pt-chown is enabled.
980 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
981 pt_chown to fix pty ownership.
982 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
983 CLOSE_ALL_FDS.
984 * manual/install.texi (Configuring and compiling): Mention
985 --enable-pt_chown. Add @findex for grantpt.
986 * INSTALL: Regenerate.
987
da2d62df
DM
9882013-07-20 David S. Miller <davem@davemloft.net>
989
990 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
991 difference between 32-bit and 64-bit.
992
d7e06450
CD
9932013-07-15 Carlos O'Donell <carlos@redhat.com>
994
995 [BZ #15711]
996 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
997 Avoid system header dependency with -ffreestanding.
998 ($(objpfx)bits/syscall%d): Likewise.
999
f959cfd7
DM
10002013-07-13 David S. Miller <davem@davemloft.net>
1001
1002 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1003 underflows from atanl/atan2l due to bug 15319.
1004 (casinh_test_data): Likewise.
1005
c61f8513
DM
10062013-07-07 David S. Miller <davem@davemloft.net>
1007
1008 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1009
72c90ed0
JA
10102013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1011
1012 * sysdeps/i386/fpu/libm-test-ulps: Update.
1013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1014
52dfbe13
SP
10152013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1016
1017 * configure.in (--enable-lock-elision): Fix message text.
1018 * INSTALL: Regenerate.
1019 * configure: Regenerate.
1020
3f169543
AZ
10212013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1022
1023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1024
521c6785
AJ
10252013-07-03 Andreas Jaeger <aj@suse.de>
1026
1027 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1028 define.
1029 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1030 (ptrace_peeksiginfo_args): Add.
1031 (__ptrace_peeksiginfo_flags): Add.
1032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1035
d2cc15cb
AM
10362013-07-03 Allan McRae <allan@archlinux.org>
1037
1038 * sysdeps/i386/fpu/libm-test-ulps: Update.
1039
3aaeeca7
DM
10402013-07-02 David S. Miller <davem@davemloft.net>
1041
1042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1043
5314ed1a
MT
10442013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1045
1046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1047
67338156
JM
10482013-07-02 Joseph Myers <joseph@codesourcery.com>
1049
1050 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1052
1717da59
AK
10532013-07-02 Andi Kleen <ak@linux.intel.com>
1054
1055 * config.h.in (ENABLE_LOCK_ELISION): Add.
1056 * configure.in (--enable-lock-elision): Add option.
1057 * manual/install.texi: Document --enable lock elision.
1058 * configure: Regenerate
1059 * INSTALL: Regenerate.
1060
1c81621c
L
10612013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1062
1063 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1064 SSE4.2 strcasecmp for libc.a.
1065 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1066
77f01ab5
JM
10672013-07-02 Joseph Myers <joseph@codesourcery.com>
1068
1069 [BZ #13304]
1070 * soft-fp/op-common.h (_FP_FMA): New macro.
1071 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1072 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1073 (_FP_MUL_MEAT_1_imm): ... here.
1074 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1075 (_FP_MUL_MEAT_1_wide): ... here.
1076 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1077 (_FP_MUL_MEAT_1_hard): ... here.
1078 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1079 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1080 (_FP_MUL_MEAT_2_wide): ... here.
1081 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1082 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1083 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1084 (_FP_MUL_MEAT_2_gmp): ... here.
1085 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1086 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1087 (_FP_MUL_MEAT_4_wide): ... here.
1088 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1089 (_FP_MUL_MEAT_4_gmp): ... here.
1090 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1091 (_FP_WFRACBITS_DW_S): Likewise.
1092 (_FP_WFRACXBITS_DW_S): Likewise.
1093 (_FP_HIGHBIT_DW_S): Likewise.
1094 (FP_FMA_S): Likewise.
1095 (_FP_FRAC_HIGH_DW_S): Likewise.
1096 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1097 (_FP_WFRACBITS_DW_D): Likewise.
1098 (_FP_WFRACXBITS_DW_D): Likewise.
1099 (_FP_HIGHBIT_DW_D): Likewise.
1100 (FP_FMA_D): Likewise.
1101 (_FP_FRAC_HIGH_DW_D): Likewise.
1102 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1103 (_FP_WFRACBITS_DW_E): Likewise.
1104 (_FP_WFRACXBITS_DW_E): Likewise.
1105 (_FP_HIGHBIT_DW_E): Likewise.
1106 (FP_FMA_E): Likewise.
1107 (_FP_FRAC_HIGH_DW_E): Likewise.
1108 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1109 (_FP_WFRACBITS_DW_Q): Likewise.
1110 (_FP_WFRACXBITS_DW_Q): Likewise.
1111 (_FP_HIGHBIT_DW_Q): Likewise.
1112 (FP_FMA_Q): Likewise.
1113 (_FP_FRAC_HIGH_DW_Q): Likewise.
1114 * soft-fp/fmasf4.c: New file.
1115 * soft-fp/fmadf4.c: Likewise.
1116 * soft-fp/fmatf4.c: Likewise.
1117
6308fd9a
LD
11182013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1119
1120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1121 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1122 Silvermont.
1123 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1124 macro.
1125 (index_Slow_SSE4_2): Likewise.
1126 (index_Prefer_PMINUB_for_stringop): Likewise.
1127 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1128 bit_Slow_SSE4_2 is set.
1129 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1130 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1131
89cd9569
RA
11322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1133
1134 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1135 rtld_global._dl_hwcap2.
1136 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1137 POWER8.
1138 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1139 POWER8 feature descriptions defined in _dl_hwcap2.
1140 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1141 string handling for POWER8 feature bits.
1142 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1143 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1144 _dl_powerpc_cap_flags.
1145 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1146 * sysdeps/powerpc/rtld-global-offsets.sym
1147 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1148 _dl_hwcap2 in the rtld_global_ro structure.
1149
1ae8bfe0
RA
11502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1151
1152 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1153 hardware capabilities in support of AT_HWCAP2.
1154 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1155 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1156 GLRO(dl_hwcap2).
1157 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1158 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1159 explicitly the unknown a_type display mechanism is used.
1160 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1161 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1162 struct member.
1163 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1164 to macro prototype for AT_HWCAP2 support.
1165 * sysdeps/i386/dl-procinfo.h: Likewise.
1166 * sysdeps/s390/dl-procinfo.h: Likewise.
1167 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1168 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1169 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1170 return -1 for unknown a_type display fallback.
1171 * sysdeps/sparc/dl-procinfo.h: Likewise.
1172 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1173 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1174
8fbec010
JM
11752013-06-28 Joseph Myers <joseph@codesourcery.com>
1176
1177 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1178 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1179
0432680e
PY
11802013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1181
1182 [BZ #12492]
1183 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1184 mprotect making __stack_prot writable.
1185
ce61a2ad
NF
11862013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1187 Joseph Myers <joseph@codesourcery.com>
1188
1189 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1190 as being properly aligned.
1191
f91f1c0f
MR
11922013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1193
3d0f5d0c
MR
1194 * dlfcn/modstatic5.c: New file.
1195 * dlfcn/tststatic5.c: New file.
1196 * dlfcn/Makefile (tests): Add tststatic5.
1197 (tests-static): Likewise.
1198 (modules-names): Add modstatic5.
1199 (tststatic5-ENV): New variable.
1200 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1201
f91f1c0f
MR
1202 [BZ #15022]
1203 * elf/dl-support.c (_dl_main_map): New variable.
1204 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1205 (_dl_nns, _dl_load_adds): Set to 1.
1206 (_dl_initial_searchlist): Refer to _dl_main_map.
1207 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1208 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1209 call to _dl_get_origin.
1210 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1211 around call_map.
1212 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1213 * dlfcn/modstatic3.c: New file.
1214 * dlfcn/tststatic3.c: New file.
1215 * dlfcn/tststatic4.c: New file.
1216 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1217 (tests-static): Likewise.
1218 (modules-names): Add modstatic3.
1219 (tststatic3-ENV, tststatic4-ENV): New variables.
1220 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1221 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1222
cbe7d24b
JM
12232013-06-26 Joseph Myers <joseph@codesourcery.com>
1224
1225 * configure.in (CC): Require GCC version 4.4 or later.
1226 * configure: Regenerated.
1227 * manual/install.texi (Tools for Compilation): Update GCC version
1228 requirement.
1229 * INSTALL: Regenerated.
1230
11b8a0e1
LD
12312013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1232
1233 [BZ #15674]
bb5bb87c
L
1234 * string/test-memcmp.c (check2): New.
1235 (main): Call check2.
1236
11b8a0e1
LD
1237 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1238
b0037103
MR
12392013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1240
1241 [BZ #15022]
1242 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1243 over to...
1244 (dl_open_worker) [!SHARED]: ... here.
1245
c18c701d
RA
12462013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1247
1248 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1249
1d17fa5f
RH
12502013-06-25 Richard Henderson <rth@redhat.com>
1251
1252 * locale/programs/locarchive.c: Include <libc-internal.h>
1253
8fcb833a
JM
12542013-06-25 Joseph Myers <joseph@codesourcery.com>
1255
1256 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1257 trailing whitespace removed.
1258
17db6e8d
MF
12592013-06-24 Mike Frysinger <vapier@gentoo.org>
1260
1261 [BZ #10283]
17db6e8d
MF
1262 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1263 * locale/programs/locarchive.c: Include libc-mmap.h.
1264 (prepare_address_space): Take two new outputs (the mmap base and len).
1265 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1266 values.
1267 (create_archive): Declare new mmap base and len values for
1268 prepare_address_space, and store the result in ah.
1269 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1270 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1271 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1272 Declare new mmap base and len values for
1273 prepare_address_space, and store the result in new_ah.
1274 (open_archive): Declare new mmap base and len values for
1275 prepare_address_space, and store the result in ah.
1276 (close_archive): If ah->mmap_base is not NULL, use that and
1277 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1278 * sysdeps/generic/libc-mmap.h: New file.
1279
d605071e
MF
12802013-06-24 Mike Frysinger <vapier@gentoo.org>
1281
1282 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1283 (ALIGN_UP): Likewise.
1284 (PTR_ALIGN_DOWN): Likewise.
1285 (PTR_ALIGN_UP): Likewise.
1286
2f063a6e
RA
12872013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1288
1289 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1290 entry mapped to PPC_PLATFORM_POWER8.
1291 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1292 POWER8.
1293 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1294 (_dl_string_platform): Add case for exporting platform position for
1295 POWER8.
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1297 search path to sysdeps/powerpc/powerpc32/power8 directory.
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1299 search path to sysdeps/powerpc/powerpc64/power8 directory.
1300 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1301 power7 directories.
1302 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1303 power7 directories.
1304
a31ee4b3
SP
13052013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1306
a74ca98f
SP
1307 * INSTALL: Regenerate.
1308
a31ee4b3
SP
1309 * nscd/connections.c (nscd_init): Fix comment.
1310
695c378f
JM
13112013-06-22 Joseph Myers <joseph@codesourcery.com>
1312
d8412221
JM
1313 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1314
695c378f
JM
1315 [BZ #15667]
1316 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1317 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1318
d1d54715
MR
13192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1320
1321 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1322 DL_DST_REQ_STATIC.
1323 (DL_DST_REQ_STATIC): Remove macro.
1324
8fdda7af
JM
13252013-06-21 Joseph Myers <joseph@codesourcery.com>
1326
1327 [BZ #7006]
1328 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1329 with a shift of 0 bits.
1330
f3bc5e5a
MR
13312013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1332
1333 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1334 $(tststatic-ENV).
1335
be09e8c9
KK
13362013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1337
1338 [BZ #15655]
1339 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1340
85c2e611
AZ
13412013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342
1343 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1344 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1345 accepts -fno-tree-loop-distribute-patterns.
1346 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1347 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1348 recursive call.
1349 * string/memset.c (memset): Likewise.
1350 * string/test-memmove.c (simple_memmove): Disable loop transformation
1351 to library calls.
1352 * string/test-memset.c (simple_memset): Likewise.
1353 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1354 * benchtests/bench-memset.c (simple_memset): Likewise.
1355 * configure: Regenerated.
1356
c91e0825
JM
13572013-06-20 Joseph Myers <joseph@codesourcery.com>
1358
b8c792af
JM
1359 * math/test-misc.c (main): Ignore fesetround failure when failures
1360 of subsequent rounding tests would be ignored.
1361
c91e0825
JM
1362 [BZ #15654]
1363 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1364 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1365 * math/fegetenv.c (__fegetenv): Return 0.
1366 * math/fegetexcept.c (fegetexcept): Return 0.
1367 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1368 FE_TONEAREST.
1369 * math/feholdexcpt.c (feholdexcept): Return 0.
1370 * math/fesetenv.c (__fesetenv): Return 0.
1371 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1372 argument FE_TONEAREST.
1373 * math/feupdateenv.c (__feupdateenv): Return 0.
1374 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1375
bfcacbde
RM
13762013-06-18 Roland McGrath <roland@hack.frob.com>
1377
1378 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1379 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1380 ($(objpfx)rtld-%.os rules): Use them.
1381
e55a9b25
AZ
13822013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383
1384 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1385 fields.
1386
346d65b3
RM
13872013-06-17 Roland McGrath <roland@hack.frob.com>
1388
12086fb4
RM
1389 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1390 length of target pattern, then descending length of dependency pattern.
1391 * configure.in (AWK): Require gawk 3.1.2 or newer.
1392 * manual/install.texi (Tools for Compilation): Say that we do.
1393 * configure: Regenerated.
1394
346d65b3
RM
1395 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1396 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1397 * scripts/sysd-rules.awk: ... this new script.
1398 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1399 than a glob-style pattern.
1400
1a846317
JM
14012013-06-17 Joseph Myers <joseph@codesourcery.com>
1402
1403 * math/test-misc.c (main): Do not treat incorrectly rounded
1404 conversions as failure unless ROUNDING_TESTS passes.
1405
8fc75e6f
JM
14062013-06-15 Joseph Myers <joseph@codesourcery.com>
1407
3711a167
JM
1408 [BZ #15631]
1409 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1410 restore exception state around main square root computation, then
1411 check for inexactness explicitly.
1412
8fc75e6f
JM
1413 * math/libm-test.inc (fma_test_data): Add another test.
1414
61dd6208
SP
14152013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1416
adf23d2c
SP
1417 * manual/threads.texi (Non-POSIX Extensions): New document
1418 node. Document pthread_getattr_default_np and
1419 pthread_setattr_default_np.
1420
61dd6208
SP
1421 * Versions.def (libpthread): Add GLIBC_2.18.
1422 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1424 Likewise.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1426 Likewise.
1427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1428 Likewise.
1429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1430 Likewise.
1431 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1432 Likewise.
1433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1434 Likewise.
1435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1436 Likewise.
1437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1438 Likewise.
1439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1440 Likewise.
1441
d086fc7b
LD
14422013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1443
1444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1445 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1446
747ef469
SP
14472013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1448 H.J. Lu <hjl.tools@gmail.com>
1449
1450 [BZ #15627]
1451 * sysdeps/x86_64/rtld-memset.c: Remove file.
1452 * sysdeps/x86_64/rtld-memset.S: New file.
1453
1b2feed2
JM
14542013-06-14 Joseph Myers <joseph@codesourcery.com>
1455
1456 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1457 (test_in_one_mode): Take arguments for whether the rounding mode
1458 is supported for each floating-point type.
1459 (do_test): Pass new arguments to test_in_one_mode using
1460 ROUNDING_TESTS.
1461
a58ad3f8
RM
14622013-06-13 Roland McGrath <roland@hack.frob.com>
1463
1464 * posix/tst-waitid.c (do_test): Distinguish different instances of
1465 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1466 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1467 before entering the kernel for waitpid.
1468
c204ab28
SP
14692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1470
1471 * NEWS: Fix note on clock function precision. Text by Roland
1472 McGrath.
1473
f4a29fba
RM
14742013-06-13 Roland McGrath <roland@hack.frob.com>
1475
1476 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1477 it into place only when and if the sanity check passes.
1478
1f24b9ad
JM
14792013-06-13 Joseph Myers <joseph@codesourcery.com>
1480
1481 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1482 output for whether conversion result is exact. Take argument
1483 indicating whether type is IBM long double.
1484 (round_for_all): Change need_exact field to ibm_ld.
1485 * stdlib/tst-strtod-round.c (struct exactness): New type.
1486 (struct test): Change bool ld_ok field to struct exactness exact.
1487 (TEST): Update all definitions for change to field.
1488 (tests): Regenerate array contents.
1489 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1490 field value. Check for IBM long double here.
1491 (do_test): Update calls to test_in_one_mode.
1492
58206c68
SP
14932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1494
1495 [BZ #12515]
1496 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1497 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1498
2d6f4c5b 14992013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1500
1501 [BZ #15605]
1502 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1503 generated by the compiler on loop optimizations.
1504 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1505 general definitions.
1506
94f2c076
JM
15072013-06-12 Joseph Myers <joseph@codesourcery.com>
1508
1509 * math/bug-nextafter.c: Include <math-tests.h>.
1510 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1511 the relevant type.
1512 * math/bug-nexttoward.c: Include <math-tests.h>.
1513 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1514 the relevant type.
1515 * math/test-misc.c: Include <math-tests.h>.
1516 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1517 the relevant type.
1518
e0e50a0a
AJ
15192013-06-12 Andreas Jaeger <aj@suse.de>
1520
1521 * po/ia.po: Update Interlingua translation from translation
1522 project.
1523
25061094
SP
15242013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1525
1526 * include/fenv.h: Include stdbool.h.
1527 (struct rm_ctx): New structure.
1528 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1529 Define macro.
1530 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1531 (SET_RESTORE_ROUNDF): Likewise.
1532 (SET_RESTORE_ROUNDL): Likewise.
1533 (SET_RESTORE_ROUND_NOEX): Likewise.
1534 (SET_RESTORE_ROUND_NOEXF): Likewise.
1535 (SET_RESTORE_ROUND_NOEXL): Likewise.
1536 (SET_RESTORE_ROUND_53BIT): Likewise.
1537 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1538 (libc_feresetround_noexf_ctx): Likewise.
1539 (libc_feresetround_noexl_ctx): Likewise.
1540 (libc_feholdsetround_53bit_ctx): Likewise.
1541 (libc_feresetround_53bit_ctx): Likewise.
1542 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1543 (libc_feholdexcept_setround_sse_ctx): New function.
1544 (libc_fesetenv_sse_ctx): Likewise.
1545 (libc_feupdateenv_sse_ctx): Likewise.
1546 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1547 (libc_feholdexcept_setround_387_ctx): Likewise.
1548 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1549 (libc_feholdsetround_387_prec_ctx): Likewise.
1550 (libc_feholdsetround_387_ctx): Likewise.
1551 (libc_feholdsetround_387_53bit_ctx): Likewise.
1552 (libc_feholdsetround_sse_ctx): Likewise.
1553 (libc_feresetround_sse_ctx): Likewise.
1554 (libc_feresetround_387_ctx): Likewise.
1555 (libc_feupdateenv_387_ctx): Likewise.
1556 (libc_feholdexcept_setroundf_ctx): Define macro.
1557 (libc_fesetenvf_ctx): Likewise.
1558 (libc_feupdateenvf_ctx): Likewise.
1559 (libc_feholdsetroundf_ctx): Likewise.
1560 (libc_feresetroundf_ctx): Likewise.
1561 (libc_feholdexcept_setround_ctx): Likewise.
1562 (libc_fesetenv_ctx): Likewise.
1563 (libc_feupdateenv_ctx): Likewise.
1564 (libc_feholdsetround_ctx): Likewise.
1565 (libc_feresetround_ctx): Likewise.
1566 (libc_feholdexcept_setroundl_ctx): Likewise.
1567 (libc_feupdateenvl_ctx): Likewise.
1568 (libc_feholdsetroundl_ctx): Likewise.
1569 (libc_feresetroundl_ctx): Likewise.
1570 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1571 (libc_feresetround_53bit_ctx): Likewise.
1572
59b30555
SP
15732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1574
1575 * locale/iso-639.def: Convert to UTF-8.
1576
f1d73d30
JM
15772013-06-11 Joseph Myers <joseph@codesourcery.com>
1578
1579 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1580 (EXCEPTION_TESTS_double): Likewise.
1581 (EXCEPTION_TESTS_long_double): Likewise.
1582 (EXCEPTION_TESTS): Likewise.
1583 * math/libm-test.inc (test_exceptions): Only test exceptions if
1584 EXCEPTION_TESTS (FLOAT).
1585
94aca5e7
SP
15862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1587
1588 * benchtests/Makefile (string-bench): Add strcpy_chk and
1589 stpcpy_chk.
1590 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1591 * benchtests/bench-stpcpy_chk.c: New file.
1592 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1593 * benchtests/bench-strcpy_chk.c: New file.
1594 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1595 code.
1596 (do_test): Likewise.
1597
fac0c5f2
RA
15982013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1599
1600 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1601 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1602 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1603 with tabs where appropriate.
1604 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1605 dl-procinfo.h.
1606 [PPC_PLATFORM_PPC440]: Likewise.
1607 [PPC_PLATFORM_PPC464]: Likewise.
1608 [PPC_PLATFORM_PPC476]: Likewise.
1609 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1610 ppc464, and ppc476 platform strings merging from ports/
1611 dl-procinfo.h.
1612
f22bc486
AS
16132013-06-11 Andreas Schwab <schwab@suse.de>
1614
1615 [BZ #14991]
1616 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1617 (from_ucs4_idx): Regenerate.
1618 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1619 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1620 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1621 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1622 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1623 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1624 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1625 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1626 from FROM_LOOP and TO_LOOP specific macros.
1627 (BODY): Handle combining characters.
1628 * iconvdata/BIG5HKSCS.irreversible: Update.
1629 * iconvdata/BIG5HKSCS.precomposed: New file.
1630 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1631 characters.
1632 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1633
c1f75dc3
SP
16342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1635
4eacded2
SP
1636 * include/sys/time.h: Fix indentation and add copyright header.
1637
fec799f8
SP
1638 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1639 (do_test): Likewise.
1640 * string/test-memchr.c (do_one_test): Likewise.
1641 (do_test): Likewise.
1642 * string/test-memcmp.c (do_one_test): Likewise.
1643 (do_test): Likewise.
1644 * string/test-memcpy.c (do_one_test): Likewise.
1645 (do_test): Likewise.
1646 * string/test-memmem.c (do_one_test): Likewise.
1647 (do_test): Likewise.
1648 (do_random_tests): Likewise.
1649 * string/test-memmove.c (do_one_test): Likewise.
1650 (do_test): Likewise.
1651 * string/test-memset.c (do_one_test): Likewise.
1652 (do_test): Likewise.
1653 * string/test-rawmemchr.c (do_one_test): Likewise.
1654 (do_test): Likewise.
1655 * string/test-strcasecmp.c (do_one_test): Likewise.
1656 (do_test): Likewise.
1657 * string/test-strcasestr.c (do_one_test): Likewise.
1658 (do_test): Likewise.
1659 * string/test-strcat.c (do_one_test): Likewise.
1660 (do_test): Likewise.
1661 * string/test-strchr.c (do_one_test): Likewise.
1662 (do_test): Likewise.
1663 * string/test-strcmp.c (do_one_test): Likewise.
1664 (do_test): Likewise.
1665 * string/test-strcpy.c (do_one_test): Likewise.
1666 (do_test): Likewise.
1667 * string/test-string.h: Likewise.
1668 (test_init): Likewise.
1669 * string/test-strlen.c (do_one_test): Likewise.
1670 (do_test): Likewise.
1671 * string/test-strncasecmp.c (do_one_test): Likewise.
1672 (do_test): Likewise.
1673 * string/test-strncat.c (do_one_test): Likewise.
1674 (do_test): Likewise.
1675 * string/test-strncmp.c (do_one_test): Likewise.
1676 (do_test_limit): Likewise.
1677 (do_test): Likewise.
1678 * string/test-strncpy.c (do_one_test): Likewise.
1679 (do_test): Likewise.
1680 * string/test-strnlen.c (do_one_test): Likewise.
1681 (do_test): Likewise.
1682 * string/test-strpbrk.c (do_one_test): Likewise.
1683 (do_test): Likewise.
1684 * string/test-strrchr.c (do_one_test): Likewise.
1685 (do_test): Likewise.
1686 * string/test-strspn.c (do_one_test): Likewise.
1687 (do_test): Likewise.
1688 * string/test-strstr.c (do_one_test): Likewise.
1689 (do_test): Likewise.
1690
97020474
SP
1691 * benchtests/Makefile (string-bench): Add string benchmarks.
1692 * benchtests/bench-bcopy-ifunc.c: New file.
1693 * benchtests/bench-bcopy.c: New file.
1694 * benchtests/bench-bzero-ifunc.c: New file.
1695 * benchtests/bench-bzero.c: New file.
1696 * benchtests/bench-memccpy-ifunc.c: New file.
1697 * benchtests/bench-memccpy.c: New file.
1698 * benchtests/bench-memchr-ifunc.c: New file.
1699 * benchtests/bench-memchr.c: New file.
1700 * benchtests/bench-memcmp-ifunc.c: New file.
1701 * benchtests/bench-memcmp.c: New file.
1702 * benchtests/bench-memmem-ifunc.c: New file.
1703 * benchtests/bench-memmem.c: New file.
1704 * benchtests/bench-memmove-ifunc.c: New file.
1705 * benchtests/bench-memmove.c: New file.
1706 * benchtests/bench-mempcpy-ifunc.c: New file.
1707 * benchtests/bench-mempcpy.c: New file.
1708 * benchtests/bench-memset-ifunc.c: New file.
1709 * benchtests/bench-memset.c: New file.
1710 * benchtests/bench-rawmemchr-ifunc.c: New file.
1711 * benchtests/bench-rawmemchr.c: New file.
1712 * benchtests/bench-stpcpy-ifunc.c: New file.
1713 * benchtests/bench-stpcpy.c: New file.
1714 * benchtests/bench-stpncpy-ifunc.c: New file.
1715 * benchtests/bench-stpncpy.c: New file.
1716 * benchtests/bench-strcasecmp-ifunc.c: New file.
1717 * benchtests/bench-strcasecmp.c: New file.
1718 * benchtests/bench-strcasestr-ifunc.c: New file.
1719 * benchtests/bench-strcasestr.c: New file.
1720 * benchtests/bench-strcat-ifunc.c: New file.
1721 * benchtests/bench-strcat.c: New file.
1722 * benchtests/bench-strchr-ifunc.c: New file.
1723 * benchtests/bench-strchr.c: New file.
1724 * benchtests/bench-strchrnul-ifunc.c: New file.
1725 * benchtests/bench-strchrnul.c: New file.
1726 * benchtests/bench-strcmp-ifunc.c: New file.
1727 * benchtests/bench-strcmp.c: New file.
1728 * benchtests/bench-strcpy-ifunc.c: New file.
1729 * benchtests/bench-strcpy.c: New file.
1730 * benchtests/bench-strcspn-ifunc.c: New file.
1731 * benchtests/bench-strcspn.c: New file.
1732 * benchtests/bench-strlen-ifunc.c: New file.
1733 * benchtests/bench-strlen.c: New file.
1734 * benchtests/bench-strncasecmp-ifunc.c: New file.
1735 * benchtests/bench-strncasecmp.c: New file.
1736 * benchtests/bench-strncat-ifunc.c: New file.
1737 * benchtests/bench-strncat.c: New file.
1738 * benchtests/bench-strncmp-ifunc.c: New file.
1739 * benchtests/bench-strncmp.c: New file.
1740 * benchtests/bench-strncpy-ifunc.c: New file.
1741 * benchtests/bench-strncpy.c: New file.
1742 * benchtests/bench-strnlen-ifunc.c: New file.
1743 * benchtests/bench-strnlen.c: New file.
1744 * benchtests/bench-strpbrk-ifunc.c: New file.
1745 * benchtests/bench-strpbrk.c: New file.
1746 * benchtests/bench-strrchr-ifunc.c: New file.
1747 * benchtests/bench-strrchr.c: New file.
1748 * benchtests/bench-strspn-ifunc.c: New file.
1749 * benchtests/bench-strspn.c: New file.
1750 * benchtests/bench-strstr-ifunc.c: New file.
1751 * benchtests/bench-strstr.c: New file.
1752
c1f75dc3
SP
1753 * benchtests/Makefile: Disable parallel execution of targets.
1754 (string-bench): Add memcpy.
1755 (benchset): New variable to store a list of benchmark sets.
1756 (bench-func): Renamed from bench.
1757 (bench-set): New target.
1758 (bench): Depend on bench-func and bench-set.
1759 * benchtests/README: Add section on benchmark sets.
1760 * benchtests/bench-memcpy-ifunc.c: New file.
1761 * benchtests/bench-memcpy.c: New file.
1762 * benchtests/bench-string.h: New file.
1763
50fd745b
AS
17642013-06-11 Andreas Schwab <schwab@suse.de>
1765
1766 [BZ #15577]
1767 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1768 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1769 values in the triple.
1770 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1771 terminator in the group key.
1772
3ee7e9fe
AJ
17732013-06-11 Andreas Jaeger <aj@suse.de>
1774
1775 * po/zh_TW.po: Update Chinese (traditional) translation from
1776 translation project.
1777
89fb6835
SP
17782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1779
1780 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1781 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1782 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1783 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1784 (clock_getcpuclockid): Likewise.
1785 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1786 Add weak_alias and libc_hidden_def.
1787 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1788 * rt/clock_gettime.c (clock_gettime): Rename to
1789 __clock_gettime. Add weak_alias and libc_hidden_def.
1790 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1791 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1792 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1793 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1794 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1795 Likewise.
1796 * rt/clock_settime.c (clock_settime): Rename to
1797 __clock_settime. Add weak_alias and libc_hidden_def.
1798 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1799
0efa6f8b
JM
18002013-06-10 Joseph Myers <joseph@codesourcery.com>
1801
b8c61b4b
JM
1802 * mach/err_boot.sub: Remove trailing whitespace.
1803 * mach/err_ipc.sub: Likewise.
1804 * mach/err_mach.sub: Likewise.
1805
0efa6f8b
JM
1806 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1807 (ROUNDING_TESTS_double): Likewise.
1808 (ROUNDING_TESTS_long_double): Likewise.
1809 (ROUNDING_TESTS): Likewise.
1810 * math/libm-test.inc: Include <math-tests.h>.
1811 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1812 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1813 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1814 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1815
50b818bf
SP
18162013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1817
1818 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1819 of assigning.
1820
60d2f8f3
JM
18212013-06-08 Joseph Myers <joseph@codesourcery.com>
1822
4902d2c3
JM
1823 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1824 otherwise empty TRANS lines.
1825 * sysdeps/gnu/errlist.c: Regenerated.
1826
60d2f8f3
JM
1827 * catgets/gencat.c (error_print): Use (void) in function
1828 definition.
1829 * crypt/crypt_util.c (__init_des): Likewise.
1830 * crypt/speeds.c (Stop): Likewise.
1831 (main): Likewise.
1832 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1833 * inet/ruserpass.c (token): Likewise.
1834 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1835 * intl/localealias.c (extend_alias_table): Likewise.
1836 * intl/plural-exp.c (init_germanic_plural): Likewise.
1837 * libio/fcloseall.c (__fcloseall): Likewise.
1838 * libio/genops.c (_IO_flush_all): Likewise.
1839 (_IO_flush_all_linebuffered): Likewise.
1840 (_IO_cleanup): Likewise.
1841 (_IO_iter_begin): Likewise.
1842 (_IO_iter_end): Likewise.
1843 (_IO_list_lock): Likewise.
1844 (_IO_list_unlock): Likewise.
1845 (_IO_list_resetlock): Likewise.
1846 * libio/getchar.c (getchar): Likewise.
1847 * libio/getchar_u.c (getchar_unlocked): Likewise.
1848 * libio/getwchar.c (getwchar): Likewise.
1849 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1850 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1851 * login/getpt.c (__getpt): Likewise.
1852 * login/tst-utmp.c (main): Likewise.
1853 * malloc/hooks.c (__malloc_check_init): Likewise.
1854 * malloc/malloc.c (__malloc_stats): Likewise.
1855 * malloc/mtrace.c (tr_break): Likewise.
1856 (mtrace): Likewise.
1857 (muntrace): Likewise.
1858 * misc/fstab.c (endfsent): Likewise.
1859 * misc/getclktck.c (__getclktck): Likewise.
1860 * misc/getdtsz.c (__getdtablesize): Likewise.
1861 * misc/gethostid.c (gethostid): Likewise.
1862 * misc/getpagesize.c (__getpagesize): Likewise.
1863 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1864 (__get_nprocs): Likewise.
1865 (__get_phys_pages): Likewise.
1866 (__get_avphys_pages): Likewise.
1867 * misc/getttyent.c (getttyent): Likewise.
1868 (setttyent): Likewise.
1869 (endttyent): Likewise.
1870 * misc/getusershell.c (getusershell): Likewise.
1871 (endusershell): Likewise.
1872 (setusershell): Likewise.
1873 (initshells): Likewise.
1874 * misc/hsearch.c (__hdestroy): Likewise.
1875 * misc/sync.c (sync): Likewise.
1876 * misc/syslog.c (closelog_internal): Likewise.
1877 (closelog): Likewise.
1878 * misc/ttyslot.c (ttyslot): Likewise.
1879 * misc/vhangup.c (vhangup): Likewise.
1880 * posix/fork.c (__fork): Likewise.
1881 * posix/getegid.c (__getegid): Likewise.
1882 * posix/geteuid.c (__geteuid): Likewise.
1883 * posix/getgid.c (__getgid): Likewise.
1884 * posix/getpid.c (__getpid): Likewise.
1885 * posix/getppid.c (__getppid): Likewise.
1886 * posix/getuid.c (__getuid): Likewise.
1887 * posix/pause.c (pause): Likewise.
1888 * posix/setpgrp.c (setpgrp): Likewise.
1889 * posix/setsid.c (__setsid): Likewise.
1890 * posix/test-vfork.c (noop): Likewise.
1891 * resolv/gethnamaddr.c (_endhtent): Likewise.
1892 (_gethtent): Likewise.
1893 (ht_endhostent): Likewise.
1894 (gethostent): Likewise.
1895 (dns_service): Likewise.
1896 * stdlib/drand48.c (drand48): Likewise.
1897 * stdlib/lrand48.c (lrand48): Likewise.
1898 * stdlib/mrand48.c (mrand48): Likewise.
1899 * stdlib/rand.c (rand): Likewise.
1900 * stdlib/random.c (__random): Likewise.
1901 * stdlib/setenv.c (clearenv): Likewise.
1902 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1903 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1904 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1905 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1906 (__get_nprocs): Likewise.
1907 (__get_phys_pages): Likewise.
1908 (__get_avphys_pages): Likewise.
1909 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1910 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1911 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1912 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1913 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1914 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1915 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1916 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1917 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1918 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1919 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1920 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1921 * sysdeps/posix/clock.c (clock): Likewise.
1922 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1923 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1924 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1925 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1926 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1928 (__get_nprocs_conf): Likewise.
1929 (__get_phys_pages): Likewise.
1930 (__get_avphys_pages): Likewise.
1931 * time/clock.c (clock): Likewise.
1932 * time/tzset.c (__tzname_max): Likewise.
1933
2e09a79a
JM
19342013-06-07 Joseph Myers <joseph@codesourcery.com>
1935
1936 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1937 (__bswap_32): Do not use "register".
1938 * crypt/crypt.c (_ufc_doit_r): Likewise.
1939 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1940 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1941 * gmon/gmon.c (__monstartup): Likewise.
1942 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1943 * hurd/hurdmalloc.c (more_memory): Likewise.
1944 (malloc): Likewise.
1945 (free): Likewise.
1946 (realloc): Likewise.
1947 (malloc_fork_prepare): Likewise.
1948 (malloc_fork_parent): Likewise.
1949 (malloc_fork_child): Likewise.
1950 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1951 (_svcauth_des): Likewise.
1952 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1953 * inet/inet_net.c (inet_network): Likewise.
1954 * inet/inet_netof.c (inet_netof): Likewise.
1955 * inet/rcmd.c (__validuser2_sa): Likewise.
1956 * io/fts.c (fts_open): Likewise.
1957 (fts_load): Likewise.
1958 (fts_close): Likewise.
1959 (fts_read): Likewise.
1960 (fts_children): Likewise.
1961 (fts_build): Likewise.
1962 (fts_stat): Likewise.
1963 (fts_sort): Likewise.
1964 (fts_alloc): Likewise.
1965 (fts_lfree): Likewise.
1966 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1967 (_IO_file_xsgetn): Likewise.
1968 (_IO_file_xsgetn_mmap): Likewise.
1969 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1970 (_IO_cookie_write): Likewise.
1971 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1972 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1973 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1974 * malloc/obstack.c (_obstack_begin): Likewise.
1975 (_obstack_begin_1): Likewise.
1976 (_obstack_newchunk): Likewise.
1977 (_obstack_allocated_p): Likewise.
1978 (obstack_free): Likewise.
1979 (_obstack_memory_used): Likewise.
1980 * misc/getttyent.c (getttynam): Likewise.
1981 (getttyent): Likewise.
1982 (skip): Likewise.
1983 (value): Likewise.
1984 * misc/getusershell.c (initshells): Likewise.
1985 * misc/syslog.c (__vsyslog_chk): Likewise.
1986 * misc/ttyslot.c (ttyslot): Likewise.
1987 * nis/nis_hash.c (__nis_hash): Likewise.
1988 * posix/fnmatch_loop.c (FCT): Likewise.
1989 * posix/getconf.c (print_all): Likewise.
1990 (main): Likewise.
1991 * posix/getopt.c (exchange): Likewise.
1992 * posix/glob.c (globfree): Likewise.
1993 (prefix_array): Likewise.
1994 (__glob_pattern_type): Likewise.
1995 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1996 (NS_GET32): Likewise.
1997 (NS_PUT16): Likewise.
1998 (NS_PUT32): Likewise.
1999 * resolv/gethnamaddr.c (getanswer): Likewise.
2000 (gethostbyname2): Likewise.
2001 (gethostbyaddr): Likewise.
2002 (_gethtent): Likewise.
2003 (_gethtbyname2): Likewise.
2004 (_gethtbyaddr): Likewise.
2005 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2006 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2007 * resolv/res_init.c (__res_vinit): Likewise.
2008 (net_mask): Likewise.
2009 * resolv/res_mkquery.c (outchar): Likewise.
2010 (PRINT): Likewise.
2011 * stdio-common/printf_fp.c (outchar): Likewise.
2012 (PRINT): Likewise.
2013 * stdio-common/printf_fphex.c (outchar): Likewise.
2014 (PRINT): Likewise.
2015 * stdio-common/printf_size.c (outchar): Likewise.
2016 (PRINT): Likewise.
2017 * stdio-common/test_rdwr.c (main): Likewise.
2018 * stdio-common/tfformat.c (matches): Likewise.
2019 * stdio-common/vfprintf.c (outchar): Likewise.
2020 (printf_unknown): Likewise.
2021 (buffered_vfprintf): Likewise.
2022 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2023 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2024 (ReadFile): Likewise.
2025 * stdlib/qsort.c (SWAP): Likewise.
2026 (_quicksort): Likewise.
2027 * stdlib/setenv.c (__add_to_environ): Likewise.
2028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2029 * stdlib/strtol_l.c (__strtol_l): Likewise.
2030 * stdlib/tst-strtod.c (main): Likewise.
2031 * stdlib/tst-strtol.c (main): Likewise.
2032 * stdlib/tst-strtoll.c (main): Likewise.
2033 * string/bits/string2.h (__strcmp_cc): Likewise.
2034 (__strcmp_cg): Likewise.
2035 (__strcspn_c1): Likewise.
2036 (__strcspn_c2): Likewise.
2037 (__strcspn_c3): Likewise.
2038 (__strspn_c1): Likewise.
2039 (__strspn_c2): Likewise.
2040 (__strspn_c3): Likewise.
2041 (__strsep_1c): Likewise.
2042 (__strsep_2c): Likewise.
2043 (__strsep_3c): Likewise.
2044 * string/memccpy.c (__memccpy): Likewise.
2045 * string/stpcpy.c (__stpcpy): Likewise.
2046 * string/strcmp.c (strcmp): Likewise.
2047 * string/strrchr.c (strrchr): Likewise.
2048 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2049 Likewise.
2050 * sysdeps/mach/hurd/getcwd.c
2051 (_hurd_canonicalize_directory_name_internal): Likewise.
2052 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2053 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2054 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2055 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2056 Likewise, in both definitions.
2057 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2058 definitions.
2059 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2060 64] (__bswap_64): Likewise.
2061 * time/test_time.c (main): Likewise.
2062 * time/tzfile.c (__tzfile_read): Likewise.
2063 (__tzfile_compute): Likewise.
2064 * time/tzset.c (__tzset_parse_tz): Likewise.
2065 (tzset_internal): Likewise.
2066 (compute_change): Likewise.
2067 * wcsmbs/wcscat.c (__wcscat): Likewise.
2068 * wcsmbs/wcschr.c (wcschr): Likewise.
2069 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2070 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2071 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2072 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2073 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2074 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2075 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2076 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2077 * wcsmbs/wmemset.c (wmemset): Likewise.
2078
9e54314b
JM
20792013-06-06 Joseph Myers <joseph@codesourcery.com>
2080
2081 * scripts/config.guess: Update to version 2013-05-16.
2082 * scripts/config.sub: Update to version 2013-04-24.
2083 * scripts/install-sh: Update to version 2011-11-20.07.
2084 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2085 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2086
350635a5
OB
20872013-06-06 Ondřej Bílka <neleai@seznam.cz>
2088
2089 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2090 * elf/sln.c: Likewise.
2091 * hurd/hurd/ioctl.h: Likewise.
2092 * hurd/hurdmalloc.c: Likewise.
2093 * hurd/xattr.c: Likewise.
2094 * include/shlib-compat.h: Likewise.
2095 * inet/ruserpass.c: Likewise.
2096 * libio/iofgets_u.c: Likewise.
2097 * libio/iofgetws_u.c: Likewise.
2098 * locale/programs/ld-identification.c: Likewise.
2099 * locale/programs/ld-time.c: Likewise.
2100 * mach/msg-destroy.c: Likewise.
2101 * nss/nss_files/files-netgrp.c: Likewise.
2102 * resolv/res_data.c: Likewise.
2103 * soft-fp/op-1.h: Likewise.
2104 * soft-fp/op-2.h: Likewise.
2105 * soft-fp/op-4.h: Likewise.
2106 * soft-fp/op-common.h: Likewise.
2107 * stdio-common/printf_fphex.c: Likewise.
2108 * stdlib/strtod_l.c: Likewise.
2109 * sunrpc/rpc/clnt.h: Likewise.
2110 * sysdeps/generic/framestate.c: Likewise.
2111 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2112 * sysdeps/i386/bsd-setjmp.S: Likewise.
2113 * sysdeps/i386/__longjmp.S: Likewise.
2114 * sysdeps/i386/setjmp.S: Likewise.
2115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2116 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2133 * sysdeps/ieee754/support.c: Likewise.
2134 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2135 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2136 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2137 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2138 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2139 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2140 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2141 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2142 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2143 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2144 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2145 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2146 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2147 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2148 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2149 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2150 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2152
44a988af
OB
21532013-06-05 Ondřej Bílka <neleai@seznam.cz>
2154
25506f09 2155 * posix/transbug.c: Remove executable mode.
44a988af 2156
9c84384c
JM
21572013-06-05 Joseph Myers <joseph@codesourcery.com>
2158
2159 * crypt/speeds.c: Remove trailing whitespace.
2160 * dlfcn/default.c: Likewise.
2161 * elf/ifuncdep2.c: Likewise.
2162 * elf/ifuncmain1.c: Likewise.
2163 * elf/ifuncmain1vis.c: Likewise.
2164 * elf/testobj.h: Likewise.
2165 * elf/tst-stackguard1.c: Likewise.
2166 * gmon/sys/gmon.h: Likewise.
2167 * hurd/hurdmsg.c: Likewise.
2168 * hurd/new-fd.c: Likewise.
2169 * hurd/ports-get.c: Likewise.
2170 * iconvdata/ibm1008_420.c: Likewise.
2171 * inet/tst-getni1.c: Likewise.
2172 * inet/tst-getni2.c: Likewise.
2173 * libio/ioungetc.c: Likewise.
2174 * libio/wfiledoalloc.c: Likewise.
2175 * manual/libm-err-tab.pl: Likewise.
2176 * math/w_dremf.c: Likewise.
2177 * misc/ftruncate.c: Likewise.
2178 * posix/bug-glob2.c: Likewise.
2179 * posix/tst-pcre.c: Likewise.
2180 * posix/wait4.c: Likewise.
2181 * resolv/README: Likewise.
2182 * resolv/res_debug.h: Likewise.
2183 * resolv/tst-inet_ntop.c: Likewise.
2184 * setjmp/bug269-setjmp.c: Likewise.
2185 * soft-fp/extended.h: Likewise.
2186 * soft-fp/op-1.h: Likewise.
2187 * soft-fp/op-2.h: Likewise.
2188 * soft-fp/op-4.h: Likewise.
2189 * soft-fp/op-8.h: Likewise.
2190 * soft-fp/testit.c: Likewise.
2191 * stdio-common/bug16.c: Likewise.
2192 * stdlib/random.c: Likewise.
2193 * sunrpc/rpcsvc/rquota.x: Likewise.
2194 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2195 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2196 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2197 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2198 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2199 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2200 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2201 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2202 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2203 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2204 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2205 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2206 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2210 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2223 * sysdeps/ieee754/s_lib_version.c: Likewise.
2224 * sysdeps/mach/hurd/check_fds.c: Likewise.
2225 * sysdeps/mach/hurd/getsockname.c: Likewise.
2226 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2227 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2228 * sysdeps/powerpc/bits/link.h: Likewise.
2229 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2230 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2231 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2232 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2233 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2234 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2235 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2236 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2237 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2238 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2239 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2240 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2241 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2242 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2243 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2244 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2248 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2249 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2250 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2252 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2253 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2254 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2256 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2259 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2261 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2263 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2264 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2265 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2266 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2267 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2268 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2269 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2270 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2271 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2272 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2273 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2274 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2275 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2276 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2277 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2278 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2281 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2282 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2283 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2284 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2285 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2286 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2287 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2288 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2291 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2292 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2293 * sysdeps/powerpc/sysdep.h: Likewise.
2294 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2295 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2296 * sysdeps/sh/dl-trampoline.S: Likewise.
2297 * sysdeps/sh/memset.S: Likewise.
2298 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2299 * sysdeps/sh/strlen.S: Likewise.
2300 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2301 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2302 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2303 * sysdeps/sparc/sparc32/rem.S: Likewise.
2304 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2305 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2306 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2307 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2308 * sysdeps/sparc/sparc32/urem.S: Likewise.
2309 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2310 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2311 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2312 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2313 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2314 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2315 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2316 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2317 * sysdeps/unix/bsd/times.c: Likewise.
2318 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2319 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2323 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2324 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2325 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2326 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2327 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2328 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2329 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2330 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2331 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2332 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2333 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2334 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2335 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2336 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2337 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2338 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2339 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2340 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2341 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2342 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2343 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2344 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2346 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2347 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2348 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2349 * sysdeps/x86_64/strcspn.S: Likewise.
2350
869378a5
RA
23512013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2352
2353 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2354 generated file. Regenerate properly from gen-translit.pl.
2355 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2356 locale/C-translit.h.
2357
840e2943
AS
23582013-06-05 Andreas Schwab <schwab@suse.de>
2359
2360 [BZ #15100]
2361 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2362 week as 6 instead of -1.
2363 * time/tst-strptime.c (day_tests): Add test case.
2364
4c60cb0c
SP
23652013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2366
2367 * sysdeps/generic/math_private.h
2368 (libc_feholdexcept_setround_53bit): Replace with
2369 libc_feholdsetround_53bit.
2370 (libc_feupdateenv_53bit): Replace with
2371 libc_feresetround_53bit.
2372 (SET_RESTORE_ROUND_53BIT): Adjust.
2373
d180203e
SP
23742013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2375
96df079a
SP
2376 * string/test-strchrnul.c: Add copyright header.
2377
d180203e
SP
2378 * posix/tst-getaddrinfo4.c: Increase test timeout.
2379
8b0ccb2d
CD
23802013-06-03 Carlos O'Donell <carlos@redhat.com>
2381
2382 [BZ #15536]
2383 * math/libm-test.inc (MAX_EXP): Remove
2384 (MIN_EXP): Define.
2385 (ulp): Use MIN_EXP - MANT_DIG.
2386 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2387
3b3c4d40
CD
23882013-05-31 Carlos O'Donell <carlos@redhat.com>
2389
2390 * po/be.po: Revert last change.
2391 * po/zh_CN.po: Likewise.
2392 * po/header.pot: Likewise.
2393
fab7ce3f
JM
23942013-05-31 Joseph Myers <joseph@codesourcery.com>
2395
2396 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2397 link-libc-deps to empty as target-specific variable.
2398 * Makerules (link-libc-args): New variable.
2399 (libc-for-link): Likewise.
2400 (link-libc-deps): Likewise.
2401 (lib%.so): Depend on $(link-libc-deps). Link with
2402 $(link-libc-args).
2403 (build-module): Link with $(link-libc-args).
2404 (build-module-asneeded): Likewise.
2405 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2406 list of objects.
2407 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2408 target-specific variable.
2409 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2410 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2411 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2412 libc.
2413 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2414 libc and ld.so.
2415 ($(objpfx)libpcprofile.so): Likewise.
2416 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2417 libc_nonshared.a.
2418 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2419 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2420 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2421 $(link-libc-deps).
2422 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2423 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2424 * login/Makefile ($(objpfx)libutil.so): Likewise.
2425 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2426 * math/Makefile ($(objpfx)libm.so): Likewise.
2427 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2428 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2429 variable instead of depending directly on libc.
2430 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2431 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2432 $(link-libc-deps).
2433 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2434 libc.
2435 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2436 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2437 ($(objpfx)libanl.so): Likewise.
2438 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2439 ld.so.
2440 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2441 $(link-libc-deps).
2442 * sysdeps/i386/fpu/Makefile: Remove file.
2443 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2444 ($(objpfx)libm.so): Remove dependency on ld.so.
2445
eca5920c
PF
24462013-05-30 Patsy Franklin <pfrankli@redhat.com>
2447
2448 [BZ # 15553]
2449 * nis/yp_xdr.c (XDRMAXNAME): Define.
2450 (XDRMAXRECORD): Define.
2451 (xdr_domainname): Use XDRMAXNAME.
2452 (xdr_mapname): Likewise.
2453 (xdr_peername): Likewise.
2454 (xdr_keydat): Use XDRMAXRECORD.
2455 (xdr_valdat): Likewise.
2456
24572013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2458
2459 [BZ #14256]
2460 * manual/errno.texi (ESTALE): Update to account for more than
2461 just NFS file systems.
2462 * sysdeps/gnu/errlist.c: Regenerated.
2463
b9375348
SP
24642013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2465
2466 [BZ #15465]
2467 * elf/Makefile (tests): Add tst-null-argv.
2468 (modules-names): Add tst-null-argv-lib.
2469 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2470 (tst-null-argv-ENV): Set environment for tst-null-argv.
2471 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2472 (RTLD_PROGNAME): New macro.
2473 * elf/tst-null-argv.c: New test case.
2474 * elf/tst-null-argv-lib.c: Library for test case.
2475 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2476 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2477 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2478 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2479 * elf/dl-init.c (call_init): Likewise.
2480 (_dl_init): Likewise.
2481 * elf/dl-load.c (print_search_path): Likewise.
2482 (_dl_map_object): Likewise.
2483 * elf/dl-lookup.c (do_lookup_x): Likewise.
2484 (add_dependency): Likewise.
2485 (_dl_lookup_symbol_x): Likewise.
2486 (_dl_debug_bindings): Likewise.
2487 * elf/dl-open.c (_dl_show_scope): Likewise.
2488 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2489 * elf/dl-version.c (match_symbol): Likewise.
2490 (_dl_check_map_versions): Likewise.
2491 * elf/rtld.c (dl_main): Likewise.
2492 (print_unresolved): Use RTLD_PROGNAME.
2493 (print_missing_version): Likewise.
2494 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2495 (elf_machine_rela): Likewise.
2496 * sysdeps/powerpc/powerpc32/dl-machine.c
2497 (__process_machine_rela): Likewise.
2498 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2499 Likewise.
2500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2501 Likewise.
2502 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2503 Likewise.
2504 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2506 Likewise.
2507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2508 Likewise.
2509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2510
8a9f20c8
CD
25112013-05-28 Carlos O'Donell <carlos@redhat.com>
2512
2513 * po/be.po: Add descriptive title.
2514 * po/zh_CN.po: Likewise.
2515 * po/header.pot: Likewise.
2516
0e60d68e
MF
25172013-05-28 Mike Frysinger <vapier@gentoo.org>
2518
2519 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2520 error message.
2521 (enlarge_archive): Likewise.
2522
56b672e9
BN
25232013-05-28 Ben North <ben@redfrontdoor.org>
2524
2525 * manual/arith.texi (frexp): It is the magnitude of the return
2526 value which lies in [0.5, 1), not the return value itself.
2527
5e056687
AZ
25282013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2529
2530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2531
2b66ef5d
TS
25322013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2533
528c2405
TS
2534 * stdio-common/bug26.c (main): Correct fscanf template.
2535
07b4c13d
TS
2536 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2537 declare _dl_skip_args.
2538
ec9dd97c
TS
2539 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2540 Don't declare.
2541
2b66ef5d
TS
2542 * manual/platform.texi: Add missing @end deftypefun.
2543
4f8dfe27
JM
25442013-05-24 Joseph Myers <joseph@codesourcery.com>
2545
0323d086
JM
2546 [BZ #15529]
2547 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2548 bit of mantissa of 2^16382.
2549 * math/libm-test.inc (hypot_test_data): Add more tests.
2550
dd4259b9
JM
2551 * math/libm-test.inc: Add drem and pow10 to list of tested
2552 functions.
2553 (pow10_test): New function.
2554 (drem_test): Likewise.
2555 (drem_test_tonearest): Likewise.
2556 (drem_test_towardzero): Likewise.
2557 (drem_test_downward): Likewise.
2558 (drem_test_upward): Likewise.
2559 (main): Call the new functions.
2560
4f8dfe27
JM
2561 * math/libm-test.inc (finite_test_data): Remove.
2562 (finite_test): Run tests from isfinite_test_data.
2563 (gamma_test_data): Remove.
2564 (gamma_test): Run tests from lgamma_test_data.
2565 * sysdeps/i386/fpu/libm-test-ulps: Update.
2566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2567
d116b7c4
AZ
25682013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2569
2570 * manual/platform.texi: Add PowerPC PPR function set documentation.
2571 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2572 implementation.
2573
e96e3767
CD
25742013-05-24 Carlos O'Donell <carlos@redhat.com>
2575
2576 * math/libm-test.inc (MAX_EXP): Define.
2577 (ULPDIFF): Define.
2578 (ulp): New function.
2579 (check_float_internal): Use ULPDIFF.
2580 (cpow_test): Disable failing test.
2581 (check_ulp): Test ulp() implemetnation.
2582 (main): Call check_ulp before starting tests.
2583
b679a606
JM
25842013-05-24 Joseph Myers <joseph@codesourcery.com>
2585
e8bdba36
JM
2586 * math/gen-libm-test.pl (generate_testfile): Do not handle
2587 START_DATA and END_DATA.
2588 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2589 END_DATA.
2590 (acos_tonearest_test_data): Likewise.
2591 (acos_towardzero_test_data): Likewise.
2592 (acos_downward_test_data): Likewise.
2593 (acos_upward_test_data): Likewise.
2594 (acosh_test_data): Likewise.
2595 (asin_test_data): Likewise.
2596 (asin_tonearest_test_data): Likewise.
2597 (asin_towardzero_test_data): Likewise.
2598 (asin_downward_test_data): Likewise.
2599 (asin_upward_test_data): Likewise.
2600 (asinh_test_data): Likewise.
2601 (atan_test_data): Likewise.
2602 (atanh_test_data): Likewise.
2603 (atan2_test_data): Likewise.
2604 (cabs_test_data): Likewise.
2605 (cacos_test_data): Likewise.
2606 (cacosh_test_data): Likewise.
2607 (carg_test_data): Likewise.
2608 (casin_test_data): Likewise.
2609 (casinh_test_data): Likewise.
2610 (catan_test_data): Likewise.
2611 (catanh_test_data): Likewise.
2612 (cbrt_test_data): Likewise.
2613 (ccos_test_data): Likewise.
2614 (ccosh_test_data): Likewise.
2615 (ceil_test_data): Likewise.
2616 (cexp_test_data): Likewise.
2617 (cimag_test_data): Likewise.
2618 (clog_test_data): Likewise.
2619 (clog10_test_data): Likewise.
2620 (conj_test_data): Likewise.
2621 (copysign_test_data): Likewise.
2622 (cos_test_data): Likewise.
2623 (cos_tonearest_test_data): Likewise.
2624 (cos_towardzero_test_data): Likewise.
2625 (cos_downward_test_data): Likewise.
2626 (cos_upward_test_data): Likewise.
2627 (cosh_test_data): Likewise.
2628 (cosh_tonearest_test_data): Likewise.
2629 (cosh_towardzero_test_data): Likewise.
2630 (cosh_downward_test_data): Likewise.
2631 (cosh_upward_test_data): Likewise.
2632 (cpow_test_data): Likewise.
2633 (cproj_test_data): Likewise.
2634 (creal_test_data): Likewise.
2635 (csin_test_data): Likewise.
2636 (csinh_test_data): Likewise.
2637 (csqrt_test_data): Likewise.
2638 (ctan_test_data): Likewise.
2639 (ctan_tonearest_test_data): Likewise.
2640 (ctan_towardzero_test_data): Likewise.
2641 (ctan_downward_test_data): Likewise.
2642 (ctan_upward_test_data): Likewise.
2643 (ctanh_test_data): Likewise.
2644 (ctanh_tonearest_test_data): Likewise.
2645 (ctanh_towardzero_test_data): Likewise.
2646 (ctanh_downward_test_data): Likewise.
2647 (ctanh_upward_test_data): Likewise.
2648 (erf_test_data): Likewise.
2649 (erfc_test_data): Likewise.
2650 (exp_test_data): Likewise.
2651 (exp_tonearest_test_data): Likewise.
2652 (exp_towardzero_test_data): Likewise.
2653 (exp_downward_test_data): Likewise.
2654 (exp_upward_test_data): Likewise.
2655 (exp10_test_data): Likewise.
2656 (exp2_test_data): Likewise.
2657 (expm1_test_data): Likewise.
2658 (fabs_test_data): Likewise.
2659 (fdim_test_data): Likewise.
2660 (finite_test_data): Likewise.
2661 (floor_test_data): Likewise.
2662 (fma_test_data): Likewise.
2663 (fma_towardzero_test_data): Likewise.
2664 (fma_downward_test_data): Likewise.
2665 (fma_upward_test_data): Likewise.
2666 (fmax_test_data): Likewise.
2667 (fmin_test_data): Likewise.
2668 (fmod_test_data): Likewise.
2669 (fpclassify_test_data): Likewise.
2670 (frexp_test_data): Likewise.
2671 (gamma_test_data): Likewise.
2672 (hypot_test_data): Likewise.
2673 (ilogb_test_data): Likewise.
2674 (isfinite_test_data): Likewise.
2675 (isgreater_test_data): Likewise.
2676 (isgreaterequal_test_data): Likewise.
2677 (isinf_test_data): Likewise.
2678 (isless_test_data): Likewise.
2679 (islessequal_test_data): Likewise.
2680 (islessgreater_test_data): Likewise.
2681 (isnan_test_data): Likewise.
2682 (isnormal_test_data): Likewise.
2683 (issignaling_test_data): Likewise.
2684 (isunordered_test_data): Likewise.
2685 (j0_test_data): Likewise.
2686 (j1_test_data): Likewise.
2687 (jn_test_data): Likewise.
2688 (ldexp_test_data): Likewise.
2689 (lgamma_test_data): Likewise.
2690 (lrint_test_data): Likewise.
2691 (lrint_tonearest_test_data): Likewise.
2692 (lrint_towardzero_test_data): Likewise.
2693 (lrint_downward_test_data): Likewise.
2694 (lrint_upward_test_data): Likewise.
2695 (llrint_test_data): Likewise.
2696 (llrint_tonearest_test_data): Likewise.
2697 (llrint_towardzero_test_data): Likewise.
2698 (llrint_downward_test_data): Likewise.
2699 (llrint_upward_test_data): Likewise.
2700 (log_test_data): Likewise.
2701 (log10_test_data): Likewise.
2702 (log1p_test_data): Likewise.
2703 (log2_test_data): Likewise.
2704 (logb_test_data): Likewise.
2705 (logb_downward_test_data): Likewise.
2706 (lround_test_data): Likewise.
2707 (llround_test_data): Likewise.
2708 (modf_test_data): Likewise.
2709 (nearbyint_test_data): Likewise.
2710 (nextafter_test_data): Likewise.
2711 (nexttoward_test_data): Likewise.
2712 (pow_test_data): Likewise.
2713 (pow_tonearest_test_data): Likewise.
2714 (pow_towardzero_test_data): Likewise.
2715 (pow_downward_test_data): Likewise.
2716 (pow_upward_test_data): Likewise.
2717 (remainder_test_data): Likewise.
2718 (remainder_tonearest_test_data): Likewise.
2719 (remainder_towardzero_test_data): Likewise.
2720 (remainder_downward_test_data): Likewise.
2721 (remainder_upward_test_data): Likewise.
2722 (remquo_test_data): Likewise.
2723 (rint_test_data): Likewise.
2724 (rint_tonearest_test_data): Likewise.
2725 (rint_towardzero_test_data): Likewise.
2726 (rint_downward_test_data): Likewise.
2727 (rint_upward_test_data): Likewise.
2728 (round_test_data): Likewise.
2729 (scalb_test_data): Likewise.
2730 (scalbn_test_data): Likewise.
2731 (scalbln_test_data): Likewise.
2732 (signbit_test_data): Likewise.
2733 (sin_test_data): Likewise.
2734 (sin_tonearest_test_data): Likewise.
2735 (sin_towardzero_test_data): Likewise.
2736 (sin_downward_test_data): Likewise.
2737 (sin_upward_test_data): Likewise.
2738 (sincos_test_data): Likewise.
2739 (sinh_test_data): Likewise.
2740 (sinh_tonearest_test_data): Likewise.
2741 (sinh_towardzero_test_data): Likewise.
2742 (sinh_downward_test_data): Likewise.
2743 (sinh_upward_test_data): Likewise.
2744 (sqrt_test_data): Likewise.
2745 (tan_test_data): Likewise.
2746 (tan_tonearest_test_data): Likewise.
2747 (tan_towardzero_test_data): Likewise.
2748 (tan_downward_test_data): Likewise.
2749 (tan_upward_test_data): Likewise.
2750 (tanh_test_data): Likewise.
2751 (tgamma_test_data): Likewise.
2752 (trunc_test_data): Likewise.
2753 (y0_test_data): Likewise.
2754 (y1_test_data): Likewise.
2755 (yn_test_data): Likewise.
2756 (significand_test_data): Likewise.
2757
b679a606
JM
2758 * math/gen-libm-test.pl (@functions): Remove variable.
2759 (generate_testfile): Don't handle START and END lines.
2760 * math/libm-test.inc (START): New macro.
2761 (END): Likewise.
2762 (END_COMPLEX): Likewise.
2763 (acos_test): Use END macro without arguments.
2764 (acos_test_tonearest): Likewise.
2765 (acos_test_towardzero): Likewise.
2766 (acos_test_downward): Likewise.
2767 (acos_test_upward): Likewise.
2768 (acosh_test): Likewise.
2769 (asin_test): Likewise.
2770 (asin_test_tonearest): Likewise.
2771 (asin_test_towardzero): Likewise.
2772 (asin_test_downward): Likewise.
2773 (asin_test_upward): Likewise.
2774 (asinh_test): Likewise.
2775 (atan_test): Likewise.
2776 (atanh_test): Likewise.
2777 (atan2_test): Likewise.
2778 (cabs_test): Likewise.
2779 (cacos_test): Use END_COMPLEX macro without arguments.
2780 (cacosh_test): Likewise.
2781 (carg_test): Use END macro without arguments.
2782 (casin_test): Use END_COMPLEX macro without arguments.
2783 (casinh_test): Likewise.
2784 (catan_test): Likewise.
2785 (catanh_test): Likewise.
2786 (cbrt_test): Use END macro without arguments.
2787 (ccos_test): Use END_COMPLEX macro without arguments.
2788 (ccosh_test): Likewise.
2789 (ceil_test): Use END macro without arguments.
2790 (cexp_test): Use END_COMPLEX macro without arguments.
2791 (cimag_test): Use END macro without arguments.
2792 (clog_test): Use END_COMPLEX macro without arguments.
2793 (clog10_test): Likewise.
2794 (conj_test): Likewise.
2795 (copysign_test): Use END macro without arguments.
2796 (cos_test): Likewise.
2797 (cos_test_tonearest): Likewise.
2798 (cos_test_towardzero): Likewise.
2799 (cos_test_downward): Likewise.
2800 (cos_test_upward): Likewise.
2801 (cosh_test): Likewise.
2802 (cosh_test_tonearest): Likewise.
2803 (cosh_test_towardzero): Likewise.
2804 (cosh_test_downward): Likewise.
2805 (cosh_test_upward): Likewise.
2806 (cpow_test): Use END_COMPLEX macro without arguments.
2807 (cproj_test): Likewise.
2808 (creal_test): Use END macro without arguments.
2809 (csin_test): Use END_COMPLEX macro without arguments.
2810 (csinh_test): Likewise.
2811 (csqrt_test): Likewise.
2812 (ctan_test): Likewise.
2813 (ctan_test_tonearest): Likewise.
2814 (ctan_test_towardzero): Likewise.
2815 (ctan_test_downward): Likewise.
2816 (ctan_test_upward): Likewise.
2817 (ctanh_test): Likewise.
2818 (ctanh_test_tonearest): Likewise.
2819 (ctanh_test_towardzero): Likewise.
2820 (ctanh_test_downward): Likewise.
2821 (ctanh_test_upward): Likewise.
2822 (erf_test): Use END macro without arguments.
2823 (erfc_test): Likewise.
2824 (exp_test): Likewise.
2825 (exp_test_tonearest): Likewise.
2826 (exp_test_towardzero): Likewise.
2827 (exp_test_downward): Likewise.
2828 (exp_test_upward): Likewise.
2829 (exp10_test): Likewise.
2830 (exp2_test): Likewise.
2831 (expm1_test): Likewise.
2832 (fabs_test): Likewise.
2833 (fdim_test): Likewise.
2834 (finite_test): Likewise.
2835 (floor_test): Likewise.
2836 (fma_test): Likewise.
2837 (fma_test_towardzero): Likewise.
2838 (fma_test_downward): Likewise.
2839 (fma_test_upward): Likewise.
2840 (fmax_test): Likewise.
2841 (fmin_test): Likewise.
2842 (fmod_test): Likewise.
2843 (fpclassify_test): Likewise.
2844 (frexp_test): Likewise.
2845 (gamma_test): Likewise.
2846 (hypot_test): Likewise.
2847 (ilogb_test): Likewise.
2848 (isfinite_test): Likewise.
2849 (isgreater_test): Likewise.
2850 (isgreaterequal_test): Likewise.
2851 (isinf_test): Likewise.
2852 (isless_test): Likewise.
2853 (islessequal_test): Likewise.
2854 (islessgreater_test): Likewise.
2855 (isnan_test): Likewise.
2856 (isnormal_test): Likewise.
2857 (issignaling_test): Likewise.
2858 (isunordered_test): Likewise.
2859 (j0_test): Likewise.
2860 (j1_test): Likewise.
2861 (jn_test): Likewise.
2862 (ldexp_test): Likewise.
2863 (lgamma_test): Likewise.
2864 (lrint_test): Likewise.
2865 (lrint_test_tonearest): Likewise.
2866 (lrint_test_towardzero): Likewise.
2867 (lrint_test_downward): Likewise.
2868 (lrint_test_upward): Likewise.
2869 (llrint_test): Likewise.
2870 (llrint_test_tonearest): Likewise.
2871 (llrint_test_towardzero): Likewise.
2872 (llrint_test_downward): Likewise.
2873 (llrint_test_upward): Likewise.
2874 (log_test): Likewise.
2875 (log10_test): Likewise.
2876 (log1p_test): Likewise.
2877 (log2_test): Likewise.
2878 (logb_test): Likewise.
2879 (logb_test_downward): Likewise.
2880 (lround_test): Likewise.
2881 (llround_test): Likewise.
2882 (modf_test): Likewise.
2883 (nearbyint_test): Likewise.
2884 (nextafter_test): Likewise.
2885 (nexttoward_test): Likewise.
2886 (pow_test): Likewise.
2887 (pow_test_tonearest): Likewise.
2888 (pow_test_towardzero): Likewise.
2889 (pow_test_downward): Likewise.
2890 (pow_test_upward): Likewise.
2891 (remainder_test): Likewise.
2892 (remainder_test_tonearest): Likewise.
2893 (remainder_test_towardzero): Likewise.
2894 (remainder_test_downward): Likewise.
2895 (remainder_test_upward): Likewise.
2896 (remquo_test): Likewise.
2897 (rint_test): Likewise.
2898 (rint_test_tonearest): Likewise.
2899 (rint_test_towardzero): Likewise.
2900 (rint_test_downward): Likewise.
2901 (rint_test_upward): Likewise.
2902 (round_test): Likewise.
2903 (scalb_test): Likewise.
2904 (scalbn_test): Likewise.
2905 (scalbln_test): Likewise.
2906 (signbit_test): Likewise.
2907 (sin_test): Likewise.
2908 (sin_test_tonearest): Likewise.
2909 (sin_test_towardzero): Likewise.
2910 (sin_test_downward): Likewise.
2911 (sin_test_upward): Likewise.
2912 (sincos_test): Likewise.
2913 (sinh_test): Likewise.
2914 (sinh_test_tonearest): Likewise.
2915 (sinh_test_towardzero): Likewise.
2916 (sinh_test_downward): Likewise.
2917 (sinh_test_upward): Likewise.
2918 (sqrt_test): Likewise.
2919 (tan_test): Likewise.
2920 (tan_test_tonearest): Likewise.
2921 (tan_test_towardzero): Likewise.
2922 (tan_test_downward): Likewise.
2923 (tan_test_upward): Likewise.
2924 (tanh_test): Likewise.
2925 (tgamma_test): Likewise.
2926 (trunc_test): Likewise.
2927 (y0_test): Likewise.
2928 (y1_test): Likewise.
2929 (yn_test): Likewise.
2930 (significand_test): Likewise.
2931
bae143d2
OB
29322013-05-24 Ondřej Bílka <neleai@seznam.cz>
2933
2934 [BZ #15381]
2935 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2936
9323d39b
EM
29372013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2938
d4ea44a0 2939 [BZ #14894]
9323d39b
EM
2940 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2941 __ppc_mdoio and __ppc_mdoom.
2942 * manual/platform.texi: Document new functions __ppc_yield,
2943 __ppc_mdoio and __ppc_mdoom.
2944
13e23af7
CD
29452013-05-22 Carlos O'Donell <carlos@redhat.com>
2946
2947 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2948 (main): Mention "tls" pseudo-hwcap is legacy.
2949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2950
351fe550
JM
29512013-05-22 Joseph Myers <joseph@codesourcery.com>
2952
2953 * math/gen-libm-test.pl (parse_args): Output only string of
2954 arguments as text for test name, not full call or descriptions of
2955 tests for extra outputs.
2956 (generate_testfile): Do not pass function name to parse_args.
2957 Generate this_func variable from START.
2958 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2959 field to arg_str.
2960 (struct test_ff_f_data): Likewise.
2961 (test_ff_f_data_nexttoward): Likewise.
2962 (struct test_fi_f_data): Likewise.
2963 (struct test_fl_f_data): Likewise.
2964 (struct test_if_f_data): Likewise.
2965 (struct test_fff_f_data): Likewise.
2966 (struct test_c_f_data): Likewise.
2967 (struct test_f_f1_data): Likewise. Remove field extra_name.
2968 (struct test_fF_f1_data): Likewise.
2969 (struct test_ffI_f1_data): Likewise.
2970 (struct test_c_c_data): Rename test_name field to arg_str.
2971 (struct test_cc_c_data): Likewise.
2972 (struct test_f_i_data): Likewise.
2973 (struct test_ff_i_data): Likewise.
2974 (struct test_f_l_data): Likewise.
2975 (struct test_f_L_data): Likewise.
2976 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2977 and extra2_name.
2978 (COMMON_TEST_SETUP): New macro.
2979 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2980 (COMMON_TEST_CLEANUP): Likewise.
2981 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2982 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2983 macros.
2984 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2985 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2986 macros.
2987 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2988 (RUN_TEST_fff_f): Take argument string. Call new setup and
2989 cleanup macros.
2990 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2991 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2992 macros.
2993 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2994 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2995 macros.
2996 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2997 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2998 cleanup macros.
2999 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3000 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3001 cleanup macros.
3002 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3003 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3004 cleanup macros.
3005 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3006 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3007 macros.
3008 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3009 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3010 macros.
3011 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3012 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3013 macros.
3014 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3015 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3016 cleanup macros.
3017 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3018 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3019 cleanup macros.
3020 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3021 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3022 macros.
3023 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3024 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3025 cleanup macros.
3026 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3027 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3028 macros.
3029 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3030 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3031 macros.
3032 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3033 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3034 cleanup macros.
3035 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3036
85118d4d
EBM
30372013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3038
3039 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3040 to _sifields.sigfault.
3041 (si_addr_lsb): Define new macro.
3042 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3043 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3044 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3045
7a44c18f
CD
30462013-05-03 Carlos O'Donell <carlos at redhat.com>
3047
3048 [BZ #15441]
3049 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3050 returns -1.
3051 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3052 null return -1.
3053 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3054 loading the domain.
3055
b50a7181
JM
30562013-05-22 Joseph Myers <joseph@codesourcery.com>
3057
3058 * math/gen-libm-test.pl (parse_args): Do not include expected
3059 result in test name.
3060 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3061 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3062 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3063 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3064 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3066
051063c8
SP
30672013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3068
3ce9e010
SP
3069 * benchtests/Makefile: Sort function entries.
3070
051063c8
SP
3071 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3072 tanh, asinh, acosh, atanh.
3073 * benchtests/acos-inputs: New file.
3074 * benchtests/acosh-inputs: New file.
3075 * benchtests/asin-inputs: New file.
3076 * benchtests/asinh-inputs: New file.
3077 * benchtests/atanh-inputs: New file.
3078 * benchtests/cosh-inputs: New file.
3079 * benchtests/log-inputs: New file.
3080 * benchtests/sinh-inputs: New file.
3081 * benchtests/tanh-inputs: New file.
3082
47c22455
DL
30832013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3084
3085 [BZ #15339]
3086 * posix/tst-getaddrinfo4.c: New test.
3087 * posix/Makefile (tests): Add it.
3088
3d04f5db
SP
30892013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3090
3091 [BZ #15339]
3092 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3093 when no services were used.
3094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3095 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3096
d5dd6189
AS
30972013-05-21 Andreas Schwab <schwab@suse.de>
3098
3099 [BZ #15014]
3100 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3101 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3102 successful.
3103 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3104 redundant variable declarations and reallocation of buffer when
3105 parsing as IPv6 address. Always set NSS status when called from
3106 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3107 buffer too small. Correct computation of needed size.
3108 * nss/Makefile (tests): Add test-digits-dots.
3109 * nss/test-digits-dots.c: New test.
3110
fef94eab
SP
31112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3112
3113 * benchtests/Makefile: Remove instructions for adding
3114 benchmark tests.
3115 * benchtests/README: New file to explain how to execute and
3116 enhance the benchmark tests.
3117
e39adf43
AS
31182013-05-21 Andreas Schwab <schwab@suse.de>
3119
3120 [BZ #15493]
3121 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3122 * setjmp/tst-sigsetjmp.c: New test.
3123
b2b671b6
OB
31242013-05-20 Ondřej Bílka <neleai@seznam.cz>
3125
3126 * sysdeps/x86_64/memset.S (memset): New implementation.
3127 (__bzero): Likewise.
3128 (__memset_tail): New function.
3129
2d48b41c
OB
31302013-05-20 Ondřej Bílka <neleai@seznam.cz>
3131
3132 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3133 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3134 __memcpy_sse2_unaligned ifunc selection.
3135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3136 Add memcpy-sse2-unaligned.S.
3137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3138 Add: __memcpy_sse2_unaligned.
3139
f16cc3eb
JM
31402013-05-19 Joseph Myers <joseph@codesourcery.com>
3141
3e694268
JM
3142 [BZ #15490]
3143 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3144 math_force_eval before restoring floating-point envrionment.
3145 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3147 Likewise.
3148 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3149 <math_private.h>.
3150 (__nearbyintl): Use math_force_eval before restoring
3151 floating-point environment.
3152 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3153
db62a907
JM
3154 * math/gen-libm-test.pl (special_functions): Remove.
3155 (parse_args): Don't handle TEST_extra. Handle functions with no
3156 return value.
3157 * math/libm-test.inc (struct test_sincos_data): Replace with
3158 struct test_fFF_11_data.
3159 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3160 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3161 (sincos_test_data): Change element type to struct
3162 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3163 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3164 RUN_TEST_LOOP_sincos.
3165 * math/README.libm-test: Don't mention special handling of
3166 individual functions.
3167 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3169 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3170 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3171 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3173
f16cc3eb
JM
3174 * math/gen-libm-test.pl (get_variable): Remove function.
3175 (parse_args): Don't show pointer parameters to call in test
3176 names. Use "extra output N" in test names for extra outputs
3177 rather than naming variables.
3178
3779b5b6
JM
31792013-05-18 Joseph Myers <joseph@codesourcery.com>
3180
2ee094ff
JM
3181 [BZ #15488]
3182 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3183 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3184 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3185 double tests.
3186 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3187 disable.
3188 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3189 check_long_double.
3190
3779b5b6
JM
3191 * math/gen-libm-test.pl (@tests): Remove variable.
3192 ($count): Likewise.
3193 (new_test): Remove function.
3194 (show_exceptions): New function.
3195 (special_functions): Use show_exceptions instead of new_test.
3196 (parse_args): Likewise.
3197 (generate_testfile): Pass only function name in generated call to
3198 print_max_error or print_complex_max_error.
3199 (get_ulps): Do not handle complex tests specially.
3200 (output_test): Rename to ...
3201 (get_all_ulps_for_test): ... this. Return a string rather than
3202 printing to a file. Require ulps to be present.
3203 (output_ulps): Generate arrays rather than #defines.
3204 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3205 (struct ulp_data): New type.
3206 (BUILD_COMPLEX_ULP): Remove macro.
3207 (compare_ulp_data): New function.
3208 (find_ulps): Likewise.
3209 (find_test_ulps): Likewise.
3210 (find_function_ulps): Likewise.
3211 (find_complex_function_ulps): Likewise.
3212 (print_max_error): Determine allowed ulps using
3213 find_function_ulps.
3214 (print_complex_max_error): Determine allowed ulps using
3215 find_complex_function_ulps.
3216 (check_float_internal): Determine max ulps using find_test_ulps.
3217 (check_float): Do not take max_ulp parameter. Update call to
3218 check_float_internal.
3219 (check_complex): Likewise.
3220 (check_int): Do not take max_ulp parameter.
3221 (check_long): Likewise.
3222 (check_bool): Likewise.
3223 (check_longlong): Likewise.
3224 (struct test_f_f_data): Remove max_ulp field.
3225 (struct test_ff_f_data): Likewise.
3226 (struct test_ff_f_data_nexttoward): Likewise.
3227 (struct test_fi_f_data): Likewise.
3228 (struct test_fl_f_data): Likewise.
3229 (struct test_if_f_data): Likewise.
3230 (struct test_fff_f_data): Likewise.
3231 (struct test_c_f_data): Likewise.
3232 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3233 (struct test_fF_f1_data): Likewise.
3234 (struct test_ffI_f1_data): Likewise.
3235 (struct test_c_c_data): Remove max_ulp field.
3236 (struct test_cc_c_data): Likewise.
3237 (struct test_f_i_data): Likewise.
3238 (struct test_ff_i_data): Likewise.
3239 (struct test_f_l_data): Likewise.
3240 (struct test_f_L_data): Likewise.
3241 (struct test_sincos_data): Likewise.
3242 (RUN_TEST_f_f): Do not handle ulps.
3243 (RUN_TEST_LOOP_f_f): Likewise.
3244 (RUN_TEST_2_f): Likewise.
3245 (RUN_TEST_LOOP_2_f): Likewise.
3246 (RUN_TEST_fff_f): Likewise.
3247 (RUN_TEST_LOOP_fff_f): Likewise.
3248 (RUN_TEST_c_f): Likewise.
3249 (RUN_TEST_LOOP_c_f): Likewise.
3250 (RUN_TEST_f_f1): Likewise.
3251 (RUN_TEST_LOOP_f_f1): Likewise.
3252 (RUN_TEST_fF_f1): Likewise.
3253 (RUN_TEST_LOOP_fF_f1): Likewise.
3254 (RUN_TEST_fI_f1): Likewise.
3255 (RUN_TEST_LOOP_fI_f1): Likewise.
3256 (RUN_TEST_ffI_f1): Likewise.
3257 (RUN_TEST_LOOP_ffI_f1): Likewise.
3258 (RUN_TEST_c_c): Likewise.
3259 (RUN_TEST_LOOP_c_c): Likewise.
3260 (RUN_TEST_cc_c): Likewise.
3261 (RUN_TEST_LOOP_cc_c): Likewise.
3262 (RUN_TEST_f_i): Likewise.
3263 (RUN_TEST_LOOP_f_i): Likewise.
3264 (RUN_TEST_f_i_tg): Likewise.
3265 (RUN_TEST_LOOP_f_i_tg): Likewise.
3266 (RUN_TEST_ff_i_tg): Likewise.
3267 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3268 (RUN_TEST_f_b): Likewise.
3269 (RUN_TEST_LOOP_f_b): Likewise.
3270 (RUN_TEST_f_b_tg): Likewise.
3271 (RUN_TEST_LOOP_f_b_tg): Likewise.
3272 (RUN_TEST_f_l): Likewise.
3273 (RUN_TEST_LOOP_f_l): Likewise.
3274 (RUN_TEST_f_L): Likewise.
3275 (RUN_TEST_LOOP_f_L): Likewise.
3276 (RUN_TEST_sincos): Likewise.
3277 (RUN_TEST_LOOP_sincos): Likewise.
3278
8269107f
JM
32792013-05-17 Joseph Myers <joseph@codesourcery.com>
3280
bb38759d
JM
3281 [BZ #15480]
3282 [BZ #15485]
3283 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3284 main case of finite arguments, set rounding mode to FE_TONEAREST
3285 and discard exceptions.
3286 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3287 exceptions.
3288 (remainder_tonearest_test_data): New variable.
3289 (remainder_test_tonearest): New function.
3290 (remainder_towardzero_test_data): New variable.
3291 (remainder_test_towardzero): New function.
3292 (remainder_downward_test_data): New variable.
3293 (remainder_test_downward): New function.
3294 (remainder_upward_test_data): New variable.
3295 (remainder_test_upward): New function.
3296 (main): Call the new test functions.
3297
a00bdcf0
JM
3298 * math/libm-test.inc (struct test_f_f1_data): Remove field
3299 extra_init.
3300 (struct test_fF_f1_data): Likewise.
3301 (struct test_ffI_f1_data): Likewise.
3302 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3303 based on value of EXTRA_EXPECTED.
3304 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3305 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3306 EXTRA_VAR based on value of EXTRA_EXPECTED.
3307 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3308 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3309 EXTRA_VAR based on value of EXTRA_EXPECTED.
3310 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3311 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3312 EXTRA_VAR based on value of EXTRA_EXPECTED.
3313 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3314 * math/gen-libm-test.pl (parse_args): Don't output initializers
3315 for extra output values.
3316
de407f79
JM
3317 * math/libm-test.inc (check_int): Expect result to be exactly
3318 equal to expected value and do not handle ulps.
3319 (check_long): Likewise.
3320 (check_longlong): Likewise.
3321
8269107f
JM
3322 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3323 exceptions.
3324 (cimag_test_data): Likewise.
3325 (conj_test_data): Likewise.
3326 (copysign_test_data): Likewise.
3327 (cproj_test_data): Likewise.
3328 (creal_test_data): Likewise.
3329 (fabs_test_data): Likewise.
3330 (fdim_test_data): Likewise.
3331 (finite_test_data): Likewise.
3332 (floor_test_data): Likewise.
3333 (fmax_test_data): Likewise.
3334 (fmin_test_data): Likewise.
3335 (fmod_test_data): Likewise.
3336 (fpclassify_test_data): Likewise.
3337 (frexp_test_data): Likewise.
3338 (ilogb_test_data): Likewise.
3339 (isfinite_test_data): Likewise.
3340 (isgreater_test_data): Likewise.
3341 (isgreaterequal_test_data): Likewise.
3342 (isinf_test_data): Likewise.
3343 (isless_test_data): Likewise.
3344 (islessequal_test_data): Likewise.
3345 (islessgreater_test_data): Likewise.
3346 (isnan_test_data): Likewise.
3347 (isnormal_test_data): Likewise.
3348 (issignaling_test_data): Likewise.
3349 (isunordered_test_data): Likewise.
3350 (ldexp_test_data): Likewise.
3351 (lrint_test_data): Likewise.
3352 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3353 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3354 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3355 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3356 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3357 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3358 test input.
3359 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3360 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3361 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3362 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3363 that test input.
3364 (lrint_downward_test_data): Test for "inexact" exceptions.
3365 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3366 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3367 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3368 test input.
3369 (lrint_upward_test_data): Test for "inexact" exceptions.
3370 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3371 test input.
3372 (llrint_test_data): Test for "inexact" exceptions.
3373 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3374 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3375 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3376 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3377 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3378 (llrint_downward_test_data): Test for "inexact" exceptions.
3379 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3380 (llrint_upward_test_data): Test for "inexact" exceptions.
3381 (logb_test_data): Likewise.
3382 (logb_downward_test_data): Likewise.
3383 (nextafter_test_data): Likewise.
3384 (nexttoward_test_data): Likewise.
3385 (remainder_test_data): Likewise.
3386 (remquo_test_data): Likewise.
3387 (scalbn_test_data): Likewise.
3388 (scalbln_test_data): Likewise.
3389 (signbit_test_data): Likewise.
3390 (sqrt_test_data): Likewise.
3391 (significand_test_data): Likewise.
3392
48a18de1
SP
33932013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3394
3395 [BZ #15424]
3396 * benchtests/bench-modf.c (struct args): Mark arg0 as
3397 volatile.
3398 * scripts/bench.pl: Mark members of struct args as volatile.
3399
13d3b41a
AZ
34002013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3401
68191c1d 3402 [BZ # 15497]
13d3b41a
AZ
3403 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3404 negative infinity on POWER6 or lower.
3405 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3406
2848b105
MR
34072013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3408
3409 [BZ #15442]
3410 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3411 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3412 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3413 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3414 (_FP_SETQNAN): New macro.
3415 (_FP_SETQNAN_SEMIRAW): Likewise.
3416 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3417 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3418 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3419 (FP_EXTEND): Use _FP_FRAC_SNANP.
3420 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3421 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3422 into account.
3423 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3424 New macro.
3425 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3426 Likewise.
3427
323e5cb7
JM
34282013-05-16 Joseph Myers <joseph@codesourcery.com>
3429
c58b274f
JM
3430 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3431 with DIVIDE_BY_ZERO_EXCEPTION.
3432 (gamma_test_data): Likewise.
3433 (lgamma_test_data): Likewise.
3434 (log_test_data): Likewise.
3435 (log10_test_data): Likewise.
3436 (log2_test_data): Likewise.
3437 (tgamma_test_data): Likewise.
3438
0ab34904
JM
3439 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3440 (acos_test_tonearest): Likewise.
3441 (acos_test_towardzero): Likewise.
3442 (acos_test_downward): Likewise.
3443 (acos_test_upward): Likewise.
3444 (acosh_test): Likewise.
3445 (asin_test): Likewise.
3446 (asin_test_tonearest): Likewise.
3447 (asin_test_towardzero): Likewise.
3448 (asin_test_downward): Likewise.
3449 (asin_test_upward): Likewise.
3450 (asinh_test): Likewise.
3451 (atan_test): Likewise.
3452 (atanh_test): Likewise.
3453 (atan2_test): Likewise.
3454 (cabs_test): Likewise.
3455 (cacos_test): Likewise.
3456 (cacosh_test): Likewise.
3457 (casin_test): Likewise.
3458 (casinh_test): Likewise.
3459 (catan_test): Likewise.
3460 (catanh_test): Likewise.
3461 (cbrt_test): Likewise.
3462 (ccos_test): Likewise.
3463 (ccosh_test): Likewise.
3464 (cexp_test): Likewise.
3465 (clog_test): Likewise.
3466 (clog10_test): Likewise.
3467 (cos_test): Likewise.
3468 (cos_test_tonearest): Likewise.
3469 (cos_test_towardzero): Likewise.
3470 (cos_test_downward): Likewise.
3471 (cos_test_upward): Likewise.
3472 (cosh_test): Likewise.
3473 (cosh_test_tonearest): Likewise.
3474 (cosh_test_towardzero): Likewise.
3475 (cosh_test_downward): Likewise.
3476 (cosh_test_upward): Likewise.
3477 (cpow_test): Likewise.
3478 (csin_test): Likewise.
3479 (csinh_test): Likewise.
3480 (csqrt_test): Likewise.
3481 (ctan_test): Likewise.
3482 (ctan_test_tonearest): Likewise.
3483 (ctan_test_towardzero): Likewise.
3484 (ctan_test_downward): Likewise.
3485 (ctan_test_upward): Likewise.
3486 (ctanh_test): Likewise.
3487 (ctanh_test_tonearest): Likewise.
3488 (ctanh_test_towardzero): Likewise.
3489 (ctanh_test_downward): Likewise.
3490 (ctanh_test_upward): Likewise.
3491 (erf_test): Likewise.
3492 (erfc_test): Likewise.
3493 (exp_test): Likewise.
3494 (exp_test_tonearest): Likewise.
3495 (exp_test_towardzero): Likewise.
3496 (exp_test_downward): Likewise.
3497 (exp_test_upward): Likewise.
3498 (exp10_test): Likewise.
3499 (exp2_test): Likewise.
3500 (expm1_test): Likewise.
3501 (fmod_test): Likewise.
3502 (gamma_test): Likewise.
3503 (hypot_test): Likewise.
3504 (j0_test): Likewise.
3505 (j1_test): Likewise.
3506 (jn_test): Likewise.
3507 (lgamma_test): Likewise.
3508 (log_test): Likewise.
3509 (log10_test): Likewise.
3510 (log1p_test): Likewise.
3511 (log2_test): Likewise.
3512 (logb_test_downward): Likewise.
3513 (pow_test): Likewise.
3514 (pow_test_tonearest): Likewise.
3515 (pow_test_towardzero): Likewise.
3516 (pow_test_downward): Likewise.
3517 (pow_test_upward): Likewise.
3518 (remainder_test): Likewise.
3519 (remquo_test): Likewise.
3520 (sin_test): Likewise.
3521 (sin_test_tonearest): Likewise.
3522 (sin_test_towardzero): Likewise.
3523 (sin_test_downward): Likewise.
3524 (sin_test_upward): Likewise.
3525 (sincos_test): Likewise.
3526 (sinh_test): Likewise.
3527 (sinh_test_tonearest): Likewise.
3528 (sinh_test_towardzero): Likewise.
3529 (sinh_test_downward): Likewise.
3530 (sinh_test_upward): Likewise.
3531 (sqrt_test): Likewise.
3532 (tan_test): Likewise.
3533 (tan_test_tonearest): Likewise.
3534 (tan_test_towardzero): Likewise.
3535 (tan_test_downward): Likewise.
3536 (tan_test_upward): Likewise.
3537 (tanh_test): Likewise.
3538 (tgamma_test): Likewise.
3539 (y0_test): Likewise.
3540 (y1_test): Likewise.
3541 (yn_test): Likewise.
3542
323e5cb7
JM
3543 * math/gen-libm-test.pl (adjust_arg): Remove function.
3544 (special_function): Remove argument $in_func. Only handle
3545 generating output for tables of tests, not inside functions.
3546 (parse_args): Likewise.
3547 (generate_testfile): Remove variable $in_func. Update call to
3548 parse_args.
3549 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3550 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3551 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3552 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3553 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3554 (MAX_VALUE_INIT): Rename macro to max_value.
3555 (MIN_VALUE_INIT): Rename macro to min_value.
3556 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3557 (plus_zero): Remove variable.
3558 (minus_zero): Likewise.
3559 (plus_infty): Likewise.
3560 (minus_infty): Likewise.
3561 (qnan_value): Likewise.
3562 (max_value): Likewise.
3563 (min_value): Likewise.
3564 (min_subnorm_value): Likewise.
3565
e054f494
RA
35662013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3567
3568 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3569 uint64_t or uint32_t usage.
3570 * crypt/sha256-block.c: Likewise.
3571 * crypt/sha256-crypt.c: Likewise.
3572 * crypt/sha256.c: Likewise.
3573 * crypt/sha512-block.c: Likewise.
3574 * crypt/sha512-crypt.c: Likewise.
3575 * crypt/sha512.c: Likewise.
3576 * debug/backtrace-tst.c: Likewise.
3577 * debug/pcprofiledump.c: Likewise.
3578 * elf/cache.c: Likewise.
3579 * elf/dl-cache.c: Likewise.
3580 * elf/dl-misc.c: Likewise.
3581 * elf/dl-profile.c: Likewise.
3582 * elf/dl-support.c: Likewise.
3583 * elf/ldconfig.c: Likewise.
3584 * elf/sprof.c: Likewise.
3585 * iconv/dummy-repertoire.c: Likewise.
3586 * iconv/iconv_charmap.c: Likewise.
3587 * iconv/skeleton.c: Likewise.
3588 * iconvdata/8bit-generic.c: Likewise.
3589 * iconvdata/cp737.h: Likewise.
3590 * iconvdata/cp775.h: Likewise.
3591 * iconvdata/ibm1008.h: Likewise.
3592 * iconvdata/ibm1025.h: Likewise.
3593 * iconvdata/ibm1046.h: Likewise.
3594 * iconvdata/ibm1097.h: Likewise.
3595 * iconvdata/ibm1112.h: Likewise.
3596 * iconvdata/ibm1122.h: Likewise.
3597 * iconvdata/ibm1123.h: Likewise.
3598 * iconvdata/ibm1124.h: Likewise.
3599 * iconvdata/ibm1129.h: Likewise.
3600 * iconvdata/ibm1130.h: Likewise.
3601 * iconvdata/ibm1132.h: Likewise.
3602 * iconvdata/ibm1133.h: Likewise.
3603 * iconvdata/ibm1137.h: Likewise.
3604 * iconvdata/ibm1140.h: Likewise.
3605 * iconvdata/ibm1141.h: Likewise.
3606 * iconvdata/ibm1142.h: Likewise.
3607 * iconvdata/ibm1143.h: Likewise.
3608 * iconvdata/ibm1144.h: Likewise.
3609 * iconvdata/ibm1145.h: Likewise.
3610 * iconvdata/ibm1146.h: Likewise.
3611 * iconvdata/ibm1147.h: Likewise.
3612 * iconvdata/ibm1148.h: Likewise.
3613 * iconvdata/ibm1149.h: Likewise.
3614 * iconvdata/ibm1153.h: Likewise.
3615 * iconvdata/ibm1154.h: Likewise.
3616 * iconvdata/ibm1155.h: Likewise.
3617 * iconvdata/ibm1156.h: Likewise.
3618 * iconvdata/ibm1157.h: Likewise.
3619 * iconvdata/ibm1158.h: Likewise.
3620 * iconvdata/ibm1160.h: Likewise.
3621 * iconvdata/ibm1161.h: Likewise.
3622 * iconvdata/ibm1162.h: Likewise.
3623 * iconvdata/ibm1163.h: Likewise.
3624 * iconvdata/ibm1164.h: Likewise.
3625 * iconvdata/ibm1166.h: Likewise.
3626 * iconvdata/ibm1167.h: Likewise.
3627 * iconvdata/ibm12712.h: Likewise.
3628 * iconvdata/ibm1390.h: Likewise.
3629 * iconvdata/ibm1399.h: Likewise.
3630 * iconvdata/ibm16804.h: Likewise.
3631 * iconvdata/ibm4517.h: Likewise.
3632 * iconvdata/ibm4899.h: Likewise.
3633 * iconvdata/ibm4909.h: Likewise.
3634 * iconvdata/ibm4971.h: Likewise.
3635 * iconvdata/ibm5347.h: Likewise.
3636 * iconvdata/ibm803.h: Likewise.
3637 * iconvdata/ibm856.h: Likewise.
3638 * iconvdata/ibm901.h: Likewise.
3639 * iconvdata/ibm902.h: Likewise.
3640 * iconvdata/ibm9030.h: Likewise.
3641 * iconvdata/ibm9066.h: Likewise.
3642 * iconvdata/ibm921.h: Likewise.
3643 * iconvdata/ibm922.h: Likewise.
3644 * iconvdata/ibm9448.h: Likewise.
3645 * iconvdata/isiri-3342.h: Likewise.
3646 * iconvdata/jis0201.h: Likewise.
3647 * include/link.h: Likewise.
3648 * include/netdb.h: Likewise.
3649 * inet/check_native.c: Likewise.
3650 * inet/check_pf.c: Likewise.
3651 * inet/getipv4sourcefilter.c: Likewise.
3652 * inet/getnameinfo.c: Likewise.
3653 * inet/getsourcefilter.c: Likewise.
3654 * inet/htonl.c: Likewise.
3655 * inet/setipv4sourcefilter.c: Likewise.
3656 * inet/setsourcefilter.c: Likewise.
3657 * inet/test-inet6_opt.c: Likewise.
3658 * inet/tst-network.c: Likewise.
3659 * locale/C-collate.c: Likewise.
3660 * locale/C-ctype.c: Likewise.
3661 * locale/C-time.c: Likewise.
3662 * locale/C-translit.h: Likewise.
3663 * locale/loadarchive.c: Likewise.
3664 * locale/programs/3level.h: Likewise.
3665 * locale/programs/charmap.c: Likewise.
3666 * locale/programs/charmap.h: Likewise.
3667 * locale/programs/ld-address.c: Likewise.
3668 * locale/programs/ld-collate.c: Likewise.
3669 * locale/programs/ld-ctype.c: Likewise.
3670 * locale/programs/ld-identification.c: Likewise.
3671 * locale/programs/ld-measurement.c: Likewise.
3672 * locale/programs/ld-messages.c: Likewise.
3673 * locale/programs/ld-monetary.c: Likewise.
3674 * locale/programs/ld-name.c: Likewise.
3675 * locale/programs/ld-numeric.c: Likewise.
3676 * locale/programs/ld-paper.c: Likewise.
3677 * locale/programs/ld-telephone.c: Likewise.
3678 * locale/programs/ld-time.c: Likewise.
3679 * locale/programs/linereader.c: Likewise.
3680 * locale/programs/locale.c: Likewise.
3681 * locale/programs/locarchive.c: Likewise.
3682 * locale/programs/locfile.h: Likewise.
3683 * locale/programs/repertoire.c: Likewise.
3684 * locale/programs/simple-hash.c: Likewise.
3685 * locale/programs/simple-hash.h: Likewise.
3686 * malloc/memusage.c: Likewise.
3687 * malloc/memusagestat.c: Likewise.
3688 * nis/nis_defaults.c: Likewise.
3689 * nis/nis_hash.c: Likewise.
3690 * nis/nis_print.c: Likewise.
3691 * nis/nis_xdr.c: Likewise.
3692 * nscd/connections.c: Likewise.
3693 * nscd/hstcache.c: Likewise.
3694 * nscd/nscd_gethst_r.c: Likewise.
3695 * nscd/nscd_getserv_r.c: Likewise.
3696 * nscd/nscd_helper.c: Likewise.
3697 * nscd/servicescache.c: Likewise.
3698 * nss/makedb.c: Likewise.
3699 * nss/nss_db/db-XXX.c: Likewise.
3700 * nss/nss_db/db-initgroups.c: Likewise.
3701 * nss/nss_db/db-netgrp.c: Likewise.
3702 * nss/nss_files/files-network.c: Likewise.
3703 * nss/nss_files/files-parse.c: Likewise.
3704 * posix/bug-regex5.c: Likewise.
3705 * posix/fnmatch_loop.c: Likewise.
3706 * posix/regcomp.c: Likewise.
3707 * posix/regexec.c: Likewise.
3708 * posix/tst-rfc3484-2.c: Likewise.
3709 * posix/tst-rfc3484-3.c: Likewise.
3710 * posix/tst-rfc3484.c: Likewise.
3711 * resolv/nss_dns/dns-canon.c: Likewise.
3712 * resolv/nss_dns/dns-network.c: Likewise.
3713 * resolv/res_init.c: Likewise.
3714 * resolv/res_mkquery.c: Likewise.
3715 * resolv/tst-aton.c: Likewise.
3716 * stdlib/cxa_atexit.c: Likewise.
3717 * stdlib/cxa_finalize.c: Likewise.
3718 * stdlib/gen-fpioconst.c: Likewise.
3719 * stdlib/strtol_l.c: Likewise.
3720 * string/tst-endian.c: Likewise.
3721 * sunrpc/auth_des.c: Likewise.
3722 * sunrpc/clnt_udp.c: Likewise.
3723 * sunrpc/rtime.c: Likewise.
3724 * sunrpc/svcauth_des.c: Likewise.
3725 * sunrpc/xdr.c: Likewise.
3726 * sunrpc/xdr_intXX_t.c: Likewise.
3727 * sunrpc/xdr_rec.c: Likewise.
3728 * sysdeps/generic/ldconfig.h: Likewise.
3729 * sysdeps/generic/ldsodefs.h: Likewise.
3730 * sysdeps/generic/memusage.h: Likewise.
3731 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3741 * sysdeps/posix/getaddrinfo.c: Likewise.
3742 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3743 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3744 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3745 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3746 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3747 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3748 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3749 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3750 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3751 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3752 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3753 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3754 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3755 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3756 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3757 * sysdeps/x86_64/dl-tls.h: Likewise.
3758 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3759 * time/alt_digit.c: Likewise.
3760 * time/era.c: Likewise.
3761 * wcsmbs/tst-c16c32-1.c: Likewise.
3762
8c75f674
JM
37632013-05-16 Joseph Myers <joseph@codesourcery.com>
3764
3765 * math/libm-test.inc (struct test_sincos_data): New type.
3766 (RUN_TEST_LOOP_sincos): New macro.
3767 (sincos_test_data): New variable.
3768 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3769
e6e49e59
RH
37702013-05-16 Richard Henderson <rth@redhat.com>
3771
3772 * math/atest-exp2.c (LIMB64): New macro.
3773 (CONSTSZ): New macro.
3774 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3775 (hexdig): Move ...
3776 (print_mpn_fp): ... to function scope.
3777 (read_mpn_hex): Remove.
3778 (get_log2): Remove.
3779 (exp2_mpn): Use mp_log2.
3780 (main): Use mp_exp1.
3781
15c7c18d
JM
37822013-05-16 Joseph Myers <joseph@codesourcery.com>
3783
105a07df
JM
3784 * math/libm-test.inc: Remove comment about not testing "inexact"
3785 exceptions.
3786 (INEXACT_EXCEPTION): New macro.
3787 (NO_INEXACT_EXCEPTION): Likewise.
3788 (INVALID_EXCEPTION_OK): Update value.
3789 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3790 (OVERFLOW_EXCEPTION_OK): Likewise.
3791 (UNDERFLOW_EXCEPTION_OK): Likewise.
3792 (IGNORE_ZERO_INF_SIGN): Likewise.
3793 (ERRNO_UNCHANGED): Likewise.
3794 (ERRNO_EDOM): Likewise.
3795 (ERRNO_ERANGE): Likewise.
3796 (test_exceptions): Handle testing "inexact" exceptions.
3797 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3798 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3799 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3800 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3801 INEXACT_EXCEPTION.
3802 (rint_towardzero_test_data): Likewise.
3803 (rint_downward_test_data): Likewise.
3804 (rint_upward_test_data): Likewise.
3805
e9eee333
JM
3806 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3807 with OVERFLOW_EXCEPTION.
3808 (exp10_test_data): Likewise.
3809 (exp2_test_data): Likewise.
3810 (expm1_test_data): Likewise.
3811 (lgamma_test_data): Likewise.
3812 (pow_test_data): Likewise.
3813 (tgamma_test_data): Likewise.
3814 (yn_test_data): Remove duplicate test of overflow.
3815
1c38ff73
JM
3816 * math/libm-test.inc (struct test_cc_c_data): New type.
3817 (RUN_TEST_LOOP_cc_c): New macro.
3818 (cpow_test_data): New variable.
3819 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3820
15c7c18d
JM
3821 * math/libm-test.inc (struct test_f_L_data): New type.
3822 (RUN_TEST_LOOP_f_L): New macro.
3823 (llrint_test_data): New variable.
3824 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3825 (llrint_tonearest_test_data): New variable.
3826 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3827 (llrint_towardzero_test_data): New variable.
3828 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3829 (llrint_downward_test_data): New variable.
3830 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3831 (llrint_upward_test_data): New variable.
3832 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3833 (llround_test_data): New variable.
3834 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3835
f137ff13
PC
38362013-05-13 Peter Collingbourne <pcc@google.com>
3837
3838 * math/atest-exp2.c (get_log2): Remove const attribute.
3839
3608cb24
JM
38402013-05-15 Joseph Myers <joseph@codesourcery.com>
3841
3842 * math/libm-test.inc (struct test_f_l_data): New type.
3843 (RUN_TEST_LOOP_f_l): New macro.
3844 (lrint_test_data): New variable.
3845 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3846 (lrint_tonearest_test_data): New variable.
3847 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3848 (lrint_towardzero_test_data): New variable.
3849 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3850 (lrint_downward_test_data): New variable.
3851 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3852 (lrint_upward_test_data): New variable.
3853 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3854 (lround_test_data): New variable.
3855 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3856
39b1f617
PC
38572013-05-15 Peter Collingbourne <pcc@google.com>
3858
1deff3dc
PC
3859 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3860 (EXTRACT_WORDS64) Use where appropriate.
3861 (INSERT_WORDS64) Likewise.
3862
791f3ba0
PC
3863 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3864 constraints with x constraints.
3865 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3866
39b1f617
PC
3867 * malloc/obstack.c (_obstack_compat): Add initializer.
3868
12fba011
EM
38692013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3870
3871 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3872 si_trapno and add si_addr_lsb to _sifields.sigfault.
3873 (si_trapno): Remove macro.
3874 (si_addr_lsb): Define new macro.
3875 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3876
d369f531
JM
38772013-05-15 Joseph Myers <joseph@codesourcery.com>
3878
b861c6c4
JM
3879 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3880 instead of TEST_f_l.
3881 (llrint_test_tonearest): Likewise.
3882 (llrint_test_towardzero): Likewise.
3883 (llrint_test_downward): Likewise.
3884 (llrint_test_upward): Likewise.
3885 (llround_test): Likewise.
3886
7abeee12
JM
3887 * math/libm-test.inc (struct test_f_i_data): Add comment.
3888 (RUN_TEST_LOOP_f_b): New macro.
3889 (RUN_TEST_LOOP_f_b_tg): Likewise.
3890 (finite_test_data): New variable.
3891 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3892 (isfinite_test_data): New variable.
3893 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3894 (isinf_test_data): New variable.
3895 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3896 (isnan_test_data): New variable.
3897 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3898 (isnormal_test_data): New variable.
3899 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3900 (issignaling_test_data): New variable.
3901 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3902 (signbit_test_data): New variable.
3903 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3904
cbe8c4d3
JM
3905 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3906 with INVALID_EXCEPTION.
3907 (acosh_test_data): Likewise.
3908 (asin_test_data): Likewise.
3909 (atanh_test_data): Likewise.
3910 (fmod_test_data): Likewise.
3911 (log_test_data): Likewise.
3912 (log10_test_data): Likewise.
3913 (log2_test_data): Likewise.
3914 (pow_test_data): Likewise.
3915 (sqrt_test_data): Likewise.
3916 (y0_test_data): Likewise.
3917 (y1_test_data): Likewise.
3918 (yn_test_data): Likewise.
3919
5575c0e5
JM
3920 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3921 function contents.
3922
d369f531
JM
3923 * math/libm-test.inc (struct test_ff_i_data): New type.
3924 (RUN_TEST_LOOP_ff_i_tg): New macro.
3925 (isgreater_test_data): New variable.
3926 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3927 (isgreaterequal_test_data): New variable.
3928 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3929 (isless_test_data): New variable.
3930 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3931 (islessequal_test_data): New variable.
3932 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3933 (islessgreater_test_data): New variable.
3934 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3935 (isunordered_test_data): New variable.
3936 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3937
781fd748
DM
39382013-05-14 David S. Miller <davem@davemloft.net>
3939
3940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3941
87aa21df
JM
39422013-05-14 Joseph Myers <joseph@codesourcery.com>
3943
5e908270
JM
3944 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3945
f71172e5
JM
3946 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3947 extra_test to int.
3948 (struct test_f_i_data): Change type of max_ulp to int.
3949
8cfa635a
JM
3950 * math/libm-test.inc (test_ffI_f1_data): New type.
3951 (RUN_TEST_LOOP_ffI_f1): New macro.
3952 (remquo_test_data): New variable.
3953 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3954
2bcb36b2
JM
3955 * setjmp/tst-setjmp-fp.c: New file.
3956 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3957 (link-libm): New variable.
3958 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3959
acbd839a
JM
3960 * math/libm-test.inc (struct test_f_i_data): New type.
3961 (RUN_TEST_LOOP_f_i): New macro.
3962 (RUN_TEST_LOOP_f_i_tg): Likewise.
3963 (fpclassify_test_data): New variable.
3964 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3965 (ilogb_test_data): New variable.
3966 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3967
e414d745
JM
3968 * math/libm-test.inc (scalbln_test): Correct function name in END
3969 call.
3970
d9c2a0fd
JM
3971 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3972 (RUN_TEST_LOOP_fI_f1): New macro.
3973 (frexp_test_data): New variable.
3974 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3975
9dc9095d
JM
3976 * math/libm-test.inc (struct test_fF_f1_data): New type.
3977 (RUN_TEST_LOOP_fF_f1): New macro.
3978 (modf_test_data): New variable.
3979 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3980
87aa21df
JM
3981 * math/libm-test.inc (struct test_f_f1_data): New type.
3982 (RUN_TEST_LOOP_f_f1): New macro.
3983 (gamma_test_data): New variable.
3984 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3985 (lgamma_test_data): New variable.
3986 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3987
141af660
CD
39882013-05-13 Carlos O'Donell <carlos@redhat.com>
3989
3990 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3991 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3992 (main): Comment "tls" pseudo-hwcap.
3993
6d33265c
JM
39942013-05-13 Joseph Myers <joseph@codesourcery.com>
3995
68fc074c
JM
3996 * math/libm-test.inc (struct test_fl_f_data): New type.
3997 (RUN_TEST_LOOP_fl_f): New variable.
3998 (scalbln_test_data): New variable.
3999 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4000
243216e1
JM
4001 * math/libm-test.inc (struct test_fi_f_data): New type.
4002 (RUN_TEST_LOOP_fi_f): New macro.
4003 (ldexp_test_data): New variable.
4004 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4005 (scalbn_test_data): New variable.
4006 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4007
6a1992e2
JM
4008 * math/libm-test.inc (struct test_c_f_data): New type.
4009 (RUN_TEST_LOOP_c_f): New macro.
4010 (cabs_test_data): New variable.
4011 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4012 (carg_test_data): New variable.
4013 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4014 (cimag_test_data): New variable.
4015 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4016 (creal_test_data): New variable.
4017 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4018
0e400df5
JM
4019 * math/libm-test.inc (struct test_if_f_data): New type.
4020 (RUN_TEST_LOOP_if_f): New macro.
4021 (jn_test_data): New variable.
4022 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4023 (yn_test_data): New variable.
4024 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4025
6d33265c
JM
4026 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4027
f98ece5f
AZ
40282013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029
4030 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4031 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4032
0f7d347b
SP
40332013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4034
43fe811b
SP
4035 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4036 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4037 (bench-deps): Add bench-timing.h.
4038 * benchtests-bench-skeleton.c: Include bench-timing.h.
4039 (main): Use TIMING_* macros instead of clock_gettime.
4040 * benchtests/bench-timing.h: New file.
4041
0f7d347b
SP
4042 [BZ #14582]
4043 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4044 Renamed from _LIB_VERSION.
4045 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4046
601a3a5f
JM
40472013-05-12 Joseph Myers <joseph@codesourcery.com>
4048
4f184d30
JM
4049 * math/libm-test.inc (struct test_fff_f_data): New type.
4050 (RUN_TEST_LOOP_fff_f): New macro.
4051 (fma_test_data): New variable.
4052 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4053 (fma_towardzero_test_data): New variable.
4054 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4055 (fma_downward_test_data): New variable.
4056 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4057 (fma_upward_test_data): New variable.
4058 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4059
08198877
JM
4060 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4061 (struct test_c_c_data): New type.
4062 (RUN_TEST_LOOP_c_c): New macro.
4063 (cacos_test_data): New variable.
4064 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4065 (cacosh_test_data): New variable.
4066 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4067 (casin_test_data): New variable.
4068 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4069 (casinh_test_data): New variable.
4070 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4071 (catan_test_data): New variable.
4072 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4073 (catanh_test_data): New variable.
4074 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4075 (ccos_test_data): New variable.
4076 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4077 (ccosh_test_data): New variable.
4078 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4079 (cexp_test_data): New variable.
4080 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4081 (clog_test_data): New variable.
4082 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4083 (clog10_test_data): New variable.
4084 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4085 (conj_test_data): New variable.
4086 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4087 (cproj_test_data): New variable.
4088 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4089 (csin_test_data): New variable.
4090 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4091 (csinh_test_data): New variable.
4092 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4093 (csqrt_test_data): New variable.
4094 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4095 (ctan_test_data): New variable.
4096 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4097 (ctan_tonearest_test_data): New variable.
4098 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4099 (ctan_towardzero_test_data): New variable.
4100 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4101 (ctan_downward_test_data): New variable.
4102 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4103 (ctan_upward_test_data): New variable.
4104 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4105 (ctanh_test_data): New variable.
4106 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4107 (ctanh_tonearest_test_data): New variable.
4108 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4109 (ctanh_towardzero_test_data): New variable.
4110 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4111 (ctanh_downward_test_data): New variable.
4112 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4113 (ctanh_upward_test_data): New variable.
4114 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4115 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4116 of BUILD_COMPLEX.
4117
601a3a5f
JM
4118 * math/libm-test.inc (struct test_ff_f_data): New type.
4119 (struct test_ff_f_data_nexttoward): Likewise.
4120 (RUN_TEST_LOOP_2_f): New macro.
4121 (RUN_TEST_LOOP_ff_f): Likewise.
4122 (atan2_test_data): New variable.
4123 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4124 (copysign_test_data): New variable.
4125 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4126 (fdim_test_data): New variable.
4127 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4128 (fmax_test_data): New variable.
4129 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4130 (fmin_test_data): New variable.
4131 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4132 (fmod_test_data): New variable.
4133 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4134 (hypot_test_data): New variable.
4135 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4136 (nextafter_test_data): New variable.
4137 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4138 (nexttoward_test_data): New variable.
4139 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4140 (pow_test_data): New variable.
4141 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4142 (pow_tonearest_test_data): New variable.
4143 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4144 (pow_towardzero_test_data): New variable.
4145 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4146 (pow_downward_test_data): New variable.
4147 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4148 (pow_upward_test_data): New variable.
4149 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4150 (remainder_test_data): New variable.
4151 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4152 (scalb_test_data): New variable.
4153 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4154 * sysdeps/i386/fpu/libm-test-ulps: Update.
4155
74c57478
JM
41562013-05-11 Joseph Myers <joseph@codesourcery.com>
4157
8329e4da
JM
4158 * math/libm-test.inc (fma_test): Use max_value instead of local
4159 variable fltmax.
4160 (nextafter_test): Likewise.
4161
74c57478
JM
4162 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4163 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4164 (acos_downward_test_data): New variable.
4165 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4166 (acos_upward_test_data): New variable.
4167 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4168 (acosh_test_data): New variable.
4169 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4170 (asin_test_data): New variable.
4171 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4172 (asin_tonearest_test_data): New variable.
4173 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4174 (asin_towardzero_test_data): New variable.
4175 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4176 (asin_downward_test_data): New variable.
4177 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4178 (asin_upward_test_data): New variable.
4179 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4180 (asinh_test_data): New variable.
4181 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4182 (atan_test_data): New variable.
4183 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4184 (atanh_test_data): New variable.
4185 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4186 (cbrt_test_data): New variable.
4187 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4188 (ceil_test_data): New variable.
4189 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4190 (cos_test_data): New variable.
4191 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4192 (cos_tonearest_test_data): New variable.
4193 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4194 (cos_towardzero_test_data): New variable.
4195 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4196 (cos_downward_test_data): New variable.
4197 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4198 (cos_upward_test_data): New variable.
4199 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4200 (cosh_test_data): New variable.
4201 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4202 (cosh_tonearest_test_data): New variable.
4203 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4204 (cosh_towardzero_test_data): New variable.
4205 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4206 (cosh_downward_test_data): New variable.
4207 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4208 (cosh_upward_test_data): New variable.
4209 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4210 (erf_test_data): New variable.
4211 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4212 (erfc_test_data): New variable.
4213 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4214 (exp_test_data): New variable.
4215 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4216 (exp_tonearest_test_data): New variable.
4217 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4218 (exp_towardzero_test_data): New variable.
4219 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4220 (exp_downward_test_data): New variable.
4221 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4222 (exp_upward_test_data): New variable.
4223 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4224 (exp10_test_data): New variable.
4225 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4226 (exp2_test_data): New variable.
4227 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4228 (expm1_test_data): New variable.
4229 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4230 (fabs_test_data): New variable.
4231 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4232 (floor_test_data): New variable.
4233 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4234 (j0_test_data): New variable.
4235 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4236 (j1_test_data): New variable.
4237 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4238 (log_test_data): New variable.
4239 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4240 (log10_test_data): New variable.
4241 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4242 (log1p_test_data): New variable.
4243 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4244 (log2_test_data): New variable.
4245 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4246 (logb_test_data): New variable.
4247 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4248 (logb_downward_test_data): New variable.
4249 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4250 (nearbyint_test_data): New variable.
4251 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4252 (rint_test_data): New variable.
4253 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4254 (rint_tonearest_test_data): New variable.
4255 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4256 (rint_towardzero_test_data): New variable.
4257 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4258 (rint_downward_test_data): New variable.
4259 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4260 (rint_upward_test_data): New variable.
4261 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4262 (round_test_data): New variable.
4263 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4264 (sin_test_data): New variable.
4265 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4266 (sin_tonearest_test_data): New variable.
4267 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4268 (sin_towardzero_test_data): New variable.
4269 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4270 (sin_downward_test_data): New variable.
4271 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4272 (sin_upward_test_data): New variable.
4273 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4274 (sinh_test_data): New variable.
4275 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4276 (sinh_tonearest_test_data): New variable.
4277 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4278 (sinh_towardzero_test_data): New variable.
4279 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4280 (sinh_downward_test_data): New variable.
4281 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4282 (sinh_upward_test_data): New variable.
4283 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4284 (sqrt_test_data): New variable.
4285 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4286 (tan_test_data): New variable.
4287 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4288 (tan_tonearest_test_data): New variable.
4289 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4290 (tan_towardzero_test_data): New variable.
4291 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4292 (tan_downward_test_data): New variable.
4293 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4294 (tan_upward_test_data): New variable.
4295 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4296 (tanh_test_data): New variable.
4297 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4298 (tgamma_test_data): New variable.
4299 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4300 (trunc_test_data): New variable.
4301 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4302 (y0_test_data): New variable.
4303 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4304 (y1_test_data): New variable.
4305 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4306 (significand_test_data): New variable.
4307 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4308
7187d844
CG
43092013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4310
4311 [BZ #12387]
4312 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4313
f63fae73
PT
43142013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4315
4316 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4317
8a67a4b3
AJ
43182013-05-10 Andreas Jaeger <aj@suse.de>
4319
4320 [BZ #15448]
4321 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4322 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4323
51df539d
JM
43242013-05-10 Joseph Myers <joseph@codesourcery.com>
4325
4326 * math/gen-libm-test.pl (adjust_arg): New function.
4327 (special_functions): Handle generating output in both functions
4328 and arrays.
4329 (parse_args): Likewise.
4330 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4331 $in_func argument to parse_args.
4332 * math/libm-test.inc (struct test_f_f_data): New type.
4333 (IF_ROUND_INIT_): New macro.
4334 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4335 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4336 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4337 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4338 (ROUND_RESTORE_): Likewise.
4339 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4340 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4341 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4342 (ROUND_RESTORE_FE_UPWARD): Likewise.
4343 (RUN_TEST_LOOP_f_f): New macro.
4344 (acos_test_data): New variable.
4345 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4346 (acos_tonearest_test_data): New variable.
4347 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4348
5c637fe5
SP
43492013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4350
4351 * benchtests/bench-skeleton.c (startup): Fix coding style.
4352
ab2b9461
JM
43532013-05-10 Joseph Myers <joseph@codesourcery.com>
4354
4355 [BZ #6809]
4356 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4357 negative infinity argument.
4358 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4359 negative infinity argument.
4360 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4361 negative infinity argument.
4362 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4363 domain errors.
4364
4c0fe6fe
FW
43652013-05-10 Florian Weimer <fweimer@redhat.com>
4366
4367 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4368 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4369 * iconv/iconv_prog.c (main): Likewise.
4370 * locale/programs/charmap-dir.c (charmap_readdir)
4371 (fopen_uncompressed): Likewise.
4372 * locale/programs/locfile.c (siblings_uncached)
4373 (write_locale_data): Use lstat64 instead of lstat.
4374 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4375 stat.
4376
a3375d29
AJ
43772013-05-10 Andreas Jaeger <aj@suse.de>
4378
4379 [BZ #15395]
4380 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4381 localization.
4382 Include <locale.h>.
4383
36129722
CD
43842013-05-09 Carlos O'Donell <carlos@redhat.com>
4385
4386 * elf/dl-close.c (_dl_close_worker): Add comments.
4387
faa7f811
JM
43882013-05-09 Joseph Myers <joseph@codesourcery.com>
4389
ed41ffef
JM
4390 [BZ #15359]
4391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4392 high part of pi/2.
4393 (__ieee754_rem_pio2l): Update comments.
4394
d0213cd0
JM
4395 [BZ #15429]
4396 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4397 high part of pi/2.
4398 (__ieee754_rem_pio2l): Update comments.
4399
0d3e777a
JM
4400 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4401 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4402
24f56066
JM
4403 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4404 M_PI_4l.
4405
faa7f811
JM
4406 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4407 (M_PI_34_LOG10El): Likewise.
4408 (M_PI2_LOG10El): Likewise.
4409 (M_PI4_LOG10El): Likewise.
4410 (M_PI_LOG10El): Likewise.
4411
e9a5e0fd
AZ
44122013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4413
4414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4415
d8cd06db
JM
44162013-05-08 Joseph Myers <joseph@codesourcery.com>
4417
a0d9f9d7
JM
4418 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4419 (MINUS_ZERO_INIT): Likewise.
4420 (PLUS_INFTY_INIT): Likewise.
4421 (MINUS_INFTY_INIT): Likewise.
4422 (QNAN_VALUE_INIT): Likewise.
4423 (MAX_VALUE_INIT): Likewise.
4424 (MIN_VALUE_INIT): Likewise.
4425 (MIN_SUBNORM_VALUE_INIT): Likewise.
4426 (plus_zero): Initialize with PLUS_ZERO_INIT.
4427 (minus_zero): Initialize with MINUS_ZERO_INIT.
4428 (plus_infty): Initialize with PLUS_INFTY_INIT.
4429 (minus_infty): Initialize with MINUS_INFTY_INIT.
4430 (qnan_value): Initialize with QNAN_VALUE_INIT.
4431 (max_value): Initialize with MAX_VALUE_INIT.
4432 (min_value): Initialize with MIN_VALUE_INIT.
4433 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4434
ae08db3b
JM
4435 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4436 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4437 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4438 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4439
f44bf14a
JM
4440 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4441 (RUN_TEST_2_f): Likewise.
4442 (RUN_TEST_ff_f): Likewise.
4443 (RUN_TEST_fi_f): Likewise.
4444 (RUN_TEST_fl_f): Likewise.
4445 (RUN_TEST_fff_f): Likewise.
4446 (RUN_TEST_c_f): Likewise.
4447 (RUN_TEST_f_f1): Likewise.
4448 (RUN_TEST_fF_f1): Likewise.
4449 (RUN_TEST_fI_f1): Likewise.
4450 (RUN_TEST_ffI_f1): Likewise.
4451 (RUN_TEST_c_c): Likewise.
4452 (RUN_TEST_cc_c): Likewise.
4453 (RUN_TEST_f_i): Likewise.
4454 (RUN_TEST_f_i_tg): Likewise.
4455 (RUN_TEST_ff_i_tg): Likewise.
4456 (RUN_TEST_f_b): Likewise.
4457 (RUN_TEST_f_b_tg): Likewise.
4458 (RUN_TEST_f_l): Likewise.
4459 (RUN_TEST_f_L): Likewise.
4460 (RUN_TEST_sincos): Likewise.
4461 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4462 whether to show exceptions. Do not include ");\n" in return
4463 value.
4464 (special_functions): Output call to RUN_TEST_sincos instead of
4465 check_float calls. Update calls to new_test.
4466 (parse_args): Output call to single RUN_TEST_* macro instead of
4467 check_* calls and other assignments. Update calls to new_test.
4468
d8cd06db
JM
4469 [BZ #2546]
4470 [BZ #2560]
4471 [BZ #5159]
4472 [BZ #15426]
4473 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4474 input to result for tgamma overflow.
4475 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4476 (gamma_coeff): New variable.
4477 (NCOEFF): New macro.
4478 (gamma_positive): New function.
4479 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4480 underflow here. Use gamma_positive instead of exp (lgamma) for
4481 other arguments.
4482 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4483 (gamma_coeff): New variable.
4484 (NCOEFF): New macro.
4485 (gammaf_positive): New function.
4486 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4487 underflow here. Use gamma_positive instead of exp (lgamma) for
4488 other arguments.
4489 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4490 (gamma_coeff): New variable.
4491 (NCOEFF): New macro.
4492 (gammal_positive): New function.
4493 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4494 underflow here. Use gamma_positive instead of exp (lgamma) for
4495 other arguments.
4496 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4497 (gamma_coeff): New variable.
4498 (NCOEFF): New macro.
4499 (gammal_positive): New function.
4500 (__ieee754_gammal_r): Handle positive infinity, overflow and
4501 underflow here. Handle NaN the same as positive infinity. Remove
4502 check x < 0xffffffff for negative integers. Use gamma_positive
4503 instead of exp (lgamma) for other arguments.
4504 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4505 (gamma_coeff): New variable.
4506 (NCOEFF): New macro.
4507 (gammal_positive): New function.
4508 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4509 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4510 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4514 * sysdeps/generic/math_private.h (__gamma_productf): New
4515 prototype.
4516 (__gamma_product): Likewise.
4517 (__gamma_productl): Likewise.
4518 * math/Makefile (libm-calls): Add gamma_product.
4519 * math/libm-test.inc (tgamma_test): Add more tests.
4520 * sysdeps/i386/fpu/libm-test-ulps: Update.
4521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4522
bb7cf681
OB
45232013-05-08 Ondřej Bílka <neleai@seznam.cz>
4524
4525 * benchtests/bench-skeleton.c (main): Preheat CPU.
4526
ba853947
AJ
45272013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4528
4529 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4530
8347c74c
RM
45312013-05-07 Roland McGrath <roland@hack.frob.com>
4532
4533 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4534 and _dl_skip_args_internal.
4535
e8dd4791
CD
45362013-05-07 Carlos O'Donell <carlos@redhat.com>
4537
4538 * manual/message.texi (Message Translation): Talk about users.
4539 Message to key mapping impacts design.
4540
c7405830
RM
45412013-05-06 Roland McGrath <roland@hack.frob.com>
4542
a9173057
RM
4543 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4544
976e2f03
RM
4545 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4546
9723ffc5
RM
4547 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4548 * sysdeps/wordsize-64/glob64.c: ... here.
4549
962e6658
RM
4550 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4551 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4552 New macros.
4553
ee586a6d
RM
4554 * debug/getlogin_r_chk.c: Moved to ...
4555 * login/getlogin_r_chk.c: ... here.
4556 * debug/Makefile (routines): Move getlogin_r_chk to ...
4557 * login/Makefile (routines): ... here.
4558 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4559 * login/Versions (libc: GLIBC_2.4): ... here.
4560
355f9165
RM
4561 * io/poll.c (__poll): Renamed from poll.
4562 Add libc_hidden_def.
4563 (poll): Define as weak alias.
4564
bd9ffde6
RM
4565 * debug/ptsname_r_chk.c: Moved to ...
4566 * login/ptsname_r_chk.c: ... here.
4567 * debug/Makefile (routines): Move ptsname_r_chk to ...
4568 * login/Makefile (routines): ... here.
4569 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4570 * login/Versions (libc: GLIBC_2.4): ... here.
4571
8fb16a04
RM
4572 * posix/getlogin.c: Moved to ...
4573 * login/getlogin.c: ... here.
4574 * posix/getlogin_r.c: Moved to ...
4575 * login/getlogin_r.c: ... here.
4576 * posix/getlogin_r.c: Moved to ...
4577 * login/getlogin_r.c: ... here.
4578 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4579 * login/Makefile (routines): ... here.
4580 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4581 * login/Versions (libc: GLIBC_2.0): ... here.
4582
b99b892f
RM
4583 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4584 (setrlimit): Define as weak alias.
4585
c7405830
RM
4586 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4587 Call __ names for open, ftruncate, and close.
4588 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4589 (truncate): Define as weak alias.
4590
5bf96de5
JM
45912013-05-06 Joseph Myers <joseph@codesourcery.com>
4592
9ea3513c
JM
4593 * math/gen-libm-test.pl (parse_args): Initialize x before each
4594 test of frexp, modf and remquo.
4595
5bf96de5
JM
4596 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4597 test signgam value.
4598
16e616a7
AZ
45992013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4600
4601 [BZ #15418]
4602 [BZ #15419]
4603 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4604 internal tests.
4605 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4606
d5e82754
RM
46072013-05-06 Roland McGrath <roland@hack.frob.com>
4608
4609 * elf/dl-writev.h: New file.
4610 * elf/dl-misc.c: Include it.
4611 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4612 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4613
a7548d41
JM
46142013-05-04 Joseph Myers <joseph@codesourcery.com>
4615
b7dab1e4
JM
4616 * math/libm-test.inc (noXFails): Remove variable.
4617 (noXPasses): Likewise.
4618 (BUILD_COMPLEX_INT): Remove macro.
4619 (print_screen): Remove xfail argument.
4620 (print_screen_max_error): Likewise.
4621 (update_stats): Likewise.
4622 (print_max_error): Likewise. Update calls to other affected
4623 functions.
4624 (print_complex_max_error): Likewise.
4625 (test_single_exception): Update calls to print_screen.
4626 (test_single_errno): Likewise.
4627 (check_float_internal): Remove xfail argument. Update calls to
4628 other affected functions.
4629 (check_float): Likewise.
4630 (check_complex): Likewise.
4631 (check_int): Likewise.
4632 (check_long): Likewise.
4633 (check_bool): Likewise.
4634 (check_longlong): Likewise.
4635 (main): Don't print noXFails and noXPasses.
4636 * math/gen-libm-test.pl (top level): Don't mention expected
4637 failure handling in comment.
4638 (new_test): Don't handle expected failures.
4639 (parse_args): Don't mention expected failure handling in comment.
4640 (generate_testfile): Don't handle expected failures.
4641 (parse_ulps): Likewise.
4642 (print_ulps_file): Likewise.
4643 (get_failure): Remove function.
4644 (output_test): Don't handle expected failures.
4645 * make/README.libm-test: Don't mention expected failure handling.
4646
a7548d41
JM
4647 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4648 (minus_zero): Likewise.
4649 (plus_infty): Likewise.
4650 (minus_infty): Likewise.
4651 (qnan_value): Likewise.
4652 (max_value): Likewise.
4653 (min_value): Likewise.
4654 (min_subnorm_value): Likewise.
4655 (initialize): Do not initialize those variables dynamically.
4656
60bfd54c
RM
46572013-05-03 Roland McGrath <roland@hack.frob.com>
4658
cc0e6ed8
RM
4659 * io/open.c (__open_2): Moved to ...
4660 * io/open_2.c: ... this new file.
4661 * io/open64.c (__open64_2): Moved to ...
4662 * io/open64_2.c: ... this new file.
4663 * io/openat.c (__openat_2): Moved to ...
4664 * io/openat_2.c: ... this new file.
4665 * io/openat64.c (__openat64_2): Moved to ...
4666 * io/openat64_2.c: ... this new file.
4667 * io/Makefile (routines): Add them.
4668 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4669 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4670 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4671 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4672 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4673 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4674 (__openat64): Add hidden_ver.
4675 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4676 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4677
60bfd54c
RM
4678 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4679 Separately conditionalize setting of GLRO(dl_sysinfo) so
4680 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4681 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4682
83e7640f
AZ
46832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4684
4685 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4687 definition.
4688 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4689 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4690 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4691 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4692 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4693
d5dc2af3
JM
46942013-05-03 Joseph Myers <joseph@codesourcery.com>
4695
c31a5b1e
JM
4696 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4697 test signgam value.
4698
d5dc2af3
JM
4699 * math/libm-test.inc (hypot_test): Do not use
4700 IGNORE_ZERO_INF_SIGN.
4701
164fd39d
AJ
47022013-05-03 Andreas Jaeger <aj@suse.de>
4703
4704 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4705 Linux 3.9.
4706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4707 (PF_MAX): Adjust for VSOCK change.
4708
8237f48c
AZ
47092013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4710
4711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4712
9df02941
CD
47132013-05-02 Carlos O'Donell <carlos@redhat.com>
4714
4715 [BZ #15264]
4716 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4717 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4718 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4719
d422395e
DM
47202013-05-02 David S. Miller <davem@davemloft.net>
4721
4722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4723
a07c5731
OB
47242013-05-01 Ondřej Bílka <neleai@seznam.cz>
4725
4726 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4727
1324e37f
RM
47282013-05-01 Roland McGrath <roland@hack.frob.com>
4729
4730 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4731
0695940b
RS
47322013-05-01 Richard Smith <richard@metafoo.co.uk>
4733
bb5f27ad 4734 [BZ #14952]
0695940b
RS
4735 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4736 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4737 Use __attribute__ ((__gnu_inline__)).
4738 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4739 Don't use __attribute__ ((__gnu_inline__)).
4740
10de07f5
JM
47412013-05-01 Joseph Myers <joseph@codesourcery.com>
4742
4743 [BZ #15423]
4744 * math/s_catan.c (__catan): Handle small real or imaginary part of
4745 input specially to avoid spurious underflow.
4746 * math/s_catanf.c (__catanf): Likewise.
4747 * math/s_catanh.c (__catanh): Likewise.
4748 * math/s_catanhf.c (__catanhf): Likewise.
4749 * math/s_catanhl.c (__catanhl): Likewise.
4750 * math/s_catanl.c (__catanl): Likewise.
4751 * math/libm-test.inc (catan_test): Add more tests.
4752 (catanh_test): Likewise.
4753 * sysdeps/i386/fpu/libm-test-ulps: Update.
4754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4755
cb4d5414
AZ
47562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4757
4758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4759
caf84319
JM
47602013-04-30 Joseph Myers <joseph@codesourcery.com>
4761
4762 [BZ #15416]
4763 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4764 accurately for denominator in atan2.
4765 * math/s_catanf.c (__catanf): Likewise.
4766 * math/s_catanh.c (__catanh): Likewise.
4767 * math/s_catanhf.c (__catanhf): Likewise.
4768 * math/s_catanhl.c (__catanhl): Likewise.
4769 * math/s_catanl.c (__catanl): Likewise.
4770 * math/libm-test.inc (catan_test): Add more tests.
4771 (catanh_test): Likewise.
4772 * sysdeps/i386/fpu/libm-test-ulps: Update.
4773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4774
d569c6ee
SP
47752013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4776
6dbe713d
SP
4777 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4778
f0ee064b
SP
4779 * benchtests/Makefile (bench): Remove slow benchmarks.
4780 * benchtests/atan-inputs: Add slow benchmark inputs.
4781 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4782 (BENCH_FUNC): Accept variant offset.
4783 (VARIANT): Define.
4784 * benchtests/bench-skeleton.c (main): Run benchmark for each
4785 variant.
4786 * benchtests/cos-inputs: Add slow benchmark inputs.
4787 * benchtests/exp-inputs: Likewise.
4788 * benchtests/pow-inputs: Likewise.
4789 * benchtests/sin-inputs: Likewise.
4790 * benchtests/slowatan-inputs: Remove.
4791 * benchtests/slowatan.c: Remove.
4792 * benchtests/slowcos-inputs: Remove.
4793 * benchtests/slowcos.c: Remove.
4794 * benchtests/slowexp-inputs: Remove.
4795 * benchtests/slowexp.c: Remove.
4796 * benchtests/slowpow-inputs: Remove.
4797 * benchtests/slowpow.c: Remove.
4798 * benchtests/slowsin-inputs: Remove.
4799 * benchtests/slowsin.c: Remove.
4800 * benchtests/slowtan-inputs: Remove.
4801 * benchtests/slowtan.c: Remove.
4802 * benchtests/tan-inputs: Add slow benchmark inputs.
4803 * scripts/bench.pl: Parse comments and directives.
4804
d569c6ee
SP
4805 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4806 in CPPFLAGS.
4807 ($(objpfx)bench-%.c): Remove *-ITER.
4808 * benchtests/bench-modf.c: Remove definition of ITER.
4809 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4810 (main): Loop for DURATION seconds instead of fixed number of
4811 iterations.
4812 * scripts/bench.pl: Don't expect iterations in parameters.
4813
a6a242fe
RM
48142013-04-29 Roland McGrath <roland@hack.frob.com>
4815
4816 * io/fchdir.c (__fchdir): Renamed from fchdir.
4817 (fchdir): Define as weak alias.
4818
f2da7793
JM
48192013-04-29 Joseph Myers <joseph@codesourcery.com>
4820
4821 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4822 (ERRNO_EDOM): Likewise.
4823 (ERRNO_ERANGE): Likewise.
4824 (noErrnoTests): New variable.
4825 (init_max_error): Set errno to 0.
4826 (test_single_errno): New function.
4827 (test_errno): Likewise.
4828 (check_float_internal): Call test_errno. Set errno to 0.
4829 (check_complex): Refer to errno tests in comment.
4830 (check_int): Call test_errno. Set errno to 0.
4831 (check_long): Likewise.
4832 (check_bool): Likewise.
4833 (check_longlong): Likewise.
4834 (cos_test): Use ERRNO_* flags for errno tests instead of
4835 check_int.
4836 (expm1_test): Likewise.
4837 (fmod_test): Likewise.
4838 (ilogb_test): Likewise.
4839 (lgamma_test): Likewise.
4840 (pow_test): Likewise.
4841 (remainder_test): Likewise.
4842 (sin_test): Likewise.
4843 (tan_test): Likewise.
4844 (yn_test): Likewise.
4845 (initialize): Set errno to 0.
4846 (main): Print number of errno tests.
4847 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4848
b1a36ceb
AJ
48492013-04-29 Andreas Jaeger <aj@suse.de>
4850
c3ed8088
AJ
4851 [BZ #15084]
4852 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4853 and RES_USEVC.
4854
f1a24198
AJ
4855 [BZ #15085]
4856 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4857 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4858 unimplemented.
4859
9ce3b2cb
AJ
4860 [BZ #15380]
4861 * stdlib/random.c (__initstate): Return NULL if
4862 __initstate fails.
4863
f1a24198 4864 [BZ #15086]
b1a36ceb
AJ
4865 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4866 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4867 RES_SNGLKUPREOP.
4868
7e7b6f36
AZ
48692013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870
4871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4872
4d14f449
JM
48732013-04-29 Joseph Myers <joseph@codesourcery.com>
4874
4875 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4876 of individual tests.
4877 (casin_test): Likewise.
4878 (casinh_test): Likewise.
4879
5b4217d7
JM
48802013-04-27 Joseph Myers <joseph@codesourcery.com>
4881
4882 [BZ #15409]
4883 * math/s_catan.c (__catan): Handle arguments with large real or
4884 imaginary part separately without squaring.
4885 * math/s_catanf.c (__catanf): Likewise.
4886 * math/s_catanh.c (__catanh): Likewise.
4887 * math/s_catanhf.c (__catanhf): Likewise.
4888 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4889 and redefine.
4890 (__catanhl): Handle arguments with large real or imaginary part
4891 separately without squaring.
4892 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4893 and redefine.
4894 (__catanl): Handle arguments with large real or imaginary part
4895 separately without squaring.
4896 * math/libm-test.inc (catan_test): Add more tests.
4897 (catanh_test): Likewise.
4898 * sysdeps/i386/fpu/libm-test-ulps: Update.
4899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4900
4220c3ef
AJ
49012013-04-27 Andreas Jaeger <aj@suse.de>
4902
4903 [BZ #15007]
4904 * stdlib/stdlib.h: Update guards for qecvt.
4905 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4906 <stdlib.h>.
4907
4721b2d1
AM
49082013-04-27 Allan McRae <allan@archlinux.org>
4909
4910 * sysdeps/i386/fpu/libm-test-ulps: Update.
4911
f0302940
JM
49122013-04-26 Joseph Myers <joseph@codesourcery.com>
4913
9457fd95
JM
4914 [BZ #15406]
4915 * math/s_catan.c: Include <float.h>.
4916 (__catan): Ensure underflow exception occurs for underflowed
4917 result.
4918 * math/s_catanf.c: Include <float.h>.
4919 (__catanf): Ensure underflow exception occurs for underflowed
4920 result.
4921 * math/s_catanh.c: Include <float.h>.
4922 (__catanh): Ensure underflow exception occurs for underflowed
4923 result.
4924 * math/s_catanhf.c: Include <float.h>.
4925 (__catanhf): Ensure underflow exception occurs for underflowed
4926 result.
4927 * math/s_catanhl.c: Include <float.h>.
4928 (__catanhl): Ensure underflow exception occurs for underflowed
4929 result.
4930 * math/s_catanl.c: Include <float.h>.
4931 (__catanl): Ensure underflow exception occurs for underflowed
4932 result.
4933 * math/libm-test.inc (catan_test): Add more tests.
4934 (catanh_test): Likewise.
4935
f0302940
JM
4936 [BZ #15405]
4937 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4938 underflowed result.
4939 * math/s_ccoshf.c (__ccoshf): Likewise.
4940 * math/s_ccoshl.c (__ccoshl): Likewise.
4941 * math/s_csin.c (__csin): Likewise.
4942 * math/s_csinf.c (__csinf): Likewise.
4943 * math/s_csinh.c (__csinh): Likewise.
4944 * math/s_csinhf.c (__csinhf): Likewise.
4945 * math/s_csinhl.c (__csinhl): Likewise.
4946 * math/s_csinl.c (__csinl): Likewise.
4947 * math/libm-test.inc (ccos_test): Add more tests.
4948 (ccosh_test): Likewise.
4949 (csin_test): Likewise.
4950 (csinh_test): Likewise.
4951
aa630f59
AZ
49522013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4953
4954 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4955 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4956 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4957 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4958 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4959 powerpc/power5+/fpu folders.
4960 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4961
4962
1b835983
MT
49632013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4964
4965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4966
73709b26
JM
49672013-04-25 Joseph Myers <joseph@codesourcery.com>
4968
4969 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4970 additions to variable.
4971 [$(config-machine) = x86_64] (modules-names): Likewise.
4972 ($(objpfx)tst-audit3): Remove dependency.
4973 ($(objpfx)tst-audit3.out): Likewise.
4974 ($(objpfx)tst-audit4): Likewise.
4975 ($(objpfx)tst-audit4.out): Likewise.
4976 ($(objpfx)tst-audit5): Likewise.
4977 ($(objpfx)tst-audit5.out): Likewise.
4978 ($(objpfx)tst-audit6): Likewise.
4979 ($(objpfx)tst-audit6.out): Likewise.
4980 ($(objpfx)tst-audit7): Likewise.
4981 ($(objpfx)tst-audit7.out): Likewise.
4982 (tst-audit3-ENV): Remove variable.
4983 (tst-audit4-ENV): Likewise.
4984 (tst-audit5-ENV): Likewise.
4985 (tst-audit6-ENV): Likewise.
4986 (tst-audit7-ENV): Likewise.
4987 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4988 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4989 addition to variable.
4990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4995 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4996 tst-audit3, tst-audit4 and tst-audit5.
4997 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4998 tst-audit6 and tst-audit7.
4999 [$(subdir) = elf] (modules-names): Add audit modules for those
5000 tests.
5001 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5002 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5003 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5004 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5005 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5006 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5007 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5008 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5009 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5010 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5011 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5012 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5013 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5014 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5015 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5016 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5017 Likewise.
5018 [$(subdir) = elf && $(config-cflags-avx) = yes]
5019 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5020 [$(subdir) = elf && $(config-cflags-avx) = yes]
5021 (CFLAGS-tst-auditmod4a.c): Likewise.
5022 [$(subdir) = elf && $(config-cflags-avx) = yes]
5023 (CFLAGS-tst-auditmod4b.c): Likewise.
5024 [$(subdir) = elf && $(config-cflags-avx) = yes]
5025 (CFLAGS-tst-auditmod6b.c): Likewise.
5026 [$(subdir) = elf && $(config-cflags-avx) = yes]
5027 (CFLAGS-tst-auditmod6c.c): Likewise.
5028 [$(subdir) = elf && $(config-cflags-avx) = yes]
5029 (CFLAGS-tst-auditmod7b.c): Likewise.
5030 * elf/tst-audit3.c: Move to ...
5031 * sysdeps/x86_64/tst-audit3.c: ... here.
5032 * elf/tst-audit4.c: Move to ...
5033 * sysdeps/x86_64/tst-audit4.c: ... here.
5034 * elf/tst-audit5.c: Move to ...
5035 * sysdeps/x86_64/tst-audit5.c: ... here.
5036 * elf/tst-audit6.c: Move to ...
5037 * sysdeps/x86_64/tst-audit6.c: ... here.
5038 * elf/tst-audit7.c: Move to ...
5039 * sysdeps/x86_64/tst-audit7.c: ... here.
5040 * elf/tst-auditmod3a.c: Move to ...
5041 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5042 * elf/tst-auditmod3b.c: Move to ...
5043 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5044 * elf/tst-auditmod4a.c: Move to ...
5045 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5046 * elf/tst-auditmod4b.c: Move to ...
5047 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5048 * elf/tst-auditmod5a.c: Move to ...
5049 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5050 * elf/tst-auditmod5b.c: Move to ...
5051 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5052 * elf/tst-auditmod6a.c: Move to ...
5053 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5054 * elf/tst-auditmod6b.c: Move to ...
5055 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5056 * elf/tst-auditmod6c.c: Move to ...
5057 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5058 * elf/tst-auditmod7a.c: Move to ...
5059 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5060 * elf/tst-auditmod7b.c: Move to ...
5061 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5062
1ef74943
PP
50632013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5064
5065 [BZ #15366]
5066 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5067 define unconditionally.
5068 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5069 define unconditionally.
5070 (INT8_C, INT16_C, etc.): Likewise.
5071
93fd48c5
MR
50722013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5073
ae9552cf
MR
5074 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5075 __ehdr_start with hidden visibility.
5076
93fd48c5
MR
5077 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5078
418601aa
CD
50792013-04-24 Carlos O'Donell <carlos@redhat.com>
5080
5081 * math/libm-test.inc (cos_test): Use accurate hex constants.
5082 (sincost_test): Likewise.
5083
2f38fbfe
JM
50842013-04-24 Joseph Myers <joseph@codesourcery.com>
5085
5e221800
JM
5086 * math/libm-test.inc (catan_test): Add more tests.
5087 (catanh_test): Likewise.
5088
77f143fd
JM
5089 * math/s_catanf.c (__catanf): Use suffixed floating-point
5090 constants.
5091 * math/s_catanhf.c (__catanhf): Likewise.
5092 * math/s_catanhl.c (__catanhl): Likewise.
5093 * math/s_catanl.c (__catanl): Likewise.
5094
2f38fbfe
JM
5095 [BZ #15394]
5096 * math/s_catan.c (__catan): Calculate imaginary part of result
5097 with log1p not log unless computing log of number close to 0.
5098 * math/s_catanf.c (__catanf): Likewise.
5099 * math/s_catanl.c (__catanl): Likewise.
5100 * math/s_catanh.c (__catanh): Calculate real part of result with
5101 log1p not log unless computing log of number close to 0.
5102 * math/s_catanhf.c (__catanhf): Likewise.
5103 * math/s_catanhl.c (__catanhl): Likewise.
5104 * math/libm-test.inc (catan_test): Add more tests.
5105 (catanh_test): Likewise.
5106 * sysdeps/i386/fpu/libm-test-ulps: Update.
5107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5108
45d69176
SP
51092013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 * benchtests/Makefile: Mention files in which fast and slow
5112 paths of math functions are implemented.
5113
87f51853
RM
51142013-04-23 Roland McGrath <roland@hack.frob.com>
5115
5116 * sysdeps/posix/timespec_get.c: New file.
5117
3c026539
AZ
51182013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5119
5120 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5121 POWER.
5122 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5123 for POWER.
5124 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5125 powerpc/power5/fpu folders.
5126 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5127 * benchtests/Makefile: Add modf testcase.
5128 * benchtests/bench-modf.c: New file: Benchmark test for mo
5129
ff491d14
SP
51302013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5131
5132 [BZ #14888]
5133 * time/Makefile (tests): Add tst-strptime-whitespace.
5134 * time/strptime_l.c (get_number): Use ISSPACE.
5135 (__strptime_internal): Likewise.
5136 * time/tst-strptime-whitespace.c: New test case.
5137
7ed3f4e8
AS
51382013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5139
5140 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5141 member.
5142 (_nss_files_init): Set it here.
5143
5c95f7b6
HC
51442013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5145
5146 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5147 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5148 unsigned.
5149
d34c9158
JBG
51502013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5151
5152 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5153
2169712d
SP
51542013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5155
5156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5157 size just once.
5158
29c5de99
DM
51592013-04-21 David S. Miller <davem@davemloft.net>
5160
5161 * po/ru.po: Update Russion translation from translation project.
5162
ccdad15d
AC
51632013-04-17 Adam Conrad <adconrad@0c3.net>
5164
5165 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5166 and setfsgid.
5167
0f122b8d
CD
51682013-04-17 Carlos O'Donell <carlos@redhat.com>
5169
5c5b07da 5170 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5171 * configure: Regenerate.
5c5b07da 5172 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5173 Add example to error message.
5174 * sysdeps/i386/configure: Regenerate.
5175
037714dd
SP
51762013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5177
5178 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5179 slowtan.
5180 * benchtests/cos-inputs: New file.
5181 * benchtests/slowcos-inputs: New file.
5182 * benchtests/slowcos.c: New file.
5183 * benchtests/slowtan-inputs: New file.
5184 * benchtests/slowtan.c: New file.
5185 * benchtests/tan-inputs: New file.
5186
e913141d
RM
51872013-04-16 Roland McGrath <roland@hack.frob.com>
5188
5189 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5190 considered kosher.
5191
a2964074
SP
51922013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5193
4856bcd2
SP
5194 * benchtests/Makefile: Include cppflags-iterator.mk to add
5195 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5196
a2964074
SP
5197 * Makefile.in (bench-clean): New target.
5198 * benchtests/Makefile (bench-clean): Likewise.
5199
9fbf9aca
DH
52002013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5201
5202 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5203
207d1e2a
TS
52042013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5205
5206 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5207
306dfba9
AS
52082013-04-15 Andreas Schwab <schwab@suse.de>
5209
5210 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5212 * nscd/pwdcache.c (cache_addpw): Likewise.
5213 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5214 more than recsize.
5215
206a6699
SP
52162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5217
5218 * benchtests/Makefile (bench): Write all output to
5219 bench-out.tmp together.
5220
0582f6b3
AS
52212013-04-15 Andreas Schwab <schwab@suse.de>
5222
5223 * nscd/nscd.c (main): Don't fork again after closing files.
5224
acb4325f
SP
52252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5226
5cb26d0a
SP
5227 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5228
acb4325f
SP
5229 * benchtests/Rules (bench-deps): Collect dependencies into a
5230 single variable. Add Makefile to dependencies.
5231 ($(objpfx)bench-%.c): Depend on bench-deps.
5232
47792506
RM
52332013-04-12 Roland McGrath <roland@hack.frob.com>
5234 Xavier Roche <roche+kml2@exalead.com>
5235
5236 [BZ #15361]
5237 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5238 just that it's a file descriptor.
5239 * manual/llio.texi (Synchronizing AIO Operations): Update description
5240 for EBADF error from aio_fsync.
5241
8fc1bee5
SP
52422013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5243
5244 * Rules (bench): Move target definition...
5245 * benchtests/Makefile: ... here.
5246
aba5e333
CD
52472013-04-11 Carlos O'Donell <carlos@redhat.com>
5248
5249 * math/libm-test.inc (cos_test): Fix PI/2 test.
5250 (sincos_test): Likewise.
5251 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5252 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5253
273cdee8
AS
52542013-04-11 Andreas Schwab <schwab@suse.de>
5255
6ecec3b6
AS
5256 [BZ #13988]
5257 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5258 accept exponent character only when digits were seen.
5259 * stdio-common/Makefile (tests): Add bug26.
5260 * stdio-common/bug26.c: New file.
5261
273cdee8
AS
5262 [BZ #14293]
5263 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5264 non-freeable.
5265
8da491f5
SP
52662013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
01dc6df9
SP
5268 * Makeconfig (rtld-prefix): Define built linker prefix.
5269 * Rules (run-bench): Use it.
5270 * math/Makefile (run-regen-ulps): Likewise.
5271
8da491f5
SP
5272 * Rules (bench): Remove eval.
5273
abe7f530
SP
52742013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5275 Roland McGrath <roland@hack.frob.com>
5276 Ondrej Bilka <neleai@seznam.cz>
5277
5278 [BZ #15346]
5279 * time/getdate.c: Include ctype.h and alloca.h.
5280 (__getdate_r): Trim leading and trailing spaces of input.
5281 * time/tst-getdate.c (tests): Add tests with leading and
5282 trailing spaces.
5283
61c23e62
RM
52842013-04-08 Roland McGrath <roland@hack.frob.com>
5285
5286 [BZ #14280]
5287 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5288 when computing value.
5289
7208a313
CD
52902013-04-06 Carlos O'Donell <carlos@redhat.com>
5291
085b2d41
CD
5292 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5293 Use testrun.sh to run libm tests.
5294
7208a313
CD
5295 [BZ #15309]
5296 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5297
872c0acd
MM
52982013-04-06 Marko Myllynen <myllynen@redhat.com>
5299
5300 [BZ #15264]
5301 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5302
26510bdd
CD
53032013-04-06 Carlos O'Donell <carlos@redhat.com>
5304
5305 * Makefile.in (regen-ulps): New target.
5306 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5307 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5308 [ifneq (no,$(PERL)] (regen-ulps): New target.
5309 [ifeq (no,$(PERL)] (regen-ulps): New target.
5310 * math/libm-test.inc (ulps_file_name): Define.
5311 (output_dir): New variable.
5312 (options): Add "output-dir" option.
5313 (parse_opt): Handle 'o' case.
5314 (main): If output_dir is non-NULL use it as a prefix
5315 otherwise use "".
5316 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5317
a01f19c8
CD
53182013-04-06 Carlos O'Donell <carlos@redhat.com>
5319
5320 [BZ #10060, #10062]
5321 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5322 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5323 fail configure if __sync_val_compare_and_swap is not inlined.
5324 * sysdeps/i386/configure: Regenerate.
5325 * configure.in: Build for i686 when configured for i386.
5326 * configure: Regenerate.
5327 * README: Remove i386 reference.
5328
b7a329a5
CD
53292013-04-06 Carlos O'Donell <carlos@redhat.com>
5330
5331 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5333
bf0f50df
TS
53342013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5335
ee091edf
TS
5336 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5337 (lmsnanval): New variables.
5338 (F): Add conversion tests.
5339 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5340 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5341
a8b792d6
TS
5342 * stdio-common/tstdiomisc.c (F): Properly collect individual
5343 tests' results.
5344
a1cbf437
TS
5345 [BZ #14686, #15336]
5346 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5347 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5348 Instead, use input NaN values or generate a qNaN by arithmetic
5349 operation. Also fix bugs to comply with the standard.
5350 * math/libm-test.inc (remainder_test): Add more tests.
5351
8b43a0c9
TS
5352 [BZ #15335, #15342]
5353 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5355 input NaN values or generate a qNaN by arithmetic operation.
5356
d91da4ce
TS
5357 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5358 unreachable code.
5359
bf0f50df
TS
5360 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5361 definitions.
5362
05e166c8
JM
53632013-04-03 Joseph Myers <joseph@codesourcery.com>
5364
5365 [BZ #14478]
5366 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5367 underflowed result.
5368 * math/s_cexpf.c (__cexpf): Likewise.
5369 * math/s_cexpl.c (__cexpl): Likewise.
5370 * math/libm-test.inc (cexp_test): Add more tests.
5371
1cef1b19
AS
53722013-04-03 Andreas Schwab <schwab@suse.de>
5373
5374 [BZ #15330]
5375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5376 order arrays from heap if bigger than alloca cutoff.
5377
74d87055
TS
53782013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5379
5380 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5381 (SNAN_TESTS_double): Refer to GCC PR56831.
5382 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5383 GCC PR56828.
5384
d755bba4
SP
53852013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5386
90d5d5bb
SP
5387 * Rules (bench): Move bench.out after the run is complete.
5388
73e0cd5d
SP
5389 * Rules (bench): Echo currently running benchmark.
5390
64aabd4b
SP
5391 * benchtests/Makefile (bench): Add atan and slowatan.
5392 * benchtests/atan-inputs: New file.
5393 * benchtests/slowatan-inputs: New file.
5394 * benchtests/slowatan.c: New file.
5395
c871eccd
SP
5396 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5397 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5398 its value.
5399
d755bba4
SP
5400 [BZ #15305]
5401 * sysdeps/unix/sysv/linux/kernel-features.h
5402 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5403 __ASSUME_XFS_RESTRICTED_CHOWN.
5404 * sysdeps/unix/sysv/linux/pathconf.c
5405 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5406 Save and restore errno.
5407
52ce4860
JM
54082013-04-02 Joseph Myers <joseph@codesourcery.com>
5409
5410 [BZ #15327]
5411 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5412 arguments using __kernel_casinh.
5413 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5414 arguments using __kernel_casinhf.
5415 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5416 arguments using __kernel_casinhl.
5417 * math/libm-test.inc (cacosh_test): Add more tests.
5418 * sysdeps/i386/fpu/libm-test-ulps: Update.
5419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5420
81f311c2
SP
54212013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5422
e7906a47
SP
5423 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5425
92e3664b
SP
5426 * bench/Makefile (bench): Add sin and slowsin.
5427 * benchtests/sin-inputs: New file.
5428 * benchtests/slowsin-inputs: New file.
5429 * benchtests/slowsin.c: New file.
5430
81f311c2
SP
5431 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5432 (bench): Add slowexp and slowpow.
5433 (exp-ITER): Increase iterations.
5434 (pow-ITER): Likewise.
5435 * benchtests/exp-inputs: Change input.
5436 * benchtests/pow-inputs: Likewise.
5437 * benchtests/slowexp-inputs: New file.
5438 * benchtests/slowexp.c: New file.
5439 * benchtests/slowpow-inputs: New file.
5440 * benchtests/slowpow.c: New file.
5441
ab0f1aa9
AZ
54422013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443
5444 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5445 instructions.
5446 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5447 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5448 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5449 * benchtests/Makefile: Add rint benchtest.
5450 * benchtests/rint-inputs: Input for rint benchtest.
5451
57267616
TS
54522013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5453
5454 * Versions.def (libm): Add GLIBC_2.18.
5455 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5456 hidden libm prototypes.
5457 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5458 * math/Makefile (libm-calls): Add s_issignaling.
5459 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5460 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5461 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5462 declaration.
5463 * math/math.h [__USE_GNU] (issignaling): New macro.
5464 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5465 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5466 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5467 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5470 * manual/arith.texi (issignaling): New section.
5471 * manual/libm-err-tab.pl (@all_functions): Update comment.
5472 * math/gen-libm-test.pl (parse_args): Apply special handling for
5473 issignaling.
5474 * math/libm-test.inc (print_float, issignaling_test): New
5475 functions.
5476 (check_float_internal): Add issignaling checks.
5477 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5478 default definition.
5479 * sysdeps/powerpc/math-tests.h: New file.
5480 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5481 tests.
5482 * math/test-snan.c (TEST_FUNC): Likewise.
5483
6142896d
DM
54842013-03-30 David S. Miller <davem@davemloft.net>
5485
5486 * po/de.po: Update from translation team.
5487
ccc8cadf
JM
54882013-03-30 Joseph Myers <joseph@codesourcery.com>
5489
5490 [BZ #10357]
5491 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5492 imaginary part less than 1.0 and real part less than 0.5
5493 specially.
5494 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5495 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5496 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5497 (cacos_test): Add more tests.
5498 (casin_test): Likewise.
5499 (casinh_test): Likewise.
5500 * sysdeps/i386/fpu/libm-test-ulps: Update.
5501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5502
0f6a8d4b
SP
55032013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5504
0d1029de
SP
5505 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5506 ONE with its value.
5507
c2d94018
SP
5508 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5509 (__pow_mp): Replace ONE and MONE with their values.
5510 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5512 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5513 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5514 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5515 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5516
27ec37f1
SP
5517 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5518
a64d7e0e
SP
5519 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5520 (__pow_mp): Replace ZERO and MZERO with their values.
5521 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5522 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5523 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5525 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5526 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5527 (__sqr): Likewise.
5528
d26dd3eb
SP
5529 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5530
0f6a8d4b
SP
5531 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5532
e57b0c61
RM
55332013-03-28 Roland McGrath <roland@hack.frob.com>
5534
5535 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5536 Declare with __attribute__ ((weak)).
5537 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5538 Call __call_tls_dtors only if it's not NULL.
5539
356b3480
RM
55402013-03-28 Roland McGrath <roland@hack.frob.com>
5541
288f7d79
RM
5542 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5543 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5544 magic __ehdr_start linker symbol if it's defined.
5545 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5546 them up here if it was already done.
5547
dc0a0263
RM
5548 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5549 (_dl_aux_init): Use const in cast when setting it.
5550 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5551 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5552 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5553
3d3436ae
RM
5554 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5555 Declare them here.
5556 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5557 * csu/libc-tls.c: Nor here.
5558 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5559
356b3480
RM
5560 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5561 (__libc_message): Never call vsyslog.
5562
b0f1246a
AM
55632013-03-28 Alan Modra <amodra@gmail.com>
5564
5565 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5566 Define as empty.
5567 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5568 Likewise.
5569
fbbe2b9a
AZ
55702013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571
5572 [BZ #15214]
5573 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5574 underflow.
5575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5576
1728ab37
SP
55772013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5578
7a86be6e
SP
5579 [BZ #15304]
5580 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5581 Don't add gid passed as argument.
5582
1728ab37
SP
5583 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5584
3a7182a1
JM
55852013-03-27 Joseph Myers <joseph@codesourcery.com>
5586
5587 [BZ #15307]
5588 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5589 imaginary part between 1.0 and 1.5 and real part less than 0.5
5590 specially.
5591 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5592 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5593 * math/libm-test.inc (cacos_test): Add more tests.
5594 (casin_test): Likewise.
5595 (casinh_test): Likewise.
5596 * sysdeps/i386/fpu/libm-test-ulps: Update.
5597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5598
6f2e90e7
SP
55992013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5600
5739f705
SP
5601 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5602 constants.
5603 (norm): Likewise.
5604 (denorm): Likewise.
5605 (__dbl_mp): Likewise.
5606 (add_magnitudes): Likewise.
5607 (sub_magnitudes): Likewise.
5608 (__add): Likewise.
5609 (__sub): Likewise.
5610 (__mul): Likewise.
5611 (__sqr): Likewise.
5612 (__inv): Likewise.
5613 (__dvd): Likewise.
5614
e375e83d
SP
5615 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5616 commented code.
5617 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5618 (__dubcos): Likewise.
5619 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5620 (__ieee754_acos): Likewise.
5621 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5622 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5623 (__exp1): Likewise.
5624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5626 (log1): Likewise.
5627 (my_log2): Likewise.
5628 (checkint): Likewise.
5629 * sysdeps/ieee754/dbl-64/e_remainder.c
5630 (__ieee754_remainder): Likewise.
5631 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5633 (bsloww): Likewise.
5634 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5635
6f2e90e7
SP
5636 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5637 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5638 MANTISSA_STORE_T to store computations on mantissa. Use
5639 macros for rounding and division.
5640 (denorm): Likewise.
5641 (__dbl_mp): Likewise.
5642 (add_magnitudes): Likewise.
5643 (sub_magnitudes): Likewise.
5644 (__mul): Likewise.
5645 (__sqr): Likewise.
5646 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5647 powers of two in terms of TWOPOW macro.
5648 (mp_no): Make type of mantissa as MANTISSA_T.
5649 [!RADIXI]: Define RADIXI.
5650 [!TWO52]: Define TWO52.
5651 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5652
fce14d4e
AZ
56532013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5654
5655 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5656 llroundl symbol when building for PPC32.
5657
9ad027fb
MW
56582013-03-24 Mark H Weaver <mhw@netris.org>
5659
5660 * manual/arith.texi (Normalization Functions): Fix prototypes for
5661 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5662
e42a38dd
AZ
56632013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5664
5665 [BZ #13889]
5666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5667 high value to check if expl overflow.
5668 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5669 to check for underflow and overflow.
5670 * math/libm-test.inc: Add exp test.
5671
2e0fb521
DL
56722013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5673
5674 [BZ #11120]
5675 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5676 with NOT_IN_libc.
5677
b5784d95
AZ
56782013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679
5680 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5681 symbol.
5682
5aa4a1a1
TS
56832013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5684
bdef0be7
TS
5685 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5686 wrap blocks consisting of several statements.
5687
5aa4a1a1
TS
5688 * sysdeps/generic/math-tests.h: New file.
5689 * sysdeps/i386/fpu/math-tests.h: Likewise.
5690 * math/test-snan.c: Include it.
5691 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5692
98c48fe5
JM
56932013-03-21 Joseph Myers <joseph@codesourcery.com>
5694
5695 [BZ #15285]
5696 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5697 (__ieee754_j0l): Do not improve calculations using cos of twice
5698 input for inputs above LDBL_MAX / 2.0L.
5699 (__ieee754_y0l): Likewise.
5700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5701 (__ieee754_j1l): Do not improve calculations using cos of twice
5702 input for inputs above LDBL_MAX / 2.0L.
5703 (__ieee754_y1l): Likewise.
5704 * math/libm-test.inc (j0_test): Add another test.
5705 (j1_test): Likewise.
5706 (y0_test): Likewise.
5707 (y1_test): Likewise.
5708 * sysdeps/i386/fpu/libm-test-ulps: Update.
5709
3775a8bc
SP
57102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5711
5712 * Rules ($(objpfx)bench-%.c): Include code from a C source
5713 file.
5714
0a1b2ae6
JM
57152013-03-21 Joseph Myers <joseph@codesourcery.com>
5716
5717 [BZ #15287]
5718 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5719 imaginary part 1.0 and real part less than 0.5 specially.
5720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5722 * math/libm-test.inc (cacos_test): Add more tests.
5723 (casin_test): Likewise.
5724 (casinh_test): Likewise.
5725 * sysdeps/i386/fpu/libm-test-ulps: Update.
5726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5727
b33d4ce4
SP
57282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5729
5730 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5731 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5732
bef0b507
JM
57332013-03-20 Joseph Myers <joseph@codesourcery.com>
5734
5735 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5736 * config.make.in (config-cflags-sse4): Remove variable.
5737 (config-cflags-avx): Likewise.
5738 (config-cflags-sse2avx): Likewise.
5739 (config-cflags-novzeroupper): Likewise.
5740 (config-asflags-i686): Likewise.
5741 (have-mfma4): Likewise.
5742 (have-as-vis3): Likewise.
5743 (MIG): Likewise.
5744 * configure.in (MIG): Do not AC_SUBST.
5745 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5746 (libc_cv_cc_sse4): Do not AC_SUBST.
5747 (libc_cv_cc_avx): Likewise.
5748 (libc_cv_cc_sse2avx): Likewise.
5749 (libc_cv_cc_novzeroupper): Likewise.
5750 (libc_cv_cc_fma4): Likewise.
5751 (libc_cv_as_i686): Likewise.
5752 (libc_cv_sparc_as_vis3): Likewise.
5753 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5754 LIBC_CONFIG_VAR.
5755 (config-asflags-i686): Likewise.
5756 (config-cflags-avx): Likewise.
5757 (config-cflags-sse2avx): Likewise.
5758 (have-mfma4): Likewise.
5759 (config-cflags-novzeroupper): Likewise.
5760 * sysdeps/mach/configure.in (MIG): Likewise.
5761 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5762 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5763 LIBC_CONFIG_VAR.
5764 (config-cflags-avx): Likewise.
5765 (config-cflags-sse2avx): Likewise.
5766 (have-mfma4): Likewise.
5767 (config-cflags-novzeroupper): Likewise.
5768 * configure: Regenerated.
5769 * sysdeps/i386/configure: Likewise.
5770 * sysdeps/mach/configure: Likewise.
5771 * sysdeps/sparc/configure: Likewise.
5772 * sysdeps/x86_64/configure: Likewise.
5773
912cc4b3
RM
57742013-03-20 Roland McGrath <roland@hack.frob.com>
5775
5776 [BZ #14812]
5777 * locale/programs/localedef.c (options): Put N_ translation marker
5778 on argument names, not just descriptions.
5779
04eed2b0
MS
57802013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5781
5782 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5783
a065ceff
OB
57842013-03-20 Ondřej Bílka <neleai@seznam.cz>
5785
9bb2a810 5786 [BZ #14176]
a065ceff
OB
5787 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5788
a600e5ce
RM
57892013-03-19 Roland McGrath <roland@hack.frob.com>
5790
5791 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5792 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5793 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5794 [!BEFORE_ABORT] (before_abort): New function.
5795 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5796 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5797 (writev_for_fatal): New function.
5798 (WRITEV_FOR_FATAL): New macro; call that.
5799 (backtrace_and_maps): New function.
5800 (BEFORE_ABORT): New macro; call that.
5801 (struct str_list): Type removed.
5802 (__libc_message, __libc_fatal): Functions removed.
5803 Include <sysdeps/posix/libc_fatal.c> instead.
5804
6b18bea6
JM
58052013-03-19 Joseph Myers <joseph@codesourcery.com>
5806
5807 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5808 constants.
5809 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5810 double constants.
5811
aaa8cb4b
AS
58122013-03-19 Andreas Schwab <schwab@suse.de>
5813
44673770
AS
5814 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5815 * sysdeps/gnu/configure: Regenerate.
5816
aaa8cb4b
AS
5817 * configure.in: Substitute libc_cv_rtlddir.
5818 * configure: Regenerate.
5819 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5820 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5821 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5822 * elf/Makefile (install-others, CFLAGS-interp.c)
5823 (ldso_install, common-ldd-rewrite): Likewise.
5824 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5825 $(inst_slibdir)/$(rtld-installed-name).
5826 * scripts/rellns-sh: Add -p option.
5827 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5828 for source.
5829
d3cfc668
SP
58302013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5831
5832 * manual/nptl.texi: Renamed to ...
5833 * manual/threads.texi: ... this.
5834 * manual/Makefile (chapters): Update.
5835
0e2b9cdd
RM
58362013-03-18 Roland McGrath <roland@hack.frob.com>
5837
5838 [BZ #14812]
5839 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5840 on argument names, not just descriptions.
0e2b9cdd
RM
5841 * malloc/memusagestat.c (options): Likewise.
5842 * nss/getent.c (options): Likewise.
63270c24
RM
5843
58442013-03-18 Benno Schulenberg <bensberg@justemail.net>
5845
5846 [BZ #14812]
5847 * iconv/iconv_prog.c (options): Put N_ translation marker
5848 on argument names, not just descriptions.
5849 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5850
b2e1393c
OB
58512013-03-18 Ondrej Bilka <neleai@seznam.cz>
5852
5853 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5854 implementation which is faster on all x86_64 architectures.
5855 Tested on AMD, Intel Nehalem, SNB, IVB.
5856 * sysdeps/x86_64/strnlen.S: Likewise.
5857
5858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5859 Remove all multiarch strlen and strnlen versions.
5860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5861 Remove strlen and strnlen related parts.
5862
5863 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5864 Inline strlen part.
5865 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5866
5867 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5868 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5869 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5870 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5871 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5872 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5873
ec4ff04d
CD
58742013-03-17 Carlos O'Donell <carlos@redhat.com>
5875
5876 * manual/memory.texi (Malloc Tunable Parameters):
5877 Sort parameters alphabetically. Add comments for missing entries.
5878
cd18e90a
DM
58792013-03-17 David S. Miller <davem@davemloft.net>
5880
5881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5882
2a185d32
JM
58832013-03-16 Joseph Myers <joseph@codesourcery.com>
5884
d2f9799e
JM
5885 [BZ #15283]
5886 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5887 for arguments at most half maximum finite value.
5888 * math/libm-test.inc (j0_test): Add more tests.
5889 (j1_test): Likewise.
5890 (y0_test): Likewise.
5891 (y1_test): Likewise.
5892 * sysdeps/i386/fpu/libm-test-ulps: Update.
5893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5894
2a185d32
JM
5895 [BZ #14155]
5896 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5897 1 / x and functions P and Q for arguments above 0x1p256L.
5898 (__ieee754_y0l): Likewise.
5899 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5900 (__ieee754_y1l): Likewise.
5901 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5902 (j1_test): Likewise.
5903 (y0_test): Likewise.
5904 (y1_test): Likewise.
5905
6cbec759
TS
59062013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5907
5908 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5909 variable.
5910
bc16e260
RM
59112013-03-15 Roland McGrath <roland@hack.frob.com>
5912
aefc9b8c
RM
5913 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5914 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5915 zero since it's initialized to EXEC_PAGESIZE.
5916
bc16e260
RM
5917 * sysdeps/unix/sysv/linux/ldsodefs.h
5918 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5919 * sysdeps/generic/ldsodefs.h: ... here.
5920
a57da955
TS
59212013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5922
af00a34d
TS
5923 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5924
495ded2c
TS
5925 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5926 math/test-snan.c.
5927 * math/test-snan.c: Renamed from
5928 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5929 * math/Makefile (tests): Add test-snan.
5930 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5931 test-powerpc-snan.
5932
777b0332
TS
5933 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5934 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5935 functions.
5936 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5937 __builtin_nan family of functions.
5938 * math/libm-test.inc (initialize): Initialize qnan_value with
5939 __builtin_nan family of functions.
5940 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5941 Remove variables.
5942 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5943 Remove functions.
5944 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5945 storage class. Initialize qNaN_var and sNaN_var with
5946 __builtin_nan and __builtin_nans families of functions,
5947 respectively.
5948
64d063b8
TS
5949 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5950 (sqrt_test): Remove duplicate test with qNaN input.
5951 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5952 (round_test, signbit_test, significand_test): Note missing +/-Inf
5953 as well as qNaN tests.
5954
67e971f1
TS
5955 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5956 qNaN_var. Fix a few strings, too.
5957 * math/libm-test.inc (nan_value): Rename to qnan_value.
5958 * math/gen-libm-test.pl (%beautify): Adjust to that.
5959 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5960 * math/test-misc.c (main): Likewise.
5961 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5962 to __qnan_bytes, and __qnan_union, respectively.
5963 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5964 Likewise.
5965 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5966 and lqnanval, respectively.
5967 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5968 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5969 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5970 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5971
64487e12
TS
5972 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5973 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5974 doubles.
5975
e015e27b
TS
5976 * math/test-misc.c (main): Fix copy'n'pastos.
5977 * misc/tst-efgcvt.c (special): Likewise.
5978
a57da955
TS
5979 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5980 Remove declarations.
5981
1e380345
SP
59822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5983
5984 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5985 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5986 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5987 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5988
ef26eece
AZ
59892013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5990
5991 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5992 macro to return vdso values correctly in IFUNC implementations.
5993 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5994 Optimization by using IFUNC.
5995
8cfdb7e0
SP
59962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5997 Richard Henderson <rth@redhat.com>
5998 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5999
6000 * Makefile.in (bench): New target.
6001 * NEWS: Mention the benchmark framework.
6002 * Rules (bench): Likewise.
6003 (binaries-bench): Generate binaries for functions to
6004 benchmark.
6005 * benchtests/Makefile: New makefile for benchmark tests.
6006 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6007 programs.
6008 * benchtests/exp-inputs: New input file for EXP function.
6009 * benchtests/pow-inputs: New input file for POW function.
6010 * scripts/bench.pl: New script to generate source files for
6011 benchmark programs.
6012
bcda9880
SP
60132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6014
d22ca8cd
SP
6015 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6016 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6017 computations on mantissa. Use macros for rounding and
6018 division.
6019 (denorm): Likewise.
6020 (__dbl_mp): Likewise.
6021 (add_magnitudes): Likewise.
6022 (sub_magnitudes): Likewise.
6023 (__mul): Likewise.
6024 (__sqr): Likewise.
6025 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6026 powers of two in terms of TWOPOW macro.
6027 (mp_no): Make type of mantissa as MANTISSA_T.
6028 [!RADIXI]: Define RADIXI.
6029 [!TWO52]: Define TWO52.
6030 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6031
bcda9880
SP
6032 * manual/nptl.texi (cindex): Modify threads to pthreads.
6033
06d5adfb
JM
60342013-03-15 Joseph Myers <joseph@codesourcery.com>
6035
6036 * sysdeps/x86_64/preconfigure: Regenerated.
6037
41c7328e
JM
60382013-03-14 Joseph Myers <joseph@codesourcery.com>
6039
6040 [BZ #14155]
6041 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6042 0x1p28 and above.
6043 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6044 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6045 0x1p28 and above.
6046 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6047 * math/libm-test.inc (j0_test): Do not allow one spurious
6048 underflow exception.
6049 (y1_test): Likewise.
6050
e25cfa60
SP
60512013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6052
0409959c
SP
6053 * manual/Makefile (chapters): Add nptl.
6054 * manual/debug.texi (Debugging Support): Add link to Threads
6055 chapter.
6056 * manual/nptl.texi: New file.
6057
e25cfa60
SP
6058 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6059
58a1335e
PB
60602013-03-14 Petr Baudis <pasky@ucw.cz>
6061
6062 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6063 for non-NULL pointer before the memory validity test. Pointed
6064 out by Holger Brunck <holger.brunck@keymile.com>.
6065
9dc7c64f
AS
60662013-03-13 Andreas Schwab <schwab@suse.de>
6067
6068 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6069 instead of .os.
6070
54206aa6
JM
60712013-03-13 Joseph Myers <joseph@codesourcery.com>
6072
6073 * timezone/zic.c: Update from tzcode 2013b.
6074
e98cdb38
CD
60752013-03-12 Carlos O'Donell <carlos@redhat.com>
6076
6077 * manual/install.texi (Configuring and compiling):
6078 Mention i686 and i586.
6079 * INSTALL: Regenerate.
6080
9967e003
RM
60812013-03-12 Roland McGrath <roland@hack.frob.com>
6082
6083 * sysdeps/init_array/elf-init.c: New file.
6084 * csu/elf-init.c
6085 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6086 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6087
6088 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6089 __gmon_start__ as global, but as static with a .preinit_array pointer.
6090 * sysdeps/init_array/gmon-start.c: New file. Use that.
6091 * sysdeps/init_array/crti.S: New file, empty except for comments.
6092 * sysdeps/init_array/crtn.S: Likewise.
6093
e6b5a293 60942013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6095
6096 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6097 definining bcopy.
80f844c9
OB
6098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6099 Remove Prefer_SSE_for_memop.
6100 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6101 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6102 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6104 memset-x86-64.
80f844c9 6105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6106 Remove bzero, memset ifunc support.
80f844c9
OB
6107 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6108 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6109 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6110 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6111
fb6b0fcb
AS
61122013-03-11 Andreas Schwab <schwab@suse.de>
6113
6114 [BZ #15234]
6115 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6116 by SHLIB_COMPAT.
6117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6118 (GLIBC_2.16): Remove pthread_atfork.
6119
3e6bd4b1
PP
61202013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6121
6122 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6123 (ptestcases.h): Likewise.
6124
222d7f00
RM
61252013-03-08 Roland McGrath <roland@hack.frob.com>
6126
6127 * Makeconfig ($(common-objpfx)config.status): Depend on
6128 sysdeps/*/preconfigure{,.in} too.
6129
1ba4f030
JM
61302013-03-08 Joseph Myers <joseph@codesourcery.com>
6131
a222d91a
JM
6132 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6133 (__free_hook): Use void * instead of __malloc_ptr_t.
6134 (__malloc_hook): Likewise.
6135 (__realloc_hook): Likewise.
6136 (__memalign_hook): Likewise.
6137 (__after_morecore_hook): Likewise.
6138 * malloc/arena.c (save_malloc_hook): Likewise.
6139 (save_free_hook): Likewise.
6140 * malloc/hooks.c (malloc_hook_ini): Likewise.
6141 (realloc_hook_ini): Likewise.
6142 (memalign_hook_ini): Likewise.
6143 * malloc/malloc.c (malloc_hook_ini): Likewise.
6144 (realloc_hook_ini): Likewise.
6145 (memalign_hook_ini): Likewise.
6146 (__free_hook): Likewise.
6147 (__malloc_hook): Likewise.
6148 (__realloc_hook): Likewise.
6149 (__memalign_hook): Likewise.
6150 (__libc_malloc): Likewise.
6151 (__libc_free): Likewise.
6152 (__libc_realloc): Likewise.
6153 (__libc_memalign): Likewise.
6154 (__libc_valloc): Likewise.
6155 (__libc_pvalloc): Likewise.
6156 (__libc_calloc): Likewise.
6157 (__posix_memalign): Likewise.
6158 * malloc/morecore.c (__sbrk): Likewise.
6159 (__default_morecore): Likewise.
6160
5cc45e10
JM
6161 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6162
dd54b864
JM
6163 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6164 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6165 __malloc_ptrdiff_t.
6166
1ba4f030
JM
6167 * malloc/malloc.h (__malloc_size_t): Remove macro.
6168 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6169 __malloc_size_t.
6170 (old_memalign_hook): Likewise.
6171 (old_realloc_hook): Likewise.
6172 (struct hdr): Likewise.
6173 (flood): Likewise.
6174 (mallochook): Likewise.
6175 (memalignhook): Likewise.
6176 (reallochook): Likewise.
6177 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6178 (tr_old_realloc_hook): Likewise.
6179 (tr_old_memalign_hook): Likewise.
6180 (tr_mallochook): Likewise.
6181 (tr_reallochook): Likewise.
6182 (tr_memalignhook): Likewise.
6183
edf66e57
AZ
61842013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185
6186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6187 default_ldbl_pack and using as default implementation.
6188 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6189 implementation.
6190 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6191 redundant definition.
6192 (ldbl_insert_mantissa): Likewise.
6193 (ldbl_canonicalize): Likewise.
6194 (ldbl_nearbyint): Likewise.
6195 (ldbl_pack): Rename to ldbl_pack_ppc.
6196 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6197 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6198 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6199
6d9145d8
SP
62002013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6201
6202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6203 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6204 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6205 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6207 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6208 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6209 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6210
4dd4e157
AJ
62112013-03-07 Andreas Jaeger <aj@suse.de>
6212
6213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6214 bits/mman-linux.h.
6215
adbb8027
SP
62162013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6217
ce544b5b
SP
6218 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6219 Include mpa.h and declare __MPEXP.
6220 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6221 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6222 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6223 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6224 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6225 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6226 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6227
4cc149fd
SP
6228 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6229 (__slowpow): Use long double EXPL and LOGL functions to
6230 compute POW.
6231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6232 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6233 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6235 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6236 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6237
e6ebd4a7
SP
6238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6239 intermediate variable to calculate exponent.
6240 (__sqr): Likewise.
6241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6242 Likewise.
6243 (__sqr): Likewise.
6244
82a9811d
SP
6245 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6246 [!NO__SQR]: Define __sqr.
6247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6248 and NO__SQR. Remove all code except __mul and __sqr. Include
6249 sysdeps/ieee754/dbl-64/mpa.c.
6250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6251
adbb8027
SP
6252 [BZ #12723]
6253 * posix/Makefile (tests): Add tst-pathconf.
6254 * posix/tst-pathconf.c: New test case.
6255 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6256 _PC_PIPE_BUF.
6257 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6258
39120df9
PF
62592013-03-06 Patsy Franklin <pfrankli@redhat.com>
6260
6261 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6262
67525cb8
AJ
62632013-03-06 Andreas Jaeger <aj@suse.de>
6264
664a9ce4
AJ
6265 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6266 definition via __MAP_ANONYMOUS.
6267
8e39047d
AJ
6268 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6269 it's not part of Linux headers.
6270
67525cb8
AJ
6271 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6272 (MAP_HUGE_MASK): Define.
6273
6274 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6275 Define.
6276 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6278 Define.
6279 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6280 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6281 Define.
6282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6284 Define.
6285 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6286
6287 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6288 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6289 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6290 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6291 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6292 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6293
6294 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6295 Handle f2fs.
6296
6297 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6298 Handle f2fs and efivarfs.
6299
6300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6301 f2fs.
6302
6303 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6304 (EFIVARFS_MAGIC): Add.
6305 (F2FS_LINK_MAX): Add.
6306
e1b42695
PP
63072013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6308
6309 * stdio-common/vfprintf.c: Replace __builtin_expect with
6310 __glibc_unlikely.
6311
2d67d91a
JM
63122013-03-06 Joseph Myers <joseph@codesourcery.com>
6313
6314 [BZ #13550]
6315 * sysdeps/generic/bp-sym.h: Remove file.
6316 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6317 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6318 <bp-sym.h> and <bp-asm.h>.
6319 (__longjmp): Don't use BP_SYM.
6320 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6321 and <bp-asm.h>.
6322 (memcpy): Don't use BP_SYM.
6323 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6324 <bp-sym.h> and <bp-asm.h>.
6325 (memcpy): Don't use BP_SYM.
6326 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6327 <bp-asm.h>.
6328 (memcpy): Don't use BP_SYM.
6329 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6330 <bp-asm.h>.
6331 (memset): Don't use BP_SYM.
6332 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6333 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6334 (__bzero): Don't use BP_SYM.
6335 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6336 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6337 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6338 <bp-sym.h> and <bp-asm.h>.
6339 (memcmp): Don't use BP_SYM. Remove comment about bounded
6340 pointers.
6341 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6342 <bp-sym.h> and <bp-asm.h>.
6343 (memcpy): Don't use BP_SYM.
6344 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6345 <bp-sym.h> and <bp-asm.h>.
6346 (memset): Don't use BP_SYM.
6347 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6348 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6349 (__bzero): Don't use BP_SYM.
6350 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6351 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6352 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6353 <bp-sym.h> and <bp-asm.h>.
6354 (strncmp): Don't use BP_SYM. Remove comment about bounded
6355 pointers.
6356 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6357 <bp-sym.h> and <bp-asm.h>.
6358 (memcpy): Don't use BP_SYM.
6359 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6360 <bp-sym.h> and <bp-asm.h>.
6361 (memset): Don't use BP_SYM.
6362 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6363 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6364 (__bzero): Don't use BP_SYM.
6365 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6366 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6368 <bp-sym.h> and <bp-asm.h>.
6369 (__memchr): Don't use BP_SYM.
6370 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6371 <bp-sym.h> and <bp-asm.h>.
6372 (memcmp): Don't use BP_SYM. Remove comment about bounded
6373 pointers.
6374 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6375 <bp-sym.h> and <bp-asm.h>.
6376 (memcpy): Don't use BP_SYM.
6377 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6378 <bp-sym.h> and <bp-asm.h>.
6379 (__mempcpy): Don't use BP_SYM.
6380 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6381 <bp-sym.h> and <bp-asm.h>.
6382 (__memrchr): Don't use BP_SYM.
6383 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6384 <bp-sym.h> and <bp-asm.h>.
6385 (memset): Don't use BP_SYM.
6386 (__bzero): Likewise.
6387 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6388 <bp-sym.h> and <bp-asm.h>.
6389 (__rawmemchr): Don't use BP_SYM.
6390 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6391 <bp-sym.h> and <bp-asm.h>.
6392 (__STRCMP): Don't use BP_SYM.
6393 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6394 <bp-sym.h> and <bp-asm.h>.
6395 (strchr): Don't use BP_SYM.
6396 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6397 <bp-sym.h> and <bp-asm.h>.
6398 (__strchrnul): Don't use BP_SYM.
6399 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6400 <bp-sym.h> and <bp-asm.h>.
6401 (strlen): Don't use BP_SYM.
6402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6403 <bp-sym.h> and <bp-asm.h>.
6404 (strncmp): Don't use BP_SYM. Remove comment about bounded
6405 pointers.
6406 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6407 <bp-sym.h> and <bp-asm.h>.
6408 (__strnlen): Don't use BP_SYM.
6409 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6410 <bp-sym.h> and <bp-asm.h>.
6411 (__GI__setjmp): Don't use BP_SYM.
6412 (_setjmp): Likewise.
6413 (__sigsetjmp): Likewise.
6414 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6415 (L(start_addresses)): Don't use BP_SYM.
6416 (_start): Likewise.
6417 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6418 <bp-asm.h>.
6419 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6420 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6421 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6422 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6423 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6424 <bp-asm.h>.
6425 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6426 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6427 about bounded pointers.
6428 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6429 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6430 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6431 <bp-asm.h>.
6432 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6433 about bounded pointers. Remove GKM FIXME comments.
6434 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6435 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6436 <bp-asm.h>.
6437 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6438 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6439 Remove GKM FIXME comments.
6440 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6441 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6442 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6443 <bp-asm.h>.
6444 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6445 about bounded pointers. Remove GKM FIXME comment.
6446 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6447 and <bp-asm.h>.
6448 (strncmp): Don't use BP_SYM. Remove comment about bounded
6449 pointers.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6451 <bp-sym.h> and <bp-asm.h>.
6452 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6454 <bp-sym.h> and <bp-asm.h>.
6455 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6456 comment.
6457
cdcf361f
PP
64582013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6459
6460 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6461 call free(NULL).
6462
3c4a2b15
DM
64632013-03-05 David S. Miller <davem@davemloft.net>
6464
6465 * po/es.po: Update from translation team.
6466
cdcf361f 64672013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6468
6469 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6470 <bits/mman-linux.h>.
6471 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6472 is fine.
6473 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6474 <bits/mman-linux.h> to end of file.
6475 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6476 is fine.
6477 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6478 <bits/mman-linux.h> to end of file.
6479 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6480 is fine.
6481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6482 <bits/mman-linux.h> to end of file.
6483
6484 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6485 (MCL_CURRENT, MCL_FUTURE): Define here.
6486
5f67c04f
AK
64872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6488
8a4473cc 6489 [BZ #15232]
5f67c04f
AK
6490 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6491 attribute_hidden.
6492 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6493
c3e94a95
AK
64942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6495
6496 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6497 fourth parameter needed for rt_sigprocmask syscall.
6498 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6499 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6500 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6501 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6502 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6503 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6504
cfb6382a
JM
65052013-03-04 Joseph Myers <joseph@codesourcery.com>
6506
6507 [BZ #13550]
6508 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6509 comment about bounded pointers.
6510 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6511 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6512
539d8e01
AJ
65132013-03-04 Andreas Jaeger <aj@suse.de>
6514
6515 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6516 common definitions.
6517
6518 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6519 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6520 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6521 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6522 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6523 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6524
2e167a70 65252013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6526
6527 [BZ #15055]
6528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6529 __ieee754_sqrl instead of __sqrl.
6530
68508633
JM
65312013-03-01 Joseph Myers <joseph@codesourcery.com>
6532
6533 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6534 * sysdeps/powerpc/fpu_control.h: ... here.
6535 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6536 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6537 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6538 * sysdeps/powerpc/bits/mathinline.h: ... here.
6539
7775448e
RM
65402013-03-01 Roland McGrath <roland@hack.frob.com>
6541
6542 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6543 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6544 to just [NEED_DL_SYSINFO_DSO].
6545 * elf/dl-support.c: Likewise.
6546 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6547 * elf/rtld.c (dl_main): Likewise.
6548 * elf/setup-vdso.h (setup_vdso): Likewise.
6549 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6550 * sysdeps/unix/sysv/linux/dl-sysdep.c
6551 (_dl_discover_osversion): Likewise.
6552
4e9b5995
CD
65532013-03-01 Carlos O'Donell <carlos@redhat.com>
6554
6555 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6556 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6557
e23872c8
SP
65582013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6559
e5c74c63
SP
6560 * NEWS: Mention libm performance improvements and non-x86 PI
6561 futex support.
6562
e23872c8
SP
6563 * csu/libc-start.c (__pthread_initialize_minimal): Change
6564 function arguments.
6565 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6566
b5510883
JM
65672013-02-28 Joseph Myers <joseph@codesourcery.com>
6568
6569 [BZ #13550]
6570 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6571 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6572 <bp-sym.h> and <bp-asm.h>.
6573 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6575 and <bp-asm.h>.
6576 (memcpy): Don't use BP_SYM.
6577 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6578 <bp-asm.h>.
6579 (__mpn_add_n): Don't use BP_SYM.
6580 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6581 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6582 and <bp-asm.h>.
6583 (__mpn_addmul_1): Don't use BP_SYM.
6584 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6585 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6586 <bp-sym.h>.
6587 (_setjmp): Don't use BP_SYM.
6588 (__novmx_setjmp): Likewise.
6589 (__GI__setjmp): Likewise.
6590 (__vmx_setjmp): Likewise.
6591 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6592 <bp-sym.h>.
6593 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6594 (__bzero): Don't use BP_SYM.
6595 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6596 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6597 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6598 <bp-sym.h> and <bp-asm.h>.
6599 (memcpy): Don't use BP_SYM.
6600 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6601 <bp-sym.h> and <bp-asm.h>.
6602 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6604 <bp-sym.h> and <bp-asm.h>.
6605 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6606 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6607 <bp-asm.h>.
6608 (__mpn_lshift): Don't use BP_SYM.
6609 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6610 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6611 <bp-asm.h>.
6612 (memset): Don't use BP_SYM.
6613 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6614 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6615 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6616 <bp-asm.h>.
6617 (__mpn_mul_1): Don't use BP_SYM.
6618 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6619 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6620 <bp-sym.h> and <bp-asm.h>.
6621 (memcmp): Don't use BP_SYM.
6622 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6623 <bp-sym.h> and <bp-asm.h>.
6624 (memcpy): Don't use BP_SYM.
6625 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6626 <bp-sym.h> and <bp-asm.h>.
6627 (memset): Don't use BP_SYM.
6628 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6629 <bp-sym.h> and <bp-asm.h>.
6630 (strncmp): Don't use BP_SYM.
6631 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6632 <bp-sym.h> and <bp-asm.h>.
6633 (memcpy): Don't use BP_SYM.
6634 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6635 <bp-sym.h> and <bp-asm.h>.
6636 (memset): Don't use BP_SYM.
6637 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6638 <bp-sym.h> and <bp-asm.h>.
6639 (__memchr): Don't use BP_SYM.
6640 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6641 <bp-sym.h> and <bp-asm.h>.
6642 (memcmp): Don't use BP_SYM.
6643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6644 <bp-sym.h> and <bp-asm.h>.
6645 (memcpy): Don't use BP_SYM.
6646 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6647 <bp-sym.h> and <bp-asm.h>.
6648 (__mempcpy): Don't use BP_SYM.
6649 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6650 <bp-sym.h> and <bp-asm.h>.
6651 (__memrchr): Don't use BP_SYM.
6652 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6653 <bp-sym.h> and <bp-asm.h>.
6654 (memset): Don't use BP_SYM.
6655 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6656 <bp-sym.h> and <bp-asm.h>.
6657 (__rawmemchr): Don't use BP_SYM.
6658 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6659 <bp-sym.h> and <bp-asm.h>.
6660 (__STRCMP): Don't use BP_SYM.
6661 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6662 <bp-sym.h> and <bp-asm.h>.
6663 (strchr): Don't use BP_SYM.
6664 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6665 <bp-sym.h> and <bp-asm.h>.
6666 (__strchrnul): Don't use BP_SYM.
6667 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6668 <bp-sym.h> and <bp-asm.h>.
6669 (strlen): Don't use BP_SYM.
6670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6671 <bp-sym.h> and <bp-asm.h>.
6672 (strncmp): Don't use BP_SYM.
6673 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6674 <bp-sym.h> and <bp-asm.h>.
6675 (__strnlen): Don't use BP_SYM.
6676 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6677 <bp-asm.h>.
6678 (__mpn_rshift): Don't use BP_SYM.
6679 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6680 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6681 <bp-sym.h> and <bp-asm.h>.
6682 (__sigsetjmp): Don't use BP_SYM.
6683 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6684 (L(start_addresses)): Don't use BP_SYM.
6685 (_start): Likewise.
6686 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6687 <bp-asm.h>.
6688 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6689 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6690 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6691 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6692 <bp-asm.h>.
6693 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6694 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6695 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6696 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6697 <bp-asm.h>.
6698 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6699 comments.
6700 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6701 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6702 <bp-asm.h>.
6703 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6704 FIXME comments.
6705 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6706 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6707 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6708 <bp-asm.h>.
6709 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6710 comment.
6711 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6712 and <bp-asm.h>.
6713 (strncmp): Don't use BP_SYM,
6714 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6715 <bp-asm.h>.
6716 (__mpn_sub_n): Don't use BP_SYM.
6717 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6718 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6719 and <bp-asm.h>.
6720 (__mpn_submul_1): Don't use BP_SYM.
6721 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6723 <bp-sym.h> and <bp-asm.h>.
6724 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6726 <bp-sym.h> and <bp-asm.h>.
6727 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6728 comment.
6729
8d19fe64
SP
67302013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6731
6732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6733 Use ZK to minimize writes to Z.
6734 (sub_magnitudes): Simplify code a bit.
6735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6736 Use ZK to minimize writes to Z.
6737 (sub_magnitudes): Simplify code a bit.
6738
85bd816a
RM
67392013-02-27 Roland McGrath <roland@hack.frob.com>
6740
6741 * csu/gmon-start.c: Add special exception to license text.
6742
b5977bf2
RH
67432013-02-27 Richard Henderson <rth@redhat.com>
6744
6745 * scripts/config.guess: Update from config.git.
6746 * scripts/config.sub: Likewise.
6747
11d6e2f2
SP
67482013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6749
09c14ed2
SP
6750 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6751
a688864e
SP
6752 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6753
6295157a
SP
6754 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6755
b8de2202
SP
6756 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6757
11d6e2f2
SP
6758 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6759
7e80ddb8
RM
67602013-02-26 Roland McGrath <roland@hack.frob.com>
6761
6762 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6763 [$(build-shared = yes].
7e80ddb8 6764
7da6d9ed
SP
67652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6766
45f05884
SP
6767 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6768 (__mul): Reduce iterations for calculating mantissa.
6769
2236d359
SP
6770 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6771 MPTWO.
6772 (__mpranred): Likewise.
6773
7da6d9ed
SP
6774 [BZ #15160]
6775 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6776 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6777
b7688c42
PE
67782013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6779
6780 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6781 Define __attribute__.
6782
53a5c423
SP
67832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6784
6785 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6786 unused.
6787 * posix/regex_internal.h (__attribute): Remove.
6788 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6789 (re_string_context_at): Likewise.
6790 (bitset_not): Use __attribute__ and mark function as possibly
6791 unused.
6792 (bitset_merge): Likewise.
6793 (bitset_mask): Likewise.
6794 (re_string_char_size_at): Likewise.
6795 (re_string_wchar_at): Likewise.
6796 (re_string_elem_size_at): Likewise.
6797
60f5a8b5
SP
67982013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6799
2a983a2e
SP
6800 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6801 code.
6802 (cc32): Likewise.
6803
e69804d1
SP
6804 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6805 (__acr): Likewise.
6806 (__cpy): Likewise.
6807 (norm): Likewise.
6808 (denorm): Likewise.
6809 (__dbl_mp): Likewise.
6810 (add_magnitudes): Likewise.
6811 (sub_magnitudes): Likewise.
6812 (__mul): Likewise.
6813 (__inv): Likewise.
6814
2f22a1e8
SP
6815 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6816 style.
6817
8930ddc7
SP
6818 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6819 style.
6820
dc60cb11
SP
6821 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6822 code.
6823
60f5a8b5
SP
6824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6825 up changes with default code.
6826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6827 Likewise.
6828
b4d1fd33
AM
68292013-02-24 Allan McRae <allan@archlinux.org>
6830
faf6f8bc
AM
6831 * manual/socket.texi (The Internet Namespace): Order menu items
6832 to match that in the file.
6833
b4d1fd33
AM
6834 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6835 node listing of the info page menu.
6836
2366713d
JM
68372013-02-21 Joseph Myers <joseph@codesourcery.com>
6838
6839 [BZ #13550]
6840 * sysdeps/i386/bp-asm.h: Remove file.
6841 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6842 (PARMS): Do not use macros from bp-asm.h.
6843 (S1): Likewise.
6844 (S2): Likewise.
6845 (SIZE): Likewise.
6846 (__mpn_add_n): Do not use BP_SYM
6847 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6848 "bp-asm.h".
6849 (PARMS): Do not use macros from bp-asm.h.
6850 (S1): Likewise.
6851 (SIZE): Likewise.
6852 (__mpn_addmul_1): Do not use BP_SYM
6853 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6854 "bp-asm.h".
6855 (PARMS): Do not use macros from bp-asm.h.
6856 (SIGMSK): Likewise.
6857 (_setjmp): Likewise. Do not use BP_SYM.
6858 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6859 "bp-asm.h".
6860 (PARMS): Do not use macros from bp-asm.h.
6861 (SIGMSK): Likewise.
6862 (setjmp): Likewise. Do not use BP_SYM.
6863 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6864 "bp-asm.h".
6865 (PARMS): Do not use macros from bp-asm.h.
6866 (__frexp): Do not use BP_SYM.
6867 (frexp): Likewise.
6868 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6869 "bp-asm.h".
6870 (PARMS): Do not use macros from bp-asm.h.
6871 (__frexpf): Do not use BP_SYM.
6872 (frexpf): Likewise.
6873 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6874 "bp-asm.h".
6875 (PARMS): Do not use macros from bp-asm.h.
6876 (__frexpl): Do not use BP_SYM.
6877 (frexpl): Likewise.
6878 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6879 "bp-asm.h".
6880 (PARMS): Do not use macros from bp-asm.h.
6881 (__remquo): Do not use BP_SYM.
6882 (remquo): Likewise.
6883 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6884 "bp-asm.h".
6885 (PARMS): Do not use macros from bp-asm.h.
6886 (__remquof): Do not use BP_SYM.
6887 (remquof): Likewise.
6888 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6889 "bp-asm.h".
6890 (PARMS): Do not use macros from bp-asm.h.
6891 (__remquol): Do not use BP_SYM.
6892 (remquol): Likewise.
6893 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6894 "bp-asm.h".
6895 (PARMS): Do not use macros from bp-asm.h.
6896 (DEST): Likewise.
6897 (SRC): Likewise.
6898 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6899 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6900 "bp-asm.h".
6901 (PARMS): Do not use macros from bp-asm.h.
6902 (strlen): Do not use BP_SYM.
6903 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6904 "bp-asm.h".
6905 (PARMS): Do not use macros from bp-asm.h.
6906 (S1): Likewise.
6907 (S2): Likewise.
6908 (SIZE): Likewise.
6909 (__mpn_add_n): Do not use BP_SYM.
6910 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6911 "bp-asm.h".
6912 (PARMS): Do not use macros from bp-asm.h.
6913 (S1): Likewise.
6914 (SIZE): Likewise.
6915 (__mpn_addmul_1): Do not use BP_SYM.
6916 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6917 weak_alias.
6918 (bzero): Likewise.
6919 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6920 "bp-asm.h".
6921 (PARMS): Do not use macros from bp-asm.h.
6922 (S): Likewise.
6923 (SIZE): Likewise.
6924 (__mpn_lshift): Do not use BP_SYM.
6925 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6926 "bp-asm.h".
6927 (PARMS): Do not use macros from bp-asm.h.
6928 (DEST): Likewise.
6929 (SRC): Likewise.
6930 (LEN): Likewise.
6931 (memcpy): Likewise. Do not use BP_SYM.
6932 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6933 libc_hidden_def and weak_alias.
6934 (mempcpy): Do not use BP_SYM in weak_alias.
6935 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6936 "bp-asm.h".
6937 (PARMS): Do not use macros from bp-asm.h.
6938 (DEST): Likewise.
6939 (LEN): Likewise.
6940 [!BZERO_P] (CHR): Likewise.
6941 (memset): Likewise. Do not use BP_SYM.
6942 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6943 "bp-asm.h".
6944 (PARMS): Do not use macros from bp-asm.h.
6945 (S1): Likewise.
6946 (SIZE): Likewise.
6947 (__mpn_mul_1): Do not use BP_SYM.
6948 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6949 "bp-asm.h".
6950 (PARMS): Do not use macros from bp-asm.h.
6951 (S): Likewise.
6952 (SIZE): Likewise.
6953 (__mpn_rshift): Do not use BP_SYM.
6954 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6955 "bp-asm.h".
6956 (PARMS): Do not use macros from bp-asm.h.
6957 (STR): Likewise.
6958 (CHR): Likewise.
6959 (strchr): Likewise. Do not use BP_SYM.
6960 (index): Do not use BP_SYM in weak_alias.
6961 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6962 "bp-asm.h".
6963 (PARMS): Do not use macros from bp-asm.h.
6964 (DEST): Likewise.
6965 (SRC): Likewise.
6966 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6967 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6968 "bp-asm.h".
6969 (PARMS): Do not use macros from bp-asm.h.
6970 (strlen): Do not use BP_SYM.
6971 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6972 "bp-asm.h".
6973 (PARMS): Do not use macros from bp-asm.h.
6974 (S1): Likewise.
6975 (S2): Likewise.
6976 (SIZE): Likewise.
6977 (__mpn_sub_n): Do not use BP_SYM.
6978 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6979 "bp-asm.h".
6980 (PARMS): Do not use macros from bp-asm.h.
6981 (S1): Likewise.
6982 (SIZE): Likewise.
6983 (__mpn_submul_1): Do not use BP_SYM.
6984 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6985 "bp-asm.h".
6986 (PARMS): Do not use macros from bp-asm.h.
6987 (S1): Likewise.
6988 (S2): Likewise.
6989 (SIZE): Likewise.
6990 (__mpn_add_n): Do not use BP_SYM.
6991 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6992 weak_alias.
6993 (bzero): Likewise.
6994 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6995 "bp-asm.h".
6996 (PARMS): Do not use macros from bp-asm.h.
6997 (BLK2): Likewise.
6998 (LEN): Likewise.
6999 (memcmp): Do not use BP_SYM.
7000 (bcmp): Do not use BP_SYM in weak_alias.
7001 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7002 "bp-asm.h".
7003 (PARMS): Do not use macros from bp-asm.h.
7004 (DEST): Likewise.
7005 (SRC): Likewise.
7006 (LEN): Likewise.
7007 (memcpy): Likewise. Do not use BP_SYM.
7008 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7009 "bp-asm.h".
7010 (PARMS): Do not use macros from bp-asm.h.
7011 (DEST): Likewise.
7012 (SRC): Likewise.
7013 (LEN): Likewise.
7014 (memmove): Likewise. Do not use BP_SYM.
7015 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7016 "bp-asm.h".
7017 (PARMS): Do not use macros from bp-asm.h.
7018 (DEST): Likewise.
7019 (SRC): Likewise.
7020 (LEN): Likewise.
7021 (__mempcpy): Likewise. Do not use BP_SYM.
7022 (mempcpy): Do not use BP_SYM in weak_alias.
7023 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7024 "bp-asm.h".
7025 (PARMS): Do not use macros from bp-asm.h.
7026 (DEST): Likewise.
7027 (LEN): Likewise.
7028 [!BZERO_P] (CHR): Likewise.
7029 (memset): Likewise. Do not use BP_SYM.
7030 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7031 "bp-asm.h".
7032 (PARMS): Do not use macros from bp-asm.h.
7033 (STR2): Likewise.
7034 (strcmp): Do not use BP_SYM.
7035 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7036 "bp-asm.h".
7037 (PARMS): Do not use macros from bp-asm.h.
7038 (STR): Likewise.
7039 (DELIM): Likewise.
7040 [USE_AS_STRTOK_R] (SAVE): Likewise.
7041 (FUNCTION): Likewise. Do not use BP_SYM.
7042 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7043 aliases.
7044 (strtok_r): Likewise.
7045 (__GI___strtok_r): Likewise.
7046 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7047 (PARMS): Do not use macros from bp-asm.h.
7048 (S): Likewise.
7049 (SIZE): Likewise.
7050 (__mpn_lshift): Do not use BP_SYM.
7051 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7052 (PARMS): Do not use macros from bp-asm.h.
7053 (STR): Likewise.
7054 (CHR): Likewise.
7055 (__memchr): Do not use BP_SYM.
7056 (memchr): Do not use BP_SYM in weak_alias.
7057 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7058 (PARMS): Do not use macros from bp-asm.h.
7059 (BLK2): Likewise.
7060 (LEN): Likewise.
7061 (memcmp): Do not use BP_SYM.
7062 (bcmp): Do not use BP_SYM in weak_alias.
7063 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7064 (PARMS): Do not use macros from bp-asm.h.
7065 (S1): Likewise.
7066 (SIZE): Likewise.
7067 (__mpn_mul_1): Do not use BP_SYM.
7068 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7069 "bp-asm.h".
7070 (PARMS): Do not use macros from bp-asm.h.
7071 (STR): Likewise.
7072 (CHR): Likewise.
7073 (__rawmemchr): Do not use BP_SYM.
7074 (rawmemchr): Do not use BP_SYM in weak_alias.
7075 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7076 (PARMS): Do not use macros from bp-asm.h.
7077 (S): Likewise.
7078 (SIZE): Likewise.
7079 (__mpn_rshift): Do not use BP_SYM.
7080 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7081 (PARMS): Do not use macros from bp-asm.h.
7082 (SIGMSK): Likewise.
7083 (__sigsetjmp): Likewise. Do not use BP_SYM.
7084 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7085 (_start): Do not use BP_SYM.
7086 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7087 (PARMS): Do not use macros from bp-asm.h.
7088 (DEST): Likewise.
7089 (SRC): Likewise.
7090 (__stpcpy): Likewise. Do not use BP_SYM.
7091 (stpcpy): Do not use BP_SYM in weak_alias.
7092 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7093 "bp-asm.h".
7094 (PARMS): Do not use macros from bp-asm.h.
7095 (DEST): Likewise.
7096 (SRC): Likewise.
7097 (LEN): Likewise.
7098 (__stpncpy): Likewise. Do not use BP_SYM.
7099 (stpncpy): Do not use BP_SYM in weak_alias.
7100 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7101 (PARMS): Do not use macros from bp-asm.h.
7102 (STR): Likewise.
7103 (CHR): Likewise.
7104 (strchr): Likewise. Do not use BP_SYM.
7105 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7106 "bp-asm.h".
7107 (PARMS): Do not use macros from bp-asm.h.
7108 (STR): Likewise.
7109 (CHR): Likewise.
7110 (__strchrnul): Likewise. Do not use BP_SYM.
7111 (strchrnul): Do not use BP_SYM in weak_alias.
7112 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7113 "bp-asm.h".
7114 (PARMS): Do not use macros from bp-asm.h.
7115 (STOP): Likewise.
7116 (strcspn): Do not use BP_SYM.
7117 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7118 "bp-asm.h".
7119 (PARMS): Do not use macros from bp-asm.h.
7120 (STR): Likewise.
7121 (STOP): Likewise.
7122 (strpbrk): Likewise. Do not use BP_SYM.
7123 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7124 "bp-asm.h".
7125 (PARMS): Do not use macros from bp-asm.h.
7126 (STR): Likewise.
7127 (CHR): Likewise.
7128 (strrchr): Likewise. Do not use BP_SYM.
7129 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7130 (PARMS): Do not use macros from bp-asm.h.
7131 (SKIP): Likewise.
7132 (strspn): Do not use BP_SYM.
7133 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7134 (PARMS): Do not use macros from bp-asm.h.
7135 (STR): Likewise.
7136 (DELIM): Likewise.
7137 (SAVE): Likewise.
7138 (FUNCTION): Likewise. Do not use BP_SYM.
7139 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7140 aliases.
7141 (strtok_r): Likewise.
7142 (__GI___strtok_r): Likewise.
7143 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7144 (PARMS): Do not use macros from bp-asm.h.
7145 (S1): Likewise.
7146 (S2): Likewise.
7147 (SIZE): Likewise.
7148 (__mpn_sub_n): Do not use BP_SYM.
7149 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7150 "bp-asm.h".
7151 (PARMS): Do not use macros from bp-asm.h.
7152 (S1): Likewise.
7153 (SIZE): Likewise.
7154 (__mpn_submul_1): Do not use BP_SYM.
7155 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7156 <bp-sym.h>.
7157 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7158 and <bp-asm.h>.
7159 (PARMS): Do not use macros from bp-asm.h.
7160 (FLAGS): Likewise.
7161 (PTID): Likewise.
7162 (TLS): Likewise.
7163 (CTID): Likewise.
7164 (__clone): Do not use BP_SYM.
7165 (clone): Do not use BP_SYM in weak_alias.
7166 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7167 and <bp-asm.h>.
7168 (PARMS): Do not use macros from bp-asm.h.
7169 (LEN): Likewise.
7170 (__mmap64): Do not use BP_SYM.
7171 (mmap64): Do not use BP_SYM in weak_alias.
7172 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7173 <bp-sym.h> and <bp-asm.h>.
7174 (PARMS): Do not use macros from bp-asm.h.
7175 (__posix_fadvise64_l64): Do not use BP_SYM.
7176 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7177 (PARMS): Do not use macros from bp-asm.h.
7178 (NSOPS): Likewise.
7179 (semtimedop): Do not use BP_SYM.
7180 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7181 and <bp-asm.h>.
7182
582a3cff
AM
71832013-02-21 Allan McRae <allan@archlinux.org>
7184
7185 * manual/message.texi (Charset conversion in gettext):
7186 Move @end statement to beginning of line.
7187
bab8a695
SP
71882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7189
80945231
SP
7190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7191 static.
7192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7193 Likewise.
7194
bab8a695
SP
7195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7196 (denorm): Likewise.
7197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7199
e21d7aa7
AK
72002013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7201
7202 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7203 tail-call to the resolved function if pltexit isn't needed.
7204
4c7a4263
SP
72052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7206
7207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7208 or Y being zero as being unlikely.
7209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7210 Likewise.
7211
41f49342
CD
72122013-02-20 Carlos O'Donell <carlos@redhat.com>
7213
7214 * manual/nss.texi (System Databases and Name Service Switch):
7215 Remove frobnicate @pxref.
7216
50022a93
TS
72172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7218
7219 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7220 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7221
08cbd996
PM
72222013-02-20 Petr Machata <pmachata@redhat.com>
7223
7224 * elf/elf.h (R_ARM_TARGET1): New macro.
7225 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7226 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7227 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7228 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7229 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7230 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7231 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7232 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7233 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7234 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7235 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7236 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7237 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7238 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7239 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7240 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7241 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7242 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7243 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7244 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7245 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7246 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7247 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7248 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7249 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7250 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7251 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7252 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7253 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7254 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7255 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7256 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7257 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7258 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7259 (R_ARM_THM_GOT_BREL12): Likewise.
7260 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7261 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7262 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7263 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7264 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7265 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7266 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7267 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7268 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7269
c7b275d6
TS
72702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7271
7272 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7273 __attribute_used__ to __attribute__ ((unused)).
7274
20cd7fb3
SP
72752013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7276
7277 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7278 powerpc mpa.c.
7279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7280 comment formatting.
7281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7282
92945b52
JM
72832013-02-19 Joseph Myers <joseph@codesourcery.com>
7284
7285 [BZ #13550]
7286 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7287 Remove macro.
7288 (ENTER): Remove both macro definitions.
7289 (LEAVE): Likewise.
7290 (CHECK_BOUNDS_LOW): Likewise.
7291 (CHECK_BOUNDS_HIGH): Likewise.
7292 (CHECK_BOUNDS_BOTH): Likewise.
7293 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7294 (RETURN_BOUNDED_POINTER): Likewise.
7295 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7296 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7297 (POP_ERRNO_LOCATION_RETURN): Likewise.
7298 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7299 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7300 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7301 macros.
7302 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7303 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7304 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7305 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7306 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7307 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7308 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7309 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7310 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7311 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7312 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7313 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7314 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7315 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7316 removed macros.
7317 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7318 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7319 macros.
7320 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7321 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7322 * sysdeps/i386/i586/memset.S (memset): Likewise.
7323 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7324 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7325 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7326 macros.
7327 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7328 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7329 Change uses of L(2) to L(out).
7330 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7331 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7332 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7333 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7334 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7335 removed macros.
7336 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7337 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7338 macros.
7339 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7340 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7341 (RETURN): Do not use macro LEAVE.
7342 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7343 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7344 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7345 * sysdeps/i386/i686/memset.S (memset): Likewise.
7346 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7347 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7348 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7349 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7350 Likewise.
7351 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7352 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7353 L(1_2) and L(1_3) into L(1).
7354 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7355 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7356 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7357 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7358 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7359 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7360 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7361 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7362 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7363 macros.
7364 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7365 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7366 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7367 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7368 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7369 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7370 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7371 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7372 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7373 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7374 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7375 * sysdeps/i386/strspn.S (strspn): Likewise.
7376 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7377 conditional code.
7378 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7379 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7380 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7381 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7382 L(1_3) into L(1_1).
7383 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7384 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7385 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7386 macros.
7387 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7388
2389741a
JJ
73892013-02-19 Jakub Jelinek <jakub@redhat.com>
7390
7391 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7392 macro.
7393
2016b3cd
SP
73942013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7395
e4f22324
SP
7396 * math/atest-exp.c (exp_mpn): Remove ROUND.
7397 * math/atest-exp2.c (exp_mpn): Likewise.
7398 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7399
2016b3cd
SP
7400 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7401 * stdlib/tst-tls-atexit-lib.c: Likewise.
7402 * stdlib/tst-tls-atexit.c: Likewise.
7403
4be9b544
MF
74042013-02-18 Mike Frysinger <vapier@gentoo.org>
7405
7406 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7407 and __attribute_alloc_size__.
7408
2f62b9ee
MF
74092013-02-18 Mike Frysinger <vapier@gentoo.org>
7410
7411 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7412 __attribute_alloc_size__.
7413 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7414 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7415
6ff444c4
MF
74162013-02-18 Mike Frysinger <vapier@gentoo.org>
7417
7418 * include/programs/xmalloc.h: New file.
7419 * catgets/gencat.c: Include it.
7420 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7421 * elf/pldd.c: Likewise.
7422 * iconv/iconv_charmap.c: Likewise.
7423 * iconv/iconvconfig.c: Likewise.
7424 * iconv/strtab.c: Likewise.
7425 * locale/programs/locale.c: Likewise.
7426 * locale/programs/localedef.h: Likewise.
7427 * locale/programs/simple-hash.c: Likewise.
7428 * nscd/nscd.h: Likewise.
7429 * nss/makedb.c: Likewise.
7430 * sysdeps/generic/ldconfig.h: Likewise.
7431
be179c8a
SP
74322013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7433
ba384f6e
SP
7434 * Versions.def: Add GLIBC_2.18.
7435 * include/link.h (struct link_map): New member l_tls_dtor_count.
7436 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7437 (__call_tls_dtors): Likewise.
7438 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7439 __cxa_thread_atexit_impl.
7440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7441 Likewise.
7442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7443 Likewise.
7444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7445 Likewise.
7446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7447 Likewise.
7448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7450 Likewise.
7451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7452 Likewise.
7453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7455 Likewise.
7456 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7457 (tests): Add test case tst-tls-atexit.
7458 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7459 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7460 (GLIBC_PRIVATE): Add __call_tls_dtors.
7461 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7462 for libstdc++.
7463 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7464 * stdlib/tst-tls-atexit.c: New test case.
7465 * stdlib/tst-tls-atexit-lib.c: New test case.
7466
ffaa74cf 7467 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7468
be179c8a
SP
7469 * elf/Versions (ld): Add _dl_find_dso_for_object.
7470 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7471 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7472 (dl_open_worker): Use _dl_find_dso_for_object.
7473 * elf/dl-sym.c (do_sym): Likewise.
7474 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7475
f78b5caa
AK
74762013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7477
7478 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7479 Syntactic changes only.
7480 (_dl_runtime_profile): Do a tail-call to the resolved function.
7481
29691210
JM
74822013-02-17 Joseph Myers <joseph@codesourcery.com>
7483
7484 [BZ #13550]
7485 * sysdeps/x86_64/bp-asm.h: Remove file.
7486 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7487 <bp-sym.h> and <bp-asm.h>.
7488 (__clone): Do not use BP_SYM.
7489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7490 <bp-sym.h> and <bp-asm.h>.
7491 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7492 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7493 "bp-asm.h".
7494 (_setjmp): Do not use BP_SYM.
7495 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7496 "bp-asm.h".
7497 (setjmp): Do not use BP_SYM.
7498 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7499 libc_hidden_def.
7500 (mempcpy): Do not use BP_SYM in weak_alias.
7501 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7502 "bp-asm.h".
7503 (strchr): Do not use BP_SYM.
7504 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7505 "bp-asm.h".
7506 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7507 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7508 (_start): Do not use BP_SYM.
7509 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7510 "bp-asm.h".
7511 (strcat): Do not use BP_SYM.
7512 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7513 "bp-asm.h".
7514 (STRCMP): Do not use BP_SYM.
7515 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7516 "bp-asm.h".
7517 (STRCPY): Do not use BP_SYM.
7518 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7519 "bp-asm.h".
7520 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7521 "bp-asm.h".
7522 (FUNCTION): Do not use BP_SYM.
7523 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7524 weak_alias.
7525 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7526
f238fd19
AJ
75272013-02-17 Andreas Jaeger <aj@suse.de>
7528
7529 * time/Versions: Sort entries.
7530 * string/Versions: Likewise.
7531 * resolv/Versions: Likewise.
7532 * posix/Versions: Likewise.
7533 * iconv/Versions: Likewise.
7534 * elf/Versions: Likewise.
7535 * wcsmbs/Versions: Likewise.
7536
bd07f23c 75372013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7538
22af19f9
SP
7539 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7540 loop termination condition.
7541
4709fe76
SP
7542 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7543 variable to calculate EZ.
7544 (__sqr): Likewise.
2d0e0f29
SP
7545
7546 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7547 the lower precision input.
7548
daaa7713
JM
75492013-02-15 Joseph Myers <joseph@codesourcery.com>
7550
7551 [BZ #13550]
7552 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7553 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7554 (run-via-rtld-prefix): Do not handle %-bp tests.
7555 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7556 (all-object-suffixes): Remove .ob.
7557 (bppfx): Remove variable.
7558 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7559 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7560 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7561 [$(build-bounded) = yes] (libtype.ob): Likewise.
7562 * Makerules (elide-routines.ob): Remove variable.
7563 (do-tests-clean): Do not handle *-bp.out.
7564 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7565 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7566 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7567 (tests): Do not include $(tests-bp.out).
7568 (xtests): Do not include $(xtests-bp.out).
7569 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7570 [$(build-bounded) = yes] ($(addprefix
7571 $(objpfx),$(binaries-bounded))): Remove rule.
7572 ($(objpfx)%-bp.out): Remove rule.
7573 * config.make.in (build-bounded): Remove variable.
7574 * crypt/Makefile [$(build-bounded) = yes]
7575 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7576 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7577 append to variable.
7578 [$(build-bounded) = yes] (install-lib): Likewise.
7579 [$(build-bounded) = yes] (generated): Likewise.
7580 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7581 Remove rule.
7582 * intl/Makefile [$(build-bounded) = yes]
7583 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7584 * math/Makefile [$(build-bounded) = yes]
7585 ($(tests:%=$(objpfx)%-bp): Likewise.
7586 * misc/Makefile [$(build-bounded) = yes]
7587 ($(objpfx)tst-tsearch-bp): Likewise.
7588 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7589 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7590 Remove dependency.
7591 * string/Makefile (o-objects.ob): Remove variable.
7592 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7593 (CFLAGS-.ob): Remove variable.
7594 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7595 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7596 both definitions of variable.
7597 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7598 (ASFLAGS-.ob): Remove variable.
7599
e97ed6dd
JM
76002013-02-14 Joseph Myers <joseph@codesourcery.com>
7601
2bdd4ca6
JM
7602 [BZ #13550]
7603 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7604 Remove __BOUNDED_POINTERS__ from condition.
7605 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7606 * string/bits/string2.h [!__NO_STRING_INLINES &&
7607 !__BOUNDED_POINTERS__]: Likewise.
7608 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7609 Likewise.
7610 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7611 Remove conditional code.
7612 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7613 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7614 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7615 condition.
7616
e97ed6dd
JM
7617 [BZ #13550]
7618 * csu/libc-start.c: Do not include <bp-sym.h>.
7619 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7620 * elf/dl-open.c: Do not include <bp-sym.h>.
7621 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7622 * math/fegetenv.c: Do not include <bp-sym.h>.
7623 (fegetenv): Do not use BP_SYM in versioned symbols.
7624 * nptl/sysdeps/pthread/bits/libc-lockP.h
7625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7626 <bp-sym.h>.
7627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7628 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7630 (__pthread_mutex_destroy): Likewise.
7631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7632 (__pthread_mutex_lock): Likewise.
7633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7634 (__pthread_mutex_trylock): Likewise.
7635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7636 (__pthread_mutex_unlock): Likewise.
7637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7638 (__pthread_mutexattr_init): Likewise.
7639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7640 (__pthread_mutexattr_destroy): Likewise.
7641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7642 (__pthread_mutexattr_settype): Likewise.
7643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7644 (__pthread_rwlock_init): Likewise.
7645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7646 (__pthread_rwlock_destroy): Likewise.
7647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7648 (__pthread_rwlock_rdlock): Likewise.
7649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7650 (__pthread_rwlock_tryrdlock): Likewise.
7651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7652 (__pthread_rwlock_wrlock): Likewise.
7653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7654 (__pthread_rwlock_trywrlock): Likewise.
7655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7656 (__pthread_rwlock_unlock): Likewise.
7657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7658 (__pthread_key_create): Likewise.
7659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7660 (__pthread_setspecific): Likewise.
7661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7662 (__pthread_getspecific): Likewise.
7663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7664 Likewise.
7665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7666 (_pthread_cleanup_push_defer): Likewise.
7667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7668 (_pthread_cleanup_pop_restore): Likewise.
7669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7670 (pthread_setcancelstate): Likewise.
7671 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7672 <bp-sym.h>.
7673 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7674 (memchr): Do not use BP_SYM in weak_alias.
7675 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7676 (fegetenv): Do not use BP_SYM in versioned symbols.
7677 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7678 (fesetenv): Do not use BP_SYM in versioned symbols.
7679 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7680 (feupdateenv): Do not use BP_SYM in versioned symbols.
7681 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7682 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7683 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7684 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7685 (open64): Do not use BP_SYM in weak_alias.
7686 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7687 (fegetenv): Do not use BP_SYM in versioned symbols.
7688 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7689 (fesetenv): Do not use BP_SYM in versioned symbols.
7690 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7691 (feupdateenv): Do not use BP_SYM in versioned symbols.
7692 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7693 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7694 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7695 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7696 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7697 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7698 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7699 <bp-sym.h>.
7700 (__libc_start_main): Do not use BP_SYM.
7701
d6752ccd
SP
77022013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7703
cb57ce60
SP
7704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7705 redundant return line.
7706 (norm): Likewise.
7707 (denorm): Likewise.
7708 (dbl_mp): Likewise.
7709 (sub_magnitudes): Likewise.
7710 (__add): Likewise.
7711 (__sub): Likewise.
7712 (__mul): Likewise.
7713 (__inv): Likewise.
7714 (__dvd): Likewise.
7715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7716 (norm): Likewise.
7717 (denorm): Likewise.
7718 (dbl_mp): Likewise.
7719 (sub_magnitudes): Likewise.
7720 (__add): Likewise.
7721 (__sub): Likewise.
7722 (__mul): Likewise.
7723 (__inv): Likewise.
7724 (__dvd): Likewise.
7725
f414520d
SP
7726 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7727 instead of __mul.
7728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7729 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7730 (cc32): Likewise.
7731
d6752ccd
SP
7732 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7733 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7735 of __mul for squares.
7736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7737 function
7738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7739 Likewise.
7740 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7741 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7742
70d9946a
JM
77432013-02-13 Joseph Myers <joseph@codesourcery.com>
7744
7745 [BZ #13550]
7746 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7747 code.
7748 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7749 prototype or function definition. Rename ubp_* variables and
7750 parameters. Remove argv definitions conditional on
7751 [__BOUNDED_POINTERS__].
7752 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7753 * elf/dl-runtime.c (_dl_fixup): Likewise.
7754 * include/set-hooks.h (RUN_HOOK): Likewise.
7755 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7756 definition.
7757 * string/strcpy.c (strcpy): Do not use __unbounded.
7758 * sysdeps/generic/frame.h (struct layout): Likewise.
7759 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7760 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7761 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7762 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7763 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7764 (__backtrace): Likewise.
7765 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7766 use __ptrvalue.
7767 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7768 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7769 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7770 Likewise.
7771 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7772 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7773 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7774 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7775 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7776 Do not use __unbounded.
7777 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7778 Rename __unboundedrlimits parameter to rlimits in prototype.
7779 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7780 Do not use __unbounded.
7781 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7782 not use __ptrvalue.
7783 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7784 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7785 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7786 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7787 __ptrvalue or __unbounded.
7788 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7789 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7790 use __unbounded.
7791 (__new_msgctl): Do not use __ptrvalue.
7792 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7793 __unbounded.
7794 (__libc_msgrcv): Do not use __ptrvalue.
7795 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7796 startup_info): Do not use __unbounded.
7797 (__libc_start_main): Likewise. Rename ubp_* variables and
7798 parameters. Remove argv definitions conditional on
7799 [__BOUNDED_POINTERS__].
7800 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7801 __ptrvalue.
7802 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7803 use __unbounded.
7804 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7805 or __ptrvalue.
7806 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7807 use __unbounded.
7808 (__new_shmctl): Do not use __ptrvalue.
7809 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7810 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7811 Likewise.
7812 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7813 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7814 (__libc_sigaction): Likewise.
7815 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7816 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7817 Likewise.
7818 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7819
cc7834d6
OB
78202013-02-13 Ondřej Bílka <neleai@seznam.cz>
7821
ffb1ec7b 7822 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7823
7824 * string/mempcpy.c: Implement by calling memcpy.
7825
bdf02814
SP
78262013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7827
c2af38aa
SP
7828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7829
4e92d59e
SP
7830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7831 evaluation.
7832
909279a5
SP
7833 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7834 values in the mantissa.
7835
bdf02814
SP
7836 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7837 minimize writes to Z.
7838 (sub_magnitudes): Simplify code a bit.
7839
cd525923
RM
78402013-02-12 Roland McGrath <roland@hack.frob.com>
7841
7842 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7843 from the message. The linker prefixes all warnings with that already.
7844
7e2f0d2d
AS
78452013-02-12 Andreas Schwab <schwab@suse.de>
7846
a445af0b
AS
7847 [BZ #15078]
7848 * posix/regexec.c (extend_buffers): Add parameter min_len.
7849 (check_matching): Pass minimum needed length.
7850 (clean_state_log_if_needed): Likewise.
7851 (get_subexp): Likewise.
7852 * posix/Makefile (tests): Add bug-regex34.
7853 (bug-regex34-ENV): Define.
7854 * posix/bug-regex34.c: New file.
7855
7e2f0d2d
AS
7856 [BZ #11561]
7857 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7858 elements compare against the byte sequence of it, not its name.
7859 * posix/Makefile (tests): Add bug-regex35.
7860 (bug-regex35-ENV): Define.
7861 * posix/bug-regex35.c: New file.
7862
a175b684
TV
78632013-02-11 Tom de Vries <tom@codesourcery.com>
7864
7865 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7866 comment.
7867 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7868 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7869 (CHECK_EOL): Add undef.
7870
310998fe 78712013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7872
7873 * bits/stdlib-bsearch.h: New file.
7874 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7875 * stdlib/stdlib.h: Likewise.
41eda41d 7876
8ded91fb
RM
78772013-02-11 Roland McGrath <roland@hack.frob.com>
7878
7879 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7880 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7881 declaration.
7882 * manual/search.texi (Array Search Function): Add missing const in
7883 lfind prototype.
7884 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7885 declaration to use rlim_t.
7886 (Basic Scheduling Functions): Remove erroneous const from
7887 sched_getparam prototype. Remove erroneous * from
7888 sched_get_priority_max and sched_get_priority_min prototypes.
7889 (Resource Usage): Fix summary @comment on vtimes to refer to
7890 sys/vtimes.h rather than vtimes.h.
7891 Add missing *s in vtimes prototype.
7892 (Limits on Resources): Fix ulimit prototype to return long int.
7893 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7894 prototypes to use long int rather than double.
7895 (BSD Random): Fix initstate and setstate to use char *, not void *.
7896 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7897 prototype to make second argument 'struct aiocb64 *const[]'.
7898 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7899 (Status of AIO Operations): Remove erroneous const in aio_return and
7900 aio_return64 prototypes.
7901 (Synchronizing I/O): Fix sync prototype to return void.
7902 * manual/startup.texi (Suboptions): Remove an erroneous const in
7903 getsubopt prototype.
7904 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7905 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7906 use size_t rather than int.
7907 (Scanning All Users): Likewise for getpwent_r.
7908 (Setting Groups): Add missing const to setgroups prototype.
7909 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7910 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7911 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7912 'const void *' rather than 'const char *'.
7913 (Host Address Functions): Likewise for inet_ntop.
7914 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7915 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7916 ssize_t for return value.
7917 (Sending Data): Likewise for send, sendto, sendmsg.
7918 (Socket Option Functions): Add a missing const in setsockopt prototype.
7919 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7920 use wchar_t for the argument.
7921 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7922 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7923 take no arguments.
7924 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7925 double/float/long double for second argument.
7926 Fix return types of significand, significandf, significandl.
7927 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7928 argument in fchmod prototype.
7929 (File Owner): Use uid_t and gid_t in fchown prototype.
7930 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7931 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7932 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7933 use 'const struct dirent **' as argument types to CMP function pointer
7934 argument.
7935 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7936 (File Times): Fix summary magic @comment for struct utimbuf and utime
7937 to refer to utime.h, not time.h.
7938 * manual/string.texi (Argz Functions): Add missing const in
7939 argz_extract and argz_next prototypes.
7940 (Finding Tokens in a String): Likewise for basename.
7941 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7942 (Copying and Concatenation): Fix typo in wmemmove prototype.
7943 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7944 (Signal Stack): Remove erroneous const in sigstack prototype.
7945 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7946 prototype.
7947 (Simple Calendar Time): Likewise for stime.
7948 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7949 prototype.
7950 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7951 say sys/sysctl.h instead.
7952 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7953 and vsyslog prototypes.
7954
fe77fe6d
TV
79552013-02-11 Tom de Vries <tom@codesourcery.com>
7956
7957 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7958 Remove.
7959
3a09b620
RM
79602013-02-11 Roland McGrath <roland@hack.frob.com>
7961
7962 * misc/sys/mman.h: Fix typo in mremap comment.
7963
550a0b89
RM
79642013-02-08 Roland McGrath <roland@hack.frob.com>
7965
7966 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7967 the '\0' terminator.
7968
a2da1673
JM
79692013-02-08 Joseph Myers <joseph@codesourcery.com>
7970
7971 [BZ #13550]
7972 * debug/segfault.c: Don't include <bp-checks.h>.
7973 * sysdeps/generic/bp-checks.h: Remove file.
7974 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7975 (__GETDENTS): Don't use CHECK_N.
7976 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7977 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7978 (__getgroups): Don't use CHECK_N.
7979 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7980 (setgroups): Don't use CHECK_N.
7981 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7982 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7983 (__libc_msgrcv): Don't use CHECK_N.
7984 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7985 (__libc_msgsnd): Don't use CHECK_N.
7986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7987 <bp-checks.h>.
7988 (__libc_pread): Don't use CHECK_N.
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7990 include <bp-checks.h>.
7991 (__libc_pread64): Don't use CHECK_N.
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7993 include <bp-checks.h>.
7994 (__libc_pwrite): Don't use CHECK_N.
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7996 include <bp-checks.h>.
7997 (__libc_pwrite64): Don't use CHECK_N.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7999 <bp-checks.h>.
8000 (__libc_pread): Don't use CHECK_N.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8002 include <bp-checks.h>.
8003 (__libc_pread64): Don't use CHECK_N.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8005 include <bp-checks.h>.
8006 (__libc_pwrite): Don't use CHECK_N.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8008 include <bp-checks.h>.
8009 (__libc_pwrite64): Don't use CHECK_N.
8010 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8011 (do_pread): Don't use CHECK_N.
8012 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8013 (do_pread64): Don't use CHECK_N.
8014 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8015 (do_pwrite): Don't use CHECK_N.
8016 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8017 (do_pwrite64): Don't use CHECK_N.
8018 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8019 (__libc_readv): Don't use CHECK_N.
8020 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8021 (semop): Don't use CHECK_N.
8022 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8023 <bp-checks.h>.
8024 (semtimedop): Don't use CHECK_N.
8025 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8026 (__libc_pread): Don't use CHECK_N.
8027 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8028 <bp-checks.h>.
8029 (__libc_pread64): Don't use CHECK_N.
8030 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8031 <bp-checks.h>.
8032 (__libc_pwrite): Don't use CHECK_N.
8033 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8034 <bp-checks.h>.
8035 (__libc_pwrite64): Don't use CHECK_N.
8036 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8037 <bp-checks.h>.
8038 (__libc_msgrcv): Don't use CHECK_N.
8039 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8040 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8041 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8042 (__libc_writev): Don't use CHECK_N.
8043
b84660a8
RM
80442013-02-08 Roland McGrath <roland@hack.frob.com>
8045
7f3e75f8
RM
8046 * string/strcpy.c: Removed unused variable.
8047
b84660a8
RM
8048 * Makeconfig (+sysdep-includes): Define with := rather than =.
8049 Use an existing include/ subdir of each sysdeps dir before it.
8050
471514d3
CD
80512013-02-08 Carlos O'Donell <carlos@redhat.com>
8052
8053 * nscd/connection.c (register_traced_file): Comment function.
8054 [HAVE_INOTIFY] (union __inev): Define.
8055 [HAVE_INOTIFY] (inotify_check_files): New function.
8056 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8057 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8058 clear_db_cache.
8059 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8060
b2d3c3be
CD
80612013-02-08 Carlos O'Donell <carlos@redhat.com>
8062
8063 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8064 loaded if not already and that a failure is permanent.
8065
b39949d2
CD
80662013-02-08 Carlos O'Donell <carlos@redhat.com>
8067
ddacd1db 8068 [BZ #15006]
b39949d2
CD
8069 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8070 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8071
b2c9eff4
JM
80722013-02-08 Joseph Myers <joseph@codesourcery.com>
8073
f3aae3f3
JM
8074 [BZ #13550]
8075 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8076 (CHECK_1_NULL_OK): Likewise.
8077 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8078 (__fxstat): Do not use CHECK_1.
8079 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8080 <bp-checks.h>.
8081 (___fxstat64): Do not use CHECK_1.
8082 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8083 <bp-checks.h>.
8084 (__fxstatat): Do not use CHECK_1.
8085 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8086 <bp-checks.h>.
8087 (__fxstatat64): Do not use CHECK_1.
8088 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8089 <bp-checks.h>.
8090 (__fxstat): Do not use CHECK_1.
8091 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8092 <bp-checks.h>.
8093 (__fxstatat): Do not use CHECK_1.
8094 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8095 <bp-checks.h>.
8096 (__getresgid): Do not use CHECK_1.
8097 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8098 <bp-checks.h>.
8099 (__getresuid): Do not use CHECK_1.
8100 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8101 <bp-checks.h>.
8102 (__lxstat): Do not use CHECK_1.
8103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8104 <bp-checks.h>.
8105 (__old_msgctl): Do not use CHECK_1.
8106 (__new_msgctl): Likewise.
8107 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8108 <bp-checks.h>.
8109 (__new_setrlimit): Do not use CHECK_1.
8110 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8111 <bp-checks.h>.
8112 (__old_shmctl): Do not use CHECK_1.
8113 (__new_shmctl): Likewise.
8114 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8115 <bp-checks.h>.
8116 (__xstat): Do not use CHECK_1.
8117 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8118 (__lxstat): Do not use CHECK_1.
8119 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8120 <bp-checks.h>.
8121 (___lxstat64): Do not use CHECK_1.
8122 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8123 (__old_msgctl): Do not use CHECK_1.
8124 (__new_msgctl): Likewise.
8125 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8126 <bp-checks.h>.
8127 (__gettimeofday): Do not use CHECK_1.
8128 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8129 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8130 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8131 <bp-checks.h>.
8132 (__gettimeofday): Do not use CHECK_1.
8133 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8134 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8135 (__new_shmctl): Do not use CHECK_1.
8136 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8137 <bp-checks.h>.
8138 (do_sigtimedwait): Do not use CHECK_1.
8139 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8140 <bp-checks.h>.
8141 (do_sigwaitinfo): Do not use CHECK_1.
8142 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8143 <bp-checks.h>.
8144 (msgctl): Do not use CHECK_1.
8145 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8146 <bp-checks.h>.
8147 (shmctl): Do not use CHECK_1.
8148 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8149 (ustat): Do not use CHECK_1.
8150 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8151 <bp-checks.h>.
8152 (__fxstat): Do not use CHECK_1.
8153 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8154 <bp-checks.h>.
8155 (__fxstatat): Do not use CHECK_1.
8156 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8157 <bp-checks.h>.
8158 (__lxstat): Do not use CHECK_1.
8159 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8160 <bp-checks.h>.
8161 (__xstat): Do not use CHECK_1.
8162 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8163 (__xstat): Do not use CHECK_1.
8164 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8165 (___xstat64): Do not use CHECK_1.
8166
b2c9eff4
JM
8167 [BZ #13550]
8168 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8169 definitions.
8170 (CHECK_BOUNDS_HIGH): Likewise.
8171 * string/strcpy.c: Do not include <bp-checks.h>.
8172 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8173
f1d70dad
RM
81742013-02-07 Roland McGrath <roland@hack.frob.com>
8175
8176 * nscd/nscd-client.h (__nscd_drop_map_ref):
8177 Add __attribute__ ((unused)).
8178 * nis/nss-nisplus.h (niserr2nss): Likewise.
8179
8180 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8181 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8182
8183 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8184 Remove inline keyword.
8185 * include/rounding-mode.h (round_away): Likewise.
8186 * libio/wfileops.c (adjust_wide_data): Likewise.
8187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8188 (__m128i_strloadu_tolower): Likewise.
8189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8190 (__m128i_strloadu_tolower): Likewise.
8191 * time/mktime.c (ydhms_diff): Likewise.
8192 * locale/elem-hash.h (elem_hash): Likewise.
8193 * locale/setlocale.c (setdata): Likewise.
8194 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8195 (re_string_wchar_at): Likewise.
8196 (bitset_not, bitset_merge, bitset_mask): Likewise.
8197 [!(__GNUC__ > 3)] (inline): Remove macro.
8198 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8199 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8200 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8201 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8202 * string/memcmp.c (memcmp_bytes): Likewise.
8203 * locale/programs/locarchive.c (compute_hashval): Likewise.
8204 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8205 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8206 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8207 * nss/getent.c (print_rpc, print_protocols): Likewise.
8208 (print_passwd, print_group, print_aliases): Likewise.
8209 * nis/nss-nisplus.h (niserr2nss): Likewise.
8210 * nscd/connections.c (restart_p): Likewise.
8211 Change return type to bool.
8212
eab55bfb
RM
82132013-02-05 Roland McGrath <roland@hack.frob.com>
8214
7bd642f5
RM
8215 * Makeconfig (all-Depend-files): Add existing
8216 $(sorted-subdirs:=/Depend) files.
8217 (all-subdirs): Remove nss.
8218 * sysdeps/unix/inet/Subdirs: Add it here instead.
8219 * hesiod/Depend: New file.
8220
573c29b2
RM
8221 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8222 instead of calling alloca.
8223
b2e25af0
RM
8224 * io/lseek.c (__lseek): Rename to __libc_lseek.
8225 Define __lseek as an alias.
8226
eab55bfb
RM
8227 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8228
9a0d1941
CD
82292013-02-04 Carlos O'Donell <carlos@redhat.com>
8230
8231 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8232 else clause and remove check for non-standard endianness.
8233
b83bbec4
DM
82342013-02-04 David S. Miller <davem@davemloft.net>
8235
8236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8237
6277fdab
JM
82382013-02-04 Joseph Myers <joseph@codesourcery.com>
8239
8240 [BZ #13550]
8241 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8242 (__ubp_memchr): Remove prototype.
8243 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8244 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8245 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8246 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8247 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8248 Remove alias.
8249 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8250 (__ubp_memchr): Likewise.
8251 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8252 (__ubp_memchr): Likewise.
8253 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8254 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8255 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8256 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8257 CHECK_STRING.
8258 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8259 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8260 (__getcwd): Do not use CHECK_STRING.
8261 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8262 <bp-checks.h>.
8263 (__real_chown): Do not use CHECK_STRING.
8264 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8265 <bp-checks.h>.
8266 (fchownat): Do not use CHECK_STRING.
8267 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8268 CHECK_STRING.
8269 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8270 <bp-checks.h>.
8271 (__lchown): Do not use CHECK_STRING.
8272 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8273 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8274 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8275 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8277 include <bp-checks.h>.
8278 (truncate64): Do not use CHECK_STRING.
8279 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8280 <bp-checks.h>.
8281 (__real_chown): Do not use CHECK_STRING.
8282 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8283 <bp-checks.h>.
8284 (__lchown): Do not use CHECK_STRING.
8285 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8286 <bp-checks.h>.
8287 (__chown): Do not use CHECK_STRING.
8288 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8289 <bp-checks.h>.
8290 (truncate64): Do not use CHECK_STRING.
8291 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8292 Likewise.
8293 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8294 (__xmknod): Do not use CHECK_STRING.
8295 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8296 <bp-checks.h>.
8297 (__xmknodat): Do not use CHECK_STRING.
8298 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8299 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8300
903ae060
AS
83012013-02-04 Andreas Schwab <schwab@suse.de>
8302
8303 [BZ #14142]
8304 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8305 * include/netdb.h: Likewise for h_errno.
8306 * elf/tst-stackguard1.c: Include <tls.h>.
8307
542f9466
JK
83082013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8309
8310 * elf/link.h (struct link_map): Extend the l_addr comment.
8311 * include/link.h (struct link_map): Likewise.
8312
e782a927
JM
83132013-02-01 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #13550]
8316 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8317 (BOUNDED_1): Remove macro.
8318 * debug/backtrace.c: Don't include <bp-checks.h>.
8319 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8320 (__backtrace): Likewise.
8321 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8322 <bp-checks.h>.
8323 (__backtrace): Don't use BOUNDED_1.
8324 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8325 <bp-checks.h>.
8326 (__backtrace): Don't use BOUNDED_1.
8327 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8328 (__backtrace): Don't use BOUNDED_1.
8329 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8330 (shmat): Don't use BOUNDED_N.
8331
8cf28c5e
JM
83322013-01-31 Joseph Myers <joseph@codesourcery.com>
8333
3a7ac8a0
JM
8334 [BZ #13550]
8335 * sysdeps/generic/bp-start.h: Remove file.
8336 * csu/libc-start.c: Don't include <bp-start.h>.
8337 (LIBC_START_MAIN): Set up __environ directly instead of using
8338 INIT_ARGV_and_ENVIRON.
8339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8340 <bp-start.h>.
8341
f3499f95
JM
8342 [BZ #13550]
8343 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8344 definitions.
8345 (CHECK_FCNTL): Likewise.
8346 (CHECK_N_PAGES): Likewise.
8347
32a45bea
JM
8348 [BZ #13550]
8349 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8350 definitions.
8351 (CHECK_SIGSET_NULL_OK): Likewise.
8352 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8353 <bp-checks.h>.
8354 (sigpending): Don't use CHECK_SIGSET.
8355 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8356 <bp-checks.h>.
8357 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8358 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8359 <bp-checks.h>.
8360 (do_sigsuspend): Don't use CHECK_SIGSET.
8361 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8362 use CHECK_SIGSET.
8363 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8364 (do_sigwait): Don't use CHECK_SIGSET.
8365 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8366 use CHECK_SIGSET.
8367 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8368 include <bp-checks.h>.
8369 (sigpending): Don't use CHECK_SIGSET.
8370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8371 include <bp-checks.h>.
8372 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8373 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8374 <bp-checks.h>.
8375 (sigpending): Don't use CHECK_SIGSET.
8376 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8377 <bp-checks.h>.
8378 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8379
2e8a5c8c
JM
8380 [BZ #13550]
8381 * sysdeps/generic/bp-semctl.h: Remove file.
8382 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8383 <bp-checks.h> and <bp-semctl.h>.
8384 (__old_semctl): Don't use CHECK_SEMCTL.
8385 (__new_semctl): Likewise.
8386 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8387 and <bp-semctl.h>.
8388 (__old_semctl): Don't use CHECK_SEMCTL.
8389 (__new_semctl): Likewise.
8390 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8391 <bp-checks.h> and <bp-semctl.h>.
8392 (__old_semctl): Don't use CHECK_SEMCTL.
8393 (__new_semctl): Likewise.
8394 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8395 <bp-checks.h> and <bp-semctl.h>.
8396 (semctl): Don't use CHECK_SEMCTL.
8397
c2d54929
JM
8398 [BZ #13550]
8399 * Makerules (elide-bp-thunks): Remove variable.
8400 (elide-routines.oS): Don't use $(elide-bp-thunks).
8401 (elide-routines.os): Likewise.
8402 (elide-routines.o): Likewise.
8403 (elide-routines.op): Likewise.
8404 (elide-routines.og): Likewise.
8405 (objects): Don't use $(bp-thunks).
8406 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8407 include.
8408 (common-generated): Do not add s-proto-bp.d.
8409 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8410 (int): Likewise.
8411 (typ): Likewise.
8412 Do not generate makefile rules for bounded-pointer thunks.
8413 * sysdeps/generic/bp-thunks.h: Remove file.
8414 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8415 * sysdeps/unix/s-proto-bp.S: Likewise.
8416
8cf28c5e
JM
8417 [BZ #15062]
8418 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8419 parts of result separately when argument is not close to line from
8420 -i to i and one part of argument is small.
8421 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8422 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8423 * math/libm-test.inc (cacos_test): Add more tests.
8424 (casin_test): Likewise.
8425 (casinh_test): Likewise.
8426 * sysdeps/i386/fpu/libm-test-ulps: Update.
8427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8428
c4e33b8d
DM
84292013-01-31 David S. Miller <davem@davemloft.net>
8430
8431 * po/de.po: Update from translation team.
8432
3b60b421
MK
84332013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8434
8435 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8436
bb931195
TS
84372013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8438
b5a5da23
TS
8439 * configure.in (_AC_PROG_CC_C89): New definition.
8440 * configure: Regenerate.
8441
bb931195
TS
8442 * configure.in (AC_PROG_CPP): New definition.
8443 * configure: Regenerate.
8444
8c53a12c
JM
84452013-01-23 Joseph Myers <joseph@codesourcery.com>
8446
8447 * debug/tst-backtrace.h: New file.
8448 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8449 (ret): Remove variable.
8450 (x): Likewise.
8451 (FAIL): Remove macro.
8452 (NO_INLINE): Likewise.
8453 (fn1): Use match function instead of strstr.
8454 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8455 (ret): Remove variable.
8456 (x): Likewise.
8457 (FAIL): Remove macro.
8458 (NO_INLINE): Likewise.
8459 (fn): Use match function instead of strstr.
8460 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8461 (ret): Remove variable.
8462 (x): Likewise.
8463 (FAIL): Remove macro.
8464 (NO_INLINE): Likewise.
8465 (handle_signal): Use match function instead of strstr.
8466 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8467 (ret): Remove variable.
8468 (x): Likewise.
8469 (FAIL): Remove macro.
8470 (NO_INLINE): Likewise.
8471 (handle_signal): Use match function instead of strstr.
8472
4858fa2a
RM
84732013-01-23 Roland McGrath <roland@hack.frob.com>
8474
8475 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8476
bae8e7f5
DM
84772013-01-23 David S. Miller <davem@davemloft.net>
8478
8479 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8480 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8481 argument of CAS if possible.
8482 * sysdeps/sparc/sparc64/bits/atomic.h
8483 (__arch_compare_and_exchange_val_32_acq): Likewise.
8484 (__arch_compare_and_exchange_val_64_acq): Likewise.
8485
9cbbc4ae
PT
84862013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8487
8488 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8489 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8490 Include <limits.h>.
67b3f58c 8491 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8492
5655a0b5
AC
84932013-01-23 Adam Conrad <adconrad@0c3.net>
8494
8495 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8496 (LDFLAGS-tst-array5): Likewise.
8497
052aff95
JM
84982013-01-23 Joseph Myers <joseph@codesourcery.com>
8499
8500 [BZ #15036]
8501 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8502 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8503 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8504 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8505
7c1e01aa
DM
85062013-01-21 David S. Miller <davem@davemloft.net>
8507
8508 * sysdeps/sparc/backtrace.c: New file.
8509 * sysdeps/sparc/sparc32/backtrace.h: New file.
8510 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8511 * sysdeps/sparc/sparc64/backtrace.h: New file.
8512 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8513 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8514 -funwind-tables.
8515
ab087e0a
AS
85162013-01-21 Andreas Schwab <schwab@suse.de>
8517
8518 [BZ #15020]
8519 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8520 closed its stdout.
8521
ed689c2f
AS
85222013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8523
8524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8525 "mpa2.h".
8526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8527
31d470ac
JM
85282013-01-18 Joseph Myers <joseph@codesourcery.com>
8529 Mark Mitchell <mark@codesourcery.com>
8530 Tom de Vries <tom@codesourcery.com>
8531 Paul Pluzhnikov <ppluzhnikov@google.com>
8532
8533 * debug/tst-backtrace2.c: New file.
8534 * debug/tst-backtrace3.c: Likewise.
8535 * debug/tst-backtrace4.c: Likewise.
8536 * debug/tst-backtrace5.c: Likewise.
8537 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8538 (CFLAGS-tst-backtrace3.c): Likewise.
8539 (CFLAGS-tst-backtrace4.c): Likewise.
8540 (CFLAGS-tst-backtrace5.c): Likewise.
8541 (LDFLAGS-tst-backtrace2): Likewise.
8542 (LDFLAGS-tst-backtrace3): Likewise.
8543 (LDFLAGS-tst-backtrace4): Likewise.
8544 (LDFLAGS-tst-backtrace5): Likewise.
8545 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8546 tst-backtrace4 and tst-backtrace5.
8547
90567f30 85482013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8549 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8550
8551 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8552 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8554 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8556 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8557 "+r" and remove output regs list as redundant. Add explicit inline
8558 asm to specify register of return val to work around compiler codegen
8559 bug. Remove (int) cast on return value. Add return type parameter to
8560 use in macro so that this macro does not truncate return value for
8561 64-bit values.
8562 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8563 pass to INTERNAL_VSYSCALL_NCS.
8564 (INLINE_VSYSCALL): Add 'long int' as return type to
8565 INTERNAL_VSYSCALL_NCS macro invocation.
8566 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8567 INTERNAL_VSYSCALL_NCS macro invocation.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8569
d3b9ea61
SP
85702013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8571
0b57daeb
SP
8572 [BZ #14496]
8573 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8574 Fix application of SIMD FP exception mask.
8575
caa99d06
SP
8576 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8577 mp_no from a power of two.
8578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8579 __mpexp_twomm1. Use __pow_mp.
8580
d3b9ea61
SP
8581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8582 multiplication.
8583
1dbaee3c
DM
85842013-01-17 David S. Miller <davem@davemloft.net>
8585
8586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8587
728d7b43
JM
85882013-01-17 Joseph Myers <joseph@codesourcery.com>
8589
8590 [BZ #15023]
8591 * include/complex.h: Condition contents on [!_COMPLEX_H].
8592 (__kernel_casinhf): New prototype.
8593 (__kernel_casinh): Likewise.
8594 (__kernel_casinhl): Likewise.
8595 * math/Makefile (libm_calls): Add k_casinh.
8596 * math/k_casinh.c: New file.
8597 * math/k_casinhf.c: Likewise.
8598 * math/k_casinhl.c: Likewise.
8599 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8600 finite nonzero arguments.
8601 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8602 finite nonzero arguments.
8603 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8604 finite nonzero arguments.
8605 * math/s_casinh.c: Do not include <float.h>.
8606 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8607 * math/s_casinhf.c: Do not include <float.h>.
8608 (__casinhf): Move code for finite nonzero arguments to
8609 k_casinhf.c.
8610 * math/s_casinhl.c: Do not include <float.h>.
8611 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8612 redefine.
8613 (__casinhl): Move code for finite nonzero arguments to
8614 k_casinhl.c.
8615 * math/libm-test.inc (cacos_test): Add more tests.
8616 * sysdeps/i386/fpu/libm-test-ulps: Update.
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8618
2a26ef3a
PT
86192013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8620
8621 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8622 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8623 [!HAVE_MREMAP]: Remove [defined linux] case.
8624 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8625
a897655d
SP
86262013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8627
8628 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8629
881ebe89 86302013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8631
8632 * elf/elf.h (R_386_SIZE32): New relocation.
8633 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8634 R_386_SIZE32.
8635 (elf_machine_rela): Likewise.
8636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8637 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8638
59981e9b
JM
86392013-01-17 Joseph Myers <joseph@codesourcery.com>
8640
8641 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8642 (FP_FAST_FMA): Do not define.
8643 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8644 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8645 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8646 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8647 !_SOFT_FLOAT]: Likewise.
8648 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8650 value.
8651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8652 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8653 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8654 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8655 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8656 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8657 file.
8658
cfa8054f
AS
86592013-01-16 Andreas Schwab <schwab@suse.de>
8660
8661 [BZ #14327]
8662 * include/stdlib.h (__mktemp): Add declaration.
8663 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8664 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8665
dd930cc5
SP
86662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8667
881ebe89
SP
8668 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8669 definitions.
8670 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8671 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8672 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8673 definitions here.
8674 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8675 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8676 definitions.
8677 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8678 and ONE.
8679 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8680 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8682 definitions.
8683 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8684 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8685 definitions.
8686 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8687
dd930cc5
SP
8688 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8689
c19a9f89
DM
86902013-01-15 David S. Miller <davem@davemloft.net>
8691
1aa61767
DM
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8693 trunc{,f} to libm-sysdep_routes.
8694 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8696 file.
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8699 file.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8701 file.
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8704 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8705 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8706 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8707 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8708 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8709 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8710
c42d5e98
DM
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8712 nearbyint{,f} to libm-sysdep_routes.
8713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8715 New file.
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8717 file.
8718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8719 New file.
8720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8721 file.
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8725 file.
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8728 file.
8729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8730 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8731 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8732
c19a9f89
DM
8733 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8734 libc_feholdexcept and libc_fesetenv.
8735
357679d2
MF
87362013-01-15 Mike Frysinger <vapier@gentoo.org>
8737
8738 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8739
65a82e3d
DM
87402013-01-14 David S. Miller <davem@davemloft.net>
8741
8b954ab9
DM
8742 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8743 (SPARC_ASM_VIS2_IFUNC): Likewise.
8744 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8746 use of 'siam' instruction.
8747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8748 Likewise.
8749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8750 Likewise.
8751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8752 Likewise.
8753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8758 file.
8759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8760 file.
8761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8762 file.
8763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8764 file.
8765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8770 new VIS2 routines.
8771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8774 Likewise.
8775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8780 routines to libm-sysdep_routines.
8781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8782
65a82e3d
DM
8783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8784 fdim/fdimf to libm-sysdep_routines.
8785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8786 file.
8787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8789 file.
8790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8793 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8794 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8795 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8796 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8797
e34ab705
SP
87982013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8799
2a91b573
SP
8800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8801 to optimize copies.
8802
1066a534
SP
8803 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8806
e34ab705
SP
8807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8808 local variable MPTWO.
8809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8810 Likewise.
8811
aba5e596
MF
88122013-01-13 Mike Frysinger <vapier@gentoo.org>
8813
8814 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8815 GLOB_NOESCAPE.
8816
e557e9e5
MF
88172013-01-13 Mike Frysinger <vapier@gentoo.org>
8818
8819 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8820
0428cec9
MF
88212013-01-13 Mike Frysinger <vapier@gentoo.org>
8822
8823 * manual/pattern.texi (glob_t): Document gl_flags.
8824 (glob64_t): Likewise.
8825
8794a964
DM
88262013-01-11 David S. Miller <davem@davemloft.net>
8827
66438c3f
RM
8828 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8829 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8830 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8831 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8832 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8833 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8834 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8835 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8836 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8837 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8838 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8839 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8840 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8841
4ae4244d
DM
8842 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8843 sparc V9 rather than using V8 code.
8844 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8845 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8846
8794a964
DM
8847 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8848 Move to...
8849 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8850 Here.
8851
6270516e
RM
88522013-01-11 Roland McGrath <roland@hack.frob.com>
8853
8854 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8855 not in the main loop.
8856 * configure: Regenerated.
8857
6a57d931
JM
88582013-01-11 Joseph Myers <joseph@codesourcery.com>
8859
8860 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8861 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8862 to just #else.
8863 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8864 [!__GLIBC_HAVE_LONG_LONG] case.
8865 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8866 condition to just #else.
8867 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8868 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8869 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8870 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8871 unconditional.
8872 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8873 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8874 #elif condition to just #else.
8875 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8876 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8877 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8878 #elif condition to just #else.
8879
0e8529e9
SE
88802013-01-11 Steve Ellcey <sellcey@mips.com>
8881
8882 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8883 (EF_MIPS_ARCH_64): Fix value.
8884 (EF_MIPS_ARCH_32R2): New.
8885 (EF_MIPS_ARCH_64R2): New.
8886
740b3dbe
L
88872013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * Makeconfig (+link-pie-before-libc): New.
8890 (+link-pie-after-libc): Likewise.
8891 (+link-pie-tests): Likewise.
8892 (+link-pie): Rewritten.
8893 (link-before-libc): Remove $(config-LDFLAGS).
8894 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8895 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8896 (config-LDFLAGS): Renamed to ...
8897 (rtld-LDFLAGS): This.
8898 (rtld-tests-LDFLAGS): New macro.
8899 (link-libc-rpath-link): Likewise.
8900 (link-libc-tests-rpath-link): Likewise.
8901 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8902 (link-libc): Prepand $(link-libc-rpath-link).
8903 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8904 (test-program-prefix): New macro.
8905 (test-via-rtld-prefix): Likewise.
8906 (test-program-cmd): Likewise.
8907 (host-test-program-cmd): Likewise.
8908 * Makefile ($(common-objpfx)testrun.sh): Replace
8909 $(run-program-prefix) with $(test-program-prefix).
8910 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8911 $(rtld-LDFLAGS).
8912 ($(common-objpfx)shlib.lds): Likewise.
8913 (build-module-helper): Likewise.
8914 ($(common-objpfx)format.lds): Likewise.
8915 * Rules (binaries-pie-tests): New.
8916 (binaries-pie-notests): Likewise.
8917 (binaries-pie): Rewritten.
8918 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8919 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8920 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8921 (make-test-out): Replace $(host-built-program-cmd) with
8922 $(host-test-program-cmd).
8923 * config.make.in (build-hardcoded-path-in-tests): New variable.
8924 * configure.in (--enable-hardcoded-path-in-tests): New configure
8925 option.
8926 (hardcoded_path_in_tests): New AC_SUBST.
8927 * configure: Regenerated.
8928 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8929 $(built-program-cmd) with $(test-program-cmd).
8930 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8931 (test_program_cmd): This.
8932 * elf/Makefile ($(objpfx)order.out): Run test with
8933 $(test-program-prefix).
8934 ($(objpfx)order2.out): Likewise.
8935 ($(objpfx)tst-initorder.out): Likewise.
8936 ($(objpfx)tst-initorder2.out): Likewise.
8937 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8938 $(test-program-cmd).
8939 ($(objpfx)tst-array1-static.out): Likewise.
8940 ($(objpfx)tst-array2.out): Likewise.
8941 ($(objpfx)tst-array3.out): Likewise.
8942 ($(objpfx)tst-array4.out): Likewise.
8943 ($(objpfx)tst-array5.out): Likewise.
8944 ($(objpfx)tst-array5-static.out): Likewise.
8945 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8946 $(test-program-cmd).
8947 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8948 $(run-program-prefix) with $(test-program-prefix).
8949 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8950 (test_program_prefix): This.
8951 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8952 $(run-program-prefix) with $(test-program-prefix).
8953 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8954 (test_program_prefix): This.
8955 * iconvdata/tst-tables.sh: Likewise.
8956 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8957 $(run-program-prefix) with $(test-program-prefix).
8958 ($(objpfx)tst-translit.out): Likewise.
8959 ($(objpfx)tst-gettext2.out): Likewise.
8960 ($(objpfx)tst-gettext4.out): Likewise.
8961 ($(objpfx)tst-gettext6.out): Likewise.
8962 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8963 (test_program_prefix): This.
8964 * intl/tst-gettext2.sh: Likewise.
8965 * intl/tst-gettext4.sh Likewise.
8966 * intl/tst-gettext6.sh: Likewise.
8967 * intl/tst-translit.sh: Likewise.
8968 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8969 with $(test-program-cmd).
8970 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8971 $(run-program-prefix) with $(test-program-prefix).
8972 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8973 (test_program_prefix): This.
8974 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8975 $(run-program-prefix) with $(test-program-prefix).
8976 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8977 (test_program_prefix): This.
8978 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8979 * posix/Makefile ($(objpfx)globtest.out): Replace
8980 $(run-via-rtld-prefix) and $(test-wrapper) with
8981 $(test-program-prefix) and $(test-via-rtld-prefix).
8982 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8983 $(test-program-prefix).
8984 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8985 $(host-test-program-cmd).
8986 (tst-spawn-ARGS): Likewise.
8987 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8988 $(test-program-prefix).
8989 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8990 (test_via_rtld_prefix): This.
8991 (test_wrapper): Renamed to ...
8992 (test_program_prefix): This.
8993 (run_program_prefix): Replaced by test_program_prefix.
8994 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8995 (test_program_prefix): This.
8996 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8997 with $(host-test-program-cmd).
8998 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8999 $(run-program-prefix) with $(test-program-prefix).
9000 ($(objpfx)tst-printf.out): Likewise.
9001 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9002 $(test-program-cmd).
9003 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9004 (test_program_prefix): This.
9005 * stdio-common/tst-unbputc.sh: Likewise.
9006 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9007 $(run-program-prefix) with $(test-program-prefix).
9008 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9009 (test_program_prefix): This.
9010 * string/Makefile ($(objpfx)tst-svc.out): Replace
9011 $(built-program-cmd) with $(test-program-cmd).
9012
c6fe55cf
AJ
90132013-01-11 Andreas Jaeger <aj@suse.de>
9014
9015 [BZ #15003]
9016 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9017 value. Sync with Linux 3.7.
9018
9e6919c8
DM
90192013-01-10 David S. Miller <davem@davemloft.net>
9020
9021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9022 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9023 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9024
1c9f1a02
RM
90252013-01-10 Roland McGrath <roland@hack.frob.com>
9026
9027 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9028 never set.
9029 * configure: Regenerated.
9030
b9de2dde
DM
90312013-01-10 David S. Miller <davem@davemloft.net>
9032
9033 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9034 sparc V9 rather than using V8 code.
9035 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9036 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9037
e7f68ef4
RM
90382013-01-10 Roland McGrath <roland@hack.frob.com>
9039
9040 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9041 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9042 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9043 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9044 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9045 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9046 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9047 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9048 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9049 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9050 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9051 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9052 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9053 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9054 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9055 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9056 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9057 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9058 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9059 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9060 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9061 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9062 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9063 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9064 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9065 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9066 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9067
5a47cc9c
DM
90682013-01-10 David S. Miller <davem@davemloft.net>
9069
9070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9071
4cf8f209
L
90722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9073
9074 * posix/Makefile (tests-static): New variable.
9075 (tests): Add $(tests-static).
9076 (tst-exec-static-ARGS): New variable.
9077 (tst-spawn-static-ARGS): Likewise.
9078 * posix/tst-exec-static.c: New file.
9079 * posix/tst-spawn-static.c: Likewise.
9080 * posix/tst-exec.c: Support run directly.
9081 * posix/tst-spawn.c: Likewise.
9082
fed0faa1
JM
90832013-01-10 Joseph Myers <joseph@codesourcery.com>
9084
828beb13
JM
9085 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9086 long.
9087 * math/bits/mathcalls.h (llrint): Likewise.
9088 (llround): Likewise.
9089 * stdlib/stdlib.h (struct drand48_data): Likewise.
9090 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9091 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9092 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9093 Likewise.
9094 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9095 Likewise.
9096 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9097 (elf_greg_t): Likewise.
9098 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9099 (__jmp_buf): Likewise.
9100 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9101 definitions.
9102 (llrint): Likewise, for all definitions.
9103 (llrintl): Likewise.
9104
fed0faa1
JM
9105 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9106 Remove [__GNUC__] condition.
9107 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9108 condition to just [__USE_ISOC99].
9109 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9110
1a20cb20
L
91112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9112
9113 [BZ #14200]
9114 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9115 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9116 defined.
9117 (_POSIX_V6_ILP32_OFF32): Likewise.
9118 (_XBS5_ILP32_OFF32): Likewise.
9119 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9120 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9121
751b85f7
SP
91222013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9123
7490eb81
SP
9124 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9125
751b85f7
SP
9126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9127 doubles __mpexp_twomm1. Adjust usage.
9128 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9129 Remove.
9130
988197f0
AS
91312013-01-10 Andreas Schwab <schwab@suse.de>
9132
9133 [BZ #14964]
9134 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9135 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9136
e83d7298
DM
91372013-01-09 David S. Miller <davem@davemloft.net>
9138
034ed64b 9139 [BZ #15003]
e83d7298
DM
9140 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9141 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9142 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9143 TCP_FASTOPEN): Define.
9144 (tcp_repair_opt): New structure.
9145 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9146 enum values.
9147 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9148 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9149 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9150 (tcp_cookie_transactions): New structure.
9151
d5e0b9bd
AB
91522013-01-09 Anton Blanchard <anton@samba.org>
9153
9154 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9155 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9157 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9158
0c07e3ea
JM
91592013-01-09 Joseph Myers <joseph@codesourcery.com>
9160
9161 * include/features.h (__USE_ANSI): Remove.
9162
232f7002
RM
91632013-01-09 Roland McGrath <roland@hack.frob.com>
9164
ad98e30c
RM
9165 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9166
232f7002
RM
9167 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9168
950c99ca
SP
91692013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9170
b5792741
SP
9171 * sysdeps/s390/fpu/libm-test-ulps: Update.
9172
47cf2278
SP
9173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9174
950c99ca
SP
9175 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9176 (__acr): Likewise.
9177 (__cpy): Likewise.
9178 (norm): Likewise.
9179 (denorm): Likewise.
9180 (__mp_dbl): Likewise.
9181 (__dbl_mp): Likewise.
9182 (add_magnitudes): Likewise.
9183 (sub_magnitudes): Likewise.
9184 (__add): Likewise.
9185 (__sub): Likewise.
9186 (__mul): Likewise.
9187 (__inv): Likewise.
9188 (__dvd): Likewise.
9189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9190 (__acr): Likewise.
9191 (__cpy): Likewise.
9192 (norm): Likewise.
9193 (denorm): Likewise.
9194 (__mp_dbl): Likewise.
9195 (__dbl_mp): Likewise.
9196 (add_magnitudes): Likewise.
9197 (sub_magnitudes): Likewise.
9198 (__add): Likewise.
9199 (__sub): Likewise.
9200 (__mul): Likewise.
9201 (__inv): Likewise.
9202 (__dvd): Likewise.
9203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9204 (__acr): Likewise.
9205 (__cpy): Likewise.
9206 (norm): Likewise.
9207 (denorm): Likewise.
9208 (__mp_dbl): Likewise.
9209 (__dbl_mp): Likewise.
9210 (add_magnitudes): Likewise.
9211 (sub_magnitudes): Likewise.
9212 (__add): Likewise.
9213 (__sub): Likewise.
9214 (__mul): Likewise.
9215 (__inv): Likewise.
9216 (__dvd): Likewise.
9217
eede9df9
JM
92182013-01-08 Joseph Myers <joseph@codesourcery.com>
9219
9220 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9221 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9222 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9223 2 && __USE_EXTERN_INLINES]: Likewise.
9224
c40ea3d9
AJ
92252013-01-08 Andreas Jaeger <aj@suse.de>
9226
9227 [BZ# 14985]
9228 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9229 Remove.
9230 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9231 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9232
2ccdea26
AB
92332013-01-07 Anton Blanchard <anton@samba.org>
9234
9235 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9236 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9237 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9238 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9239 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9240 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9241 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9242 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9244 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9245 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9247 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9248 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9249 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9250 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9251 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9252 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9253 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9254 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9255 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9256 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9257 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9258 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9259 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9260 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9261 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9262 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9263 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9264 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9265 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9267 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9268 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9269 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9270 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9271 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9272 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9273 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9274 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9275 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9277 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9278
a9708fed
JM
92792013-01-07 Joseph Myers <joseph@codesourcery.com>
9280
375607b9
JM
9281 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9282 (__MALLOC_PMT): Likewise.
9283 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9284 [__GNUC__], only on [_LIBC].
9285 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9286 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9287 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9288 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9289 forward declaration.
9290 (realloc_hook_ini): Likewise.
9291 (memalign_hook_ini): Likewise.
9292 (__libc_memalign): Do not use __MALLOC_PMT in variable
9293 declaration.
9294 (__libc_valloc): Likewise.
9295 (__libc_pvalloc): Likewise.
9296 (__libc_calloc): Likewise.
9297 (__posix_memalign): Likewise.
9298
a9708fed
JM
9299 [BZ #14996]
9300 * math/s_casinh.c: Include <float.h>.
9301 (__casinh): Do not do computation with squaring and square root
9302 for large arguments.
9303 * math/s_casinhf.c: Include <float.h>.
9304 (__casinhf): Do not do computation with squaring and square root
9305 for large arguments.
9306 * math/s_casinhl.c: Include <float.h>.
9307 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9308 (__casinhl): Do not do computation with squaring and square root
9309 for large arguments.
9310 * math/libm-test.inc (casin_test): Add more tests.
9311 (casinh_test): Likewise.
9312 * sysdeps/i386/fpu/libm-test-ulps: Update.
9313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9314
afec409a
L
93152013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9316
9317 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9318 (__x86_64_raw_data_cache_size): Likewise.
9319 (__x86_64_data_cache_size_half): Likewise.
9320 (__x86_64_raw_data_cache_size_half): Likewise.
9321 (__x86_64_shared_cache_size): Likewise.
9322 (__x86_64_raw_shared_cache_size): Likewise.
9323 (__x86_64_shared_cache_size_half): Likewise.
9324 (__x86_64_raw_shared_cache_size_half): Likewise.
9325 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9326 to ...
9327 (__x86_data_cache_size): This.
9328 (__x86_64_raw_data_cache_size): Renamed to ...
9329 (__x86_raw_data_cache_size): This.
9330 (__x86_64_data_cache_size_half): Renamed to ...
9331 (__x86_data_cache_size_half): This.
9332 (__x86_64_raw_data_cache_size_half): Renamed to ...
9333 (__x86_raw_data_cache_size_half): This.
9334 (__x86_64_shared_cache_size): Renamed to ...
9335 (__x86_shared_cache_size): This.
9336 (__x86_64_raw_shared_cache_size): Renamed to ...
9337 (__x86_raw_shared_cache_size): This.
9338 (__x86_64_shared_cache_size_half): Renamed to ...
9339 (__x86_shared_cache_size_half): This.
9340 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9341 (__x86_raw_shared_cache_size_half): This.
9342 * sysdeps/x86_64/memcpy.S: Updated.
9343 * sysdeps/x86_64/memset.S: Likewise.
9344 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9345 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9347
0b3986d0
DM
93482013-01-04 David S. Miller <davem@davemloft.net>
9349
9350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9351
e47686e9
AS
93522013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9353
d643bac1
AS
9354 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9355 1 to avoid redefinition warning.
9356 (__USE_GNU): Don't define.
9357 (init_signaling_nan): Protoize.
9358
e47686e9
AS
9359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9360
b18decba
SP
93612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9362
fffb407f
SP
9363 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9365 (__cpymn): Likewise.
9366 (norm): Remove commented code.
9367 (denorm): Likewise.
9368 (__mp_dbl): Likewise.
9369 (__inv): Likewise.
9370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9371 (__cpymn): Likewise.
9372 (norm): Remove commented code.
9373 (denorm): Likewise.
9374 (__mp_dbl): Likewise.
9375 (__inv): Likewise.
9376
b18decba
SP
9377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9378 mp_no value for 1.0 and 2.0.
9379 (norm): Use RADIXI instead of radixi.d.
9380 (denorm): Likewise.
9381 (__mul): Use 0.0 instead of zero.d.
9382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9383 mp_no value for 1.0 and 2.0.
9384 (norm): Use RADIXI instead of radixi.d.
9385 (denorm): Likewise.
9386 (__mul): Use 0.0 instead of zero.d.
9387
cdc1c96f
JM
93882013-01-04 Joseph Myers <joseph@codesourcery.com>
9389
9390 [BZ #14994]
9391 * math/s_casinh.c (__casinh): Reduce finite argument to first
9392 quadrant then set signs of results at the end.
9393 * math/s_casinhf.c (__casinhf): Likewise.
9394 * math/s_casinhl.c (__casinhl): Likewise.
9395 * math/libm-test.inc (casin_test): Add more tests.
9396 (casinh_test): Likewise.
9397 * sysdeps/i386/fpu/libm-test-ulps: Update.
9398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9399
302913e1
SP
94002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9401
6420d207
SP
9402 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9403
a9e48ab4
SP
9404 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9405
b7837264
SP
9406 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9407 declarations.
9408 (denorm): Likewise.
9409 (__mp_dbl): Likewise.
9410 (__inv): Likewise.
9411
f8af25d2
SP
9412 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9413 and adjust the header comment.
9414
302913e1
SP
9415 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9416 variable name from declaration.
9417
5d7dd1ca
L
94182013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9419
9420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9421 Initialize COMMON_CPUID_INDEX_7 element.
9422 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9423 (CPUID_RTM): Likewise.
9424 (HAS_RTM): Likewise.
9425 (COMMON_CPUID_INDEX_7): New enum.
9426
2f5f40f4
AS
94272013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9428
9429 [BZ #14981]
9430 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9431 size is zero, record memory as freed.
9432
4056f4a0
AJ
94332013-01-03 Andreas Jaeger <aj@suse.de>
9434
9435 * po/ia.po: Add new Interlingua translation.
9436
ab15736f 94372012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9438
9439 * locale/programs/localedef.c: Fix description of '--posix' flag.
9440
568035b7
JM
94412013-01-02 Joseph Myers <joseph@codesourcery.com>
9442
e6898b8d
JM
9443 * NEWS: Update dates in second copyright notice.
9444 * README: Update copyright dates in example.
9445 * manual/libc.texinfo: Update copyright dates.
9446 * scripts/test-installation.pl: Update copyright date in --version
9447 output.
9448
0e2f9562
JM
9449 * hurd/ctty-input.c: Fix copyright notice formatting.
9450 * hurd/ctty-output.c: Likewise.
9451 * hurd/dtable.c: Likewise.
9452 * hurd/hurd-raise.c: Likewise.
9453 * hurd/hurdprio.c: Likewise.
9454 * hurd/msgportdemux.c: Likewise.
9455 * misc/sys/file.h: Likewise.
9456 * misc/sys/ioctl.h: Likewise.
9457 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9458 * sysdeps/mach/hurd/chdir.c: Likewise.
9459 * sysdeps/mach/hurd/fchdir.c: Likewise.
9460 * sysdeps/mach/hurd/rename.c: Likewise.
9461 * sysdeps/mach/hurd/rmdir.c: Likewise.
9462 * sysdeps/mach/hurd/seekdir.c: Likewise.
9463 * sysdeps/mach/hurd/setsid.c: Likewise.
9464 * sysdeps/posix/wait3.c: Likewise.
9465
568035b7
JM
9466 * All files with FSF copyright notices: Update copyright dates
9467 using scripts/update-copyrights.
9468 * intl/plural.c: Regenerated.
9469 * locale/programs/charmap-kw.h: Likewise.
9470 * locale/programs/locfile-kw.h: Likewise.
9471
da08f647
SP
94722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9473
0f5477af
SP
9474 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9475 four values.
9476
44e0d4c2
SP
9477 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9478 calculation loop and add branch prediction.
9479
4d55b4e5
SP
9480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9481 check access beyond bounds of m1np.
9482
da08f647
SP
9483 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9484 MPTWO.
9485 (__inv): Remove local variable MPTWO to use the global
9486 constant.
9487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9489 variable MPTWO.
9490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9491 MP3HALFS static const.
9492
8e051029
DM
94932013-01-01 David S. Miller <davem@davemloft.net>
9494
9495 * po/ca.po: Update from translation team.
9496
f4cf5f2d
JM
94972013-01-01 Joseph Myers <joseph@codesourcery.com>
9498
9499 * scripts/update-copyrights: New file.
9500 * Makeconfig: Reformat copyright notice.
9501 * ctype/ctype.h: Likewise.
9502 * debug/swprintf_chk.c: Likewise.
9503 * elf/dl-cache.c: Likewise.
9504 * elf/dl-debug.c: Likewise.
9505 * elf/dl-object.c: Likewise.
9506 * grp/initgroups.c: Likewise.
9507 * hurd/Makefile: Likewise.
9508 * hurd/hurd/signal.h: Likewise.
9509 * hurd/hurdfault.c: Likewise.
9510 * hurd/hurdioctl.c: Likewise.
9511 * hurd/hurdlookup.c: Likewise.
9512 * hurd/intr-msg.c: Likewise.
9513 * iconv/gconv_open.c: Likewise.
9514 * libio/swprintf.c: Likewise.
9515 * locale/lc-ctype.c: Likewise.
9516 * locale/nl_langinfo.c: Likewise.
9517 * mach/Machrules: Likewise.
9518 * mach/Makefile: Likewise.
9519 * malloc/obstack.h: Likewise.
9520 * manual/Makefile: Likewise.
9521 * manual/tsort.awk: Likewise.
9522 * misc/bits/stab.def: Likewise.
9523 * nis/nis_print_group_entry.c: Likewise.
9524 * nis/nis_table.c: Likewise.
9525 * nis/nss_compat/compat-pwd.c: Likewise.
9526 * nis/nss_compat/compat-spwd.c: Likewise.
9527 * po/Makefile: Likewise.
9528 * posix/fnmatch.c: Likewise.
9529 * posix/regex.h: Likewise.
9530 * resolv/Makefile: Likewise.
9531 * resolv/nss_dns/dns-network.c: Likewise.
9532 * resolv/res_hconf.c: Likewise.
9533 * scripts/gen-sorted.awk: Likewise.
9534 * soft-fp/soft-fp.h: Likewise.
9535 * stdio-common/printf.h: Likewise.
9536 * stdlib/monetary.h: Likewise.
9537 * stdlib/random.c: Likewise.
9538 * stdlib/random_r.c: Likewise.
9539 * sysdeps/generic/Makefile: Likewise.
9540 * sysdeps/gnu/Makefile: Likewise.
9541 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9548 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9551 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9552 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9553 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9554 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9555 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9556 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9557 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9561 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9569 * sysdeps/mach/hurd/errnos.awk: Likewise.
9570 * sysdeps/mach/hurd/fork.c: Likewise.
9571 * sysdeps/mach/hurd/getcwd.c: Likewise.
9572 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9573 * sysdeps/mach/hurd/mmap.c: Likewise.
9574 * sysdeps/mach/hurd/utimes.c: Likewise.
9575 * sysdeps/mach/hurd/xmknod.c: Likewise.
9576 * sysdeps/posix/profil.c: Likewise.
9577 * sysdeps/posix/readdir_r.c: Likewise.
9578 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9579 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9580 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9581 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9583 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9584 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9585 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9587 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9588 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9589 * sysdeps/pthread/lio_listio.c: Likewise.
9590 * sysdeps/sparc/dl-procinfo.h: Likewise.
9591 * sysdeps/unix/i386/sysdep.S: Likewise.
9592 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9593 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9594 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9595 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9597 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9598 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9599 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9600 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9601 * sysdeps/wordsize-32/divdi3.c: Likewise.
9602 * time/sys/time.h: Likewise.
9603 * wcsmbs/Makefile: Likewise.
9604
0549fbba
DM
96052013-01-01 David S. Miller <davem@davemloft.net>
9606
a141f1a7
DM
9607 * po/fr.po: Update from translation team.
9608
0549fbba
DM
9609 * catgets/gencat.c: Update copyright year.
9610 * csu/version.c: Likewise.
9611 * debug/catchsegv.sh: Likewise.
9612 * debug/pcprofiledump.c: Likewise.
9613 * debug/xtrace.sh: Likewise.
9614 * elf/ldconfig.c: Likewise.
9615 * elf/ldd.bash.in: Likewise.
9616 * elf/pldd.c: Likewise.
9617 * elf/sotruss.ksh: Likewise.
9618 * elf/sprof.c: Likewise.
9619 * iconv/iconv_prog.c: Likewise.
9620 * iconv/iconvconfig.c: Likewise.
9621 * locale/programs/locale.c: Likewise.
9622 * locale/programs/localedef.c: Likewise.
9623 * login/programs/pt_chown.c: Likewise.
9624 * malloc/memusage.sh: Likewise.
9625 * malloc/memusagestat.c: Likewise.
9626 * malloc/mtrace.pl: Likewise.
9627 * nscd/nscd.c: Likewise.
9628 * nss/getent.c: Likewise.
9629 * nss/makedb.c: Likewise.
9630 * posix/getconf.c: Likewise.
9631
18ea052c
SP
96322012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9633
9634 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9635 numbers.
9636
9c89fca6
MF
96372012-12-30 Mike Frysinger <vapier@gentoo.org>
9638
9639 * math/bits/mathcalls.h (modf): Use __nonnull.
9640
085ec079
SP
96412012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9642
9643 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9644 (split): Use macro CN instead of the bare value.
9645 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9646 could be used.
9647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9648 instead of the bare value.
9649 (power1): Likewise.
9650
6d9f97e1
SP
96512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9652
d63f73be
SP
9653 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9654 __ATAN_TWOM.
9655 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9656
6d9f97e1
SP
9657 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9658 their values.
9659 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9660 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9661 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9662 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9663
4c4febf5
AJ
96642012-12-28 Andreas Jaeger <aj@suse.de>
9665
af5843ef
AJ
9666 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9667 values are from Linux 3.7.
9668
4c4febf5
AJ
9669 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9670 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9671
99136f82
SP
96722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9673
2f216c3c 9674 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9675 TRUE case.
9676
99136f82
SP
9677 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9678 (norm): Likewise.
9679 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9680 variables with preprocessor constants.
9681 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9682 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9683 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9684
7fffbdff
BH
96852012-12-27 Bruno Haible <bruno@clisp.org>
9686
9687 [BZ #14317]
9688 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9689 only if needed.
9690
b76eb5f0
SP
96912012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9692
31a7fe5c
SP
9693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9694 and use variable directly.
9695 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9696
b76eb5f0
SP
9697 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9698 MPONE.
9699 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9700 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9701 variable MPONE.
9702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9704 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9705 include directive. Remove local variable MPONE.
9706 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9707 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9708 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9709
2c8bfe7d
DM
97102012-12-25 David S. Miller <davem@davemloft.net>
9711
9712 * version.h (RELEASE): Set to "development".
9713 (VERSION): Set to "2.17.90".
9714 * NEWS: Add 2.18 section.
9715
147d03b0
DM
97162012-12-21 David S. Miller <davem@davemloft.net>
9717
9718 * po/hr.po: Update from translation team.
9719
a8ebb2b9
AK
97202012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9721
9722 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9723
95b4f1b6
SE
97242012-12-19 Steve Ellcey <sellcey@mips.com>
9725
b2d94007 9726 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9727
cedb2a90
MS
97282012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9729
9730 * manual/contrib.texi (Contributors): Spelling correction.
9731
bbf527d6
DM
97322012-12-15 David S. Miller <davem@davemloft.net>
9733
9734 * po/ru.po: Update from translation team.
9735
bc38c906
DM
97362012-12-13 David S. Miller <davem@davemloft.net>
9737
85429b1a
DM
9738 * NEWS: Mention IFUNC testsuite enhancements.
9739
d283e353
DM
9740 * po/pl.po: Update from translation team.
9741 * po/bg.po: Likewise.
9742
bc38c906
DM
9743 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9744 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9745
a181b0d7
DM
97462012-12-11 David S. Miller <davem@davemloft.net>
9747
4641d57e
DM
9748 * po/sv.po: Update from translation team.
9749
f7bc6495
DM
9750 * po/vi.po: Update from translation team.
9751
6fc9048f
DM
9752 * po/cs.po: Update from translation team.
9753
a181b0d7
DM
9754 * po/de.po: Update from translation team.
9755 * po/eo.po: Likewise.
9756 * po/nl.po: Likewise.
9757
f70bfe80
SP
97582012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9759
3c8b4190
SP
9760 [BZ #14246]
9761 * manual/argp.texi (Argp Helper Functions): Move node to follow
9762 Argp Parsing State.
9763
f70bfe80
SP
9764 [BZ #14872]
9765 * manual/conf.texi (Limits on File System Capacity): Mention if
9766 terminating null is included in the max size.
9767
188f0adf
AJ
97682012-12-10 Andreas Jaeger <aj@suse.de>
9769
9770 * po/cs.po: Update from translation team.
9771
56e7d3ad
SP
97722012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9773
9774 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9775 void pointer and cast to uintptr_t.
9776 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9777 path.
9778 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9779 * sysdeps/s390/s390-64/memset.S: Likewise.
9780
76f2d2ea 97812012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9782
9783 [BZ #14833]
9784 * menual/message.texi (Message Translation): Fix typos.
9785 (Helper programs for gettext): Likewise.
9786
67cbf9a2
AS
97872012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9788
9789 [BZ #14898]
9790 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9791 Change to -1.
9792
682d0e9a
DM
97932012-12-07 David S. Miller <davem@davemloft.net>
9794
9795 * po/libc.pot: Update.
9796
573cd484
RH
97972012-12-07 Richard Henderson <rth@redhat.com>
9798
7e9da188 9799 [BZ #10114]
573cd484
RH
9800 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9801 normal/normal case to before the switch.
9802 (_FP_DIV): Likewise.
9803
e933a943
MF
98042012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9805 Mike Frysinger <vapier@gentoo.org>
9806
9807 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9808 check for __NR_fadvise64_64.
9809
82123268
CM
98102012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9811
9812 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9813 0, not just to plain "0" as a statement.
9814 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9815 with cw.
9816
d9814526
JM
98172012-12-06 Joseph Myers <joseph@codesourcery.com>
9818
9819 * NEWS: Use sourceware.org in Bugzilla URL.
9820
7728c574
SP
98212012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9822
f16946dd
SP
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9824 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9825
5704bbcb
SP
9826 * stdio-common/tst-put-error.c (do_test): Add newline to the
9827 padded test to ensure flush.
9828
17aa0516
JL
98292012-12-05 Jeff Law <law@redhat.com>
9830
9831 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9832
363313b5
JM
98332012-12-05 Joseph Myers <joseph@codesourcery.com>
9834
effbd42a
JM
9835 * README: Don't refer to ports add-on as distributed separately.
9836 Mention AArch64 in list of systems supported in the ports add-on.
9837
87600365
JM
9838 * LICENSES: Add more non-FSF copyright and license notices.
9839
a0d7066a
JM
9840 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9841 ((unused)).
9842
66ca5a5b
JM
9843 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9844
363313b5
JM
9845 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9846 10000 as width of padded output.
9847
b37984ad
JM
98482012-12-04 Joseph Myers <joseph@codesourcery.com>
9849
9003570a
JM
9850 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9851
b37984ad
JM
9852 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9853 variable LX with __attribute__ ((unused)).
9854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9855 Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9859 with __attribute__ ((unused)).
9860
c8df52ec
DM
98612012-12-04 David S. Miller <davem@abraco.davemloft.net>
9862
9863 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9864
b3b099af
JM
98652012-12-04 Joseph Myers <joseph@codesourcery.com>
9866
c33aa6e3
JM
9867 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9868 (CFLAGS-nldbl-acos.c): New variable.
9869 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9870 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9871 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9872 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9873 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9874 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9875 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9876 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9878 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9879 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9887 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9888 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9889 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9890 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9891 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9892 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9893 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9894 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9895 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9896 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9897 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9898 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9899 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9929 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9930 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9944 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9945 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9946 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9947 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9948 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9949 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9950 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9951 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9952 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9953 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9954 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9955 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9956 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9957 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9958 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9959 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9960 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9961 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9962 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9963 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9964 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9965 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9966
20f0018d
JM
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9968 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9969
b3b099af
JM
9970 [BZ #14914]
9971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9972 whole low double instead of just low 47 bits when splitting values
9973 into two parts.
9974
029264d1
AM
99752012-12-03 Allan McRae <allan@archlinux.org>
9976
9977 * manual/stdio.texi (Predefined Printf Handlers): Remove
9978 @hsep and @vsep usage.
9979
c9d6789e
MF
99802012-12-03 Mike Frysinger <vapier@gentoo.org>
9981
9982 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9983 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9984
4b7634a5
JL
99852012-12-03 Jeff Law <law@redhat.com>
9986
9987 * time/sys/time.h (settimeofday): Do not mark TV argument
9988 as __nonnull.
9989
eb6cbd24
MF
99902012-12-01 Mike Frysinger <vapier@gentoo.org>
9991
9992 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9993 when currently writing and seek to current position when not.
9994 * libio/Makefile (tests): Remove bug-fclose1.
9995 * libio/bug-fclose1.c: Delete.
9996
f638872a
JM
99972012-12-01 Joseph Myers <joseph@codesourcery.com>
9998
9999 * manual/arith.texi (feenableexcept): Fix typo.
10000 (fedisableexcept): Likewise.
10001
48085d14
RM
100022012-11-30 Roland McGrath <roland@hack.frob.com>
10003
10004 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10005 second, differently-typed declaration, rather than a cast.
10006
1a538b9f
SP
100072012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10008
10009 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10010 * include/rpc/svc.h: ... here.
10011
d07f2ff1 100122012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10013
10014 [BZ #13013]
10015 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10016 depending n and resplen2 to catch cases where answer
10017 equals answerp2.
10018
c93ec1f0
CD
100192012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10020
10021 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10022 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10023
37db69de
MF
100242012-11-29 Mike Frysinger <vapier@gentoo.org>
10025
10026 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10027
e10c4e4f
RM
100282012-11-29 Roland McGrath <roland@hack.frob.com>
10029
10030 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10031
2af1b328
JL
100322012-11-28 Jeff Law <law@redhat.com>
10033
10034 [BZ #13761]
10035 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10036 dataset_temporary. Track alloca usage into alloca_used.
10037 If dataset is large allocate and release it via malloc/free.
10038
111db5b1
FW
100392012-06-04 Florian Weimer <fweimer@redhat.com>
10040
f06cc227 10041 [BZ #14197]
111db5b1
FW
10042 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10043
dd694abd
DM
100442012-11-28 David S. Miller <davem@davemloft.net>
10045
10046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10047
9984dd01
JM
100482012-11-28 Joseph Myers <joseph@codesourcery.com>
10049
10050 [BZ #14803]
10051 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10052 of pi/2 rounded to nearest to 64 bits.
10053 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10054 nearest to 64 bits.
10055 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10056 bits.
10057
14bc93a9
JL
100582012-11-28 Jeff Law <law@redhat.com>
10059 Martin Osvald <mosvald@redhat.com>
10060
10061 [BZ #14889]
10062 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10063 * sunrpc/svc.c: Include time.h.
10064 (__svc_accept_failed): New function.
10065 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10066 any reason other than EINTR, call __svc_accept_failed.
10067 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10068 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10069
e3c6aa3a
AS
100702012-11-28 Andreas Schwab <schwab@suse.de>
10071
10072 * scripts/abilist.awk: Also handle indirect functions in .opd
10073 section.
10074
1bead169
JM
100752012-11-28 Joseph Myers <joseph@codesourcery.com>
10076
10077 [BZ #13881]
10078 * sysdeps/x86/fpu/powl_helper.c: New file.
10079 * sysdeps/x86/fpu/Makefile: Likewise.
10080 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10081 (p3): New object.
10082 (__ieee754_powl): Use __powl_helper for finite arguments except
10083 integer exponents below 8.
10084 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10085 (p3): New object.
10086 (__ieee754_powl): Use __powl_helper for finite arguments except
10087 integer exponents below 8.
10088 * math/libm-test.inc (pow_test): Add more tests and enable some
10089 previously disabled tests.
10090 * sysdeps/i386/fpu/libm-test-ulps: Update.
10091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10092
0817d63d
SP
100932012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10094 Carlos O'Donell <carlos_odonell@mentor.com>
10095
10096 * nss/makedb.c (is_prime): Assert that input is odd and greater
10097 than 4. Note that fact in a comment too.
10098 (next_prime): Add 4 to input.
10099
de2fd463
SP
101002012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10101
10102 [BZ #11741]
10103 * libio/Makefile (tests): Add test case tst-fwrite-error.
10104 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10105 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10106 * libio/tst-fwrite-error.c: New test case.
10107
c515fb51
L
101082012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10111 before casting to void *.
10112 * include/libc-internal.h (__pointer_type): New macro.
10113 (__integer_if_pointer_type_sub): Likewise.
10114 (__integer_if_pointer_type): Likewise.
10115 (cast_to_integer): Likewise.
10116 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10117 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10118 before casting to atomic64_t.
10119 (atomic_exchange_acq): Likewise.
10120 (__arch_exchange_and_add_body): Likewise.
10121 (__arch_add_body): Likewise.
10122 (atomic_add_negative): Likewise.
10123 (atomic_add_zero): Likewise.
10124
4cf77aa9
JM
101252012-11-26 Joseph Myers <joseph@codesourcery.com>
10126
10127 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10128 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10129 (add_fdes): Likewise.
10130 (linear_search_fdes): Likewise.
10131 (binary_search_unencoded_fdes): Likewise.
10132
d260b3b4
AS
101332012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10134
10135 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10136
67060746
AC
101372012-11-24 Adam Conrad <adconrad@0c3.net>
10138
10139 * configure.in: Autodetect C++ header directories.
10140 * configure: Regenerated.
10141
800938a1
MF
101422012-11-23 Mike Frysinger <vapier@gentoo.org>
10143
10144 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10145
4e6e34e6
AS
101462012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10147
10148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10149
7c7feb47
JM
101502012-11-22 Joseph Myers <joseph@codesourcery.com>
10151
7184dcdf
JM
10152 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10153 LDBL_MANT_DIG == 106]: Disable some tests.
10154 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10155 Likewise.
10156 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10157 Likewise.
10158
0a42601f
JM
10159 [BZ #14871]
10160 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10161 input for small inputs. Return +/- pi/2 for large inputs.
10162 * math/libm-test.inc (atan_test): Add more tests.
10163
79c9b9fe
JM
10164 * sysdeps/generic/unwind-dw2-fde-glibc.c
10165 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10166 __attribute__ ((unused)).
10167
c60d3bf2
JM
10168 [BZ #14645]
10169 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10170 x * y if x and y are nonzero and z is zero.
10171
ef1e0867
JM
10172 [BZ #14811]
10173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10174 nonzero exponents with absolute value below 0x1p-117 to +/-
10175 0x1p-117.
10176
1468ded3
JM
10177 [BZ #14869]
10178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10179 up arguments below 2**-450, not just those below 2**-500.
10180 * math/libm-test.inc (hypot_test): Add another test.
10181
8e27e3cc
JM
10182 [BZ #14868]
10183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10184 Return a+b for ratio over 2**120, not 2**60.
10185 * math/libm-test.inc (hypot_test): Add another test.
10186
c9c0279b
JM
10187 * math/libm-test.inc (clog_test): Use
10188 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10189 (clog10_test): Likewise.
10190
7c7feb47
JM
10191 [BZ #6778]
10192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10193
fff1530e
AS
101942012-11-22 Andreas Schwab <schwab@suse.de>
10195
10196 * sysdeps/i386/fpu/libm-test-ulps: Update.
10197
94558d30
PT
101982012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10199
10200 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10201 printf output with newline.
10202
7e1be741
L
102032012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10204
6bfea974
L
10205 [BZ #14865]
10206 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10207 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10208 -z nodlopen, -z initfirst and -z execstack support.
10209 * configure: Regenerated.
10210
7e1be741
L
10211 * elf/elf.h (DF_1_NODIRECT): New macro.
10212 (DF_1_IGNMULDEF): Likewise.
10213 (DF_1_NOKSYMS): Likewise.
10214 (DF_1_NOHDR): Likewise.
10215 (DF_1_EDITED): Likewise.
10216 (DF_1_NORELOC): Likewise.
10217 (DF_1_SYMINTPOSE): Likewise.
10218 (DF_1_GLOBAUDIT): Likewise.
10219 (DF_1_SINGLETON): Likewise.
10220 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10221 DT_1_SUPPORTED_MASK bits.
10222 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10223
105ce2ce
CD
102242012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10225
10226 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10227
123be9de
TS
102282012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10229
d072f3f7
TS
10230 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10231 macro.
10232
123be9de
TS
10233 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10234 (sendmmsg): Move declarations...
10235 * socket/sys/socket.h: ... here.
10236 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10237 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10238 include it from...
10239 * socket/recvmmsg.c: ... this new file.
10240 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10241 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10242 definition of __sendmmsg hidden.
10243 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10244 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10245 Move ENOSYS stub into and include it from...
10246 * socket/sendmmsg.c: ... this new file.
10247 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10248 (sysdep_routines): Move recvmmsg and sendmmsg...
10249 * socket/Makefile (routines): ... here.
10250 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10251 (GLIBC_PRIVATE): Add __sendmmsg.
10252 * include/sys/socket.h (__sendmmsg): Add declarations.
10253 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10254 sendmmsg.
10255
cf9a5d18
JM
102562012-11-20 Joseph Myers <joseph@codesourcery.com>
10257
10258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10259 variable I1 with __attribute__ ((unused)).
10260 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10261
ecd4caf9
JM
102622012-11-19 Joseph Myers <joseph@codesourcery.com>
10263
be14d48f
JM
10264 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10265 DUMMY variables with __attribute__ ((unused)).
10266
ecd4caf9
JM
10267 * bits/byteswap.h: Include <bits/types.h>.
10268 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10269
986cab95
PT
102702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10271
10272 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10273 string_t. Do not manually set errno.
10274 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10275 length with __strnlen. Make sure to both set errno and return it on
10276 failure.
10277
6d33cc9d
DM
102782012-11-19 David S. Miller <davem@davemloft.net>
10279
10280 With help from Joseph Myers.
10281 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10282 very large arguments properly.
10283 * math/libm-test.inc (atan_test): New tests.
10284 (atan2_test): New tests.
10285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10287
ee663277
JM
102882012-11-19 Joseph Myers <joseph@codesourcery.com>
10289
877f2d8e
JM
10290 [BZ #14856]
10291 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10292 Define to 3.
10293
116fc08a
JM
10294 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10295 [POSIX] (EADDRNOTAVAIL): Likewise.
10296 [POSIX] (EAFNOSUPPORT): Likewise.
10297 [POSIX] (EALREADY): Likewise.
10298 [POSIX] (ECONNABORTED): Likewise.
10299 [POSIX] (ECONNREFUSED): Likewise.
10300 [POSIX] (ECONNRESET): Likewise.
10301 [POSIX] (EDESTADDRREQ): Likewise.
10302 [POSIX] (EDQUOT): Likewise.
10303 [POSIX] (EHOSTUNREACH): Likewise.
10304 [POSIX] (EIDRM): Likewise.
10305 [POSIX] (EISCONN): Likewise.
10306 [POSIX] (ELOOP): Likewise.
10307 [POSIX] (EMULTIHOP): Likewise.
10308 [POSIX] (ENETDOWN): Likewise.
10309 [POSIX] (ENETUNREACH): Likewise.
10310 [POSIX] (ENOBUFS): Likewise.
10311 [POSIX] (ENODATA): Likewise.
10312 [POSIX] (ENOLINK): Likewise.
10313 [POSIX] (ENOMSG): Likewise.
10314 [POSIX] (ENOPROTOOPT): Likewise.
10315 [POSIX] (ENOSR): Likewise.
10316 [POSIX] (ENOSTR): Likewise.
10317 [POSIX] (ENOTCONN): Likewise.
10318 [POSIX] (ENOTSOCK): Likewise.
10319 [POSIX] (EOPNOTSUPP): Likewise.
10320 [POSIX] (EOVERFLOW): Likewise.
10321 [POSIX] (EPROTO): Likewise.
10322 [POSIX] (EPROTONOSUPPORT): Likewise.
10323 [POSIX] (EPROTOTYPE): Likewise.
10324 [POSIX] (ESTALE): Likewise.
10325 [POSIX] (ETIME): Likewise.
10326 [POSIX] (ETXTBSY): Likewise.
10327 [POSIX] (EWOULDBLOCK): Likewise.
10328 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10329 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10330 [POSIX] (SEEK_CUR): Likewise.
10331 [POSIX] (SEEK_END): Likewise.
10332 [POSIX || UNIX98] (mode_t): Do not require.
10333 [POSIX] (off_t): Likewise.
10334 [POSIX] (pid_t): Likewise.
10335 [POSIX] (sys/stat.h): Do not allow header.
10336 [POSIX] (unistd.h): Likewise.
10337 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10338 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10339 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10340 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10341 require.
10342 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10343 sigevent): Specify elements.
10344 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10345 entry.
10346 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10347 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10348
a483863f
JM
10349 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10350 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10351 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10352 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10353 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10354 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10355 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10356 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10357 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10358 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10359 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10360 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10361 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10362 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10363 Likewise.
10364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10365 Likewise.
10366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10367 Likewise.
10368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10369 Likewise.
10370 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10371 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10372 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10373 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10375 Specify lower bound on value.
10376 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10382 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10383 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10384 value.
10385 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10386 as optional.
10387 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10389 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10390 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10391 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10392 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10393 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10398 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10399 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10403 entry.
10404 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10405 optional.
10406 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10411 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10412 Likewise.
10413 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10414 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10415 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10416 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10418 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10420 as optional.
10421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10425 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10426 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10427 specify as optional.
10428 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10431 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10432 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10433 [XPG3] (NL_LANGMAX): Likewise.
10434 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10435 [POSIX || XPG3] (NL_NMAX): Likewise.
10436 [POSIX || XPG3] (NL_SETMAX): Likewise.
10437 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10438 [XPG3] (NZERO): Likewise.
10439 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10440 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10441 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10442 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10443 (REG_ERANGE): Expect.
10444 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10445 optional-constant.
10446 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10447 Use (void) in prototype.
10448 [POSIX] (*_t): Allow.
10449 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10450 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10451 (WRDE_BADVAL): Expect.
10452
5ba924e3
JM
10453 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10454 expect.
10455 [XPG3 || XPG4] (O_RSYNC): Likewise.
10456 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10457 Likewise.
10458 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10459 [XPG3 || XPG4] (sigqueue): Likewise.
10460 [XPG3 || XPG4] (sigtimedwait): Likewise.
10461 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10462 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10463 [XPG3 || XPG4] (vsnprintf): Likewise.
10464 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10465 Likewise.
10466 [XPG3 || XPG4] (blksize_t): Likewise.
10467 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10468 Likewise.
10469 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10470 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10471 [XPG3 || XPG4] (struct itimerspec): Likewise.
10472 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10473 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10474 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10475 [XPG3 || XPG4] (clockid_t): Likewise.
10476 [XPG3 || XPG4] (timer_t): Likewise.
10477 [XPG3 || XPG4] (clock_getres): Likewise.
10478 [XPG3 || XPG4] (clock_gettime): Likewise.
10479 [XPG3 || XPG4] (clock_settime): Likewise.
10480 [XPG3 || XPG4] (nanosleep): Likewise.
10481 [XPG3 || XPG4] (timer_create): Likewise.
10482 [XPG3 || XPG4] (timer_delete): Likewise.
10483 [XPG3 || XPG4] (timer_gettime): Likewise.
10484 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10485 [XPG3 || XPG4] (timer_settime): Likewise.
10486 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10487 [XPG3 || XPG4] (getlogin_r): Likewise.
10488 [XPG3 || XPG4] (pread): Likewise.
10489 [XPG3 || XPG4] (pthread_atfork): Likewise.
10490 [XPG3 || XPG4] (pwrite): Likewise.
10491
ee663277
JM
10492 [BZ #14835]
10493 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10494 <bits/siginfo.h>.
10495
942caa16
PT
104962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10497
e19af380
PT
10498 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10499 finalizing MALLSTREAM.
10500
942caa16
PT
10501 * sysdeps/mach/hurd/syncfs.c: New file.
10502
cfde9b46
SP
105032012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10504
10505 [BZ #14719]
10506 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10507 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10508 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10509 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10510 (_nss_dns_gethostbyname4_r): Likewise.
10511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10512 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10513
f6da27e5
PH
105142012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10515
10516 [BZ #13763]
10517 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10518
6665d4a2
SM
105192012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10520
1f51ee92
SM
10521 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10522 * elf/cache.c (print_entry): Print ",AArch64" for
10523 FLAG_AARCH64_LIB64
10524
6665d4a2
SM
10525 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10526 * elf/cache.c (print_entry): Print ",hard-float" for
10527 FLAG_ARM_LIBHF.
10528
05b227bd
DM
105292012-11-18 David S. Miller <davem@davemloft.net>
10530
10531 With help from Joseph Myers.
10532 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10533 cutoff to 2**-13.
10534 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10535 cutoff to 2**-25.
10536 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10537 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10538 small.
10539 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10540 * math/libm-test.inc (y0_test): New tests.
10541 (y1_test): New tests.
10542 * sysdeps/i386/fpu/libm-test-ulps: Update.
10543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10545
786b0b67
AS
105462012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10547
10548 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10549 64-bit targets.
10550 * configure: Regenerated.
10551
8e18b86d
DM
105522012-11-17 David S. Miller <davem@davemloft.net>
10553
10554 [BZ #14811]
10555 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10556 nonzero exponents with absolute value below 0x1p-128 to +/-
10557 0x1p-128.
10558
531f1ae0
JM
105592012-11-17 Joseph Myers <joseph@codesourcery.com>
10560
12df29e2
JM
10561 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10562
150dc1a0
JM
10563 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10564
531f1ae0
JM
10565 * posix/getconf-speclist.c: New file.
10566 * posix/posix-envs.def: Likewise.
10567 * posix/confstr.c (START_ENV_GROUP): New macro.
10568 (END_ENV_GROUP): Likewise.
10569 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10570 (KNOWN_PRESENT_ENV_STRING): Likewise.
10571 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10572 (UNKNOWN_ENVIRONMENT): Likewise.
10573 (confstr): Include posix-envs.def instead of handling
10574 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10575 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10576 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10577 (END_ENV_GROUP): Likewise.
10578 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10579 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10580 (UNKNOWN_ENVIRONMENT): Likewise.
10581 (__sysconf): Include posix-envs.def instead of handling associated
10582 cases directly here.
10583 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10584 preprocessing getconf-speclist.c rather than running getconf or
10585 generating empty file.
10586
a93f9cbc
PT
105872012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10588
10589 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10590
d64d9f87
AL
105912012-11-16 Andrej Lajovic <natrij@gmail.com>
10592
10593 [BZ #14672]
10594 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10595
447885eb
DM
105962012-11-16 David S. Miller <davem@davemloft.net>
10597
10598 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10599 smaller than LDBL_EPSILON/2.0L, just return xm1.
10600
bcbf9830
L
106012012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10602
10603 * elf/tst-array1.c (init): Set constructor priority to 1000.
10604 (fini): Set destructor priority to 1000.
10605 * elf/tst-array2dep.c: Likewise.
10606
2b766585
SP
106072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10608
10609 [BZ #11741]
10610 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10611 (_IO_new_file_xsputn): Also return EOF if none of the input
10612 data was written when overflow failed.
10613 * libio/iopadn.c (_IO_padn): Likewise.
10614 * libio/iowpadn.c (_IO_wpadn): Likewise.
10615 * stdio-common/tst-put-error.c: Add copyright notice.
10616 (do_test): Add case for printing padded string.
10617 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10618 _IO_padn returned error.
10619 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10620 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10621 return EOF.
10622
b1848fde
SP
106232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10624
10625 * libio/libioP.h: Add comment note that the references to C++
10626 bits are now obsolete.
10627
2fd89785
MS
106282012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10629
10630 * math/libm-test.inc (check_complex): Use asprintf.
10631
e3ea5409
JM
106322012-11-14 Joseph Myers <joseph@codesourcery.com>
10633
10634 * debug/pcprofiledump.c (print_version): Update copyright year.
10635 * malloc/memusagestat.c (print_version): Likewise.
10636
2e64d265
L
106372012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10638
10639 [BZ #14831]
10640 * elf/Makefile (tests): Add tst-audit8.
10641 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10642 ($(objpfx)tst-audit8.out): New target.
10643 (tst-audit8-ENV): New variable.
10644 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10645 audit if l_reloc_result is NULL.
10646 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10647 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10648 * elf/tst-audit8.c: New file.
10649
c485e4d2
MS
106502012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10651
10652 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10653 * misc/Makefile (CFLAGS-select.c): Define.
10654 * posix/Makefile (CFLAGS-pause.c): Define.
10655
3a0d900a
DM
106562012-11-13 David S. Miller <davem@davemloft.net>
10657
10658 * crypt/Makefile: Move test targets after toplevel Rules
10659 inclusion. Grab any necessary sysdep routines when linking.
10660 * crypt/md5.c (md5_process_block): Remove define, we will always
10661 name it __md5_process_block.
10662 (md5_finish_ctx): Update md5_process_block call.
10663 (md5_stream): Likewise.
10664 (md5_process_bytes): Likewise.
10665 (md5_process_block): Rename to __md5_process_block and move to ...
10666 * crypt/md5-block.c: ... here.
10667 * crypt/sha256.c (sha256_process_block): Move to ...
10668 * crypt/sha256-block.c: ... here.
10669 * crypt/sha512.c (sha512_process_block): Move to ...
10670 * crypt/sha512-block.c: ... here.
10671 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10672 path.
10673 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10674 * sysdeps/sparc/sparc64/multiarch/Makefile
10675 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10676 crypt subdir.
10677 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10678 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10679 multiarch changes.
10680 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10681 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10682 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10683 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10684 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10685 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10686 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10687 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10689 file.
10690 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10692 file.
10693 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10694
8ca89318
JM
106952012-11-13 Joseph Myers <joseph@codesourcery.com>
10696
e27d476a
JM
10697 * timezone/tzselect.ksh: Update from tzcode git revision
10698 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10699 * timezone/zdump.c: Likewise.
10700 * timezone/zic.c: Likewise.
10701 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10702 in TZVERSION setting, not $(PKGVERSION).
10703 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10704 REPORT_BUGS_TO settings.
10705
8ca89318
JM
10706 [BZ #14838]
10707 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10708 macro.
10709
47594329
MS
107102012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10711
10712 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10713 detection to immediately after _FP_ROUND().
10714 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10715 bits are 0.
10716
640ac3f1
DM
107172012-11-11 David S. Miller <davem@davemloft.net>
10718
10719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10720 inttypes.h
10721 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10722 __close rather than their public counterparts.
10723
3d2577bb
JM
107242012-11-10 Joseph Myers <joseph@codesourcery.com>
10725
10726 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10727 file.
10728 [UNIX98] (sem_timedwait): Do not expect.
10729 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10730 [XPG4 || UNIX98] (sockatmark): Do not expect.
10731 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10732 (clock_getcpuclockid): Do not expect.
10733 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10734 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10735 Do not expect.
10736 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10737 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10738 [UNIX98] (vwscanf): Likewise.
10739 [UNIX98] (vswscanf): Likewise.
10740
fb1ae1ee
JM
107412012-11-09 Joseph Myers <joseph@codesourcery.com>
10742
9ec6f8bd
JM
10743 * timezone/version.h: Remove file.
10744 * timezone/README: Do not refer to version.h.
10745 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10746 $(objpfx)version.h.
10747 ($(objpfx)zdump.o): Likewise.
c3f81911 10748 ($(objpfx)version.h): New target.
9ec6f8bd 10749
0aa8f8a1
JM
10750 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10751 2012i.
10752 * timezone/README: Don't mention modification to tzselect.ksh.
10753 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10754 work on unmodified tzselect.ksh. Substitute version numbers in
10755 tzselect.ksh.
10756
4e87147f
JM
10757 * Makefile (format-me): Remove.
10758 (INSTALL): Adjust indentation. Use commands directly instead of
10759 using $(format-me).
10760
8b748aed
JM
10761 * aclocal.m4 (ACX_PKGVERSION): New macro.
10762 (ACX_BUGURL): Likewise.
10763 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10764 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10765 (REPORT_BUGS_TO): Likewise.
10766 * configure: Regenerated.
10767 * config.h.in (PKGVERSION): New macro.
10768 (REPORT_BUGS_TO): Likewise.
10769 * config.make.in (PKGVERSION): New variable.
10770 (PKGVERSION_TEXI): Likewise.
10771 (REPORT_BUGS_TO): Likewise.
10772 (REPORT_BUGS_TEXI): Likewise.
10773 * Makefile (format-me): Use -I$(common-objpfx)manual.
10774 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10775 ($(common-objpfx)manual/%): New target.
10776 (manual/%): Remove target.
10777 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10778 (print_version): Use PKGVERSION.
10779 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10780 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10781 and REPORT_BUGS_TO.
10782 ($(objpfx)xtrace): Likewise.
10783 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10784 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10785 (print_version): Use PKGVERSION.
10786 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10787 (do_version): Use PKGVERSION.
10788 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10789 REPORT_BUGS_TO.
10790 (common-ldd-rewrite): Likewise.
10791 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10792 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10793 (print_version): Use PKGVERSION.
10794 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10795 * elf/pldd.c (argp_program_bug_address): Remove variable.
10796 (more_help): New function.
10797 (argp): Use more_help.
10798 (print_version): Use PKGVERSION.
10799 * elf/sln.c (main): Use PKGVERSION.
10800 (usage): Use REPORT_BUGS_TO.
10801 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10802 (top level): Use PKGVERSION.
10803 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10804 (print_version): Use PKGVERSION.
10805 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10806 (print_version): Use PKGVERSION.
10807 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10808 (print_version): Use PKGVERSION.
10809 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10810 (print_version): Use PKGVERSION.
10811 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10812 (print_version): Use PKGVERSION.
10813 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10814 (print_version): Use PKGVERSION.
10815 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10816 and BUGURL.
10817 ($(objpfx)memusage): Likewise.
10818 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10819 (do_version): Use PKGVERSION.
10820 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10821 (print_version): Use PKGVERSION.
10822 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10823 ($PKGVERSION): New variable.
10824 ($REPORT_BUGS_TO): Likewise.
10825 (usage): Use $REPORT_BUGS_TO.
10826 (top level): Use $PKGVERSION.
10827 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10828 ($(objpfx)pkgvers.texi): New rule.
10829 ($(objpfx)stamp-pkgvers): Likewise.
10830 * manual/install.texi: Include pkgvers.texi.
10831 (--with-pkgversion): Document new configure option.
10832 (--with-bugurl): Likewise.
10833 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10834 than necessarily for this particular distribution. Use
10835 REPORT_BUGS_TO for where to report bugs.
10836 * INSTALL: Regenerated.
10837 * manual/libc.texinfo: Include pkgvers.texi.
10838 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10839 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10840 (print_version): Use PKGVERSION.
10841 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10842 (print_version): Use PKGVERSION.
10843 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10844 (print_version): Use PKGVERSION.
10845 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10846 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10847 macro.
10848 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10849 (print_version): Use PKGVERSION.
10850 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10851 (print_version): Use PKGVERSION.
10852 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10853 and PKGVERSION.
10854
92e4b6a9
JM
10855 * timezone/checktab.awk: Update from tzcode 2012i.
10856 * timezone/ialloc.c: Likewise.
10857 * timezone/private.h: Likewise.
10858 * timezone/scheck.c: Likewise.
10859 * timezone/tzfile.h: Likewise.
10860 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10861 (TZVERSION): Hardcode tzcode version number.
10862 * timezone/zdump.c: Update from tzcode 2012i.
10863 * timezone/zic.c: Likewise.
10864 * timezone/version.h: New file.
10865 * timezone/README: Describe version.h. Update upstream location.
10866
9bde902c
JM
10867 [BZ #14824]
10868 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10869 (mktemp): Enable declaration.
10870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10874 Likewise.
10875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10876 Likewise.
10877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10878 Likewise.
10879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10880 Likewise.
10881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10882 Likewise.
10883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10884 Likewise.
10885
fb1ae1ee
JM
10886 [BZ #14821]
10887 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10888 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10889 for copies of such integer values.
10890 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10891 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10892
2c1adbcb
AJ
108932012-11-09 Andreas Jaeger <aj@suse.de>
10894
10895 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10896 definitions and declarations that are provided by
10897 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10898
d0f8457e
AK
108992012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10900
3a235abb 10901 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10902 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10903 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10904 definition.
10905
57241e26
MS
109062012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10907
10908 * elf/elf.h: Update comment before AArch64 relocations.
10909
60e8270d
DM
109102012-11-07 David S. Miller <davem@davemloft.net>
10911
10912 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10913 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10914 (__start_context): Declare.
10915 (__makecontext_ret): Delete.
10916 (__makecontext): Hook up __start_context instead of
10917 __makecontext_ret.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10919 (sysdep_routines): Add __start_context when in stdlib.
10920
0fbb0fbc
JM
109212012-11-07 Joseph Myers <joseph@codesourcery.com>
10922
10923 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10924 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10925 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10926 hardcoded "nm".
10927 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10928 (READELF): New variable. Use it instead of hardcoded "readelf".
10929
eb48db7e
L
109302012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10931
10932 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10933 * sysdeps/x86/Makefile: Here.
10934 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10935 * sysdeps/x86/tst-xmmymm.sh: This.
10936
05bcf62a
JM
109372012-11-07 Joseph Myers <joseph@codesourcery.com>
10938
c4b6cf53
JM
10939 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10940 expectations.
10941 [UNIX98] (pthread_barrier_t): Do not expect.
10942 [UNIX98] (pthread_barrierattr_t): Likewise.
10943 [UNIX98] (pthread_spinlock_t): Likewise.
10944 [UNIX98] (pthread_barrier_destroy): Likewise.
10945 [UNIX98] (pthread_barrier_init): Likewise.
10946 [UNIX98] (pthread_barrier_wait): Likewise.
10947 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10948 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10949 [UNIX98] (pthread_barrierattr_init): Likewise.
10950 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10951 [UNIX98] (pthread_getcpuclockid): Likewise.
10952 [UNIX98] (pthread_mutex_timedlock): Likewise.
10953 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10954 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10955 [UNIX98] (pthread_sigmask): Likewise.
10956 [UNIX98] (pthread_spin_destroy): Likewise.
10957 [UNIX98] (pthread_spin_init): Likewise.
10958 [UNIX98] (pthread_spin_lock): Likewise.
10959 [UNIX98] (pthread_spin_trylock): Likewise.
10960 [UNIX98] (pthread_spin_unlock): Likewise.
10961 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10962 Do not expect.
10963 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10964 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10965 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10966 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10967 [XPG3 || XPG4] (pthread_key_t): Likewise.
10968 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10969 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10970 [XPG3 || XPG4] (pthread_once_t): Likewise.
10971 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10972 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10973 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10974 [XPG3 || XPG4] (pthread_t): Likewise.
10975
cbe6e120
JM
10976 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10977 not expect.
10978 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10979
1b126443
JM
10980 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10981 Change function return type to int.
10982
b961a573
JM
10983 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10984 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10985 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10986 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10987 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10988 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10989 [!POSIX] (posix_madvise): Likewise.
10990 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10991 && !UNIX98].
10992 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10993 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10994 (mode_t): Likewise.
10995 (posix_mem_offset): Likewise.
10996 (posix_typed_mem_get_info): Likewise.
10997 (posix_typed_mem_open): Likewise.
10998
9e188909
JM
10999 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11000 Change condition to [XOPEN2K8].
11001
05bcf62a
JM
11002 * conform/conformtest.pl: Preprocess allow-header data with -x c
11003 instead of from stdin.
11004 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11005 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11006 [C99-based standards] (cerfc): Likewise.
11007 [C99-based standards] (cexp2): Likewise.
11008 [C99-based standards] (cexpm1): Likewise.
11009 [C99-based standards] (clog10): Likewise.
11010 [C99-based standards] (clog1p): Likewise.
11011 [C99-based standards] (clog2): Likewise.
11012 [C99-based standards] (clgamma): Likewise.
11013 [C99-based standards] (ctgamma): Likewise.
11014 [C99-based standards] (cerff): Likewise.
11015 [C99-based standards] (cerfcf): Likewise.
11016 [C99-based standards] (cexp2f): Likewise.
11017 [C99-based standards] (cexpm1f): Likewise.
11018 [C99-based standards] (clog10f): Likewise.
11019 [C99-based standards] (clog1pf): Likewise.
11020 [C99-based standards] (clog2f): Likewise.
11021 [C99-based standards] (clgammaf): Likewise.
11022 [C99-based standards] (ctgammaf): Likewise.
11023 [C99-based standards] (cerfl): Likewise.
11024 [C99-based standards] (cerfcl): Likewise.
11025 [C99-based standards] (cexp2l): Likewise.
11026 [C99-based standards] (cexpm1l): Likewise.
11027 [C99-based standards] (clog10l): Likewise.
11028 [C99-based standards] (clog1pl): Likewise.
11029 [C99-based standards] (clog2l): Likewise.
11030 [C99-based standards] (clgammal): Likewise.
11031 [C99-based standards] (ctgammal): Likewise.
11032 * conform/data/inttypes.h-data [C99-based standards]: Include
11033 stdint.h-data. Remove all expectations for stdint.h contents.
11034 [C99-based standards] (PRI*): Do not allow.
11035 [C99-based standards] (SCN*): Likewise.
11036 [C99-based standards] (*_t): Likewise.
11037 [C99-based-standards] (PRId8): Expect macro.
11038 [C99-based-standards] (PRIi8): Likewise.
11039 [C99-based-standards] (PRIo8): Likewise.
11040 [C99-based-standards] (PRIu8): Likewise.
11041 [C99-based-standards] (PRIx8): Likewise.
11042 [C99-based-standards] (PRIX8): Likewise.
11043 [C99-based-standards] (SCNd8): Likewise.
11044 [C99-based-standards] (SCNi8): Likewise.
11045 [C99-based-standards] (SCNo8): Likewise.
11046 [C99-based-standards] (SCNu8): Likewise.
11047 [C99-based-standards] (SCNx8): Likewise.
11048 [C99-based-standards] (PRIdLEAST8): Likewise.
11049 [C99-based-standards] (PRIiLEAST8): Likewise.
11050 [C99-based-standards] (PRIoLEAST8): Likewise.
11051 [C99-based-standards] (PRIuLEAST8): Likewise.
11052 [C99-based-standards] (PRIxLEAST8): Likewise.
11053 [C99-based-standards] (PRIXLEAST8): Likewise.
11054 [C99-based-standards] (SCNdLEAST8): Likewise.
11055 [C99-based-standards] (SCNiLEAST8): Likewise.
11056 [C99-based-standards] (SCNoLEAST8): Likewise.
11057 [C99-based-standards] (SCNuLEAST8): Likewise.
11058 [C99-based-standards] (SCNxLEAST8): Likewise.
11059 [C99-based-standards] (PRIdFAST8): Likewise.
11060 [C99-based-standards] (PRIiFAST8): Likewise.
11061 [C99-based-standards] (PRIoFAST8): Likewise.
11062 [C99-based-standards] (PRIuFAST8): Likewise.
11063 [C99-based-standards] (PRIxFAST8): Likewise.
11064 [C99-based-standards] (PRIXFAST8): Likewise.
11065 [C99-based-standards] (SCNdFAST8): Likewise.
11066 [C99-based-standards] (SCNiFAST8): Likewise.
11067 [C99-based-standards] (SCNoFAST8): Likewise.
11068 [C99-based-standards] (SCNuFAST8): Likewise.
11069 [C99-based-standards] (SCNxFAST8): Likewise.
11070 [C99-based-standards] (PRId16): Likewise.
11071 [C99-based-standards] (PRIi16): Likewise.
11072 [C99-based-standards] (PRIo16): Likewise.
11073 [C99-based-standards] (PRIu16): Likewise.
11074 [C99-based-standards] (PRIx16): Likewise.
11075 [C99-based-standards] (PRIX16): Likewise.
11076 [C99-based-standards] (SCNd16): Likewise.
11077 [C99-based-standards] (SCNi16): Likewise.
11078 [C99-based-standards] (SCNo16): Likewise.
11079 [C99-based-standards] (SCNu16): Likewise.
11080 [C99-based-standards] (SCNx16): Likewise.
11081 [C99-based-standards] (PRIdLEAST16): Likewise.
11082 [C99-based-standards] (PRIiLEAST16): Likewise.
11083 [C99-based-standards] (PRIoLEAST16): Likewise.
11084 [C99-based-standards] (PRIuLEAST16): Likewise.
11085 [C99-based-standards] (PRIxLEAST16): Likewise.
11086 [C99-based-standards] (PRIXLEAST16): Likewise.
11087 [C99-based-standards] (SCNdLEAST16): Likewise.
11088 [C99-based-standards] (SCNiLEAST16): Likewise.
11089 [C99-based-standards] (SCNoLEAST16): Likewise.
11090 [C99-based-standards] (SCNuLEAST16): Likewise.
11091 [C99-based-standards] (SCNxLEAST16): Likewise.
11092 [C99-based-standards] (PRIdFAST16): Likewise.
11093 [C99-based-standards] (PRIiFAST16): Likewise.
11094 [C99-based-standards] (PRIoFAST16): Likewise.
11095 [C99-based-standards] (PRIuFAST16): Likewise.
11096 [C99-based-standards] (PRIxFAST16): Likewise.
11097 [C99-based-standards] (PRIXFAST16): Likewise.
11098 [C99-based-standards] (SCNdFAST16): Likewise.
11099 [C99-based-standards] (SCNiFAST16): Likewise.
11100 [C99-based-standards] (SCNoFAST16): Likewise.
11101 [C99-based-standards] (SCNuFAST16): Likewise.
11102 [C99-based-standards] (SCNxFAST16): Likewise.
11103 [C99-based-standards] (PRId32): Likewise.
11104 [C99-based-standards] (PRIi32): Likewise.
11105 [C99-based-standards] (PRIo32): Likewise.
11106 [C99-based-standards] (PRIu32): Likewise.
11107 [C99-based-standards] (PRIx32): Likewise.
11108 [C99-based-standards] (PRIX32): Likewise.
11109 [C99-based-standards] (SCNd32): Likewise.
11110 [C99-based-standards] (SCNi32): Likewise.
11111 [C99-based-standards] (SCNo32): Likewise.
11112 [C99-based-standards] (SCNu32): Likewise.
11113 [C99-based-standards] (SCNx32): Likewise.
11114 [C99-based-standards] (PRIdLEAST32): Likewise.
11115 [C99-based-standards] (PRIiLEAST32): Likewise.
11116 [C99-based-standards] (PRIoLEAST32): Likewise.
11117 [C99-based-standards] (PRIuLEAST32): Likewise.
11118 [C99-based-standards] (PRIxLEAST32): Likewise.
11119 [C99-based-standards] (PRIXLEAST32): Likewise.
11120 [C99-based-standards] (SCNdLEAST32): Likewise.
11121 [C99-based-standards] (SCNiLEAST32): Likewise.
11122 [C99-based-standards] (SCNoLEAST32): Likewise.
11123 [C99-based-standards] (SCNuLEAST32): Likewise.
11124 [C99-based-standards] (SCNxLEAST32): Likewise.
11125 [C99-based-standards] (PRIdFAST32): Likewise.
11126 [C99-based-standards] (PRIiFAST32): Likewise.
11127 [C99-based-standards] (PRIoFAST32): Likewise.
11128 [C99-based-standards] (PRIuFAST32): Likewise.
11129 [C99-based-standards] (PRIxFAST32): Likewise.
11130 [C99-based-standards] (PRIXFAST32): Likewise.
11131 [C99-based-standards] (SCNdFAST32): Likewise.
11132 [C99-based-standards] (SCNiFAST32): Likewise.
11133 [C99-based-standards] (SCNoFAST32): Likewise.
11134 [C99-based-standards] (SCNuFAST32): Likewise.
11135 [C99-based-standards] (SCNxFAST32): Likewise.
11136 [C99-based-standards] (PRId64): Likewise.
11137 [C99-based-standards] (PRIi64): Likewise.
11138 [C99-based-standards] (PRIo64): Likewise.
11139 [C99-based-standards] (PRIu64): Likewise.
11140 [C99-based-standards] (PRIx64): Likewise.
11141 [C99-based-standards] (PRIX64): Likewise.
11142 [C99-based-standards] (SCNd64): Likewise.
11143 [C99-based-standards] (SCNi64): Likewise.
11144 [C99-based-standards] (SCNo64): Likewise.
11145 [C99-based-standards] (SCNu64): Likewise.
11146 [C99-based-standards] (SCNx64): Likewise.
11147 [C99-based-standards] (PRIdLEAST64): Likewise.
11148 [C99-based-standards] (PRIiLEAST64): Likewise.
11149 [C99-based-standards] (PRIoLEAST64): Likewise.
11150 [C99-based-standards] (PRIuLEAST64): Likewise.
11151 [C99-based-standards] (PRIxLEAST64): Likewise.
11152 [C99-based-standards] (PRIXLEAST64): Likewise.
11153 [C99-based-standards] (SCNdLEAST64): Likewise.
11154 [C99-based-standards] (SCNiLEAST64): Likewise.
11155 [C99-based-standards] (SCNoLEAST64): Likewise.
11156 [C99-based-standards] (SCNuLEAST64): Likewise.
11157 [C99-based-standards] (SCNxLEAST64): Likewise.
11158 [C99-based-standards] (PRIdFAST64): Likewise.
11159 [C99-based-standards] (PRIiFAST64): Likewise.
11160 [C99-based-standards] (PRIoFAST64): Likewise.
11161 [C99-based-standards] (PRIuFAST64): Likewise.
11162 [C99-based-standards] (PRIxFAST64): Likewise.
11163 [C99-based-standards] (PRIXFAST64): Likewise.
11164 [C99-based-standards] (SCNdFAST64): Likewise.
11165 [C99-based-standards] (SCNiFAST64): Likewise.
11166 [C99-based-standards] (SCNoFAST64): Likewise.
11167 [C99-based-standards] (SCNuFAST64): Likewise.
11168 [C99-based-standards] (SCNxFAST64): Likewise.
11169 [C99-based-standards] (PRIdMAX): Likewise.
11170 [C99-based-standards] (PRIiMAX): Likewise.
11171 [C99-based-standards] (PRIoMAX): Likewise.
11172 [C99-based-standards] (PRIuMAX): Likewise.
11173 [C99-based-standards] (PRIxMAX): Likewise.
11174 [C99-based-standards] (PRIXMAX): Likewise.
11175 [C99-based-standards] (SCNdMAX): Likewise.
11176 [C99-based-standards] (SCNiMAX): Likewise.
11177 [C99-based-standards] (SCNoMAX): Likewise.
11178 [C99-based-standards] (SCNuMAX): Likewise.
11179 [C99-based-standards] (SCNxMAX): Likewise.
11180 [C99-based-standards] (PRIdPTR): Likewise.
11181 [C99-based-standards] (PRIiPTR): Likewise.
11182 [C99-based-standards] (PRIoPTR): Likewise.
11183 [C99-based-standards] (PRIuPTR): Likewise.
11184 [C99-based-standards] (PRIxPTR): Likewise.
11185 [C99-based-standards] (PRIXPTR): Likewise.
11186 [C99-based-standards] (SCNdPTR): Likewise.
11187 [C99-based-standards] (SCNiPTR): Likewise.
11188 [C99-based-standards] (SCNoPTR): Likewise.
11189 [C99-based-standards] (SCNuPTR): Likewise.
11190 [C99-based-standards] (SCNxPTR): Likewise.
11191 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11192 allow.
11193 * conform/data/stdint.h-data: Update comments to clarify
11194 requirements.
11195 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11196 type.
11197 [C99-based standards] (INT8_MAX): Likewise.
11198 [C99-based standards] (INT16_MIN): Likewise.
11199 [C99-based standards] (INT16_MAX): Likewise.
11200 [C99-based standards] (INT32_MIN): Likewise.
11201 [C99-based standards] (INT32_MAX): Likewise.
11202 [C99-based standards] (INT64_MIN): Likewise.
11203 [C99-based standards] (INT64_MAX): Likewise.
11204 [C99-based standards] (UINT8_MAX): Likewise.
11205 [C99-based standards] (UINT16_MAX): Likewise.
11206 [C99-based standards] (UINT32_MAX): Likewise.
11207 [C99-based standards] (UINT64_MAX): Likewise.
11208 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11209 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11210 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11211 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11212 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11213 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11214 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11215 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11216 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11217 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11218 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11219 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11220 [C99-based standards] (INT_FAST8_MIN): Likewise.
11221 [C99-based standards] (INT_FAST8_MAX): Likewise.
11222 [C99-based standards] (INT_FAST16_MIN): Likewise.
11223 [C99-based standards] (INT_FAST16_MAX): Likewise.
11224 [C99-based standards] (INT_FAST32_MIN): Likewise.
11225 [C99-based standards] (INT_FAST32_MAX): Likewise.
11226 [C99-based standards] (INT_FAST64_MIN): Likewise.
11227 [C99-based standards] (INT_FAST64_MAX): Likewise.
11228 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11229 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11230 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11231 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11232 [C99-based standards] (INTPTR_MIN): Likewise.
11233 [C99-based standards] (INTPTR_MAX): Likewise.
11234 [C99-based standards] (UINTPTR_MAX): Likewise.
11235 [C99-based standards] (INTMAX_MIN): Likewise.
11236 [C99-based standards] (INTMAX_MAX): Likewise.
11237 [C99-based standards] (UINTMAX_MAX): Likewise.
11238 [C99-based standards] (PTRDIFF_MIN): Likewise.
11239 [C99-based standards] (PTRDIFF_MAX): Likewise.
11240 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11241 [C99-based standards] (SIZE_MAX): Likewise.
11242 [C99-based standards] (WCHAR_MAX): Likewise.
11243 [C99-based standards] (WINT_MAX): Likewise.
11244 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11245 constraint on value.
11246 [C99-based standards] (WCHAR_MIN): Likewise.
11247 [C99-based standards] (WINT_MIN): Likewise.
11248 [C99-based standards] (*_t): Allow.
11249 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11250 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11251 Include math.h-data and complex.h-data. Remove all expectations
11252 of math.h and complex.h contents.
11253 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11254 at end of line.
11255 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11256 (struct tm): Expect tag.
11257 [C99-based-standards] (wcstof): Expect function.
11258 [C99-based-standards] (wcstold): Likewise.
11259 [C99-based-standards] (wcstoll): Likewise.
11260 [C99-based-standards] (wcstoull): Likewise.
11261 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11262 macro-int-constant. Specify type.
11263 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11264 constraint on value.
11265 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11266 Specify type.
11267 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11268 Specify value.
11269 [ISO C standards]: Do not allow headers.
11270 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11271 wcs[abcdefghijklmnopqrstuvwxyz]*.
11272 [ISO C standards] (*_t): Do not allow.
11273 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11274 Expect function.
11275 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11276 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11277 Specify type.
11278 [ISO C standards]: Do not allow headers.
11279 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11280 is[abcdefghijklmnopqrstuvwxyz]*.
11281 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11282 to[abcdefghijklmnopqrstuvwxyz]*.
11283 [ISO C standards] (*_t): Do not allow.
11284 * conform/data/stdalign.h-data: New file.
11285 * conform/data/stdbool.h-data: Likewise.
11286 * conform/data/stdnoreturn.h-data: Likewise.
11287
7514feb8
RM
112882012-11-07 Roland McGrath <roland@hack.frob.com>
11289
11290 [BZ #14815]
11291 * manual/filesys.texi (Directory Entries): Typo fix.
11292 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11293
19b2ecfc
MS
112942012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11295
11296 * elf/elf.h (EM_AARCH64): New macro.
11297 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11298 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11299 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11300 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11301 (R_AARCH64_TLSDESC): Likewise.
11302 (NT_ARM_TLS): Likewise.
11303 (NT_ARM_HW_BREAK): Likewise.
11304 (NT_ARM_HW_WATCH): Likewise.
11305
60e235ee
JM
113062012-11-07 Joseph Myers <joseph@codesourcery.com>
11307
11308 [BZ #14811]
11309 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11310 (__ieee754_powl): Saturate nonzero exponents with absolute value
11311 below 0x1p-79 to +/- 0x1p-79.
11312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11313 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11314 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11315 nonzero exponents with absolute value below 0x1p-32 to +/-
11316 0x1p-32.
11317 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11318 (__ieee754_powl): Saturate nonzero exponents with absolute value
11319 below 0x1p-79 to +/- 0x1p-79.
11320 * math/libm-test.inc (pow_test): Add more tests.
11321
0ab234b7
AK
113222012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11323
11324 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11325 _dl_s390_cap_flags with kernel. Increase string length.
11326 (_dl_s390_platforms): Add z196 and zEC12.
11327
45832f74
JM
113282012-11-07 Joseph Myers <joseph@codesourcery.com>
11329
11330 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11331 Change XOPEN21K to XOPEN2K.
11332
19218757
MK
113332012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11334
11335 * string/memmove.c: Use memcpy when possible.
11336
c5f45721
AJ
113372012-11-06 Andreas Jaeger <aj@suse.de>
11338
11339 * po/eo.po: Update from translation team.
11340
82477c28
JM
113412012-11-06 Joseph Myers <joseph@codesourcery.com>
11342
11343 [BZ #14793]
11344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11345 exponent and small x and y exponents, scale x or y up. Increase
11346 by 2 the exponent used in scaling up.
11347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11349 * math/libm-test.inc (fma_test): Add more tests.
11350 (fma_test_towardzero): Likewise.
11351 (fma_test_downward): Likewise.
11352 (fma_test_upward): Likewise.
11353
99252c8c
JM
113542012-11-05 Joseph Myers <joseph@codesourcery.com>
11355
acfa885f
JM
11356 [BZ #14805]
11357 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11358 fenv_t *.
11359
99252c8c
JM
11360 [BZ #14801]
11361 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11362 namespace for names of struct fields.
11363 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11364 fenv_t fields.
11365 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11366 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11367
d6d98dea
ST
113682012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11369
11370 [BZ #3665]
11371 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11372
e10bb107
TS
113732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11374
11375 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11376 PTR_DEMANGLE.
11377
11378 [BZ #5246]
11379 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11380 PTR_DEMANGLE.
11381
a0c2940d
JM
113822012-11-04 Joseph Myers <joseph@codesourcery.com>
11383
11384 [BZ #14797]
11385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11386 definitely overflow as x * y not x * y + z.
11387 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11389 * math/libm-test.inc (fma_test): Add more tests.
11390 (fma_test_towardzero): Likewise.
11391 (fma_test_downward): Likewise.
11392 (fma_test_upward): Likewise.
11393
b830319d
TS
113942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11395
11396 [BZ #157]
11397
11398 * include/stub-tag.h: Remove file.
11399 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11400 '#include' of it.
11401 * manual/maint.texi (Porting): Don't reference it.
11402 * Makerules ($(objpfx)stubs): Likewise.
11403 * dirent/closedir.c: Don't include <stub-tag.h>.
11404 * dirent/dirfd.c: Likewise.
11405 * dirent/fdopendir.c: Likewise.
11406 * dirent/getdents.c: Likewise.
11407 * dirent/getdents64.c: Likewise.
11408 * dirent/opendir.c: Likewise.
11409 * dirent/readdir.c: Likewise.
11410 * dirent/readdir64.c: Likewise.
11411 * dirent/readdir64_r.c: Likewise.
11412 * dirent/readdir_r.c: Likewise.
11413 * dirent/rewinddir.c: Likewise.
11414 * dirent/seekdir.c: Likewise.
11415 * dirent/telldir.c: Likewise.
11416 * gmon/profil.c: Likewise.
11417 * grp/setgroups.c: Likewise.
11418 * inet/if_index.c: Likewise.
11419 * io/access.c: Likewise.
11420 * io/chdir.c: Likewise.
11421 * io/chmod.c: Likewise.
11422 * io/chown.c: Likewise.
11423 * io/close.c: Likewise.
11424 * io/dup.c: Likewise.
11425 * io/dup2.c: Likewise.
11426 * io/dup3.c: Likewise.
11427 * io/euidaccess.c: Likewise.
11428 * io/faccessat.c: Likewise.
11429 * io/fchdir.c: Likewise.
11430 * io/fchmod.c: Likewise.
11431 * io/fchmodat.c: Likewise.
11432 * io/fchown.c: Likewise.
11433 * io/fchownat.c: Likewise.
11434 * io/fcntl.c: Likewise.
11435 * io/flock.c: Likewise.
11436 * io/fstatfs.c: Likewise.
11437 * io/fstatfs64.c: Likewise.
11438 * io/fstatvfs.c: Likewise.
11439 * io/fstatvfs64.c: Likewise.
11440 * io/futimens.c: Likewise.
11441 * io/fxstat.c: Likewise.
11442 * io/fxstat64.c: Likewise.
11443 * io/fxstatat.c: Likewise.
11444 * io/fxstatat64.c: Likewise.
11445 * io/getcwd.c: Likewise.
11446 * io/isatty.c: Likewise.
11447 * io/lchmod.c: Likewise.
11448 * io/lchown.c: Likewise.
11449 * io/link.c: Likewise.
11450 * io/linkat.c: Likewise.
11451 * io/lseek.c: Likewise.
11452 * io/lseek64.c: Likewise.
11453 * io/lxstat64.c: Likewise.
11454 * io/mkdir.c: Likewise.
11455 * io/mkdirat.c: Likewise.
11456 * io/mkfifo.c: Likewise.
11457 * io/mkfifoat.c: Likewise.
11458 * io/open.c: Likewise.
11459 * io/open64.c: Likewise.
11460 * io/openat.c: Likewise.
11461 * io/openat64.c: Likewise.
11462 * io/pipe.c: Likewise.
11463 * io/pipe2.c: Likewise.
11464 * io/poll.c: Likewise.
11465 * io/posix_fadvise.c: Likewise.
11466 * io/posix_fadvise64.c: Likewise.
11467 * io/posix_fallocate.c: Likewise.
11468 * io/posix_fallocate64.c: Likewise.
11469 * io/read.c: Likewise.
11470 * io/readlink.c: Likewise.
11471 * io/readlinkat.c: Likewise.
11472 * io/rmdir.c: Likewise.
11473 * io/sendfile.c: Likewise.
11474 * io/sendfile64.c: Likewise.
11475 * io/statfs.c: Likewise.
11476 * io/statfs64.c: Likewise.
11477 * io/statvfs.c: Likewise.
11478 * io/statvfs64.c: Likewise.
11479 * io/symlink.c: Likewise.
11480 * io/symlinkat.c: Likewise.
11481 * io/ttyname.c: Likewise.
11482 * io/ttyname_r.c: Likewise.
11483 * io/umask.c: Likewise.
11484 * io/unlink.c: Likewise.
11485 * io/unlinkat.c: Likewise.
11486 * io/utime.c: Likewise.
11487 * io/utimensat.c: Likewise.
11488 * io/write.c: Likewise.
11489 * io/xmknod.c: Likewise.
11490 * io/xmknodat.c: Likewise.
11491 * io/xstat.c: Likewise.
11492 * io/xstat64.c: Likewise.
11493 * login/getpt.c: Likewise.
11494 * login/grantpt.c: Likewise.
11495 * login/unlockpt.c: Likewise.
11496 * math/e_acoshl.c: Likewise.
11497 * math/e_acosl.c: Likewise.
11498 * math/e_asinl.c: Likewise.
11499 * math/e_atan2l.c: Likewise.
11500 * math/e_atanhl.c: Likewise.
11501 * math/e_coshl.c: Likewise.
11502 * math/e_expl.c: Likewise.
11503 * math/e_fmodl.c: Likewise.
11504 * math/e_gammal_r.c: Likewise.
11505 * math/e_hypotl.c: Likewise.
11506 * math/e_j0l.c: Likewise.
11507 * math/e_j1l.c: Likewise.
11508 * math/e_jnl.c: Likewise.
11509 * math/e_lgammal_r.c: Likewise.
11510 * math/e_log10l.c: Likewise.
11511 * math/e_log2l.c: Likewise.
11512 * math/e_logl.c: Likewise.
11513 * math/e_powl.c: Likewise.
11514 * math/e_rem_pio2l.c: Likewise.
11515 * math/e_sinhl.c: Likewise.
11516 * math/e_sqrtl.c: Likewise.
11517 * math/fclrexcpt.c: Likewise.
11518 * math/fedisblxcpt.c: Likewise.
11519 * math/feenablxcpt.c: Likewise.
11520 * math/fegetenv.c: Likewise.
11521 * math/fegetexcept.c: Likewise.
11522 * math/fegetround.c: Likewise.
11523 * math/feholdexcpt.c: Likewise.
11524 * math/fesetenv.c: Likewise.
11525 * math/fesetround.c: Likewise.
11526 * math/feupdateenv.c: Likewise.
11527 * math/fgetexcptflg.c: Likewise.
11528 * math/fraiseexcpt.c: Likewise.
11529 * math/fsetexcptflg.c: Likewise.
11530 * math/ftestexcept.c: Likewise.
11531 * math/k_cosl.c: Likewise.
11532 * math/k_rem_pio2l.c: Likewise.
11533 * math/k_sinl.c: Likewise.
11534 * math/k_tanl.c: Likewise.
11535 * math/s_asinhl.c: Likewise.
11536 * math/s_atanl.c: Likewise.
11537 * math/s_cbrtl.c: Likewise.
11538 * math/s_erfl.c: Likewise.
11539 * math/s_expm1l.c: Likewise.
11540 * math/s_log1pl.c: Likewise.
11541 * math/s_tanhl.c: Likewise.
11542 * misc/acct.c: Likewise.
11543 * misc/brk.c: Likewise.
11544 * misc/chflags.c: Likewise.
11545 * misc/chroot.c: Likewise.
11546 * misc/fchflags.c: Likewise.
11547 * misc/fgetxattr.c: Likewise.
11548 * misc/flistxattr.c: Likewise.
11549 * misc/fremovexattr.c: Likewise.
11550 * misc/fsetxattr.c: Likewise.
11551 * misc/fsync.c: Likewise.
11552 * misc/ftruncate.c: Likewise.
11553 * misc/futimes.c: Likewise.
11554 * misc/futimesat.c: Likewise.
11555 * misc/getdomain.c: Likewise.
11556 * misc/getdtsz.c: Likewise.
11557 * misc/gethostid.c: Likewise.
11558 * misc/gethostname.c: Likewise.
11559 * misc/getloadavg.c: Likewise.
11560 * misc/getpagesize.c: Likewise.
11561 * misc/getsysstats.c: Likewise.
11562 * misc/getxattr.c: Likewise.
11563 * misc/gtty.c: Likewise.
11564 * misc/ioctl.c: Likewise.
11565 * misc/lgetxattr.c: Likewise.
11566 * misc/listxattr.c: Likewise.
11567 * misc/llistxattr.c: Likewise.
11568 * misc/lremovexattr.c: Likewise.
11569 * misc/lsetxattr.c: Likewise.
11570 * misc/lutimes.c: Likewise.
11571 * misc/madvise.c: Likewise.
11572 * misc/mincore.c: Likewise.
11573 * misc/mlock.c: Likewise.
11574 * misc/mlockall.c: Likewise.
11575 * misc/mmap.c: Likewise.
11576 * misc/mprotect.c: Likewise.
11577 * misc/msync.c: Likewise.
11578 * misc/munlock.c: Likewise.
11579 * misc/munlockall.c: Likewise.
11580 * misc/munmap.c: Likewise.
11581 * misc/preadv.c: Likewise.
11582 * misc/preadv64.c: Likewise.
11583 * misc/ptrace.c: Likewise.
11584 * misc/pwritev.c: Likewise.
11585 * misc/pwritev64.c: Likewise.
11586 * misc/readv.c: Likewise.
11587 * misc/reboot.c: Likewise.
11588 * misc/remap_file_pages.c: Likewise.
11589 * misc/removexattr.c: Likewise.
11590 * misc/revoke.c: Likewise.
11591 * misc/select.c: Likewise.
11592 * misc/setdomain.c: Likewise.
11593 * misc/setegid.c: Likewise.
11594 * misc/seteuid.c: Likewise.
11595 * misc/sethostid.c: Likewise.
11596 * misc/sethostname.c: Likewise.
11597 * misc/setregid.c: Likewise.
11598 * misc/setreuid.c: Likewise.
11599 * misc/setxattr.c: Likewise.
11600 * misc/sstk.c: Likewise.
11601 * misc/stty.c: Likewise.
11602 * misc/swapoff.c: Likewise.
11603 * misc/swapon.c: Likewise.
11604 * misc/sync.c: Likewise.
11605 * misc/syncfs.c: Likewise.
11606 * misc/syscall.c: Likewise.
11607 * misc/truncate.c: Likewise.
11608 * misc/ualarm.c: Likewise.
11609 * misc/usleep.c: Likewise.
11610 * misc/ustat.c: Likewise.
11611 * misc/utimes.c: Likewise.
11612 * misc/vhangup.c: Likewise.
11613 * misc/writev.c: Likewise.
11614 * posix/_exit.c: Likewise.
11615 * posix/alarm.c: Likewise.
11616 * posix/execve.c: Likewise.
11617 * posix/fexecve.c: Likewise.
11618 * posix/fork.c: Likewise.
11619 * posix/fpathconf.c: Likewise.
11620 * posix/getaddrinfo.c: Likewise.
11621 * posix/getegid.c: Likewise.
11622 * posix/geteuid.c: Likewise.
11623 * posix/getgid.c: Likewise.
11624 * posix/getgroups.c: Likewise.
11625 * posix/getlogin.c: Likewise.
11626 * posix/getlogin_r.c: Likewise.
11627 * posix/getpgid.c: Likewise.
11628 * posix/getpid.c: Likewise.
11629 * posix/getppid.c: Likewise.
11630 * posix/getresgid.c: Likewise.
11631 * posix/getresuid.c: Likewise.
11632 * posix/getsid.c: Likewise.
11633 * posix/getuid.c: Likewise.
11634 * posix/glob64.c: Likewise.
11635 * posix/nanosleep.c: Likewise.
11636 * posix/pathconf.c: Likewise.
11637 * posix/pause.c: Likewise.
11638 * posix/posix_madvise.c: Likewise.
11639 * posix/pread.c: Likewise.
11640 * posix/pread64.c: Likewise.
11641 * posix/pwrite.c: Likewise.
11642 * posix/pwrite64.c: Likewise.
11643 * posix/sched_getaffinity.c: Likewise.
11644 * posix/sched_getp.c: Likewise.
11645 * posix/sched_gets.c: Likewise.
11646 * posix/sched_primax.c: Likewise.
11647 * posix/sched_primin.c: Likewise.
11648 * posix/sched_rr_gi.c: Likewise.
11649 * posix/sched_setaffinity.c: Likewise.
11650 * posix/sched_setp.c: Likewise.
11651 * posix/sched_sets.c: Likewise.
11652 * posix/sched_yield.c: Likewise.
11653 * posix/setgid.c: Likewise.
11654 * posix/setlogin.c: Likewise.
11655 * posix/setpgid.c: Likewise.
11656 * posix/setresgid.c: Likewise.
11657 * posix/setresuid.c: Likewise.
11658 * posix/setsid.c: Likewise.
11659 * posix/setuid.c: Likewise.
11660 * posix/sleep.c: Likewise.
11661 * posix/spawni.c: Likewise.
11662 * posix/sysconf.c: Likewise.
11663 * posix/times.c: Likewise.
11664 * posix/wait.c: Likewise.
11665 * posix/wait3.c: Likewise.
11666 * posix/wait4.c: Likewise.
11667 * posix/waitpid.c: Likewise.
11668 * resolv/gai_sigqueue.c: Likewise.
11669 * resource/getpriority.c: Likewise.
11670 * resource/getrlimit.c: Likewise.
11671 * resource/getrusage.c: Likewise.
11672 * resource/nice.c: Likewise.
11673 * resource/setpriority.c: Likewise.
11674 * resource/setrlimit.c: Likewise.
11675 * resource/ulimit.c: Likewise.
11676 * rt/aio_cancel.c: Likewise.
11677 * rt/aio_fsync.c: Likewise.
11678 * rt/aio_read.c: Likewise.
11679 * rt/aio_sigqueue.c: Likewise.
11680 * rt/aio_suspend.c: Likewise.
11681 * rt/aio_write.c: Likewise.
11682 * rt/clock_getres.c: Likewise.
11683 * rt/clock_gettime.c: Likewise.
11684 * rt/clock_nanosleep.c: Likewise.
11685 * rt/clock_settime.c: Likewise.
11686 * rt/lio_listio.c: Likewise.
11687 * rt/mq_close.c: Likewise.
11688 * rt/mq_getattr.c: Likewise.
11689 * rt/mq_notify.c: Likewise.
11690 * rt/mq_open.c: Likewise.
11691 * rt/mq_receive.c: Likewise.
11692 * rt/mq_send.c: Likewise.
11693 * rt/mq_setattr.c: Likewise.
11694 * rt/mq_timedreceive.c: Likewise.
11695 * rt/mq_timedsend.c: Likewise.
11696 * rt/mq_unlink.c: Likewise.
11697 * rt/shm_open.c: Likewise.
11698 * rt/shm_unlink.c: Likewise.
11699 * rt/timer_create.c: Likewise.
11700 * rt/timer_delete.c: Likewise.
11701 * rt/timer_getoverr.c: Likewise.
11702 * rt/timer_gettime.c: Likewise.
11703 * rt/timer_settime.c: Likewise.
11704 * setjmp/__longjmp.c: Likewise.
11705 * setjmp/setjmp.c: Likewise.
11706 * signal/kill.c: Likewise.
11707 * signal/killpg.c: Likewise.
11708 * signal/raise.c: Likewise.
11709 * signal/sigaction.c: Likewise.
11710 * signal/sigaltstack.c: Likewise.
11711 * signal/sigblock.c: Likewise.
11712 * signal/sigignore.c: Likewise.
11713 * signal/sigintr.c: Likewise.
11714 * signal/signal.c: Likewise.
11715 * signal/sigpause.c: Likewise.
11716 * signal/sigpending.c: Likewise.
11717 * signal/sigqueue.c: Likewise.
11718 * signal/sigreturn.c: Likewise.
11719 * signal/sigset.c: Likewise.
11720 * signal/sigsetmask.c: Likewise.
11721 * signal/sigstack.c: Likewise.
11722 * signal/sigsuspend.c: Likewise.
11723 * signal/sigtimedwait.c: Likewise.
11724 * signal/sigvec.c: Likewise.
11725 * signal/sigwait.c: Likewise.
11726 * signal/sigwaitinfo.c: Likewise.
11727 * signal/sysv_signal.c: Likewise.
11728 * socket/accept.c: Likewise.
11729 * socket/accept4.c: Likewise.
11730 * socket/bind.c: Likewise.
11731 * socket/connect.c: Likewise.
11732 * socket/getpeername.c: Likewise.
11733 * socket/getsockname.c: Likewise.
11734 * socket/getsockopt.c: Likewise.
11735 * socket/isfdtype.c: Likewise.
11736 * socket/listen.c: Likewise.
11737 * socket/recv.c: Likewise.
11738 * socket/recvfrom.c: Likewise.
11739 * socket/recvmsg.c: Likewise.
11740 * socket/send.c: Likewise.
11741 * socket/sendmsg.c: Likewise.
11742 * socket/sendto.c: Likewise.
11743 * socket/setsockopt.c: Likewise.
11744 * socket/shutdown.c: Likewise.
11745 * socket/sockatmark.c: Likewise.
11746 * socket/socket.c: Likewise.
11747 * socket/socketpair.c: Likewise.
11748 * stdio-common/ctermid.c: Likewise.
11749 * stdio-common/cuserid.c: Likewise.
11750 * stdio-common/remove.c: Likewise.
11751 * stdio-common/rename.c: Likewise.
11752 * stdio-common/renameat.c: Likewise.
11753 * stdio-common/tempname.c: Likewise.
11754 * stdlib/getcontext.c: Likewise.
11755 * stdlib/makecontext.c: Likewise.
11756 * stdlib/setcontext.c: Likewise.
11757 * stdlib/swapcontext.c: Likewise.
11758 * stdlib/system.c: Likewise.
11759 * streams/fattach.c: Likewise.
11760 * streams/fdetach.c: Likewise.
11761 * streams/getmsg.c: Likewise.
11762 * streams/getpmsg.c: Likewise.
11763 * streams/putmsg.c: Likewise.
11764 * streams/putpmsg.c: Likewise.
11765 * sysdeps/unix/bsd/getpt.c: Likewise.
11766 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11767 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11768 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11770 Likewise.
11771 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11773 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11774 * sysvipc/msgctl.c: Likewise.
11775 * sysvipc/msgget.c: Likewise.
11776 * sysvipc/msgrcv.c: Likewise.
11777 * sysvipc/msgsnd.c: Likewise.
11778 * sysvipc/semctl.c: Likewise.
11779 * sysvipc/semget.c: Likewise.
11780 * sysvipc/semop.c: Likewise.
11781 * sysvipc/semtimedop.c: Likewise.
11782 * sysvipc/shmat.c: Likewise.
11783 * sysvipc/shmctl.c: Likewise.
11784 * sysvipc/shmdt.c: Likewise.
11785 * sysvipc/shmget.c: Likewise.
11786 * termios/tcdrain.c: Likewise.
11787 * termios/tcflow.c: Likewise.
11788 * termios/tcflush.c: Likewise.
11789 * termios/tcgetattr.c: Likewise.
11790 * termios/tcgetpgrp.c: Likewise.
11791 * termios/tcsendbrk.c: Likewise.
11792 * termios/tcsetattr.c: Likewise.
11793 * termios/tcsetpgrp.c: Likewise.
11794 * time/adjtime.c: Likewise.
11795 * time/clock.c: Likewise.
11796 * time/getitimer.c: Likewise.
11797 * time/gettimeofday.c: Likewise.
11798 * time/setitimer.c: Likewise.
11799 * time/settimeofday.c: Likewise.
11800 * time/stime.c: Likewise.
11801 * time/time.c: Likewise.
11802
118032012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11804
a20492cf
PT
11805 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11806 /usr/old/bin.
11807
72e182e3
PT
11808 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11809 instead of spaces.
11810 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11811
fbeafede
JM
118122012-11-03 Joseph Myers <joseph@codesourcery.com>
11813
5b5b04d6
JM
11814 [BZ #14796]
11815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11816 FE_TONEAREST before applying Dekker multiplication and Knuth
11817 addition. Clear inexact exceptions and check for exact zero
11818 results afterwards.
11819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11822 * math/libm-test.inc (fma_test): Add more tests.
11823 (fma_test_towardzero): Likewise.
11824 (fma_test_downward): Likewise.
11825 (fma_test_upward): Likewise.
11826 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11827 function.
11828 (libc_fesetround): New macro.
11829 (libc_fesetroundf): Likewise.
11830 (libc_fesetroundl): Likewise.
11831 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11832 function.
11833 (libc_fesetround_387): Likewise.
11834 (libc_fesetroundf): New macro.
11835 (libc_fesetround): Likewise.
11836 (libc_fesetroundl): Likewise.
11837 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11838 function.
11839 (libc_fesetroundf): New macro.
11840 (libc_fesetround): Likewise.
11841 (libc_fesetroundl): Likewise.
11842 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11843 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11844 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11845 libm_hidden_ver.
11846 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11847 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11848 libm_hidden_def.
11849 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11850 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11851 libm_hidden_ver.
11852 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11853 libm_hidden_def.
11854
fbeafede
JM
11855 [BZ #3439]
11856 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11857 integer constant usable in #if and use that to give value to enum
11858 constant.
11859 (FE_DIVBYZERO): Likewise.
11860 (FE_UNDERFLOW): Likewise.
11861 (FE_OVERFLOW): Likewise.
11862 (FE_INVALID): Likewise.
11863 (FE_INVALID_SNAN): Likewise.
11864 (FE_INVALID_ISI): Likewise.
11865 (FE_INVALID_IDI): Likewise.
11866 (FE_INVALID_ZDZ): Likewise.
11867 (FE_INVALID_IMZ): Likewise.
11868 (FE_INVALID_COMPARE): Likewise.
11869 (FE_INVALID_SOFTWARE): Likewise.
11870 (FE_INVALID_SQRT): Likewise.
11871 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11872 (FE_TONEAREST): Likewise.
11873 (FE_TOWARDZERO): Likewise.
11874 (FE_UPWARD): Likewise.
11875 (FE_DOWNWARD): Likewise.
11876 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11877 (FE_DIVBYZERO): Likewise.
11878 (FE_OVERFLOW): Likewise.
11879 (FE_UNDERFLOW): Likewise.
11880 (FE_INEXACT): Likewise.
11881 (FE_TONEAREST): Likewise.
11882 (FE_DOWNWARD): Likewise.
11883 (FE_UPWARD): Likewise.
11884 (FE_TOWARDZERO): Likewise.
11885 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11886 (FE_UNDERFLOW): Likewise.
11887 (FE_OVERFLOW): Likewise.
11888 (FE_DIVBYZERO): Likewise.
11889 (FE_INVALID): Likewise.
11890 (FE_TONEAREST): Likewise.
11891 (FE_TOWARDZERO): Likewise.
11892 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11893 (FE_OVERFLOW): Likewise.
11894 (FE_UNDERFLOW): Likewise.
11895 (FE_DIVBYZERO): Likewise.
11896 (FE_INEXACT): Likewise.
11897 (FE_TONEAREST): Likewise.
11898 (FE_TOWARDZERO): Likewise.
11899 (FE_UPWARD): Likewise.
11900 (FE_DOWNWARD): Likewise.
11901 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11902 (FE_DIVBYZERO): Likewise.
11903 (FE_OVERFLOW): Likewise.
11904 (FE_UNDERFLOW): Likewise.
11905 (FE_INEXACT): Likewise.
11906 (FE_TONEAREST): Likewise.
11907 (FE_DOWNWARD): Likewise.
11908 (FE_UPWARD): Likewise.
11909 (FE_TOWARDZERO): Likewise.
11910
105ca950
CM
119112012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11912
11913 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11914
a542b389
AS
119152012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11916
11917 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11918 commands. Quote $PWD.
11919 (blacklist_exports): Don't use remove_newlines. Replace "declare
11920 -x" by "export".
11921 (remove_newlines): Remove.
11922
f62c8abc
L
119232012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11924
11925 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11926 * stdlib/stdlib.h (atof): Moved to ...
11927 * include/bits/stdlib-float.h: Here. New file.
11928 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11929 * stdlib/bits/stdlib-float.h: New file.
11930 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11931 -mno-sse -mno-mmx.
11932 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11933 <xmmintrin.h>.
11934
0155d5b2
JM
119352012-11-02 Joseph Myers <joseph@codesourcery.com>
11936
a68d0680
JM
11937 * conform/conformtest.pl (@headers): Add fenv.h.
11938 * conform/data/fenv.h-data: New file.
11939 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11940 include of <math/fenv.h>.
11941
caf7f573
JM
11942 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11943 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11944 && !UNIX98]. Enables tests for XOPEN2K8.
11945 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11946 POSIX2008]: Likewise.
11947
6c073ad6
JM
11948 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11949 (struct rusage): Do not expect type or its members.
11950
0155d5b2
JM
11951 [BZ #3439]
11952 * math/math.h (FP_NAN): Define macro to integer constant usable in
11953 #if and use that to give value to enum constant.
11954 (FP_INFINITE): Likewise.
11955 (FP_ZERO): Likewise.
11956 (FP_SUBNORMAL): Likewise.
11957 (FP_NORMAL): Likewise.
11958
b5dcacb4
AS
119592012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11960
11961 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11962 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11963 arguments.
11964
f7934be8
RM
119652012-11-02 Roland McGrath <roland@hack.frob.com>
11966
11967 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11968 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11969 autoconf-time if not.
11970 * configure.in: Remove AC_PREREQ.
11971
d7d08bde
TMQMF
119722012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11973
11974 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11975 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11976 of the internal implementation.
11977
dcdae19a
JM
119782012-11-02 Joseph Myers <joseph@codesourcery.com>
11979
11980 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11981 except include of <misc/sys/syslog.h>.
11982
d6cffd3e
AS
119832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11984
11985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11986 function returns with a NULL context exit with zero.
11987
b3563932
TMQMF
119882012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11989
11990 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11991
b288a93d
L
119922012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11993
11994 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11995 (run_program_cmd): This.
11996 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11997 (tst_langinfo): New variable. Use it.
11998
a2421a68
SAS
119992012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12000
12001 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12002 floating point opcodes.
12003
6f796e1b
TS
120042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12005
7402596b
TS
12006 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12007 variable.
12008
d0d4f868
TS
12009 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12010
6f796e1b
TS
12011 * sysdeps/mach/hurd/powerpc: Remove directory.
12012 * sysdeps/mach/powerpc: Likewise.
12013
4da224a2
AS
120142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12015
12016 * scripts/check-local-headers.sh: Ignore c++ headers.
12017
341dd673
TS
120182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12019
12020 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12021 __libc_cleanup_region_start argument.
12022
473611b2
JM
120232012-11-01 Joseph Myers <joseph@codesourcery.com>
12024
12025 [BZ #14784]
12026 [BZ #14785]
12027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12028 x * y using scaling, not as x * y + z.
12029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12031 * math/libm-test.inc (fma_test): Add more tests.
12032 (fma_test_towardzero): Likewise.
12033 (fma_test_downward): Likewise.
12034 (fma_test_upward): Likewise.
12035
4078da3d
TS
120362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12037
12038 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12039
903252aa
JM
120402012-10-31 Joseph Myers <joseph@codesourcery.com>
12041
12042 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12043 New variable.
12044
cbc818d0
TS
120452012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12046
12047 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12048
5a03cb1e
AS
120492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12050
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12052 Fix sort order.
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12054 Likewise.
12055
90aff2ff
TMQMF
120562012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12057
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12059 Fix the order of the list for glibc 2.17.
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12061 Likewise.
12062
1818fcb7
AS
120632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12064
12065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12066
ef82f4da
JM
120672012-10-31 Joseph Myers <joseph@codesourcery.com>
12068
16a0e2ec
JM
12069 [BZ #14610]
12070 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12071 for low part of x being zero before using __atanl (y).
12072 * math/libm-test.inc (atan2_test): Add another test.
12073
0eb69512
JM
12074 * manual/install.texi (Configuring and compiling): Document
12075 general use of test-wrapper and test-wrapper-env.
12076 * INSTALL: Regenerated.
12077
ef82f4da
JM
12078 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12079 (__fma): Do not extract and scale down low bits on after-rounding
12080 systems when result rounded to normal precision would have normal
12081 exponent.
12082 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12083 (__fmal): Do not extract and scale down low bits on after-rounding
12084 systems when result rounded to normal precision would have normal
12085 exponent.
12086 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12087 (__fmal): Do not extract and scale down low bits on after-rounding
12088 systems when result rounded to normal precision would have normal
12089 exponent.
12090 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12091 macro.
12092 (fma_test): Add more tests.
12093 (fma_test_towardzero): Likewise.
12094 (fma_test_downward): Likewise.
12095 (fma_test_upward): Likewise.
12096
954ef0d9
L
120972012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12098
12099 * sysdeps/i386/tininess.h: Renamed to ...
12100 * sysdeps/x86/tininess.h: This.
12101 * sysdeps/x86_64/tininess.h: Removed.
12102
df61ffb2
JM
121032012-10-30 Joseph Myers <joseph@codesourcery.com>
12104
12105 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12106 input. Use $(build-program-cmd).
12107 ($(objpfx)tst-array1-static.out): Likewise.
12108 ($(objpfx)tst-array2.out): Likewise.
12109 ($(objpfx)tst-array3.out): Likewise.
12110 ($(objpfx)tst-array4.out): Likewise.
12111 ($(objpfx)tst-array5.out): Likewise.
12112 ($(objpfx)tst-array5-static.out): Likewise.
12113
01767843
CM
121142012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12115
47cc1490
CM
12116 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12117 if defined.
12118
01767843
CM
12119 * nss/nsswitch.h (nss_interface_function): Provide new
12120 macro for use with NSS functions.
12121 * grp/initgroups.c: Use new macro.
12122 * nss/getXXbyYY.c: Likewise.
12123 * nss/getXXbyYY_r.c: Likewise.
12124 * nss/getXXent.c: Likewise.
12125 * nss/getXXent_r.c: Likewise.
12126 * sysdeps/posix/getaddrinfo.c: Likewise.
12127
8321aa97
AJ
121282012-10-30 Andreas Jaeger <aj@suse.de>
12129
12130 * po/ru.po: Update Russion translation from translation project.
12131
2a27fd6d
JM
121322012-10-30 Joseph Myers <joseph@codesourcery.com>
12133
8627a232
JM
12134 [BZ #14152]
12135 [BZ #14783]
12136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12137 result and shift together with sticky bit instead of replicating
12138 round-to-nearest rounding.
12139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12141 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12142 missing underflow exceptions.
12143 (fma_test_towardzero): Add more tests.
12144 (fma_test_downward): Likewise.
12145 (fma_test_upward): Likewise.
12146
2a27fd6d
JM
12147 [BZ #14047]
12148 * sysdeps/generic/tininess.h: New file.
12149 * sysdeps/i386/tininess.h: Likewise.
12150 * sysdeps/sh/tininess.h: Likewise.
12151 * sysdeps/x86_64/tininess.h: Likewise.
12152 * stdlib/tst-strtod-underflow.c: Likewise.
12153 * stdlib/tst-tininess.c: Likewise.
12154 * stdlib/strtod_l.c: Include <tininess.h>.
12155 (round_and_return): Do not set errno for exact underflow cases.
12156 Force an underflow exception when setting errno for underflow.
12157 Determine underflow based on rounding to normal precision if
12158 TININESS_AFTER_ROUNDING.
12159 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12160 ERANGE for exact underflow cases.
12161 * stdlib/Makefile (tests): Add tst-tininess and
12162 tst-strtod-underflow.
12163 ($(objpfx)tst-tininess): Use $(link-libm).
12164 ($(objpfx)tst-strtod-underflow): Likewise.
12165
e7170363
AJ
121662012-10-30 Andreas Jaeger <aj@suse.de>
12167
e5088dc6
AJ
12168 [BZ#14767]
12169 * elf/Makefile (tests): Remove conditional for have-initfini-array
12170 since this is now always required and the variable does not exist
12171 anymore.
12172 (tests-static): Likewise.
12173 (modules-names): Likewise.
12174
e7170363 12175 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12176
12177 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12178 merged with constructor/destructor.
12179 (init_array): Likewise.
12180 * elf/tst-array2dep.c (fini_array): Likewise.
12181 (init_array): Likewise.
12182
60457d8a
MF
121832012-10-29 Mike Frysinger <vapier@gentoo.org>
12184
12185 * manual/message.texi: Delete @cartouche tags.
12186
8bece752
PT
121872012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12188
94ce799f
PT
12189 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12190 EOPNOTSUPP.
12191 * sysdeps/mach/hurd/fsync.c: Likewise.
12192
8bece752
PT
12193 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12194 [_POSIX_REALTIME_SIGNALS]: Change condition to
12195 [_POSIX_REALTIME_SIGNALS > 0].
12196
86ebe6b1
AJ
121972012-10-27 Andreas Jaeger <aj@suse.de>
12198
12199 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12200 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12202 [__WORDSIZE != 64]: Likewise.
12203
54399c08
L
122042012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12205
12206 * iconvdata/tst-table.sh: Remove ${SHELL}.
12207 * iconvdata/tst-tables.sh: Likewise.
12208
e2211bed
DM
122092012-10-25 David S. Miller <davem@davemloft.net>
12210
12211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12212 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12213 of strtoull.
12214
f303f97c
DM
12215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12216 ifunc-impl-list.c
12217 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12218 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12219 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12220 file.
12221
1e9d84cd
RM
122222012-10-25 Roland McGrath <roland@hack.frob.com>
12223
12224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12225 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12226 __getdirentries.
12227
df381762
JM
122282012-10-25 Joseph Myers <joseph@codesourcery.com>
12229 Jim Blandy <jimb@codesourcery.com>
12230
12231 * scripts/cross-test-ssh.sh: New file.
12232 * manual/install.texi (Configuring and compiling): Document use of
12233 cross-test-ssh.sh.
12234 * INSTALL: Regenerated.
12235
bff64913
PT
122362012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12237
12238 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12239 EOPNOTSUPP.
12240
25fe8932
JM
122412012-10-25 Joseph Myers <joseph@codesourcery.com>
12242
12243 * Makeconfig (run-program-prefix): Fix comment.
12244
cc1290d0
JM
122452012-10-24 Joseph Myers <joseph@codesourcery.com>
12246 Jim Blandy <jimb@codesourcery.com>
12247
12248 * Makeconfig (test-wrapper): New variable,
12249 (test-wrapper-env): Likewise.
12250 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12251 (run-built-tests): Define to yes.
12252 (run-program-prefix): Use $(test-wrapper).
12253 (built-program-cmd): Likewise.
12254 * Rules (make-test-out): Use $(test-wrapper-env) and
12255 $(host-built-program-cmd).
12256 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12257 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12258 tst-pathopt.sh.
12259 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12260 $(test-wrapper-env) to tst-rtld-load-self.sh.
12261 ($(objpfx)order2.out): Use $(test-wrapper).
12262 ($(objpfx)tst-initorder.out): Likewise.
12263 ($(objpfx)tst-initorder2.out): Likewise.
12264 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12265 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12266 (test_wrapper_env): New variable. Use it to run ld.so.
12267 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12268 Use it to run ld.so.
12269 (test_wrapper_env): Likewise.
12270 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12271 $(test-wrapper) to run-iconv-test.sh.
12272 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12273 (ICONV): Use $test_wrapper.
12274 * posix/Makefile ($(objpfx)globtest.out): Pass
12275 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12276 globtest.sh, not $(run-program-prefix).
12277 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12278 (test_wrapper): Likewise.
12279 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12280 set together with run_via_rtld_prefix.
12281 (run_program_prefix): Define in terms of test_wrapper and
12282 run_via_rtld_prefix.
12283
6e6249d0
RM
122842012-10-24 Roland McGrath <roland@hack.frob.com>
12285
12286 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12287 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12288 Targets removed.
12289
12290 [BZ #14743]
12291 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12292 Declare __clock_getres, __clock_gettime, __clock_settime,
12293 __clock_nanosleep, and __clock_getcpuclockid.
12294 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12295 Remove librt_hidden_def (clock_gettime).
12296 * sysdeps/unix/clock_gettime.c: Likewise.
12297 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12298 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12299 * rt/clock_getres.c: Define __clock_getres as an alias.
12300 * sysdeps/posix/clock_getres.c: Likewise.
12301 * rt/clock_settime.c: Define __clock_settime as an alias.
12302 * sysdeps/unix/clock_settime.c: Likewise.
12303 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12304 * sysdeps/unix/clock_nanosleep.c: Likewise.
12305 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12306 * rt/clock-compat.c: New file.
12307 * rt/Makefile (librt-routines): Add clock-compat and move
12308 $(clock-routines) to ...
12309 (routines): ... here, new variable.
12310 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12311 Don't add get_clockfreq here.
12312 * rt/Versions (libc: GLIBC_2.17): New version set.
12313 Add clock_* symbols here.
12314 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12315 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12316 (GLIBC_2.17): Add clock_* symbols.
12317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12321 Likewise.
12322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12323 Likewise.
12324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12328 * NEWS: Mention the move.
12329
12330 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12331 Use __open, __read, __close rather than their public counterparts.
12332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12333 (__get_clockfreq_via_cpuinfo): Likewise.
12334 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12335 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12336
12337 * config.h.in (HAVE_IFUNC): New #undef.
12338 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12339 was successful.
12340 * configure: Regenerated.
12341
0cae3f4b
MF
123422012-10-24 Mike Frysinger <vapier@gentoo.org>
12343
12344 * configure.in: Move READELF check to start of file.
12345 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12346 libc_cv_asm_gnu_indirect_function in the process.
12347 * configure: Regenerated.
12348
8175a253
MF
123492012-10-24 Mike Frysinger <vapier@gentoo.org>
12350
12351 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12352 send the output to /dev/null.
12353 (libc_cv_cc_with_libunwind): Likewise.
12354 (libc_cv_as_noexecstack): Likewise.
12355 * configure: Regenerate.
12356
0708a7d1
JM
123572012-10-24 Joseph Myers <joseph@codesourcery.com>
12358
10b40d85
JM
12359 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12360
0708a7d1
JM
12361 * posix/globtest.sh (TMPDIR): Do not set.
12362 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12363 (testout): Likewise.
12364
9fddec1a
AJ
123652012-10-24 Andreas Jaeger <aj@suse.de>
12366
3a8db22f
AJ
12367 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12368 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12369 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12370 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12371 posix_fadvise64, posix_fallocate64.
12372
9fddec1a
AJ
12373 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12374 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12375 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12376 Likewise.
12377 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12378 Likewise.
12379 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12380
12381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12382 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12383 <bits/fcntl-linux.h>.
12384 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12385
12386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12387 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12388 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12389 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12390 [__WORDSIZE != 64]: Likewise.
12391
ebfd1bbd
JM
123922012-10-23 Joseph Myers <joseph@codesourcery.com>
12393
03ac099f
JM
12394 * Makeconfig (run-built-tests): New variable.
12395 * Rules [$(cross-compiling) = yes]: Change condition to
12396 [$(run-built-tests) = no].
12397 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12398 to [$(run-built-tests) = yes].
12399 * elf/Makefile [$(cross-compiling) = no]: Likewise
12400 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12401 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12402 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12403 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12404 * io/Makefile [$(cross-compiling) = no]: Likewise.
12405 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12406 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12407 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12408 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12409 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12410 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12411 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12412 * string/Makefile [$(cross-compiling) = no]: Likewise.
12413
ebfd1bbd
JM
12414 * posix/Makefile ($(objpfx)globtest.out): Pass
12415 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12416 $(rtld-installed-name).
12417 * posix/globtest.sh (elf_objpfx): Remove variable.
12418 (rtld_installed_name): Likewise.
12419 (library_path): Likewise.
12420 (run_program_prefix): New variable. Use for running globtest
12421 binary.
12422
166bca24
JB
124232012-10-23 Jim Blandy <jimb@codesourcery.com>
12424 Joseph Myers <joseph@codesourcery.com>
12425
12426 * Makeconfig (host-built-program-cmd): New variable.
12427 * elf/Makefile (tst-stackguard1-ARGS): Use
12428 $(host-built-program-cmd).
12429 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12430 (tst-spawn-ARGS): Likewise.
12431 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12432
88866099
JM
124332012-10-23 Joseph Myers <joseph@codesourcery.com>
12434 Jim Blandy <jimb@codesourcery.com>
12435
12436 * Makeconfig (run-via-rtld-prefix): New variable.
12437 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12438 (built-program-cmd): Likewise.
12439
b4b4c296
AJ
124402012-10-22 Andreas Jaeger <aj@suse.de>
12441
12442 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12443 __O_RSYNC if it exists, otherwise to O_SYNC.
12444
6fb54a22
JB
124452012-10-22 Jim Blandy <jimb@codesourcery.com>
12446 Joseph Myers <joseph@codesourcery.com>
12447
12448 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12449 /dev/null.
12450 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12451 from /dev/null
12452 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12453 /dev/null.
12454
481b90b9
AJ
124552012-10-22 Andreas Jaeger <aj@suse.de>
12456
2a0e2669
AJ
12457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12458 Define always.
12459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12460
76e38f9a
AJ
12461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12462 bits/fcntl-linux.h.
12463
7cd37b43
AJ
12464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12465 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12466
481b90b9
AJ
12467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12468 to __O_LARGEFILE.
12469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12470 to __O_LARGEFILE.
12471
aba75984
JB
124722012-10-21 Jim Blandy <jimb@codesourcery.com>
12473 Joseph Myers <joseph@codesourcery.com>
12474
12475 * config.make.in (NM): New variable.
12476
88d4247f
AJ
124772012-10-21 Andreas Jaeger <aj@suse.de>
12478
12479 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12480 definitions and declarations that are provided by
12481 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12482
f2eed205
L
124832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12484
12485 [BZ #14683]
12486 * elf/Makefile (tests-static): Add tst-leaks1-static.
12487 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12488 ($(objpfx)tst-leaks1-static): New rule.
12489 ($(objpfx)tst-leaks1-static-mem): Likewise.
12490 (tst-leaks1-static-ENV): New macro.
12491 * elf/dl-open.c (dl_open_worker): Check the main application
12492 only if SHARED is defined.
12493 * elf/tst-leaks1-static.c: New file.
12494
335e6931
AJ
124952012-10-20 Andreas Jaeger <aj@suse.de>
12496
12497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12498 generic values for Linux.
12499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12500 and declarations that are provided by <bits/fcntl-linux.h> and
12501 include <bits/fcntl-linux.h>.
12502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12504
ac5c94d3
RM
125052012-10-20 Roland McGrath <roland@hack.frob.com>
12506
12507 * io/fcntl.h: Move include of <bits/types.h> to the top and
12508 include it unconditionally.
12509
de54b33a
L
125102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12511
228cfb01
L
12512 * wcsmbs/Makefile (tests-ifunc): New variable.
12513 (tests): Add $(tests-ifunc).
12514 * wcsmbs/test-wcschr-ifunc.c: New file.
12515 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12516 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12517 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12518 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12519 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12520
69f07e5f
L
12521 * string/Makefile (tests-ifunc): New variable.
12522 (tests): Add $(tests-ifunc).
12523 * string/test-memccpy.c (TEST_NAME): New macro.
12524 * string/test-memchr.c (TEST_NAME): Likewise.
12525 * string/test-memcmp.c (TEST_NAME): Likewise.
12526 * string/test-memcpy.c (TEST_NAME): Likewise.
12527 * string/test-memmem.c (TEST_NAME): Likewise.
12528 * string/test-memmove.c (TEST_NAME): Likewise.
12529 * string/test-memset.c (TEST_NAME): Likewise.
12530 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12531 * string/test-stpcpy.c (TEST_NAME): Likewise.
12532 * string/test-stpncpy.c (TEST_NAME): Likewise.
12533 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12534 * string/test-strcasestr.c (TEST_NAME): Likewise.
12535 * string/test-strcat.c (TEST_NAME): Likewise.
12536 * string/test-strchr.c (TEST_NAME): Likewise.
12537 * string/test-strcmp.c(TEST_NAME): Likewise.
12538 * string/test-strcpy.c (TEST_NAME): Likewise.
12539 * string/test-strcspn.c (TEST_NAME): Likewise.
12540 * string/test-strlen.c (TEST_NAME): Likewise.
12541 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12542 * string/test-strncmp.c (TEST_NAME): Likewise.
12543 * string/test-strncpy.c (TEST_NAME): Likewise.
12544 * string/test-strnlen.c (TEST_NAME): Likewise.
12545 * string/test-strpbrk.c (TEST_NAME): Likewise.
12546 * string/test-strrchr.c (TEST_NAME): Likewise.
12547 * string/test-strspn.c (TEST_NAME): Likewise.
12548 * string/test-strstr.c (TEST_NAME): Likewise.
12549 * string/test-bcopy-ifunc.c: New file.
12550 * string/test-bzero-ifunc.c: Likewise.
12551 * string/test-memccpy-ifunc.c: Likewise.
12552 * string/test-memchr-ifunc.c: Likewise.
12553 * string/test-memcmp-ifunc.c: Likewise.
12554 * string/test-memcpy-ifunc.c: Likewise.
12555 * string/test-memmem-ifunc.c: Likewise.
12556 * string/test-memmove-ifunc.c: Likewise.
12557 * string/test-mempcpy-ifunc.c: Likewise.
12558 * string/test-memset-ifunc.c: Likewise.
12559 * string/test-rawmemchr-ifunc.c: Likewise.
12560 * string/test-stpcpy-ifunc.c: Likewise.
12561 * string/test-stpncpy-ifunc.c: Likewise.
12562 * string/test-strcasecmp-ifunc.c: Likewise.
12563 * string/test-strcasestr-ifunc.c: Likewise.
12564 * string/test-strcat-ifunc.c: Likewise.
12565 * string/test-strchr-ifunc.c: Likewise.
12566 * string/test-strchrnul-ifunc.c: Likewise.
12567 * string/test-strcmp-ifunc.c: Likewise.
12568 * string/test-strcpy-ifunc.c: Likewise.
12569 * string/test-strcspn-ifunc.c: Likewise.
12570 * string/test-strlen-ifunc.c: Likewise.
12571 * string/test-strncasecmp-ifunc.c: Likewise.
12572 * string/test-strncat-ifunc.c: Likewise.
12573 * string/test-strncmp-ifunc.c: Likewise.
12574 * string/test-strncpy-ifunc.c: Likewise.
12575 * string/test-strnlen-ifunc.c: Likewise.
12576 * string/test-strpbrk-ifunc.c: Likewise.
12577 * string/test-strrchr-ifunc.c: Likewise.
12578 * string/test-strspn-ifunc.c: Likewise.
12579 * string/test-strstr-ifunc.c: Likewise.
12580
de54b33a
L
12581 * debug/Makefile (tests-ifunc): New variable.
12582 (tests): Add $(tests-ifunc).
12583 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12584 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12585 * debug/test-stpcpy_chk-ifunc.c: New file.
12586 * debug/test-strcpy_chk-ifunc.c: Likewise.
12587
88481c16
SP
125882012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12589
12590 [BZ #13601]
12591 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12592 header is not read in.
12593
135948bd
JM
125942012-10-19 Joseph Myers <joseph@codesourcery.com>
12595
89f1c388
JM
12596 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12597 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12598 directly. Pass built executable to script as
12599 $(built-program-cmd).
12600 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12601 $testprogram without using LD_LIBRARY_PATH and $ldso.
12602
e40a0d21
JM
12603 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12604 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12605 $(rtld-installed-name).
12606 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12607 (rtld_installed_name): Likewise.
12608 (library_path): Likewise.
12609 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12610 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12611 $(run-program-prefix) to tst-tables.sh.
12612 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12613 it to run tst-table-from and tst-table-to.
12614 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12615 Pass it to tst-table.sh.
12616 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12617 $(run-program-prefix) to tst-gettext.sh.
12618 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12619 tst-translit.sh.
12620 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12621 tst-gettext2.sh.
12622 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12623 to run tst-gettext.
12624 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12625 to run tst-gettext2.
12626 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12627 to run tst-translit.
12628 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12629 $(run-program-prefix) to tst-mtrace.sh.
12630 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12631 to run tst-mtrace.
12632 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12633 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12634 $(rtld-installed-name).
12635 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12636 (rtld_installed_name): Likewise.
12637 (run_program_prefix): New variable. Use it to run wordexp-test.
12638
728e272a
JM
12639 * Makeconfig (ARCH): Remove all definitions.
12640 (machine): Likewise.
12641 [ARCH]: Remove conditional code.
12642 [!objdir]: Give error.
12643 [!objdir] (objpfx): Remove.
12644 [!objdir] (common-objpfx): Likewise.
12645 [!objdir] (common-objdir): Likewise.
12646 * configure.in (config_makefile): Remove. Hardcode Makefile in
12647 AC_CONFIG_FILES call.
12648 * configure: Regenerated.
12649
d528cdcf
JM
12650 [BZ #13888]
12651 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12652 or TMPDIR.
12653 (testout): Likewise.
12654
135948bd
JM
12655 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12656 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12657 $(rtld-installed-name).
12658 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12659 (rtld_installed_name): Likwise.
12660 (runit): Remove function.
12661 (run_getconf): New variable, Use it for running getconf binary.
12662
38c78296
L
126632012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12664
12665 [BZ #14716]
12666 * string/test-memmem.c (check_result): New function.
12667 (do_one_test): Use it.
12668 (check1): New function.
12669 (test_main): Use it.
12670
d077f65f
MT
126712012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12672
12673 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12674
ced52c71
JM
126752012-10-18 Joseph Myers <joseph@codesourcery.com>
12676
12677 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12678 (_G_LSEEK64): Likewise.
12679 (_G_MMAP64): Likewise.
12680 (_G_FSTAT64): Likewise.
12681 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12682 (_G_LSEEK64): Likewise.
12683 (_G_MMAP64): Likewise.
12684 (_G_FSTAT64): Likewise.
12685 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12686 unconditional. Call __mmap64 directly.
12687 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12688 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12689 __lseek64 directly.
12690 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12691 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12692 __mmap64 directly.
12693 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12694 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12695 __lseek64 directly.
12696 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12697 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12698 __lseek64 directly.
12699 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12700 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12701 __lseek64 directly.
12702 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12703 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12704 __fxstat64 directly.
12705 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12706 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12707 unconditional.
12708 (freopen64) [!_G_OPEN64]: Remove conditional code.
12709 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12710 unconditional.
12711 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12712 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12713 unconditional.
12714 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12715 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12716 unconditional.
12717 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12718 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12719 unconditional.
12720 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12721 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12722 unconditional.
12723 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12724 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12725 unconditional.
12726 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12727 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12728 unconditional.
12729 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12730
b741de23
SP
127312012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12732
12733 [BZ #12140]
12734 * manual/memory.texi (Malloc Tunable Parameters): Add note
12735 about free list pointers overwriting some perturb bytes.
12736 Wording suggested by Roland McGrath.
12737
f9b9d9c9
JM
127382012-10-17 Joseph Myers <joseph@codesourcery.com>
12739
12740 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12741 (lgamma_test): Likewise.
12742 (tgamma_test): Likewise.
12743
172a631a
FW
127442012-10-16 Florian Weimer <fweimer@redhat.com>
12745
12746 [BZ #14700]
12747 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12748 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12749
e9f37252
MK
127502012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12751
12752 * NEWS: Mention BZ #14716.
12753 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12754 when removing AVAILABLE1_USES_J macro.
12755
d394eb74
L
127562012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12757
12758 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12759 (__bswap_64): __uint64_t for unsigned 64-bit int.
12760
ca38dc17
AS
127612012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12762
12763 * include/string.h (memmem): Declare libc hidden alias.
12764 * string/memmem.c (memmem): Define libc hidden alias.
12765 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12766 __read, __close instead of open, read, close.
12767
9a387d1f
L
127682012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12769
ac49ecaf
L
12770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12771 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12772 global and hidden.
12773 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12774 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12775 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12776 Likewise.
12777 (__rawmemchr_sse2): Likewise.
12778 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12779 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12780 (__strchr_sse2): Likewise.
12781 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12782 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12783 (__strcasecmp_sse2): Likewise.
12784 (__strncasecmp_sse2): Likewise.
12785 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12786 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12787 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12788 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12789 (__strrchr_sse2): Likewise.
12790 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12791 ifunc-impl-list.c.
12792 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12793 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12794 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12795 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12796 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12797 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12798 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12799 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12800 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12801 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12802 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12803 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12804 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12805 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12806 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12807 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12808 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12809 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12810 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12811 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12812 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12813 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12814 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12815 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12816 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12817 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12818 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12819 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12820 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12821 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12822
b090e8ea
L
12823 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12824 global and hidden.
12825 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12826 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12827 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12828 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12829 Likewise.
12830 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12831 Likewise.
12832 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12833 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12834 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12835 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12836 ifunc-impl-list.c.
12837 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12838 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12839 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12840 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12841 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12842 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12843 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12851 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12855 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12858 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12862 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12863 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12865 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12871 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12878
11dd4af6
L
12879 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12880 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12881 * include/ifunc-impl-list.h: New file.
12882 * misc/ifunc-impl-list.c: Likewise.
12883 * misc/Makefile (routines): Add ifunc-impl-list.
12884 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12885 * string/test-string.h: Include <ifunc-impl-list.h>.
12886 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12887 impl_array): New variables.
12888 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12889 are defined.
12890 (test_init): Call __libc_ifunc_impl_list to initialize
12891 func_list if TEST_IFUNC and TEST_NAME are defined.
12892
9a387d1f
L
12893 * string/Makefile (strop-tests): Add bcopy and bzero.
12894 * string/test-bcopy.c: New file.
12895 * string/test-bzero.c: Likewise.
12896 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12897 defined.
12898 * string/test-memset.c: Support bzero test if TEST_BZERO is
12899 defined.
12900 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12901 __libc_memmove.
12902 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12903 __libc_memset.
12904 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12905 of memset.
12906
472371b9
JM
129072012-10-10 Joseph Myers <joseph@codesourcery.com>
12908
1e4a9536
JM
12909 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12910 * configure: Regenerated.
12911
d173d12e
JM
12912 * Makeconfig (+link-static-before-libc): Don't include
12913 $(link-static-libc).
12914
472371b9
JM
12915 * libio/libio.h (_IO_pos_t): Remove.
12916
89a3ad0b
AO
129172012-10-10 Alexandre Oliva <aoliva@redhat.com>
12918
12919 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12920 McGrath.
12921
e7451425
AO
129222012-10-10 Alexandre Oliva <aoliva@redhat.com>
12923
12924 * crypt/crypt-entry.c: Include fips-private.h.
12925 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12926 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12927 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12928 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12929
4ba74a35
AO
129302012-10-10 Alexandre Oliva <aoliva@redhat.com>
12931
12932 * crypt/crypt-private.h: Include stdbool.h.
12933 (_ufc_setup_salt_r): Return bool.
12934 * crypt/crypt-entry.c: Include errno.h.
12935 (__crypt_r): Return NULL with EINVAL for bad salt.
12936 * crypt/crypt_util.c (bad_for_salt): New.
12937 (_ufc_setup_salt_r): Check that salt is long enough and within
12938 the specified alphabet.
12939 * crypt/badsalttest.c: New file.
12940 * crypt/Makefile (tests): Add it.
12941 ($(objpfx)badsalttest): New.
12942
f96f1242
MK
129432012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12944
12945 * NEWS: Add entry for BZ #14602.
12946
0e8e0c1c
JM
129472012-10-09 Joseph Myers <joseph@codesourcery.com>
12948
12949 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12950 type-generic.
12951 * math/libm-test.inc: Update comment listing what functions and
12952 macros are tested.
12953 (isgreater_test): New function.
12954 (isgreaterequal_test): Likewise.
12955 (isless_test): Likewise.
12956 (islessequal_test): Likewise.
12957 (islessgreater_test): Likewise.
12958 (isunordered_test): Likewise.
12959 (main): Call the new functions.
12960
273edc5e
RM
129612012-10-09 Roland McGrath <roland@hack.frob.com>
12962
b8493de0
RM
12963 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12964 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12965 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12966 * sysdeps/i386/configure: Regenerated.
12967 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12968 * sysdeps/mach/configure: Regenerated.
12969 * sysdeps/mach/hurd/configure: Regenerated.
12970 * sysdeps/powerpc/configure: Regenerated.
12971 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12972 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12973 * sysdeps/s390/s390-32/configure: Regenerated.
12974 * sysdeps/s390/s390-64/configure: Regenerated.
12975 * sysdeps/sh/configure: Regenerated.
12976 * sysdeps/sparc/configure: Regenerated.
12977 * sysdeps/unix/sysv/linux/configure: Regenerated.
12978 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12979 * sysdeps/x86_64/configure: Regenerated.
12980
273edc5e
RM
12981 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12982 defined. Don't check if MAP is NULL.
12983
c8450f70
JM
129842012-10-09 Joseph Myers <joseph@codesourcery.com>
12985
12986 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12987 (_G_stat64): Likewise.
12988 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12989 (_G_stat64): Likewise.
12990 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12991 instead of struct _G_stat64.
12992 * libio/fileops.c (mmap_remap_check): Likewise.
12993 (decide_maybe_mmap): Likewise.
12994 (_IO_new_file_seekoff): Likewise.
12995 (_IO_file_stat): Likewise.
12996 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12997 _G_off64_t.
12998 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12999 instead of struct _G_stat64.
13000 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13001
57e605ba
MK
130022012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13003
13004 [BZ #14602]
13005 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13006 Replace with ...
13007 (CHECK_EOL): New macro.
13008 (two_way_short_needle): Check beginning of haystack for EOL. Use
13009 CHECK_EOL.
13010 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13011 Replace with CHECK_EOL.
13012 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13013 Replace with CHECK_EOL.
13014
ef1bb361
JM
130152012-10-08 Joseph Myers <joseph@codesourcery.com>
13016
13017 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13018 type-generic.
13019 * math/libm-test.inc: Update comment listing what functions and
13020 macros are tested.
13021 (finite_test): New function.
13022 (isinf_test): Likewise.
13023 (isnan_test): Likewise.
13024 (fpclassify_test): Test subnormal input.
13025 (isfinite_test): Likewise.
13026 (isnormal_test): Likewise.
13027 (main): Call the new functions.
13028
55f11534
JN
130292012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13030
13031 [BZ #14660]
13032 * Makerules (%.dynsym): Force C locale when running
13033 $(OBJDUMP) --dynamic-syms.
13034
1ab29350
AS
130352012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13036
13037 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13038 <stdint.h>.
13039
f1ecb7ef
DM
130402012-10-06 David S. Miller <davem@davemloft.net>
13041
13042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13043 upper 32-bits of the length value in %o2 since we use branch-on-register
13044 tests which consider the entire 64-bit register.
13045
5d41d91a
L
130462012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 * string/test-strstr.c (check2): Add a test for page boundary.
13049
3baddb72
DM
130502012-10-05 David S. Miller <davem@davemloft.net>
13051
13052 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13053 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13054 file.
13055 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13056 sysdep_routines.
13057 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13058 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13059 and bzero when HWCAP_SPARC_CRYPTO is present.
13060
9cee5585
L
130612012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13062
d7e0dab9
L
13063 [BZ #14602]
13064 * string/test-strstr.c (check2): New function.
13065 (test_main): Call check2.
13066
03759f47
L
13067 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13068 and bug-strchr1.
13069 * string/bug-strcasestr1.c (do_test): Moved to ...
13070 * string/test-strcasestr.c (check1): Here. New function.
13071 (do_one_test): Break out result checking code into ...
13072 (check_result): This. New function.
13073 (do_one_test): Call check_result.
13074 (test_main): Call check1.
13075 * string/bug-strchr1.c (do_test): Moved to ...
13076 * string/test-strchr.c (check1): Here. New function.
13077 (do_one_test): Break out result checking code into ...
13078 (check_result): This. New function.
13079 (do_one_test): Call check_result.
13080 (test_main): Call check1.
13081 * string/bug-strstr1.c (main): Moved to ...
046f153e 13082 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13083 (do_one_test): Break out result checking code into ...
13084 (check_result): This. New function.
13085 (do_one_test): Call check_result.
13086 (test_main): Call check1.
13087 * string/bug-strcasestr1.c: Removed.
13088 * string/bug-strchr1.c: Likewise.
13089 * string/bug-strstr1.c: Likewise.
13090
53cea63e
L
13091 * elf/Makefile (dl-routines): Add hwcaps.
13092 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13093 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13094 (_dl_important_hwcaps): Moved to ...
13095 * elf/dl-hwcaps.c: Here. New file.
13096 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13097
9cee5585 13098 [BZ #14557]
bb859b06
L
13099 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13100 if IS_IN_rtld isn't defined.
13101
9cee5585
L
13102 * elf/dl-support.c (_dl_sysinfo_map): New.
13103 Include "get-dynamic-info.h" and "setup-vdso.h".
13104 (_dl_non_dynamic_init): Call setup_vdso.
13105 * elf/dynamic-link.h: Don't include <assert.h>.
13106 (elf_get_dynamic_info): Moved to ...
13107 * elf/get-dynamic-info.h: Here. New file.
13108 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13109 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13110 * elf/setup-vdso.h: Here. New file.
13111 * elf/rtld.c: Include "setup-vdso.h".
13112 (dl_main): Call setup_vdso.
13113
23c31b76
JM
131142012-10-05 Joseph Myers <joseph@codesourcery.com>
13115
28234b07
JM
13116 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13117 creal in comment listing functions tested. List finite, isinf,
13118 isnan, isless, islessequal, isgreater, isgreaterequal,
13119 islessgreater, isunordered, lgamma_r and pow10 as functions and
13120 macros not tested. Mention which functions not tested are aliases
13121 for other functions. Fix typo. Note that signs of NaNs are not
13122 tested.
13123
23c31b76
JM
13124 * scripts/config.guess: Update from config.git.
13125 * scripts/config.sub: Likewise.
13126
9043e228
RM
131272012-10-04 Roland McGrath <roland@hack.frob.com>
13128
13129 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13130 * misc/madvise.c (madvise): Renamed to __madvise.
13131 Make madvise a weak alias.
13132 * include/sys/mman.h: Declare __madvise.
13133 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13134 * sysdeps/unix/syscalls.list
13135 (madvise): Make __madvise the strong name, and madvise a weak alias.
13136 * sysdeps/unix/sysv/linux/syscalls.list
13137 (madvise, mmap): Remove redundant entries.
13138 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13139 * malloc/malloc.c (mtrim): Likewise.
13140 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13141
f57f8055
RM
131422012-10-03 Roland McGrath <roland@hack.frob.com>
13143
13144 * sysdeps/mach/hurd/dl-cache.c: File removed.
13145 * config.h.in (USE_LDCONFIG): New #undef.
13146 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13147 * configure: Regenerated.
13148 * elf/Makefile (dl-routines): Add dl-cache only under
13149 [$(use-ldconfig) = yes].
13150 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13151 cache on [USE_LDCONFIG].
13152 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13153 [USE_LDCONFIG].
13154 * elf/rtld.c (dl_main): Likewise.
13155
5bb0c10a
PT
131562012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13157
13158 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13159 _SC_LEVEL4_CACHE_LINESIZE.
13160
010188c6
RM
131612012-10-03 Roland McGrath <roland@hack.frob.com>
13162
13163 * sysdeps/unix/bsd/confstr.h: File removed.
13164
b6c5ec07
AO
131652012-10-02 Alexandre Oliva <aoliva@redhat.com>
13166
13167 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13168 sys/sdt-config.h.
13169
408223d4
RM
131702012-10-02 Roland McGrath <roland@hack.frob.com>
13171
13172 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13173 Make 'mapoff' field ElfW(Off) rather than off_t.
13174
bb9510dc
DL
131752012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13176
fc997c6e
DL
13177 * nscd/Makefile: Remove nscd-cflags and all its users.
13178 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13179 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13180
bb9510dc
DL
13181 [BZ #10631]
13182 * malloc.c (malloc_printerr): Clarify error message.
13183
05699367
L
131842012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13185
13186 [BZ #14648]
13187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13188 Set bit_FMA_Usable if FMA is supported.
13189 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13190 macro.
13191 (bit_FMA4_Usable): Updated.
13192 (index_FMA_Usable): New macro.
13193 (CPUID_FMA): Likewise
13194 (HAS_FMA): Defined with bit_FMA_Usable.
13195
51367701
RM
131962012-10-01 Roland McGrath <roland@hack.frob.com>
13197
13198 * bits/types.h (__swblk_t): Type removed.
13199 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13200 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13202 (__SWBLK_T_TYPE): Likewise.
13203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13204 (__SWBLK_T_TYPE): Likewise.
13205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13206 (__SWBLK_T_TYPE): Likewise.
13207 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13208 (__SWBLK_T_TYPE): Likewise.
13209
4d57bf63 132102012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13211 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13212
13213 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13214 (xdr_mapname): Use YPMAXMAP as maxsize.
13215 (xdr_peername): Use YPMAXPEER as maxsize.
13216 (xdr_keydat): Use YPAXRECORD as maxsize.
13217 (xdr_valdat): Use YPMAXRECORD as maxsize.
13218
93c65d43
RM
132192012-10-01 Roland McGrath <roland@hack.frob.com>
13220
497a03d6
RM
13221 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13222
93c65d43
RM
13223 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13224 * csu/init-first.c: ... here.
13225 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13226 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13227 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13228 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13229 * sysdeps/i386/init-first.c: File removed.
13230 * sysdeps/sh/init-first.c: File removed.
13231
bec749fd
JM
132322012-10-01 Joseph Myers <joseph@codesourcery.com>
13233
13234 [BZ #14645]
13235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13236 if x * y might underflow to zero and z is zero.
13237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13239 * math/libm-test.inc (min_subnorm_value): New variable.
13240 (fma_test): Add more tests.
13241 (fma_test_towardzero): Likewise.
13242 (fma_test_downward): Likewise
13243 (fma_test_upward): Likewise.
13244 (initialize): Set min_subnorm_value.
13245
8ec5b013
JM
132462012-09-29 Joseph Myers <joseph@codesourcery.com>
13247
13248 [BZ #14638]
13249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13250 0 + 0.
13251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13252 mode for addition resulting in exact zero.
13253 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13255 exact 0 + 0.
13256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13258 * math/libm-test.inc (fma_test): Add more tests.
13259 (fma_test_towardzero): New function.
13260 (fma_test_downward): Likewise.
13261 (fma_test_upward): Likewise.
13262 (main): Call the new functions.
13263
b1fa802e
DM
132642012-09-28 David S. Miller <davem@davemloft.net>
13265
13266 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13267
d3b9fd9e
RM
132682012-09-28 Roland McGrath <roland@hack.frob.com>
13269
ea4d37b3
RM
13270 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13271 instead of SIGALRM.
13272
ac51c949
RM
13273 * sysdeps/gnu/_G_config.h: Moved to ...
13274 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13275 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13276 * sysdeps/generic/_G_config.h: ... here.
13277
28c195f7
RM
13278 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13279
848917f9
RM
13280 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13281
6bacf05b
RM
13282 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13283 Conditionalize target on [libnss_test1.so-version].
13284
91363dbb
RM
13285 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13286
cc87f7d8
RM
13287 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13288 (elfobjdir): Move out of conditionals.
13289
b1c608fe
RM
13290 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13291 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13292 (__nss_lookup_function): Conditionalize label remove_from_tree on
13293 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13294
1d9a6d96
DM
132952012-09-28 David S. Miller <davem@davemloft.net>
13296
13297 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13298 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13299 file.
13300 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13301 sysdep_routines.
13302 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13304 when HWCAP_SPARC_CRYPTO is present.
13305
72581615
PT
133062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13307
13308 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13309
715a900c
JL
133102012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13311
13312 [BZ #6530]
13313 * stdio-common/vfprintf.c (process_string_arg): Revert
13314 2000-07-22 change.
13315
133162011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13317
13318 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13319 for testcase.
13320 * stdio-common/tst-sprintf.c: Include <locale.h>
13321 (main): Test sprintf's handling of incomplete multibyte
13322 characters.
13323
9bac1d86
L
133242012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 * elf/dl-runtime.c (VERSYMIDX): Removed.
13327 * elf/dl-version.c (VERSYMIDX): Likewise.
13328 * elf/do-rel.h (VERSYMIDX): Likewise.
13329 (VALIDX): Likewise.
13330 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13331 * elf/rtld.c (VALIDX): Likewise.
13332 (ADDRIDX): Likewise.
9bac1d86
L
13333 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13334 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13335 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13336 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13337 (VALIDX): Likewise.
13338 (ADDRIDX): Likewise.
9bac1d86 13339
b31606c0
PT
133402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13341
13342 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13343
11541177
JL
133442012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13345
13346 [BZ #11438]
13347 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13348 to global scope.
13349 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13350 addresses are in the same scope as 192.0.2/24.
13351 * posix/gai.conf: Document new scope table defaults.
13352
adb26fae
SP
133532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13354
13355 [BZ #5298]
13356 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13357 for ftell. Compute offsets from write pointers instead.
13358 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13359
4573c6b0
SP
133602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13361
13362 [BZ #14543]
13363 * libio/Makefile (tests): New test case tst-fseek.
13364 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13365 combination works in wide mode.
13366 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13367 state when the external buffer state changes.
13368
aa9bbfe6
DM
133692012-09-27 David S. Miller <davem@davemloft.net>
13370
13371 [BZ #14376]
13372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13373 pass reloc->r_addend in as the 'high' argument to
13374 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13375
784421e7
DM
13376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13377
c39bc8b8
PT
133782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13379
13380 * rt/tst-aio2.c: Include <pthread.h>.
13381 * rt/tst-aio3.c: Likewise.
13382
1ccc2399
SE
133832012-09-27 Steve Ellcey <sellcey@mips.com>
13384
13385 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13386
31ed4153
L
133872012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13388
25f5f885
L
13389 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13390 contents on [SHARED].
31ed4153 13391
b7bfe116
MP
133922012-09-26 Marek Polacek <polacek@redhat.com>
13393
13394 [BZ #14530]
13395 [BZ #13741]
13396 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13397 for C++ and GCC <4.3 as well as for non GCC compilers.
13398
43c4edba
MT
133992012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13400
13401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13402
6a1bf82f
RM
134032012-09-25 Roland McGrath <roland@hack.frob.com>
13404
13405 * Makefile.in (all, install): Declare with .PHONY.
13406 Reported by Michael Hope <michael.hope@linaro.org>.
13407
8ad11b9a
TMQMF
134082012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13409
13410 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13411 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13412 system header.
13413 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13414 Likewise.
13415 (sydep_routines): Add the new and the internal functions.
13416 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13417 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13419 (GLIBC_2.17): Add the new function.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13421 (GLIBC_2.17): Likewise.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13423 (GLIBC_2.17): Likewise.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13425 (GLIBC_2.17): Likewise.
13426 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13427
7e2fca8d
AM
134282012-09-25 Alan Modra <amodra@gmail.com>
13429
13430 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13431 Add release barrier before setting once_control to say
13432 initialisation is done. Add hints on lwarx. Use macro in
13433 place of isync.
13434 (clear_once_control): Add release barrier.
13435
b87c4b24
JM
134362012-09-25 Joseph Myers <joseph@codesourcery.com>
13437
d032e0d2
JM
13438 [BZ #13629]
13439 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13440 specially.
13441 * math/s_clog10.c (__clog10): Likewise.
13442 * math/s_clog10f.c (__clog10f): Likewise.
13443 * math/s_clog10l.c (__clog10l): Likewise.
13444 * math/s_clogf.c (__clogf): Likewise.
13445 * math/s_clogl.c (__clogl): Likewise.
13446 * math/Makefile (libm-calls): Add x2y2m1.
13447 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13448 (__x2y2m1): Likewise.
13449 (__x2y2m1l): Likewise.
13450 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13451 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13454 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13455 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13456 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13457 * sysdeps/i386/fpu/libm-test-ulps: Update.
13458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13459
b87c4b24
JM
13460 [BZ #14621]
13461 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13462 int as type of variable DEPTH.
13463 (glob): Use size_t instead of int as type of variables NEWCOUNT
13464 and OLD_PATHC.
13465
6d3bf199
LD
134662012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13467
22bf5c17
LD
13468 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13469 Add s_sincosf-sse2.
13470 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13471 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13472 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13473 macros for using routine as __sincosf_ia32.
13474 Use macro for function declaration and weak_alias.
13475 * sysdeps/i386/fpu/libm-test-ulps: Update.
13476
13477 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13479
13480 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13481 subnormal argument.
13482 * math/s_cexpf.c (__cexpf): Likewise.
13483 * math/s_csinf.c (__csinf): Likewise.
13484 * math/s_csinhf.c (__csinhf): Likewise.
13485 * math/s_ctanf.c (__ctanf): Likewise.
13486 * math/s_ctanhf.c (__ctanhf): Likewise.
13487 * math/s_ccosh.c (__ccoshf): Likewise.
13488 * math/s_cexp.c (__cexpl): Likewise.
13489 * math/s_csin.c (__csin): Likewise.
13490 * math/s_csinh.c (__csinh): Likewise.
13491 * math/s_ctan.c (__ctan): Likewise.
13492 * math/s_ctanh.c (ctanh): Likewise.
13493 * math/s_ccoshl.c (__ccoshl): Likewise.
13494 * math/s_cexpl.c (__cexpl): Likewise.
13495 * math/s_csinl.c (__csinl): Likewise.
13496 * math/s_csinhl.c (__csinhl): Likewise.
13497 * math/s_ctanl.c (__ctanl): Likewise.
13498 * math/s_ctanhl.c (__ctanhl): Likewise.
13499
203e5603
JM
135002012-09-25 Joseph Myers <joseph@codesourcery.com>
13501
13502 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13503 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13504 (_IO_off_t): Define to __off_t, not _G_off_t.
13505 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13506 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13507 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13508 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13509 type of __dummy and __dummy2 fields.
13510 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13511 (_G_ssize_t): Likewise.
13512 (_G_off_t): Likewise.
13513 (_G_pid_t): Likewise.
13514 (_G_uid_t): Likewise.
13515 (_G_wchar_t): Likewise.
13516 (_G_wint_t): Likewise.
13517 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13518 (_G_ssize_t): Likewise.
13519 (_G_off_t): Likewise.
13520 (_G_pid_t): Likewise.
13521 (_G_uid_t): Likewise.
13522 (_G_wchar_t): Likewise.
13523 (_G_wint_t): Likewise.
13524 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13525 (_G_ssize_t): Likewise.
13526 (_G_off_t): Likewise.
13527 (_G_pid_t): Likewise.
13528 (_G_uid_t): Likewise.
13529 (_G_wchar_t): Likewise.
13530 (_G_wint_t): Likewise.
13531
9fab36eb
SP
135322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13533
13534 * malloc/arena.c: Include malloc-sysdep.h.
13535 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13536 is sufficient to shrink the heap or an unmap is needed.
13537 * sysdeps/generic/malloc-sysdep.h: New file. Define
13538 new function check_may_shrink_heap.
13539 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13540 new function check_may_shrink_heap.
13541
2b4f00d1
SP
135422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13543
13544 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13545 comments.
13546
9a9028b1
DL
135472012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13548
57c69bef
DL
13549 * catgets/test-gencat.sh: Add "set -e".
13550 * elf/tst-pathopt.sh: Likewise.
13551 * grp/tst_fgetgrent.sh: Likewise.
13552 * iconvdata/run-iconv-test.sh: Likewise.
13553 * intl/tst-gettext.sh: Likewise.
13554 * intl/tst-gettext2.sh: Likewise.
13555 * intl/tst-gettext4.sh: Likewise.
13556 * intl/tst-gettext6.sh: Likewise.
13557 * intl/tst-translit.sh: Likewise.
13558 * io/ftwtest-sh: Likewise.
13559 * libio/test-freopen.sh: Likewise.
13560 * malloc/tst-mtrace.sh: Likewise.
13561 * posix/globtest.sh: Likewise.
13562 * posix/tst-getconf.sh: Likewise.
13563 * posix/wordexp-tst.sh: Likewise.
13564 * stdio-common/tst-printf.sh: Likewise.
13565 * stdio-common/tst-unbputc.sh: Likewise.
13566 * stdlib/tst-fmtmsg.sh: Likewise.
13567 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13568 * catgets/Makefile: Do not specify -e option when running
13569 testsuite shell scripts.
13570 * elf/Makefile: Likewise.
13571 * grp/Makefile: Likewise.
13572 * iconvdata/Makefile: Likewise.
13573 * intl/Makefile: Likewise.
13574 * io/Makefile: Likewise.
13575 * libio/Makefile: Likewise.
13576 * malloc/Makefile: Likewise.
13577 * posix/Makefile: Likewise.
13578 * stdio-common/Makefile: Likewise.
13579 * stdlib/Makefile: Likewise.
13580 * sysdeps/x86_64/Makefile: Likewise.
13581
9a9028b1
DL
13582 * io/ftwtest-sh: Add copyright header.
13583 * posix/globtest.sh: Likewise.
13584 * posix/tst-getconf.sh: Likewise.
13585 * posix/wordexp-tst.sh: Likewise.
13586 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13587
ced6f16e
L
135882012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13589
94b32c39
L
13590 [BZ #13679]
13591 * Makeconfig (+link): Defined as $(+link-static) if
13592 $(build-shared) isn't yes.
13593 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13594 isn't yes.
13595 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13596
189e935b
L
13597 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13598
ced6f16e
L
13599 [BZ #14562]
13600 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13601 new chunk size with MALLOC_ALIGN_MASK.
13602
a9f8e53a
JM
136032012-09-24 Joseph Myers <joseph@codesourcery.com>
13604
13605 [BZ #5044]
13606 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13607 <rounding-mode.h>.
13608 (__printf_fphex): Determine rounding using get_rounding_mode and
13609 round_away.
13610 * stdio-common/tst-printf-round.c (struct hex_test): New
13611 structure.
13612 (hex_tests): New variable.
13613 (test_hex_in_one_mode): New function.
13614 (do_test): Also run tests for hex float output.
13615
43153109
JM
136162012-09-21 Joseph Myers <joseph@codesourcery.com>
13617
13618 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13619 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13620 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13621 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13622 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13623 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13624 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13625 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13626
8a26625d
JM
136272012-09-20 Joseph Myers <joseph@codesourcery.com>
13628
13629 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13630 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13631 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13632 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13633
f3fd569c
DL
136342012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13635
13636 [BZ #14579]
13637 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13638 mode only.
13639 * elf/tst-rtld-load-self.sh: New test.
13640 * elf/Makefile: Run it.
13641
63bbedd4
JM
136422012-09-18 Joseph Myers <joseph@codesourcery.com>
13643
13644 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13645 (tst-writev-ENV): Remove.
13646 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13647
626f8b6a
CM
136482012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13649
13650 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13651
b7aaa4d6
JM
136522012-09-17 Joseph Myers <joseph@codesourcery.com>
13653
13654 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13655 unconditional.
13656 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13657 Likewise.
13658 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13659 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13660 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13661 Likewise.
13662
65513990
L
136632012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 [BZ #14587]
13666 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13667 * config.make.in (have-cpp-asm-debuginfo): Removed.
13668 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13669 * configure: Regenerated.
13670
784761be
JM
136712012-09-14 Joseph Myers <joseph@codesourcery.com>
13672
13673 [BZ #5044]
13674 * stdio-common/printf_fp.c: Include <stdbool.h> and
13675 <rounding-mode.h>.
13676 (___printf_fp): Determine rounding using get_rounding_mode and
13677 round_away.
13678 * stdio-common/tst-printf-round.c: New file.
13679 * stdio-common/Makefile (tests): Add tst-printf-round.
13680 (link-libm): New variable.
13681 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13682
9503345f
L
136832012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13684
13685 [BZ #14576]
13686 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13687 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13688 Likewise.
13689 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13690 Likewise.
13691
ad35fc00
JM
136922012-09-13 Joseph Myers <joseph@codesourcery.com>
13693
13694 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13695 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13696 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13697 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13698
6c9b0f68
JM
136992012-09-12 Joseph Myers <joseph@codesourcery.com>
13700
13701 [BZ #14518]
13702 * include/rounding-mode.h: New file.
13703 * sysdeps/generic/get-rounding-mode.h: Likewise.
13704 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13705 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13706 (MAX_VALUE): New macro.
13707 (MIN_VALUE): Likewise.
13708 (overflow_value): New function.
13709 (underflow_value): Likewise.
13710 (round_and_return): Use overflow_value and underflow_value to
13711 determine return values in overflow and underflow cases. Use
13712 round_away to determine rounding depending on rounding mode.
13713 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13714 determine return values in overflow and underflow cases.
13715 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13716 (struct test_results): New structure.
13717 (struct test): Use struct test_results to store expected results
13718 for all rounding modes.
13719 (TEST): Include expected results for all rounding modes.
13720 (test_in_one_mode): New function.
13721 (do_test): Use test_in_one_mode to compute and check results.
13722 Check results for all rounding modes.
13723 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13724 $(link-libm).
13725
19fcedd5
AM
137262012-12-09 Allan McRae <allan@archlinux.org>
13727
1e9d84cd 13728 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13729
8bbfd2f1
JM
137302012-09-11 Joseph Myers <joseph@codesourcery.com>
13731
13732 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13733 (_G_int32_t): Likewise.
13734 (_G_uint16_t): Likewise.
13735 (_G_uint32_t): Likewise.
13736 (_G_HAVE_BOOL): Likewise.
13737 (_G_HAVE_ATEXIT): Likewise.
13738 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13739 (_G_HAVE_IO_FILE_OPEN): Likewise.
13740 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13741 (_G_int32_t): Likewise.
13742 (_G_uint16_t): Likewise.
13743 (_G_uint32_t): Likewise.
13744 (_G_HAVE_BOOL): Likewise.
13745 (_G_HAVE_ATEXIT): Likewise.
13746 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13747 (_G_HAVE_IO_FILE_OPEN): Likewise.
13748 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13749 (_G_int32_t): Likewise.
13750 (_G_uint16_t): Likewise.
13751 (_G_uint32_t): Likewise.
13752 (_G_HAVE_BOOL): Likewise.
13753 (_G_HAVE_ATEXIT): Likewise.
13754 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13755 (_G_HAVE_IO_FILE_OPEN): Likewise.
13756
b1dc5912
L
137572012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13758
13759 * csu/libc-tls.c: Update copyright years.
13760
0e886ef9
JM
137612012-09-10 Joseph Myers <joseph@codesourcery.com>
13762
28361c5e
JM
13763 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13764 [!_G_USING_THUNKS]: Remove conditional code.
13765 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13766 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13767
0e886ef9
JM
13768 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13769 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13770 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13771 (_G_VTABLE_LABEL_PREFIX): Likewise.
13772 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13773 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13774 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13775 (_G_VTABLE_LABEL_PREFIX): Likewise.
13776 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13777 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13778 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13779 (_G_VTABLE_LABEL_PREFIX): Likewise.
13780 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13781
bcba7aa2
L
137822012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13783
13784 * libio/Makefile: Include ../Makeconfig before tests.
13785 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13786 only if $(build-shared) is yes.
13787
06585ee8
L
13788 * iconv/gconv_db.c: Update copyright years.
13789
80ccd52c
LD
137902012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13791
13792 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13793 unwind info if defined PIC. Fix special cases description.
13794 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13795
13796 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13797 DP_HI_MASK entry.
13798 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13799
691bc9c1
L
138002012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13801
3d9b46b3
L
13802 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13803
de2139a9
L
13804 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13805 is NULL.
13806
5ca78dd0
L
13807 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13808 (LDLIBS-tst-chk4): This.
13809 (LDFLAGS-tst-chk5): Renamed to ...
13810 (LDLIBS-tst-chk5): This.
13811 (LDFLAGS-tst-chk6): Renamed to ...
13812 (LDLIBS-tst-chk6): This.
13813 (LDFLAGS-tst-lfschk4): Renamed to ...
13814 (LDLIBS-tst-lfschk4): This.
13815 (LDFLAGS-tst-lfschk5): Renamed to ...
13816 (LDLIBS-tst-lfschk5): This.
13817 (LDFLAGS-tst-lfschk6): Renamed to ...
13818 (LDLIBS-tst-lfschk6): This.
13819
691bc9c1
L
13820 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13821 on $(common-objpfx)soversions.mk.
13822
65cafb1c
JM
138232012-09-07 Joseph Myers <joseph@codesourcery.com>
13824
13825 [BZ #10014]
13826 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13827 example host name.
13828
c78ab094
SP
138292012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13830
13831 * malloc/arena.c (arena_get_retry): New function that gets
13832 another arena for the caller to try its request on.
13833 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13834 current arena cannot fulfill the request.
13835 (__libc_memalign): Likewise.
13836 (__libc_memalign): Likewise.
13837 (__libc_pvalloc): Likewise.
13838 (__libc_calloc): Likewise.
13839
01f49f59
JT
138402012-09-05 John Tobey <john.tobey@gmail.com>
13841
13842 [BZ #13542]
13843 * manual/arith.texi (Operations on Complex): Fix description
13844 of carg branch cut.
13845
4c23fed5
JM
138462012-09-06 Joseph Myers <joseph@codesourcery.com>
13847
1d3c8572
JM
13848 [BZ #10014]
13849 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13850 host name.
13851
4c23fed5
JM
13852 [BZ #10038]
13853 * manual/memory.texi (Memory): Make order of menu items match
13854 order of sections.
13855
04570aaa
L
138562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13857
13858 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13859 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13860 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13861
b80af2f4
L
138622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13863
13864 * csu/libc-tls.c (static_dtv): Renamed to ...
13865 (_dl_static_dtv): This. Make it global.
13866 (_dl_initial_dtv): Removed.
13867 (__libc_setup_tls): Updated.
13868 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13869 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13870 DL_INITIAL_DTV.
13871
2abe9f15
PM
138722012-09-06 Petr Machata <pmachata@redhat.com>
13873
13874 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13875 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13876 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13877 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13878
0948c3af
L
138792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13880
13881 [BZ #14545]
13882 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13883 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13884 freeing dtv[-1].
13885
a5055ad1
L
138862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13887
13888 [BZ #14544]
13889 * Makeconfig (link-static-before-libc): Replace $(+prector)
13890 with $(+prectorT).
13891 (link-static-after-libc): Replace $(+postctor) with
13892 $(+postctorT).
13893 (link-bounded): Replace $(+prector)/$(+postctor) with
13894 $(+prectorT)/$(+postctorT).
13895 (+prectorT): New macro.
13896 (+postctorT): Likewise.
13897
ed8c2ecd
JM
138982012-09-06 Joseph Myers <joseph@codesourcery.com>
13899
13900 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13901 (round_str): Handle values above the maximum for IBM long double
13902 as inexact.
13903 * stdlib/tst-strtod-round.c (tests): Regenerated.
13904
14c996c8
AK
139052012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13906
13907 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13908 assembler flag.
13909 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13910 zarch_nohighgprs around the zarch optimized routines.
13911 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13912 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13913 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13914 for zarch.
13915
430d6ce6
DM
139162012-09-05 David S. Miller <davem@davemloft.net>
13917
13918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13919
ff04dda4
DM
13920 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13921 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13922 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13923 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13924 entries.
13925
24d4e01b
AO
139262012-09-05 Alexandre Oliva <aoliva@redhat.com>
13927
13928 * malloc/arena.c: Fold copyright years.
13929 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13930
61d58174
AO
139312012-09-05 Alexandre Oliva <aoliva@redhat.com>
13932
13933 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13934
20196a5e
AO
139352012-09-05 Alexandre Oliva <aoliva@redhat.com>
13936
13937 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13938
5c447383
AO
139392012-09-05 Alexandre Oliva <aoliva@redhat.com>
13940
13941 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13942 change internal state upon failure.
13943
fad64255
AO
139442012-09-05 Alexandre Oliva <aoliva@redhat.com>
13945
13946 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13947 * malloc/memusage.c (mmap): Likewise.
13948 (mmap64, mremap): Likewise. Adjust name in comment.
13949
1ffb8c90
SP
139502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13951
13952 * libio/fileops.c: Fix typos in comments.
13953 * libio/oldfileops.c: Likewise.
13954 * libio/wfileops.c: Likewise.
13955
6ef9cc37
SP
139562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13957
13958 [BZ #1349]
13959 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13960 (tst-malloc-usable-ENV): Set environment for test case.
13961 * malloc/hooks.c (malloc_check_get_size): New function to get
13962 requested size.
13963 * malloc/malloc.c (musable): Use malloc_check_get_size.
13964 * malloc/tst-malloc-usable.c: New test case.
13965
4d038ae3
AS
139662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13967
13968 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13969
c4e85184
AM
139702012-09-05 Allan McRae <allan@archlinux.org>
13971
b9dafc56 13972 [BZ #13966]
c4e85184
AM
13973 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13974 determine header location.
13975 * configure: Regenerated.
13976
e1343020
AS
139772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13978
13979 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13980 float format.
13981 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13982 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13983 format.
e1343020
AS
13984 (test): Regenerate.
13985
0a9f1987
DM
139862012-09-04 David S. Miller <davem@davemloft.net>
13987
13988 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13989 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13990 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13991
29237804
FW
139922012-09-04 Florian Weimer <fweimer@redhat.com>
13993
13994 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13995 failures.
13996
edb3cb88
FW
13997 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13998
60160d83
JM
139992012-09-04 Joseph Myers <joseph@codesourcery.com>
14000
14001 [BZ #9914]
14002 * libio/iogetdelim.c: Include <limits.h>.
14003 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14004 + len + 1 would overflow.
14005
bcd6c8dc
AJ
140062012-09-03 Andreas Jaeger <aj@suse.de>
14007
14008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14009 * sysdeps/i386/fpu/libm-test-ulps: Update.
14010
4ffffbd2
LD
140112012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14012
14013 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14014 Add s_sinf-sse2, s_conf-sse2.
14015
14016 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14017 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14018 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14019 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14020
14021 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14022 for using routine as __sinf_ia32.
14023 Use macro for function declaration and weak_alias.
14024 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14025 for using routine as __cosf_ia32.
14026 Use macro for function declaration and weak_alias.
14027
14028 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14029 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14030
14031 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14032 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14034
14035 * math/libm-test.inc (cos_test): Add more test cases.
14036 (sin_test): Likewise.
14037 (sincos_test): Likewise.
14038
511fa286
AK
140392012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14040
14041 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14042 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14043 hidden.
14044 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14045
5f30cfec
L
140462012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 [BZ #14538]
14049 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14050 first element of the GOT.
14051 (elf_machine_load_address): Return the difference between
14052 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14053
0786794f
AM
140542012-09-01 Allan McRae <allan@archlinux.org>
14055
5f30cfec
L
14056 [BZ #13412]
14057 * configure.in (AWK): Require gawk version 3.0 or later.
14058 * configure: Regenerated.
0786794f 14059
26889eac
JM
140602012-09-01 Joseph Myers <joseph@codesourcery.com>
14061
14062 * sysdeps/unix/sysv/linux/kernel-features.h
14063 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14064 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14065 [__NR_clock_getres]: Make code unconditional.
14066 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14067 (clock_getcpuclockid): Remove code left unreachable by removal of
14068 conditionals.
14069 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14070 code unconditional.
14071 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14072 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14073 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14074 Make code unconditional.
14075 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14076 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14077 * sysdeps/unix/sysv/linux/clock_settime.c
14078 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14079 conditional code.
14080 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14081 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14082
d22e28b0
L
140832012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14084
14085 [BZ #14476]
14086 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14087 scripts/test-installation.pl.
14088
14089 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14090 and $ld_so_version if it is set.
14091
050af9c4
SP
140922012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14093
14094 [BZ #14516]
14095 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14096 failure if reading from procfs failed.
14097 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14098
ad845c0b
JM
140992012-08-27 Joseph Myers <joseph@codesourcery.com>
14100
14101 * sysdeps/unix/sysv/linux/kernel-features.h
14102 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14103 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14104 Remove conditional code.
14105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14106 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14107 Remove conditional code.
14108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14109 * sysdeps/unix/sysv/linux/i386/fxstat.c
14110 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14112 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14113 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14115 * sysdeps/unix/sysv/linux/i386/lxstat.c
14116 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14118 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14119 Remove conditional code.
14120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14121 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14122 Remove conditional code.
14123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14124 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14125 <kernel-features.h>.
14126 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14127 Remove.
14128 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14129 Remove conditional code.
14130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14131 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14132 Remove conditional.
14133
5dbf56af
MF
141342012-08-27 Mike Frysinger <vapier@gentoo.org>
14135
14136 [BZ #5400]
14137 * NEWS: Add fixed bug number.
14138
d6e70f43
JM
141392012-08-27 Joseph Myers <joseph@codesourcery.com>
14140
7efb4737
JM
14141 [BZ #14519]
14142 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14143 underflowing exponent in case of negative sign.
14144 * stdlib/tst-strtod-round-data: Add more tests.
14145 * stdlib/tst-strtod-round.c (tests): Regenerated.
14146
af92131a
JM
14147 [BZ #3479]
14148 * stdlib/strtod_l.c (NDIG): Remove.
14149 (HEXNDIG): Likewise.
14150 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14151 smallest representable value.
14152 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14153 lie within an exact representation of 1/2 ulp of the result.
14154 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14155 unconditionally.
14156 (TENS_P9_IDX): Define unconditionally.
14157 (TENS_P9_SIZE): Likewise.
14158 (TENS_P10_IDX): Likewise.
14159 (TENS_P10_SIZE): Likewise.
14160 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14161 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14162 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14163 entries for 10^2^13 and 10^2^14.
14164 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14165 (TENS_P13_IDX): Define.
14166 (TENS_P13_SIZE): Likewise.
14167 (TENS_P14_IDX): Likewise.
14168 (TENS_P14_SIZE): Likewise.
14169 (_fpioconst_pow10): Change array size to
14170 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14171 unconditional.
14172 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14173 1024]: Add entries for 10^2^13 and 10^2^14.
14174 [LAST_POW10 > _LAST_POW10]: Remove #error.
14175 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14176 (_fpioconst_pow10): Change array size to
14177 FPIOCONST_POW10_ARRAY_SIZE.
14178 * stdlib/gen-fpioconst.c: New file.
14179 * stdlib/gen-tst-strtod-round.c: Likewise.
14180 * stdlib/tst-strtod-round-data: Likewise.
14181 * stdlib/tst-strtod-round.c: Likewise.
14182 * stdlib/Makefile (tests): Add tst-strtod-round.
14183
d6e70f43
JM
14184 [BZ #14459]
14185 * stdlib/strtod_l.c: Include <stdint.h>.
14186 (NDEBUG): Do not define.
14187 (round_and_return): Change EXPONENT parameter to type intmax_t.
14188 Rearrange calculations to avoid internal overflow possibilities.
14189 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14190 Rearrange calculations to avoid internal overflow possibilities.
14191 Assert that number fits inside MPNSIZE limbs.
14192 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14193 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14194 calculations and add assertions to avoid internal overflow
14195 possibilities. Add casts to avoid signed/unsigned operations.
14196 * stdlib/tst-strtod-overflow.c: New file.
14197 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14198
1f529f7d
MP
141992012-08-25 Marek Polacek <polacek@redhat.com>
14200
14201 * time/time.h: Fix some typos in comments.
14202
59a629f1
RM
142032012-08-23 Roland McGrath <roland@hack.frob.com>
14204
14205 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14206 * posix/tst-rfc3484-2.c: Likewise.
14207 * posix/tst-rfc3484-3.c: Likewise.
14208
d3bafbc9
SM
142092012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14210
14211 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14212 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14213
4efcc022
JM
142142012-08-23 Joseph Myers <joseph@codesourcery.com>
14215
14216 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14217 #include of fxstatat64.c.
14218
3cc3ef96
RM
142192012-08-22 Roland McGrath <roland@hack.frob.com>
14220
f04e2132
RM
14221 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14222 * shadow/getspent_r.c: Likewise.
14223 * shadow/getspnam.c: Likewise.
14224 * shadow/getspnam_r.c: Likewise.
14225 * gshadow/getsgent.c: Likewise.
14226 * gshadow/getsgent_r.c: Likewise.
14227 * gshadow/getsgnam.c: Likewise.
14228 * gshadow/getsgnam_r.c: Likewise.
14229 * inet/getnetbyad.c: Likewise.
14230 * inet/getnetbyad_r.c: Likewise.
14231 * inet/getnetbynm.c: Likewise.
14232 * inet/getnetbynm_r.c: Likewise.
14233 * inet/getnetent.c: Likewise.
14234 * inet/getnetent_r.c: Likewise.
14235 * inet/getproto.c: Likewise.
14236 * inet/getproto_r.c: Likewise.
14237 * inet/getprtent.c: Likewise.
14238 * inet/getprtent_r.c: Likewise.
14239 * inet/getprtname.c: Likewise.
14240 * inet/getprtname_r.c: Likewise.
14241 * inet/getrpcbyname.c: Likewise.
14242 * inet/getrpcbyname_r.c: Likewise.
14243 * inet/getrpcbynumber.c: Likewise.
14244 * inet/getrpcbynumber_r.c: Likewise.
14245 * inet/getrpcent.c: Likewise.
14246 * inet/getrpcent_r.c: Likewise.
14247 * inet/getaliasent.c: Likewise.
14248 * inet/getaliasent_r.c: Likewise.
14249 * inet/getaliasname.c: Likewise.
14250 * inet/getaliasname_r.c: Likewise.
14251 * nscd/getgrgid_r.c: Likewise.
14252 * nscd/getgrnam_r.c: Likewise.
14253 * nscd/gethstbyad_r.c: Likewise.
14254 * nscd/gethstbynm3_r.c: Likewise.
14255 * nscd/getpwnam_r.c: Likewise.
14256 * nscd/getpwuid_r.c: Likewise.
14257 * nscd/getsrvbynm_r.c: Likewise.
14258 * nscd/getsrvbypt_r.c: Likewise.
14259 * nscd/gai.c: Likewise.
14260
c53d909c
RM
14261 * configure.in (build_nscd): New substituted variable, set
14262 by --disable-build-nscd and defaults to $use_nscd.
14263 * configure: Regenerated.
14264 * config.make.in (build-nscd): New substituted variable.
14265 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14266 Change conditional to require [$(build-nscd) = yes] as well.
14267 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14268
3cc3ef96
RM
14269 [BZ# 13696]
14270 * configure.in (use_nscd): New substituted variable, set by
14271 --disable-nscd. If enabled, define USE_NSCD.
14272 * configure: Regenerated.
14273 * config.h.in: Add USE_NSCD.
14274 * config.make.in (use-nscd): New substituted variable.
14275 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14276 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14277 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14278 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14279 (CFLAGS-getgrnam_r.c): Likewise.
14280 (CFLAGS-initgroups.c): Likewise.
14281 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14282 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14283 Variables removed.
14284 * inet/getnetgrent_r.c
14285 (nscd_setnetgrent): New function, broken out of ...
14286 (setnetgrent): ... here. Call it.
14287 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14288 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14289 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14290 * nscd/Makefile (routines, aux): Move definitions after include of
14291 Makeconfig. Conditionalize on [$(use-nscd) != no].
14292 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14293 Conditionalize on [USE_NSCD].
14294 (is_nscd, nscd_init_cb): Likewise.
14295 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14296 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14297 * nss/nss_db/db-init.c: Likewise.
14298 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14299 [USE_NSCD].
14300 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14301 (make_request): Use it.
14302 (cache_valid_p): New function.
14303 (__check_pf): Use it.
14304 * NEWS: Add item for --disable-nscd.
14305
07e51550
DL
143062012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14307
14308 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14309 to support sed >= 4.2.1-20-ga9bf076.
14310 * configure: Regenerated.
14311
35a5b08b
RM
143122012-08-22 Roland McGrath <roland@hack.frob.com>
14313
14314 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14315 Conditionalize whole body on [IREL].
14316
8479f23a
JL
143172012-08-22 Jeff Law <law@redhat.com>
14318
14319 [BZ #14505]
14320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14321 if the family is PF_UNSPEC.
14322
48da0b21
MF
143232012-08-22 Mike Frysinger <vapier@gentoo.org>
14324
14325 * Makerules (lib-version): Rename from V.
14326 (install-lib-nosubdir): Change V to lib-version.
14327
15d0da8c
WS
143282012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14329
14330 [BZ #14252]
14331 * powerpc32/power6/wcschr.c: New file.
14332 * powerpc32/power6/wcscpy.c: New file.
14333 * powerpc32/power6/wcsrchr.c: New file.
14334 * powerpc64/power6/wcschr.c: New file.
14335 * powerpc64/power6/wcscpy.c: New file.
14336 * powerpc64/power6/wcsrchr.c: New file.
14337
bcca0895
MK
143382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14339
14340 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14341 (two_way_short_needle): Use it.
5a4aaa33
RM
14342 * string/strstr.c (AVAILABLE1_USES_J): Define.
14343 * string/strcasestr.c: Likewise.
99677e57
MK
14344
14345 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14346 array references.
14347 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14348
400726de
MK
14349 [BZ #11607]
14350 * NEWS: Add an entry.
14351 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14352 define their defaults.
14353 (two_way_short_needle): Detect end-of-string on-the-fly.
14354 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14355 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14356 * string/bug-strcasestr1.c: New test.
14357 * string/Makefile: Run it.
14358
20a71f2c
MK
143592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14360
14361 [BZ #11607]
14362 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14363 the first character.
14364
21ad0558
RM
143652012-08-21 Roland McGrath <roland@hack.frob.com>
14366
14367 * csu/elf-init.c (__libc_csu_irel): Function removed.
14368 * csu/libc-start.c (apply_irel): New function.
14369 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14370
0e1d9911
JM
143712012-08-21 Joseph Myers <joseph@codesourcery.com>
14372
14373 * sysdeps/unix/sysv/linux/kernel-features.h
14374 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14375 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14376 <kernel-features.h>.
14377 [__NR_fadvise64_64]: Make code unconditional.
14378 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14379 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14380 !__NR_fadvise64_64)]: Likewise.
14381 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14382 !__NR_fadvise64_64))]: Likewise.
14383 [__NR_fadvise64]: Make code unconditional.
14384 [!__NR_fadvise64]: Remove conditional code.
14385 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14386 <kernel-features.h>.
14387 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14388 unconditional.
14389 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14390 conditional code.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14392 not include <kernel-features.h>.
14393 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14394 unconditional.
14395 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14396 conditional code.
14397 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14398 include <kernel-features.h>.
14399 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14400 unconditional.
14401 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14402 conditional code.
14403
14a50c9d
WS
144042012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14405
14406 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14407 slight instruction rearrangements per scrollpipe analysis.
14408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14409
c0f4faf0
RM
144102012-08-20 Roland McGrath <roland@hack.frob.com>
14411
696da859
RM
14412 * manual/syslog.texi (syslog; vsyslog, closelog):
14413 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14414 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14415
c0f4faf0
RM
14416 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14417 DSOCAPS to match condition on defining it.
14418
348363b2
JM
144192012-08-20 Joseph Myers <joseph@codesourcery.com>
14420
a35cbf28
JM
14421 * sysdeps/unix/sysv/linux/kernel-features.h
14422 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14424 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14425 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14427 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14428 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14430 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14431 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14432
445f7ecd
JM
14433 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14434 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14435
348363b2
JM
14436 * sysdeps/unix/sysv/linux/kernel-features.h
14437 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14438 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14439 unconditional.
14440 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14441 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14442 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14443 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14444 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14445 Make code unconditional.
14446 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14447 (__mmap64) [!__NR_mmap2]: Likewise.
14448 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14449 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14450 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14451 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14452 [__NR_mmap2]: Make code unconditional.
14453 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14454 (__mmap64) [!__NR_mmap2]: Likewise.
14455
bc5bc0e5
AK
144562012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14457
14458 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14459
88d506de
AJ
144602012-08-18 Andreas Jaeger <aj@suse.de>
14461
14462 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14463
493387d2
MF
144642012-08-18 Mike Frysinger <vapier@gentoo.org>
14465
14466 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14467 * include/unistd.h (__have_sock_cloexec): Likewise.
14468 (__have_pipe2): Likewise.
14469 (__have_dup3): Likewise.
14470
a277af22
MF
144712012-08-18 Mike Frysinger <vapier@gentoo.org>
14472
14473 [BZ #9685]
14474 * include/unistd.h (__have_pipe2): Change define into an extern int.
14475 (__have_dup3): Likewise.
14476 * socket/have_sock_cloexec.c: Include fcntl.h.
14477 (__have_pipe2): New variable.
14478 (__have_dup3): Likewise.
14479
fdab8fd3
MF
144802012-08-17 Mike Frysinger <vapier@gentoo.org>
14481
14482 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14483
31035e80
MP
144842012-08-17 Marek Polacek <polacek@redhat.com>
14485
14486 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14487 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14488
3bd9e993
RM
144892012-08-17 Roland McGrath <roland@hack.frob.com>
14490
c91c505f
RM
14491 * configure.in: Add AC_SUBST for sysheaders.
14492 * configure: Regenerated.
14493 * config.make.in (sysheaders): New substituted variable.
14494
7c6f9d53
RM
14495 * sysdeps/unix/mkfifo.c: Moved ...
14496 * sysdeps/posix/mkfifo.c: ... here.
14497 * sysdeps/unix/mkfifoat.c: Moved ...
14498 * sysdeps/posix/mkfifoat.c: ... here.
14499
14500 * sysdeps/unix/utime.c: Moved ...
14501 * sysdeps/posix/utime.c: ... here.
14502
14503 * sysdeps/unix/time.c: Moved ...
14504 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14505 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14506 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14507
14508 * sysdeps/unix/nice.c: Moved ...
14509 * sysdeps/posix/nice.c: ... here.
14510
14511 * sysdeps/unix/alarm.c: Moved ...
14512 * sysdeps/posix/alarm.c: ... here.
14513
3bd9e993
RM
14514 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14515
d1f09384
JL
145162012-08-17 Jeff Law <law@redhat.com>
14517
14518 * intl/Makefile (codeset_mo): New variable.
14519 ($(codeset_mo)): New target.
14520 (tst-codeset.out): Depend on that. Remove explicit rule.
14521 (tst-gettext3.out, tst-gettext5.out): Likewise.
14522 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14523 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14524 * intl/tst-codeset.sh: Remove.
14525 * intl/tst-gettext3.sh: Likewise.
14526 * intl/tst-gettext5.sh: Likewise.
14527
2ae1ae5c
RM
145282012-08-17 Roland McGrath <roland@hack.frob.com>
14529
c31fdb83
RM
14530 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14531 * sysdeps/unix/syscalls.list: ... here.
14532
a0844057
RM
14533 * sysdeps/posix/getaddrinfo.c
14534 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14535 (gaiconf_init, gaiconf_reload): Use them.
14536 [!_STATBUF_ST_NSEC]
14537 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14538 Define using time_t rather than struct timespec.
14539
750c1f2a
RM
14540 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14541 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14542 Macros removed.
14543 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14544 [!NO_THREADS].
14545 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14546 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14547 Likewise.
14548
2ae1ae5c
RM
14549 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14550 __libc_cleanup_push argument.
14551
e66a42f5
RM
14552 * bits/param.h: New file.
14553 * misc/sys/param.h: New file.
14554 * include/sys/param.h: New file.
14555 * misc/Makefile (headers): Add bits/param.h.
14556 * sysdeps/generic/sys/param.h: File removed.
14557 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14558 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14559 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14560 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14561
b7c08a66
RM
14562 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14563 last change.
14564
b2e1c562
RM
14565 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14566 [_IO_MTSAFE_IO].
14567 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14568 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14569 New macros.
14570
c75ccd4c
RM
14571 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14572 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14573 rather than -D_IO_MTSAFE_IO conditionally.
14574 * stdio-common/Makefile (CPPFLAGS): Likewise.
14575 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14576 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14577 Use $(libio-mtsafe).
14578 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14579 of -D_IO_MTSAFE_IO.
14580 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14581 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14582 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14583 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14584 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14585 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14586 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14587 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14588 (CFLAGS-fread_u_chk.c): Likewise.
14589 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14590 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14591 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14592 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14593 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14594 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14595 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14596 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14597 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14598
14599 * libio/Makefile: Test [$(libc-reentrant) = yes]
14600 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14601
14602 * Makeconfig
14603 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14604 * sysdeps/pthread/configure: File removed.
14605 * sysdeps/pthread/Makeconfig: New file.
14606 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14607 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14608
d9195db8
GB
146092012-08-16 Gary Benson <gbenson@redhat.com>
14610
14611 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14612 unmapping the first object in a namespace.
14613
86466cd9
RM
146142012-08-16 Roland McGrath <roland@hack.frob.com>
14615
14616 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14617 (__internal_setnetgrent): ... this. Add internal_function to
14618 definition. Add libc_hidden_def.
14619 (setnetgrent): Update caller.
14620 (internal_endnetgrent): Renamed to ...
14621 (__internal_endnetgrent): ... this. Add internal_function to
14622 definition. Add libc_hidden_def.
14623 (endnetgrent): Update caller.
14624 (internal_getnetgrent_r): Renamed to ...
14625 (__internal_getnetgrent_r): ... this. Add internal_function to
14626 definition. Add libc_hidden_def.
14627 (__getnetgrent_r): Update caller.
14628 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14629
c3c8283c
JM
146302012-08-16 Joseph Myers <joseph@codesourcery.com>
14631
14632 * stdlib/longlong.h: Update from GCC.
14633
db1ee0a8
RM
146342012-08-16 Roland McGrath <roland@hack.frob.com>
14635
14636 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14637 on _QL, which is set by umul_ppmm but never used.
14638 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14639 variables, which are set by GMP macros but never used.
14640 * stdio-common/_itowa.c (_itowa): Likewise.
14641 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14642 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14643
30f69637
CD
146442012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14645
14646 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14647 struct La_sh_regs is not constant.
14648 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14649 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14650 and struct La_sparc64_regs are not constant.
14651
93a78ac4
JM
146522012-08-16 Joseph Myers <joseph@codesourcery.com>
14653
14654 * sysdeps/unix/sysv/linux/kernel-features.h
14655 (__ASSUME_POSIX_TIMERS): Remove.
14656 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14657 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14658 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14659 Make code unconditional.
14660 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14661 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14662 Make code unconditional.
14663 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14664 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14665 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14667 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14668 Make code unconditional.
14669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14670 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14671 (__libc_missing_posix_timers): Remove.
14672
dd924cd7
RM
146732012-08-15 Roland McGrath <roland@hack.frob.com>
14674
4b4f2771
RM
14675 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14676 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14677
601c888b
RM
14678 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14679
176790a7
RM
14680 * elf/dl-sym.c: Include <stdlib.h>.
14681
329bc018
RM
14682 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14683 constants, which avoids warnings in 32-bit builds.
14684
e04e272d
RM
14685 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14686 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14687
952bf94a
RM
14688 * misc/lseek.c: File moved to ...
14689 * io/lseek.c: ... here.
14690
7c99b50a
RM
14691 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14692
dd924cd7
RM
14693 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14694 shifting LEN more than 31 bits at once.
14695
b3f479a8
LD
146962012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14697
14698 [BZ #14195]
8c4ae0d4
RM
14699 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14700 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14701 * string/test-strncasecmp.c (check1): Renamed to...
14702 (bz12205): ...this.
14703 (bz14195): Add new testcase for two empty input strings and N > 0.
14704 (test_main): Call new testcase, adapt for renamed function.
14705
9c55864e
AJ
147062012-08-15 Andreas Jaeger <aj@suse.de>
14707
14708 [BZ #14090]
14709 * crypt/md5test2.c: New test, based on test supplied by Serge
14710 Belyshev <belyshev@depni.sinp.msu.ru>.
14711 * crypt/Makefile (xtests): Add md5test-giant..
14712 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14713
02dcb6c5
PE
147142012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14715
14716 [BZ #14090]
14717 * crypt/md5.c (md5_process_block): Don't assume the buffer
14718 length is less than 2**32.
14719 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14720 length is less than 2**64.
14721
a3f95dcc
RM
147222012-08-15 Roland McGrath <roland@hack.frob.com>
14723
be75d758
RM
14724 * string/str-two-way.h: Include <sys/param.h>.
14725 (MAX): Macro removed.
14726
7312ca90
RM
14727 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14728 Move #define and #undef of memmove to just before and after
14729 including <string.h>.
14730
9a0a5486
RM
14731 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14732 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14733 and after including <string.h>. Move declarations of
14734 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14735 to before #include "string/memmove.c".
14736
67cc348d
RM
14737 * include/dirent.h: Declare __getdirentries.
14738
a3f95dcc
RM
14739 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14740 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14741
ca98e171
MF
147422012-08-14 Mike Frysinger <vapier@gentoo.org>
14743
14744 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14745 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14746 * sysdeps/i386/configure: Regenerated.
14747 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14748 STABS_CURRENT_FILE, and STABS_FUN.
14749 (END): Remove call to STABS_FUN_END.
14750 (STABS_CURRENT_FILE1): Delete.
14751 (STABS_CURRENT_FILE): Likewise.
14752 (STABS_FUN): Likewise.
14753 (STABS_FUN_END): Likewise.
14754 (STABS_FUN2): Likewise.
14755 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14756 * sysdeps/x86_64/configure: Regenerated.
14757
5908bf46
RM
147582012-08-14 Roland McGrath <roland@hack.frob.com>
14759
14760 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14761 * elf/dl-lookup.c: Likewise.
5908bf46 14762
f2c05b9e
JM
147632012-08-14 Joseph Myers <joseph@codesourcery.com>
14764
14765 * sysdeps/unix/sysv/linux/kernel-features.h
14766 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14767 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14768 unconditionally.
14769 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14770 unconditionally.
14771 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14772 condition on __ASSUME_CLONE_THREAD_FLAGS.
14773
e11f5155
AJ
147742012-08-14 Andreas Jaeger <aj@suse.de>
14775
14776 * sysdeps/i386/fpu/libm-test-ulps: Update.
14777
51a9ba86
MK
147782012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14779
2fdd4f78
AJ
14780 * include/atomic.h (atomic_exchange_and_add): Split into ...
14781 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14782 New atomic macros.
51a9ba86 14783
ba6cba9e
MT
147842012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14785
14786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14787
42443a47
JL
147882012-08-13 Jeff Law <law@redhat.com>
14789
14790 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14791 null byte in the output string.
14792
121dce05
JM
147932012-08-10 Joseph Myers <joseph@codesourcery.com>
14794
14795 * sysdeps/unix/sysv/linux/kernel-features.h
14796 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14797 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14798 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14799 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14800 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14801 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14802 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14803
bf51f568
JL
148042012-08-09 Jeff Law <law@redhat.com>
14805
14806 [BZ #13939]
14807 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14808 When avoid_arena is set, don't retry in the that arena. Pick the
14809 next one, whatever it might be.
14810 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14811 (arena_lock): Pass in new parameter to arena_get2.
14812 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14813 arena_get2.
14814 (__libc_malloc): Unify retrying after main arena failure with
14815 __libc_memalign version.
14816 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14817
f85fa270
L
148182012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14819
14820 [BZ #14166]
14821 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14822 to __redirect_strstr.
14823 (__strstr_sse42): Use typeof __redirect_strstr.
14824 (__strstr_ia32): Likewise.
14825 (__libc_strstr): New prototype.
14826 (strstr): Renamed to ...
14827 (__libc_strstr): This.
14828 (strstr): New strong alias of __libc_strstr.
14829 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14830 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14831 __redirect_time.
14832 Include <time.h>.
14833 (__libc_time): New prototype.
14834 (time_ifunc): Replace time with __libc_time.
14835 (time): New strong alias and hidden definition of __libc_time.
14836 (__GI_time): Remove strong alias.
14837 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14838 Include <stddef.h>.
14839 (memmove): Redefined to __redirect_memmove.
14840 (__memmove_sse2): Use typeof __redirect_memmove.
14841 (__memmove_ssse3): Likewise.
14842 (__memmove_ssse3_back): Likewise.
14843 (__libc_memmove): New prototype.
14844 (memmove): Renamed to ...
14845 (__libc_memmove): This.
14846 (memmove): New strong alias of __libc_memmove.
14847
33b4a91e
MS
148482012-08-08 Mark Salter <msalter@redhat.com>
14849
14850 * elf/elf.h
14851 (R_MN10300_TLS_GD): Define.
14852 (R_MN10300_TLS_LD): Likewise.
14853 (R_MN10300_TLS_LDO): Likewise.
14854 (R_MN10300_TLS_GOTIE): Likewise.
14855 (R_MN10300_TLS_IE): Likewise.
14856 (R_MN10300_TLS_LE): Likewise.
14857 (R_MN10300_TLS_DTPMOD): Likewise.
14858 (R_MN10300_TLS_DTPOFF): Likewise.
14859 (R_MN10300_TLS_TPOFF): Likewise.
14860 (R_MN10300_SYM_DIFF): Likewise.
14861 (R_MN10300_ALIGN): Likewise.
14862 (R_MN10300_NUM): Update.
14863
b36137f1
JM
148642012-08-08 Joseph Myers <joseph@codesourcery.com>
14865
14866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14867 Remove.
14868
cdd915fd
RM
148692012-08-08 Roland McGrath <roland@hack.frob.com>
14870
a2433aac
RM
14871 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14872
cdd915fd
RM
14873 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14874 sysdeps/unix -> sysdeps/posix move.
14875 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14876
bf9b740a
AM
148772012-08-07 Allan McRae <allan@archlinux.org>
14878
14879 [BZ #14303]
14880 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14881 (SUNOS_CPP): Likewise.
14882 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14883 not found.
14884 (open_input): Call CPP using execvp.
14885
93df14ee
JM
148862012-08-07 Joseph Myers <joseph@codesourcery.com>
14887
14888 * sysdeps/unix/sysv/linux/kernel-features.h
14889 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14890 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14891 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14892 (__ASSUME_WAITID_SYSCALL): Likewise.
14893 * sysdeps/unix/sysv/linux/dl-execstack.c
14894 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14895 code unconditional.
14896 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14897 conditional code.
14898 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14899 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14900 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14901 code.
14902 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14903 unconditional.
14904 [__ASSUME_WAITID_SYSCALL]: Likewise.
14905 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14906
d34689de
RM
149072012-08-07 Roland McGrath <roland@hack.frob.com>
14908
a281decc
RM
14909 * sysdeps/unix/closedir.c: Renamed to ...
14910 * sysdeps/posix/closedir.c: ... here.
14911 * sysdeps/unix/dirfd.c: Renamed to ...
14912 * sysdeps/posix/dirfd.c: ... here.
14913 * sysdeps/unix/dirstream.h: Renamed to ...
14914 * sysdeps/posix/dirstream.h: ... here.
14915 * sysdeps/unix/fdopendir.c: Renamed to ...
14916 * sysdeps/posix/fdopendir.c: ... here.
14917 * sysdeps/unix/opendir.c: Renamed to ...
14918 * sysdeps/posix/opendir.c: ... here.
14919 * sysdeps/unix/readdir.c: Renamed to ...
14920 * sysdeps/posix/readdir.c: ... here.
14921 * sysdeps/unix/readdir_r.c: Renamed to ...
14922 * sysdeps/posix/readdir_r.c: ... here.
14923 * sysdeps/unix/rewinddir.c: Renamed to ...
14924 * sysdeps/posix/rewinddir.c: ... here.
14925 * sysdeps/unix/seekdir.c: Renamed to ...
14926 * sysdeps/posix/seekdir.c: ... here.
14927 * sysdeps/unix/telldir.c: Renamed to ...
14928 * sysdeps/posix/telldir.c: ... here.
14929 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14930 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14931 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14932 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14933
22895b47
RM
14934 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14935 * bits/fcntl.h: ... here.
14936
707a53b6
RM
14937 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14938 not 0.
14939 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14940 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14941 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14942 (struct flock): Move l_start, l_len to the beginning.
14943 Use __pid_t for l_pid.
14944 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14945 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14946 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14947 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14948 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14949 [__USE_LARGEFILE64] (struct flock64): New type.
14950 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14951
f0bd3e25
RM
14952 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14953 * bits/dirent.h: ... here.
14954
d34689de
RM
14955 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14956 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14957
6dad2c06
JM
149582012-08-07 Joseph Myers <joseph@codesourcery.com>
14959
14960 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14961 Change from 2.6.0 to 2.6.16.
14962 * sysdeps/unix/sysv/linux/configure: Regenerated.
14963 * sysdeps/unix/sysv/linux/kernel-features.h
14964 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14965 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14966 version.
14967 (__ASSUME_UTIMES): Likewise.
14968 (__ASSUME_CLONE_STOPPED): Remove.
14969 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14970 architectures, not kernel version.
14971 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14972 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14973 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14974 (__ASSUME_WAITID_SYSCALL): Likewise.
14975 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14976 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14977 * README: State 2.6.16 as minimum Linux kernel version. Do not
14978 refer to older versions.
14979
03af9520
RM
149802012-08-06 Roland McGrath <roland@hack.frob.com>
14981
8e49df1d
RM
14982 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14983 Define alphasort64 as an alias.
14984 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14985 Define versionsort64 as an alias.
14986 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14987 Define scandir64 as an alias.
14988 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14989 Define scandirat64 as an alias.
14990 * dirent/alphasort64.c (alphasort64):
14991 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14992 * dirent/versionsort64.c: Likewise.
14993 * dirent/scandir64.c: Likewise.
14994 * dirent/scandirat64.c: Likewise.
14995 * sysdeps/wordsize-64/alphasort.c: File removed.
14996 * sysdeps/wordsize-64/alphasort64.c: File removed.
14997 * sysdeps/wordsize-64/scandir.c: File removed.
14998 * sysdeps/wordsize-64/scandir64.c: File removed.
14999 * sysdeps/wordsize-64/scandirat.c: File removed.
15000 * sysdeps/wordsize-64/scandirat64.c: File removed.
15001 * sysdeps/wordsize-64/versionsort.c: File removed.
15002 * sysdeps/wordsize-64/versionsort64.c: File removed.
15003 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15004 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15005 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15006 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15007 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15008 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15009 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15010 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15011
15012 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15014 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15016 [defined __arch64__ || defined __sparcv9]
15017 (__INO_T_MATCHES_INO64_T): New macro.
15018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15019 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15020 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15021 * sysdeps/unix/sysv/linux/bits/dirent.h
15022 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15023 (_DIRENT_MATCHES_DIRENT64): New macro.
15024
03af9520
RM
15025 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15026 Define lockf64 as an alias.
15027 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15028 Define fseeko64 as an alias.
15029 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15030 Define ftello64 as an alias.
15031 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15032 Define _IO_fgetpos64 and fgetpos64 as aliases.
15033 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15034 Define _IO_fsetpos64 and fsetpos64 as aliases.
15035 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15036 Conditionalize body on this.
15037 * libio/fseeko64.c: Likewise.
15038 * libio/ftello64.c: Likewise.
15039 * libio/iofgetpos64.c: Likewise.
15040 * libio/iofsetpos64.c: Likewise.
15041 * sysdeps/wordsize-64/lockf.c: File removed.
15042 * sysdeps/wordsize-64/lockf64.c: File removed.
15043 * sysdeps/wordsize-64/fseeko.c: File removed.
15044 * sysdeps/wordsize-64/fseeko64.c: File removed.
15045 * sysdeps/wordsize-64/ftello.c: File removed.
15046 * sysdeps/wordsize-64/ftello64.c: File removed.
15047 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15048 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15049 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15050 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15051 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15052 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15054 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15056 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15057 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15058 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15059 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15060 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15061
15062 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15064 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15066 [defined __arch64__ || defined __sparcv9]
15067 (__OFF_T_MATCHES_OFF64_T): New macro.
15068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15069 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15071 (__OFF_T_MATCHES_OFF64_T): New macro.
15072
c5757acd
L
150732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15074
15075 * stdlib/secure-getenv.c (__secure_getenv): Replace
15076 GLIBC_2_16 with GLIBC_2_17.
15077
3a31811e
L
150782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15079
15080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15082
faa2bccb
DM
150832012-08-03 David S. Miller <davem@davemloft.net>
15084
15085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15086
85fe1997
JM
150872012-08-03 Joseph Myers <joseph@codesourcery.com>
15088
15089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15090 Remove.
15091 (__ASSUME_CORRECT_SI_PID): Likewise.
15092 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15093 (__ASSUME_TMPFS_NAME): Likewise.
15094 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15095 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15096 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15097 (HAVE_AUX_SECURE): Make definition unconditional.
15098 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15099 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15100
4f75b7a0
RM
151012012-08-03 Roland McGrath <roland@hack.frob.com>
15102
15103 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15104 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15105 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15106 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15107 __eloop_threshold instead of SYMLOOP_MAX.
15108
15109 * sysdeps/generic/eloop-threshold.h: New file.
15110 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15111 of MAXSYMLINKS.
15112 * elf/chroot_canon.c (chroot_canon): Likewise.
15113
7aab07e4
JM
151142012-08-03 Joseph Myers <joseph@codesourcery.com>
15115
15116 [BZ #13717]
15117 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15118 Change to 2.6.0 everywhere.
15119 * sysdeps/unix/sysv/linux/configure: Regenerated.
15120 * sysdeps/unix/sysv/linux/kernel-features.h
15121 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15122 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15123 kernel versions.
15124 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15125 (__ASSUME_FUTEX_REQUEUE): Remove.
15126 (__ASSUME_STATFS64): Define unconditionally.
15127 (__ASSUME_AT_SECURE): Likewise.
15128 (__ASSUME_CORRECT_SI_PID): Likewise.
15129 (__ASSUME_TGKILL): Define without depending on kernel version for
15130 i386.
15131 (__ASSUME_UTIMES): Likewise.
15132 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15133 kernel version.
15134 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15135 (__ASSUME_TMPFS_NAME): Likewise.
15136 * README: Update reference to Linux kernel versions.
15137
b67e9372
MP
151382012-08-02 Marek Polacek <polacek@redhat.com>
15139
1f529f7d 15140 [BZ# 14150]
b67e9372
MP
15141 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15142 libc_cv_asm_type_prefix with %.
15143 * configure: Regenerated.
d2441631
RM
15144 * include/libc-symbols.h: Remove comment about
15145 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15146 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15147 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15148 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15149 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15150 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15151 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15152 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15153 * elf/tst-unique2mod1.c: Likewise.
15154 * elf/tst-unique1mod2.c: Likewise.
15155 * elf/tst-unique1mod1.c: Likewise.
15156 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15157 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15158 Replace ASM_TYPE_DIRECTIVE with .type.
15159 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15160 * sysdeps/i386/sysdep.h: Likewise.
15161 * sysdeps/x86_64/sysdep.h: Likewise.
15162 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15164 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15165 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15166 * sysdeps/powerpc/powerpc32/sysdep.h:
15167 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15168 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15169 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15170 * sysdeps/i386/fpu/e_powf.S: Likewise.
15171 * sysdeps/i386/fpu/e_expl.S: Likewise.
15172 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15173 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15174 * sysdeps/i386/fpu/e_pow.S: Likewise.
15175 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15176 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15177 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15178 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15179 * sysdeps/i386/fpu/e_log2.S: Likewise.
15180 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15181 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15182 * sysdeps/i386/fpu/e_powl.S: Likewise.
15183 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15184 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15185 * sysdeps/i386/fpu/e_logl.S: Likewise.
15186 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15187 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15188 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15190 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15191 * sysdeps/i386/fpu/e_log.S: Likewise.
15192 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15193 * sysdeps/i386/fpu/e_logf.S: Likewise.
15194 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15195 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15196 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15197 * sysdeps/i386/fpu/e_log10.S: Likewise.
15198 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15200 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15201 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15203 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15204 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15205 * sysdeps/i386/i686/strtok.S: Likewise.
15206 * sysdeps/i386/i386-mcount.S: Likewise.
15207 * sysdeps/i386/strtok.S: Likewise.
15208 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15210 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15211 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15212 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15213 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15214 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15215 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15216 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15217 * sysdeps/x86_64/_mcount.S: Likewise.
15218 * sysdeps/x86_64/strtok.S: Likewise.
15219 * sysdeps/sh/_mcount.S: Likewise.
15220
2747bf9a
RM
152212012-08-01 Roland McGrath <roland@hack.frob.com>
15222
15223 * libio/iofopen.c: Include <fcntl.h>.
15224 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15225 (_IO_fopen64, fopen64): Define as aliases.
15226 * libio/iofopen64.c: Include <fcntl.h>.
15227 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15228 Conditionalize body on this.
15229 * sysdeps/wordsize-64/iofopen.c: File removed.
15230 * sysdeps/wordsize-64/iofopen64.c: File removed.
15231
3fb791b8
MP
152322012-08-01 Marek Polacek <polacek@redhat.com>
15233
15234 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15235 Use dlfcn directly instead of a variable.
15236 (binfmt-subdir): Do not define.
15237 (dlfcn): Likewise.
15238
a9f1039f
JM
152392012-08-01 Joseph Myers <joseph@codesourcery.com>
15240
23bddc06
JM
15241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15242 Remove all definitions.
15243 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15244 <kernel-features.h>.
15245 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15246 (miss_F_GETOWN_EX): Remove all definitions.
15247 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15248 macro definition.
15249 [!__ASSUME_FCNTL64]: Remove conditional code.
15250 [__ASSUME_FCNTL64]: Make code unconditional.
15251 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15252 <kernel-features.h>.
15253 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15254 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15255 (lockf64) [__NR_fcntl64]: Make code unconditional.
15256 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15257
a9f1039f
JM
15258 * sysdeps/unix/sysv/linux/kernel-features.h
15259 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15260 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15261 Make code unconditional.
15262 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15263 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15265 [__NR_vfork]: Make code unconditional.
15266 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15267 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15269 [__NR_vfork]: Make code unconditional.
15270 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15271 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15272
09c0ee5f
RM
152732012-08-01 Roland McGrath <roland@hack.frob.com>
15274
48aec5b9
RM
15275 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15276 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15277
cd97c966
RM
15278 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15279 Define mkstemp64 as an alias.
3f55550c
RM
15280 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15281 Define mkstemps64 as an alias.
cd97c966
RM
15282 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15283 Define mkostemp64 as an alias.
b8625cfc
RM
15284 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15285 Define mkostemps64 as an alias.
cd97c966
RM
15286 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15287 Conditionalize body on this.
15288 * misc/mkostemp64.c: Likewise.
b8625cfc 15289 * misc/mkostemps64.c: Likewise.
3f55550c 15290 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15291 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15292 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15293 * sysdeps/wordsize-64/mkostemp.c: File removed.
15294 * sysdeps/wordsize-64/mkstemp.c: File removed.
15295 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15296 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15297 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15298 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15299
09c0ee5f
RM
15300 [BZ #14138]
15301 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15302 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15303 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15304 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15305
15306 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15307 compat_symbol macros from <shlib-compat.h> rather than the underlying
15308 default_symbol_version and symbol_version macros, so that DEFAULT
15309 lines in shlib-versions are respected.
15310 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15311
7e66ee51
FW
153122012-08-01 Florian Weimer <fweimer@redhat.com>
15313
15314 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15315 Declare with warn_unused_result.
15316 (setgid, setregid, setegid, setresgid): Likewise.
15317 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15318 Likewise.
15319 * WUR-REPORT: Remove set*id functions.
15320
d2a54255
PT
153212012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15322
15323 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15324
7ecdb005
RM
153252012-07-31 Roland McGrath <roland@hack.frob.com>
15326
b4180a5e 15327 [BZ #10191]
789bd351
RM
15328 * include/sys/socket.h (__libc_accept, __libc_accept4):
15329 Add attribute_hidden.
15330 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15331
40ce302d
RM
15332 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15333 use of PTR_MANGLE.
15334 * inet/getnetgrent_r.c (setup): Likewise.
15335
7ecdb005
RM
15336 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15337
e2eabb2c
DM
153382012-07-31 David S. Miller <davem@davemloft.net>
15339
15340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15341
d0419dbf
JM
153422012-07-31 Joseph Myers <joseph@codesourcery.com>
15343
15344 [BZ #13629]
15345 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15346 value between 1.0 and 2.0 and smaller part has absolute value less
15347 than 1.0.
15348 * math/s_clog10.c (__clog10): Likewise.
15349 * math/s_clog10f.c (__clog10f): Likewise.
15350 * math/s_clog10l.c (__clog10l): Likewise.
15351 * math/s_clogf.c (__clogf): Likewise.
15352 * math/s_clogl.c (__clogl): Likewise.
15353 * math/libm-test.inc (clog_test): Add more tests.
15354 (clog10_test): Likewise.
15355 * sysdeps/i386/fpu/libm-test-ulps: Update.
15356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15357
2bc13872
FW
153582012-07-31 Florian Weimer <fweimer@redhat.com>
15359
15360 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15361 Exit with zero in case no suitable GID is found, and write a
15362 message to standard error.
15363
bea9b193
RM
153642012-07-30 Roland McGrath <roland@hack.frob.com>
15365
15366 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15367 rather than to 1.
15368 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15369 (MAXPATHLEN): Removed.
15370 (NOGROUP, NODEV): New macros.
15371 (setbit, clrbit, isset, isclr): New macros.
15372 (howmany, roundup, powerof2): New macros.
15373 (DEV_BSIZE): New macro.
15374
15375 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15376 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15377
15378 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15379 definition on [!__NO_LONG_DOUBLE_MATH].
15380
15381 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15382 PTR_MANGLE and PTR_DEMANGLE.
15383
15384 * socket/accept4.c (accept4): Rename to __libc_accept4.
15385 Define accept4 as a weak alias.
15386
15387 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15388 on [_DIRENT_HAVE_D_TYPE].
15389 * io/ftw.c (ftw_dir): Likewise.
15390
15391 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15392
15393 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15394
15395 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15396 Use the BSD numbers rather than the arbitrary ones we had.
15397 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15398 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15399 (SIGXCPU, SIGXFSZ): New macros.
15400 (_NSIG): Now 32.
15401
15402 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15403 initializer on [_LIBC_REENTRANT].
15404
15405 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15406 definitions inside [_POSIX_MAPPED_FILES].
15407
15408 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15409
15410 * dirent/opendir.c: Include <fcntl.h>.
15411
15412 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15413 (__libc_getspecific): Likewise.
15414 (__libc_key_create): Likewise.
15415
15416 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15417 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15418 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15419 (tmpfile64): Define as alias.
15420 * sysdeps/wordsize-64/tmpfile.c: File removed.
15421 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15422 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15424
15425 * stdio-common/vfscanf.c: Include <stdbool.h>.
15426 * nss/makedb.c: Likewise.
15427 * stdio-common/_i18n_number.h: Likewise.
15428 * argp/argp-help.c: Likewise.
15429 * posix/wordexp.c: Likewise.
15430 * sysdeps/posix/spawni.c: Likewise.
15431 * nss/nss_files/files-initgroups.c: Likewise.
15432 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15433 * nss/nss_files/files-initgroups.c: Likewise.
15434 * nss/nss_db/db-netgrp.c: Likewise.
15435 * nss/nss_db/db-initgroups.c: Likewise.
15436 * io/fchmodat.c: Include <sys/stat.h>.
15437
15438 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15439 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15440
15441 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15442 [HAVE_MMAP].
15443
15444 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15445 Add multiple inclusion protection.
15446
e5abc686
DM
154472012-07-27 David S. Miller <davem@davemloft.net>
15448
15449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15450
815e6fa3
GB
154512012-07-27 Gary Benson <gbenson@redhat.com>
15452
15453 [BZ #14298]
15454 * elf/rtld.c: Include <stap-probe.h>.
15455 (dl_main): Added static probes "init_start" and "init_complete".
15456 * elf/dl-load.c: Include <stap-probe.h>.
15457 (lose): Take new parameter "nsid".
15458 Added static probe "map_failed".
15459 (_dl_map_object_from_fd): Pass namespace id to lose.
15460 Added static probe "map_start".
15461 (open_verify): Pass namespace id to lose.
15462 * elf/dl-open.c: Include <stap-probe.h>.
15463 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15464 and "reloc_complete".
15465 * elf/dl-close.c: Include <stap-probe.h>.
15466 (_dl_close_worker): Added static probes "unmap_start" and
15467 "unmap_complete".
15468 * elf/rtld-debugger-interface.txt: New file documenting the above.
15469
9f98c16c
RM
154702012-07-26 Roland McGrath <roland@hack.frob.com>
15471
15472 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15473 rather than a string variable.
15474 * sunrpc/rpc_main.c (h_output): Likewise.
15475 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15476
f3c22df3
PT
154772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15478
15479 * inet/check_native.c: New file.
15480
3129cfc6
JM
154812012-07-26 Joseph Myers <joseph@codesourcery.com>
15482
da865e95
JM
15483 [BZ #13629]
15484 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15485 if larger part has absolute value 1.0.
15486 * math/s_clog10.c (__clog10): Likewise.
15487 * math/s_clog10f.c (__clog10f): Likewise.
15488 * math/s_clog10l.c (__clog10l): Likewise.
15489 * math/s_clogf.c (__clogf): Likewise.
15490 * math/s_clogl.c (__clogl): Likewise.
15491 * math/libm-test.inc (clog_test): Add more tests.
15492 (clog10_test): Likewise.
15493 * sysdeps/i386/fpu/libm-test-ulps: Update.
15494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15495
3129cfc6
JM
15496 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15497 (pltexit): Likewise.
15498 (La_regs): Likewise.
15499 (La_retval): Likewise.
15500 (int_retval): Likewise.
15501 Update #error for removed macros to refer only to definitions in
15502 tst-audit.h.
15503 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15504 macro.
15505 (pltexit): Likewise.
15506 (La_regs): Likewise.
15507 (La_retval): Likewise.
15508 (int_retval): Likewise.
15509 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15510 macro.
15511 (pltexit): Likewise.
15512 (La_regs): Likewise.
15513 (La_retval): Likewise.
15514 (int_retval): Likewise.
15515 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15516 macro.
15517 (pltexit): Likewise.
15518 (La_regs): Likewise.
15519 (La_retval): Likewise.
15520 (int_retval): Likewise.
15521 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15522 macro.
15523 (pltexit): Likewise.
15524 (La_regs): Likewise.
15525 (La_retval): Likewise.
15526 (int_retval): Likewise.
15527 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15528 macro.
15529 (pltexit): Likewise.
15530 (La_regs): Likewise.
15531 (La_retval): Likewise.
15532 (int_retval): Likewise.
15533 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15534 macro.
15535 (pltexit): Likewise.
15536 (La_regs): Likewise.
15537 (La_retval): Likewise.
15538 (int_retval): Likewise.
15539 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15540 macro definitions in tst-audit.h.
15541 * sysdeps/i386/tst-audit.h: New file.
15542 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15543 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15544 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15545 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15546 * sysdeps/sh/tst-audit.h: Likewise.
15547 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15548 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15549 * sysdeps/x86_64/tst-audit.h: Likewise.
15550
bfc07087
AJ
155512012-07-26 Andreas Jaeger <aj@suse.de>
15552
b1b2aaf8
AJ
15553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15554 ptrace.
15555
15556 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15557 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15558 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15559 PTRACE_O_MASK.
15560 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15561 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15562 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15563
bfc07087
AJ
15564 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15565 value.
15566
15567 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15568 _sigsys.
15569 (si_call_addr, si_syscall, si_arch): Define new macro.
15570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15571 _sigsys.
15572 (si_call_addr, si_syscall, si_arch): Define new marcro.
15573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15574 _sigsys.
15575 (si_call_addr, si_syscall, si_arch): Define new macro.
15576 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15577 _sigsys.
15578 (si_call_addr, si_syscall, si_arch): Define new macro.
15579
89b4b02f
JM
155802012-07-25 Joseph Myers <joseph@codesourcery.com>
15581
15582 [BZ #13717]
15583 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15584 Change to 2.4.21 where previously 2.4.1.
15585 * sysdeps/unix/sysv/linux/configure: Regenerated.
15586 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15587 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15588 Linux kernel version.
15589 (__ASSUME_STD_AUXV): Remove.
15590 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15591 kernel version.
15592 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15593 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15594 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15595 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15596 (__ASSUME_NETLINK_SUPPORT): Likewise.
15597 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15598 (__no_netlink_support): Remove conditional definition.
15599 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15600 Remove.
15601 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15602 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15603 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15604 (if_nameindex_ioctl): Remove.
15605 (if_nameindex_netlink): Do not handle __no_netlink_support.
15606 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15607 code.
15608 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15609 Remove conditional code.
15610 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15611 code.
15612 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15613 unconditional.
15614 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15615 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15616 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15617 Remove.
15618 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15619 [!__ASSUME_STD_AUXV]: Remove conditional code.
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15621 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15622 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15624 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15625 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15626 code.
15627 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15629 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15630 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15631 conditional code.
15632 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15634 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15635 code.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15637 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15638 conditional code.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15640 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15641 code unconditional.
15642 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15643 conditional code.
15644 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15645 unconditional.
15646 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15647 conditional code.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15649 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15650 unconditional.
15651 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15652 conditional code.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15654 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15655 code unconditional.
15656 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15657 conditional code.
15658 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15659 unconditional.
15660 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15661 conditional code.
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15663 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15664 code unconditional.
15665 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15666 conditional code.
15667 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15668 unconditional.
15669 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15670 conditional code.
15671
842a39cd
AS
156722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15673
15674 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15675 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15676 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15677 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15678 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15679 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15680 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15681 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15682 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15683 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15684 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15685 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15686 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15687 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15688 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15689 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15690 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15692 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15694 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15695 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15696 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15697
84b3fd84
FW
156982012-07-25 Florian Weimer <fweimer@redhat.com>
15699
15700 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15701 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15702 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15703 Introduce __libc_secure_getenv.
0c7936d5
FW
15704 * stdlib/Versions (2.17): Add secure_getenv
15705 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15706 * stdlib/secure-getenv.c: Rename __secure_getenv to
15707 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15708 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15709 * stdlib/tst-secure-getenv.c: New.
15710 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15711 * manual/startup.texi (Environment Access): Document
15712 secure_getenv.
84b3fd84
FW
15713 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15714 __libc_secure_getenv.
15715 * inet/ruserpass.c (ruserpass): Likewise.
15716 * malloc/mtrace.c (mtrace): Likewise.
15717 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15718 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15719 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15720 * sysdeps/posix/tempname.c: Likewise. Evaluate
15721 HAVE_SECURE_GETENV.
15722 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15723 __secure_getenv to __libc_secure_getenv.
84b3fd84 15724 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15726 Likewise.
15727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15728 Likewise.
15729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15736
56e49b71
JM
157372012-07-25 Joseph Myers <joseph@codesourcery.com>
15738
15739 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15740 (struct La_i86_retval): Likewise.
15741 (struct La_x86_64_regs): Likewise.
15742 (struct La_x86_64_retval): Likewise.
15743 (struct La_x32_regs): Likewise.
15744 (struct La_x32_retval): Likewise.
15745 (struct La_ppc32_regs): Likewise.
15746 (struct La_ppc32_retval): Likewise.
15747 (struct La_ppc64_regs): Likewise.
15748 (struct La_ppc64_retval): Likewise.
15749 (struct La_sh_regs): Likewise.
15750 (struct La_sh_retval): Likewise.
15751 (struct La_s390_32_regs): Likewise.
15752 (struct La_s390_32_retval): Likewise.
15753 (struct La_s390_64_regs): Likewise.
15754 (struct La_s390_64_retval): Likewise.
15755 (struct La_sparc32_regs): Likewise.
15756 (struct La_sparc32_retval): Likewise.
15757 (struct La_sparc64_regs): Likewise.
15758 (struct La_sparc64_retval): Likewise.
15759 (struct audit_ifaces): Remove architecture-specific pltenter and
15760 pltexit members.
15761 * sysdeps/i386/ldsodefs.h: New file.
15762 * sysdeps/powerpc/ldsodefs.h: Likewise.
15763 * sysdeps/s390/ldsodefs.h: Likewise.
15764 * sysdeps/sh/ldsodefs.h: Likewise.
15765 * sysdeps/sparc/ldsodefs.h: Likewise.
15766 * sysdeps/x86_64/ldsodefs.h: Likewise.
15767
354691b7
MP
157682012-07-25 Marek Polacek <polacek@redhat.com>
15769
15770 [BZ #6808]
15771 * math/libm-test.inc (yn_test): Add another test.
15772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15773 to ERANGE when the result is +-Inf.
15774 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15775 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15776 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15777 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15778
bf9e2071
JM
157792012-07-24 Joseph Myers <joseph@codesourcery.com>
15780
15781 * conform/data/time.h-data (NULL): Use macro-constant. Require
15782 equal to 0.
15783 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15784 clock_t.
15785 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15786
57633811
TS
157872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15788
15789 * configure.in <sysdeps resolving>: Correct printing
15790 Implies_before.
15791 * configure: Regenerate.
15792
c23c33b0
TS
157932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15794
15795 * math/w_ilogb.c: Include <limits.h>.
15796 * math/w_ilogbl.c: Likewise.
15797
b5982523
JM
157982012-07-20 Joseph Myers <joseph@codesourcery.com>
15799
15800 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15801 va_copy. Document allowing for unavailable va_copy only as
15802 pre-C99 compatibility.
15803 * manual/string.texi (Copying and Concatenation): Use va_copy
15804 instead of __va_copy in concat example.
15805
ac4ea442
PT
158062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15807
15808 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15809 (__sendto): Use create_address_port. Initialize APORT and deallocate
15810 it if not null.
15811
f98eafbd
PT
15812 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15813 with O_NOLINK passed to __file_name_lookup.
15814
898c7aab
PT
15815 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15816 with O_NOLINK passed to __file_name_lookup.
15817
0ced335a
PT
15818 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15819 negative N or less than NGIDS.
15820
b3404dbd
PT
15821 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15822 type to string_t. Set ERANGE as errno and return it if NAME is not big
15823 enough. Use memcpy instead of strncpy.
15824
0f48659e
JM
158252012-07-20 Joseph Myers <joseph@codesourcery.com>
15826
15827 * elf/Makefile (check-data): Remove.
15828 (localplt.data): New vpath directive.
15829 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15830 instead of $(check-data).
15831 * scripts/data/localplt-generic.data: Move to ...
15832 * sysdeps/generic/localplt.data: ... here.
15833 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15834 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15835 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15837 ... here.
15838 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15840 ... here.
15841 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15843 ... here.
15844 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15846 ... here.
15847 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15849 ... here.
15850 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15852 ... here.
15853
d37cbdaa
AZ
158542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15855
15856 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15857 PPC32 and PPC64 files.
15858 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15859 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15860
46f85fc2
AK
158612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15862
15863 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15864 __makecontext_ret to ...
15865 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15866 ... here and call exit if uc_link is NULL. New file.
15867 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15868 __makecontext_ret.S.
15869 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15870 __makecontext_ret to ...
15871 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15872 ... here and call exit if uc_link is NULL. New file.
15873 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15874 __makecontext_ret.S.
15875
08f43f9b
AK
158762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15877
15878 * elf/elf.h (R_390_IRELATIVE): New definition.
15879 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15880 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15881 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15882 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15883 (elf_machine_lazy_rel): Likewise.
15884 * sysdeps/s390/dl-irel.h: New file.
15885 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15886 * sysdeps/s390/s390-64/memset.S: New asm code.
15887 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15888 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15889 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15890 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15891 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15892 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15893 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15894 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15895 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15896 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15897 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15898 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15899 * sysdeps/s390/s390-32/memset.S: New asm code.
15900 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15901
3b05db33
MP
159022012-07-17 Marek Polacek <polacek@redhat.com>
15903
15904 [BZ #14349]
15905 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15906 * sysdeps/s390/s390-64/configure.in: Likewise.
15907 * sysdeps/sparc/configure.in: Likewise.
15908 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15909 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15910 * sysdeps/i386/configure.in: Likewise.
15911 * sysdeps/x86_64/configure.in: Likewise.
15912 * sysdeps/sh/configure.in: Likewise.
15913 * sysdeps/s390/s390-32/configure: Regenerated.
15914 * sysdeps/s390/s390-64/configure: Likewise.
15915 * sysdeps/x86_64/configure: Likewise.
15916 * sysdeps/sh/configure: Likewise.
15917 * sysdeps/powerpc/powerpc64/configure: Likewise.
15918 * sysdeps/powerpc/powerpc32/configure: Likewise.
15919 * sysdeps/sparc/configure: Likwise.
15920 * sysdeps/i386/configure: Likewise.
15921
a66877c6
MP
15922 * elf/dl-open.c: Comment fixes.
15923
cfc82fd8
JM
159242012-07-17 Joseph Myers <joseph@codesourcery.com>
15925
bd29910a
JM
15926 * Makefile [CXX] (check-data): Remove.
15927 [CXX] (c++-types.data): New vpath directive.
15928 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15929 vpath. Do not allow for C++ type data being missing.
15930 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15931 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15932 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15933 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15934 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15935 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15936 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15938 ... here.
15939 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15941 ... here.
15942 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15944 ... here.
15945 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15947 ... here.
15948 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15950 ... here.
15951 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15953 ... here.
15954 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15956 ... here.
15957 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15959
cfc82fd8
JM
15960 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15961 definitions to architecture-specific files.
15962 (TLS_IE): Likewise.
15963 (TLS_LD): Likewise.
15964 (TLS_GD): Likewise.
15965 * sysdeps/i386/tls-macros.h: New file.
15966 * sysdeps/powerpc/tls-macros.h: Likewise.
15967 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15968 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15969 * sysdeps/sh/tls-macros.h: Likewise.
15970 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15971 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15972 * sysdeps/x86_64/tls-macros.h: Likewise.
15973
f7db3170
TS
159742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15975
07cbfc23
TS
15976 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15977 zero value for regular exit case.
15978
f7db3170
TS
15979 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15980 (__start_context): Preserve zero value for regular exit case.
15981
dc97c227
TS
159822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15983 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15984
15985 * manual/setjmp.texi (setcontext): Clarify normal process
15986 termination when uc_link is the null pointer.
15987 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15988 exit call.
15989
d0cd7d02
AS
159902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15991
15992 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15993 preprocessor. Test for each exception mask separately.
15994
dd318934
AJ
159952012-07-16 Andreas Jaeger <aj@suse.de>
15996
15997 * po/ru.po: Update from translation team.
15998
8048311a
JM
159992012-07-15 Joseph Myers <joseph@codesourcery.com>
16000
16001 * conform/data/string.h-data (NULL): Use macro-constant. Require
16002 equal to 0.
16003 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16004 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16005 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16006 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16008
b637d46e
AJ
160092012-07-13 Andreas Jaeger <aj@suse.de>
16010
16011 * po/fr.po: Update from translation team.
16012
541428fe
MP
160132012-07-12 Marek Polacek <polacek@redhat.com>
16014
16015 [BZ #14173]
16016 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16017 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16018 loop condition.
16019
ec332e94
JM
160202012-07-12 Joseph Myers <joseph@codesourcery.com>
16021
16022 [BZ #13717]
16023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16024 Change to 2.4.1 where previously 2.4.0.
16025 * sysdeps/unix/sysv/linux/configure: Regenerated.
16026 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16027 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16028 version.
16029 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16030 (__ASSUME_AT_CLKTCK): Remove.
16031 (__ASSUME_AT_PAGESIZE): Likewise.
16032 (__ASSUME_AT_XID): Likewise.
16033 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16034 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16035 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16036 unconditionally.
16037 (HAVE_AUX_PAGESIZE): Likewise.
16038 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16039 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16040 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16041
7b6e99be
JB
160422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16043
16044 [BZ #14307]
16045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16046 the temporary buffer used to invoke __gethostbyname2_r,
16047 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16048 host_data / struct gaih_addrtuple.
16049 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16050 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16051 header file nss/nsswitch.h.
16052 * nss/nsswitch.h (global scope): Add definition of implementation
16053 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16054 resolv/nss_dns/dns-host.c).
16055
608404eb
AJ
160562012-07-11 Andreas Jaeger <aj@suse.de>
16057
16058 * po/fr.po: Update from translation team.
16059
71220aca
AJ
16060 * po/sv.po: Update from translation team
16061 * po/fr.po: Another update from translation team.
16062
28cfe843
AZ
160632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16064
16065 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16066 for subnormals or multiply small sinh result by itself.
16067 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16069
6b90f981
DM
160702012-07-11 David S. Miller <davem@davemloft.net>
16071
16072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16073
c6825772
AS
160742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16075
16076 [BZ #14347]
16077 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16078 (INTERNAL_MARK): Shift it here.
16079
7b8e0d49
MP
160802012-07-10 Marek Polacek <polacek@redhat.com>
16081
16082 [BZ #14151]
16083 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16084 libc_cv_asm_global_directive with .globl.
16085 * configure: Regenerated.
16086 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16087 with .globl.
16088 * sysdeps/i386/configure: Regenerated.
16089 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16090 with .globl.
16091 * sysdeps/x86_64/configure: Regenerated.
16092 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16093 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16094 * elf/tst-unique2mod2.c: Likewise.
16095 * elf/tst-unique2mod1.c: Likewise.
16096 * elf/tst-unique1mod2.c: Likewise.
16097 * elf/tst-unique1mod1.c: Likewise.
16098 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16099 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16101 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16102 * sysdeps/mach/sysdep.h: Likewise.
16103 * sysdeps/i386/sysdep.h: Likewise.
16104 * sysdeps/i386/i386-mcount.S: Likewise.
16105 * sysdeps/x86_64/_mcount.S: Likewise.
16106 * sysdeps/x86_64/sysdep.h: Likewise.
16107 * sysdeps/sh/_mcount.S: Likewise.
16108 * sysdeps/sh/sysdep.h: Likewise.
16109 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16110 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16111 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16113 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16114 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16115 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16116 * locale/localeinfo.h: Likewise.
16117 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16118 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16119
6c55cda3
RM
161202012-07-09 Roland McGrath <roland@hack.frob.com>
16121
16122 [BZ #14336]
16123 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16124 system".
16125 * manual/message.texi (The Uniforum approach): Likewise.
16126 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16127 (glibc iconv Implementation): Likewise.
16128
638a572e
JM
161292012-07-09 Joseph Myers <joseph@codesourcery.com>
16130
16131 [BZ #14337]
16132 * math/s_clog.c (__clog): Avoid scaling a value down where that
16133 could result in underflow.
16134 * math/s_clog10.c (__clog10): Likewise.
16135 * math/s_clog10f.c (__clog10f): Likewise.
16136 * math/s_clog10l.c (__clog10l): Likewise.
16137 * math/s_clogf.c (__clogf): Likewise.
16138 * math/s_clogl.c (__clogl): Likewise.
16139 * math/libm-test.inc (clog_test): Add more tests.
16140 (clog10_test): Likewise.
16141 * sysdeps/i386/fpu/libm-test-ulps: Update.
16142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16143
261f4859
AS
161442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16145
0abaf3e4
AS
16146 [BZ #14283]
16147 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16148 by 7 not 8 to examine high bit of fractional part.
16149
261f4859
AS
16150 [BZ #14042]
16151 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16152 for call to __mcount_internal.
16153 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16154 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16155 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16156
f17ac40d
JM
161572012-07-06 Joseph Myers <joseph@codesourcery.com>
16158
9ad63c23
JM
16159 [BZ #14154]
16160 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16161 approximation for values within 0x1p-13f of an odd multiple of
16162 pi/4.
16163 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16164 exception. Add more tests.
16165 * sysdeps/i386/fpu/libm-test-ulps: Update.
16166
f17ac40d
JM
16167 [BZ #6778]
16168 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16169 inputs and return -1 for them. Do not check for +Inf in case not
16170 reachable for +Inf.
16171 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16172 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16174 and return -1 for them. Do not check for +Inf in case not
16175 reachable for +Inf.
16176 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16177 define.
16178 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16179 and return -1 for them. Do not check for +Inf in case not
16180 reachable for +Inf.
16181 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16182 spurious underflow.
16183 * sysdeps/i386/fpu/libm-test-ulps: Update.
16184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16185
fb21f89b
MF
161862012-07-06 Mike Frysinger <vapier@gentoo.org>
16187
16188 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16189
cdfe2c5e
JM
161902012-07-05 Joseph Myers <joseph@codesourcery.com>
16191
16192 [BZ #14157]
16193 [BZ #14331]
16194 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16195 could result in spurious underflow. Scale down values above
16196 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16197 * math/s_csqrtf.c (__csqrtf): Likewise.
16198 * math/s_csqrtl.c (__csqrtl): Likewise.
16199 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16200 spurious underflow.
16201 * sysdeps/i386/fpu/libm-test-ulps: Update.
16202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16203
70d35b67
AS
162042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16205
704bc459
AS
16206 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16207 xopen-msg.sed.
16208 * catgets/xopen-msg.awk: New file.
16209 * catgets/xopen-msg.sed: Removed.
16210
70d35b67
AS
16211 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16212 po2text.sed.
16213 * intl/po2test.awk: New file.
16214 * intl/po2test.sed: Removed.
16215
ca61cf32
JM
162162012-07-04 Joseph Myers <joseph@codesourcery.com>
16217
16218 [BZ #14328]
16219 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16220 or multiply small sinh result by itself.
16221 * math/s_ctanf.c (__ctanf): Likewise.
16222 * math/s_ctanh.c (__ctanh): Likewise.
16223 * math/s_ctanhf.c (__ctanhf): Likewise.
16224 * math/s_ctanhl.c (__ctanhl): Likewise.
16225 * math/s_ctanl.c (__ctanl): Likewise.
16226 * math/libm-test.inc (ctan_test_tonearest): New function.
16227 (ctan_test_towardzero): Likewise.
16228 (ctan_test_downward): Likewise.
16229 (ctan_test_upward): Likewise.
16230 (ctanh_test_tonearest): Likewise.
16231 (ctanh_test_towardzero): Likewise.
16232 (ctanh_test_downward): Likewise.
16233 (ctanh_test_upward): Likewise.
16234 (main): Call these new functions.
16235 * sysdeps/i386/fpu/libm-test-ulps: Update.
16236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16237
ca48a46a
MF
162382012-07-03 Mike Frysinger <vapier@gentoo.org>
16239
16240 * .gitignore: Delete /ports entry.
16241
9d63d37d
AJ
162422012-07-03 Andreas Jaeger <aj@suse.de>
16243
16244 * po/bg.po: Update from translation team.
16245 * po/cs.po: Likewise.
16246 * po/de.po: Likewise.
16247 * po/hr.po: Likewise.
16248 * po/nl.pl: Likewise.
16249 * po/pl.po: Likewise.
16250 * po/vi.po: Likewise.
16251
370ca3d2
JM
162522012-07-03 Joseph Myers <joseph@codesourcery.com>
16253
95f5a9a8
JM
16254 * Makeconfig [!+link] (+link-before-libc): New variable.
16255 [!+link] (+link-after-libc): Likewise.
16256 [!+link] (+link-tests): Likewise.
16257 [!+link] (+link): Define in terms of $(+link-before-libc) and
16258 $(+link-after-libc).
16259 [!+link-static] (+link-static-before-libc): New variable.
16260 [!+link-static] (+link-static-after-libc): Likewise.
16261 [!+link-static] (+link-static-tests): Likewise.
16262 [!+link-static] (+link-static): Define in terms of
16263 $(+link-static-before-libc) and $(+link-static-after-libc).
16264 [build-shared] (link-libc-before-gnulib): New variable.
16265 [build-shared] (link-libc-tests): Likewise.
16266 [build-shared] (link-libc): Define in terms of
16267 $(link-libc-before-gnulib).
16268 [!build-shared] (link-libc-tests): New variable.
16269 (link-libc-static-tests): New variable.
16270 [!gnulib] (gnulib-arch): New variable.
16271 [!gnulib] (gnulib-tests): Likewise.
16272 [!gnulib] (static-gnulib-arch): Likewise.
16273 [!gnulib] (static-gnulib-tests): Likewise.
16274 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16275 Define with "=" instead of ":=".
16276 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16277 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16278 * Rules (binaries-all-notests): New variable.
16279 (binaries-all-tests): Likewise.
16280 (binaries-static-notests): Likewise.
16281 (binaries-static-tests): Likewise.
16282 (binaries-all): Define using $(binaries-all-notests) and
16283 $(binaries-all-tests).
16284 (binaries-static): Define using $(binaries-static-notests) and
16285 $(binaries-static-tests).
16286 (binaries-shared-tests): New variable.
16287 (binaries-shared-notests): Likewise.
16288 (binaries-shared): Remove variable.
16289 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16290 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16291 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16292 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16293 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16294 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16295 * elf/Makefile (sln-modules): New variable.
16296 (extra-objs): Add $(sln-modules:=.o).
16297 (ldconfig-modules): Add static-stubs.
16298 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16299 * elf/static-stubs.c: New file.
16300
7a845b2c
JM
16301 [BZ #14283]
16302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16303 by 7 not 8 to examine high bit of fractional part. Use volatile
16304 variables when splitting into final array of floats if
16305 __FLT_EVAL_METHOD__ != 0.
16306 * math/libm-test.inc (cos_test): Add another test.
16307 (sin_test): Likewise.
16308 * sysdeps/i386/fpu/libm-test-ulps: Update.
16309
e2283f38
JM
16310 [BZ #14273]
16311 * math/libm-test.inc (cosh_test): Add more tests.
16312
370ca3d2
JM
16313 * version.h (RELEASE): Set to "development".
16314 (VERSION): Set to "2.16.90".
16315
ee9247c3
CD
163162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16317
16318 * NEWS: Update copyright. Remove last-updated date.
16319 Mention math library bug fixes and timezone data changes.
16320 * README: Mention GNU/Hurd, x32, and HPPA support status.
16321
4648c381
TS
163222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16323
16324 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16325
aac78a43
AJ
163262012-06-27 Andreas Jaeger <aj@suse.de>
16327
16328 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16329
ed3dbfad
AJ
163302012-06-25 Andreas Jaeger <aj@suse.de>
16331
16332 * sysdeps/s390/fpu/libm-test-ulps: Update.
16333
4d0ee855
AS
163342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16335 Thomas Schwinge <thomas@codesourcery.com>
16336
16337 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16338 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16340 fanotify_mark.
16341
af1bce34
TS
163422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16343
a9fa33ba
TS
16344 * sysdeps/mach/start.c: Remove file.
16345 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16346 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16347 * sysdeps/sh/init-first.c: Likewise.
16348
58f902b8
TS
16349 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16350 registers for frame unwinding purposes, add CFI directives.
16351 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16352 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16353 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16354 Likewise.
16355
1518f58b
TS
16356 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16357 __fortify_fail returning.
16358 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16359
db9b5059
TS
16360 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16361 sysdeps/sh/____longjmp_chk.S.
16362 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16363 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16364 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16365 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16366
967705fe
TS
16367 * sysdeps/sh/abort-instr.h: New file.
16368 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16369 process in case exit returns.
16370
a9def8c4
TS
16371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16372 initialize the GOT register before use.
16373
2a649725
TS
16374 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16375 calculation of ARGC > 4.
16376
af1bce34
TS
16377 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16378 meaningful names to some local labels.
16379
d230f50a
KK
163802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16381 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16382
16383 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16384 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16385 (__arch_compare_and_exchange_val_16_acq): Likewise.
16386 (__arch_compare_and_exchange_val_32_acq): Likewise.
16387 (atomic_exchange_and_add): Fix gUSA sequence.
16388 (atomic_add): Likewise.
16389 (atomic_add_negative): Likewise.
16390 (atomic_add_zero): Likewise.
16391 (atomic_bit_test_set): Likewise.
16392
0479b305
AS
163932012-06-22 Andreas Schwab <schwab@redhat.com>
16394
16395 [BZ #13579]
16396 * include/link.h (struct link_map): Add l_free_initfini.
16397 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16398 l_initfini.
16399 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16400 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16401 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16402 set.
16403
0e3933b9
CD
164042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16405
16406 * configure.in: Use AC_LANG_SOURCE.
16407 * configure: Regenerate.
16408
4248b1b1
RM
164092012-06-22 Roland McGrath <roland@hack.frob.com>
16410
16411 * configure.in (libc_cv_localstatedir): New substituted variable.
16412 * configure: Regenerated.
16413 * config.make.in (localstatedir): New variable, substituted from
16414 libc_cv_localstatedir.
16415 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16416 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16417 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16418 * sysdeps/gnu/configure: Regenerated.
16419
006dd861
JL
164202012-06-21 Jeff Law <law@redhat.com>
16421
16422 [BZ #14277]
16423 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16424 free. Simplify list management for _LIBC case.
16425
79662d42
JM
164262012-06-21 Joseph Myers <joseph@codesourcery.com>
16427
b7abb4bf
JM
16428 [BZ #14273]
16429 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16430 Clear sign bit of 64-bit integer value before comparing against
16431 overflow value.
16432
79662d42
JM
16433 * sysdeps/mach/configure: Regenerated.
16434
1f150908
L
164352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16436
16437 [BZ #14278]
16438 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16439
28363bbf
JL
164402012-06-21 Jeff Law <law@redhat.com>
16441
16442 [BZ #13882]
16443 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16444 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16446 * elf/dl-open.c (dl_open_worker): Likewise.
16447
09615db4
CD
164482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16449
16450 * scripts/list-sources.sh: Scan PORTS for translations.
16451 * po/libc.pot: Regenerated.
16452
2174c6dd
AJ
164532012-06-21 Andreas Jaeger <aj@suse.de>
16454
16455 [BZ #12194]
16456 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16457 warning.
16458 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16459 * bits/byteswap-16.h (__bswap_16): Likewise.
16460 * bits/byteswap.h (__bswap_constant_16): Likewise.
16461
3ee947b1
L
164622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16463
16464 [BZ #14117]
a2f34833
L
16465 * sysdeps/i386/fpu_control.h: Removed.
16466 * sysdeps/x86_64/fpu_control.h: Moved to ...
16467 * sysdeps/x86/fpu_control.h: Here.
16468
3ee947b1
L
16469 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16470 (_FPU_SETCW): Likewise.
16471
ed1825f8
L
164722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16473
25f1282a
L
16474 [BZ #14117]
16475 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16476 * sysdeps/x86/fpu/bits/mathinline.h: This.
16477 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16478
ed1825f8
L
16479 [BZ #14050]
16480 [BZ #14117]
16481 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16482 functions if __x86_64__ is defined.
16483
36d54b74
CLT
164842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16485
16486 * string/endian.h: Add !__ASSEMBLER__ condition for including
16487 conversion interfaces.
16488
10285c21
JM
164892012-06-15 Joseph Myers <joseph@codesourcery.com>
16490
16491 [BZ #14241]
16492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16493 of ABS(x) in calculating zero to negative powers other than odd
16494 integers.
16495 * math/libm-test.inc (pow_test): Add more tests.
16496
06c5abbd
AJ
164972012-06-15 Andreas Jaeger <aj@suse.de>
16498
16499 * manual/contrib.texi (Contributors): Update entry of Liubov
16500 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16501 Machado Filho.
16502
a3aeac40
CH
165032012-06-15 Cyril Hrubis <metan@ucw.cz>
16504
16505 * string/string.h: Add __wur to GNU version of strerror_r.
16506
49bdf4c1
L
165072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16508
16509 [BZ #14229]
16510 * string/Makefile (tests): Add tst-strtok_r.
16511 * string/tst-strtok_r.c: New file.
16512 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16513 RAX_LP/RDX_LP on SAVE_PTR.
16514
834f9b8d
RM
165152012-06-14 Roland McGrath <roland@hack.frob.com>
16516
16517 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16518
75fa1921
JM
165192012-06-14 Joseph Myers <joseph@codesourcery.com>
16520
16521 * libm_test.inc (csqrt_test): Allow more spurious underflow
16522 exceptions.
16523 (j0_test): Likewise.
16524 (j1_test): Likewise.
16525 (y0_test): Likewise.
16526 (y1_test): Likewise.
16527
771766df
CD
165282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16529
16530 * po/Makefile (libc.pot): Use UTF-8 charset.
16531
ceb9e56b
PP
165322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16533
16534 [BZ #14210]
16535 Suppress sign-conversion warning from FD_SET.
16536 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16537 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16538 not unsigned long int.
16539 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16540
ddb28975
L
165412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16542
16543 [BZ #14050]
16544 [BZ #14117]
16545 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16546 __extern_always_inline instead of __extern_inline.
16547 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16548 (__signbit): Likewise.
16549 (__signbitl): Support C++ namespace.
16550 (lrintf): New inline function.
16551 (lrint): Likewise.
16552 (llrintf): Likewise.
16553 (llrint): Likewise.
16554 (fmaxf): Likewise.
16555 (fmax): Likewise.
16556 (fminf): Likewise.
16557 (fmin): Likewise.
16558 (rint): Likewise.
16559 (rintf): Likewise.
16560 (ceil): Likewise.
16561 (ceilf): Likewise.
16562 (floor): Likewise.
16563 (floorf): Likewise.
16564 (nearbyint): Likewise.
16565 (nearbyintf): Likewise.
16566
d7b4fb26
TS
165672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16568
16569 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16570 non-default versions.
16571
eb55f5c2
RM
165722012-06-11 Roland McGrath <roland@hack.frob.com>
16573
16574 [BZ #14218]
16575 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16576
366af02c
TS
165772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16578
99ff6e5c
TS
16579 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16580 (FE_UPWARD, FE_DOWNWARD): Don't define.
16581 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16582 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16583
366af02c
TS
16584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16585 reading it.
16586 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16587 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16588
793ea851
KK
165892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16590
16591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16593 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16594 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16595
a728a38f
L
165962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16597
16598 [BZ #14117]
c08010c7
L
16599 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16600 * sysdeps/i386/fpu/Implies: New file.
16601 * sysdeps/x86_64/fpu/Implies: Likewise.
16602 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16603 * sysdeps/x86/fpu/bits/fenv.h: This.
16604
a728a38f
L
16605 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16606 __SSE_MATH__.
16607
6e230d11
SP
166082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16609
16610 [BZ #14134]
16611 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16612 character 0xffff that matches the last element of the
16613 conversion table.
16614
1b671feb
AZ
166152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16616
16617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16618 fmodl commit.
16619
6043738b
AZ
166202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16621
16622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16623 values higher than 25.6283.
16624
34ae0b32
AZ
166252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16626
16627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16628 subnormal exponent extraction and add some __builtin_expect.
16629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16630 Fix for subnormal mantissa calculation.
16631
1214ec8f
MF
166322012-06-04 Mike Frysinger <vapier@gentoo.org>
16633
16634 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16635 cpu2 is -1 and errno is not ENOSYS.
16636
f3d1f93c
L
166372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16638
16639 [BZ #14117]
0e4a3cd7
L
16640 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16641 * sysdeps/x86/bits/string.h: This.
16642 * sysdeps/x86_64/bits/string.h: Removed.
16643
6704c645
L
16644 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16645 if not compiling for x86-64, but compiling for >= i486.
16646
48495318
L
16647 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16648 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16649
14adcbfc
L
16650 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16651 New macro from Linux kernel 3.4.0.
16652 (FP_XSTATE_MAGIC2): Likewise.
16653 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16654 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16655 (struct _fpx_sw_bytes): New struct.
16656 (struct _xsave_hdr): Likewise.
16657 (struct _ymmh_state): Likewise.
16658 (struct _xstate): Likewise.
16659
68e408ab
L
16660 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16661 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16662 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16663 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16664 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16665 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16666
f3d1f93c
L
16667 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16668 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16669 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16670 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16671 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16672 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16673
d9dc34cd
TMQMF
166742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16675
16676 [BZ #13743]
16677 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16678 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16679 (sysdep_headers): Include sys/platform/ppc.h.
16680 * sysdeps/powerpc/test-gettimebase.c: Test for
16681 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16682 * manual/Makefile (appendices): Include platform.texi.
16683 * manual/contrib.texi (Contributors): Update @node pointers.
16684 * manual/maint.texi (Maintenance): Likewise.
16685 (Platform): New node.
16686 * manual/platform.texi: New file. Document the new features.
16687
4af3879c
SP
166882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16689 Jakub Jelinek <jakub@redhat.com>
16690
16691 [BZ #14188]
16692 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16693 where __builtin_expect is unavailable.
16694
2fd6ff13
DM
166952012-06-03 David S. Miller <davem@davemloft.net>
16696
16697 * stdlib/longlong.h: Updated from GCC.
16698
173f7220
AS
166992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16700
16701 [BZ #14042]
16702 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16703 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16704 __mcount_internal.
16705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16706 (GLIBC_2.16): Likewise.
16707
f34a1c6f
L
167082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16709
16710 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16711
88a4576f
JM
167122012-06-01 Joseph Myers <joseph@codesourcery.com>
16713
ea32bcdd
JM
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16715 (default-abi): New variable.
16716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16717 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16718 variable.
16719 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16720 Likewise.
16721 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16722 Likewise.
16723 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16724 Likewise.
16725
88a4576f
JM
16726 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16727 definition. Document in comment.
16728
402fe938
DM
167292012-06-01 David S. Miller <davem@davemloft.net>
16730
16731 * stdlib/longlong.h: Updated from GCC.
16732
3553723f
L
167332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16734
16735 [BZ #14117]
3bd872c4
L
16736 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16737 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16738 sys/debugreg.h sys/io.h here.
16739 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16740 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16741 sys/io.h.
16742 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16743 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16744 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16745 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16746 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16747 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16748
3553723f
L
16749 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16750 Define only if __x86_64__ is defined.
16751
4842e4fe
JM
167522012-06-01 Joseph Myers <joseph@codesourcery.com>
16753
c5bfe3d5
JM
16754 [BZ #14048]
16755 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16756 Use int64_t for variable i.
16757 * math/libm-test.inc (fmod_test): Add more tests.
16758
4842e4fe
JM
16759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16760 z computation is not scheduled after fetestexcept.
16761 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16762 Use math_force_eval instead of asm to ensure calculation scheduled
16763 before exception test.
16764 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16765 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16766
efb73488
AJ
167672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16768
16769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16770 computation is not scheduled after fetestexcept.
16771
29bcce7c
L
167722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16773
16774 [BZ #14117]
16775 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16776 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16777
73a68f94
AZ
167782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16779
16780 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16781 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16782
67b6df78
L
167832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16784
edf2933a 16785 [BZ #14117]
ebc64a18
L
16786 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16787 <bits/wordsize.h>.
16788 (__WCHAR_MIN): Support __WORDSIZE == 64.
16789 (__WCHAR_MAX): Likewise.
16790
edf2933a
L
16791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16792 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16793
57c6cf40
L
16794 [BZ #14183]
16795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16796 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16797
67b6df78 16798 [BZ #14117]
8eb6281e
L
16799 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16800 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16801
aac639f4
L
16802 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16803 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16804
67b6df78
L
16805 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16806 Defined to 1 if __x86_64__ isn't defined.
16807 (_STAT_VER_LINUX_OLD): New.
16808 (st_atime): Remove duplicate.
16809 (st_mtime): Likewise.
16810 (st_ctime): Likewise.
16811
1c2cfe81
DM
168122012-05-31 David S. Miller <davem@davemloft.net>
16813
16814 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16815 entries.
16816
5be8418c
AS
168172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16818
e7725326
AS
16819 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16820 gen-libm-test.pl.
16821
5be8418c
AS
16822 [BZ #14132]
16823 * elf/dl-reloc.c: Include <_itoa.h>.
16824 (_dl_reloc_bad_type): Remove use of INTUSE.
16825 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16826 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16827 * stdio-common/psiginfo.c (psiginfo): Likewise.
16828 * stdio-common/psignal.c (psignal): Likewise.
16829 * string/strsignal.c (strsignal): Likewise.
16830 * include/signal.h (_sys_siglist): Declare hidden proto.
16831 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16832 INTVARDEF with libc_hidden_data_def.
16833 * stdio-common/itoa-udigits.c: Likewise.
16834 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16835 (_itoa_lower_digits_internal): Remove declaration.
16836 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16837 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16838 (_sys_sigabbrev_internal): Remove aliases.
16839 (_sys_siglist): Define hidden alias.
16840
507352f1
MT
168412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16842
16843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16844 bits/sysctl.h.
16845
42bbb1c3
L
168462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16847
16848 [BZ #14117]
6bd784b6
L
16849 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16850 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16851
8bca20f0
L
16852 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16853 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16854 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16855 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16856 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16857 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16858
f9e890a9
L
16859 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16860 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16861 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16862
471101a1
L
16863 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16864 with __addr.
16865 (insw): Likewise.
16866 (insl): Likewise.
16867 (outsb): Likewise.
16868 (outsw): Likewise.
16869 (outsl): Likewise.
16870
6451c862
L
16871 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16872 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16873 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16874
a254b8c9
L
16875 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16876 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16878 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16879 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16880 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16881
b8dfdd92
L
16882 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16883 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16884
578cd270
L
16885 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16886 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16887
de662f5f
L
16888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16889 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16890 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16891
25653439
L
16892 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16893 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16894 to ...
16895 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16896
6bad24a0
L
16897 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16898 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16899 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16900
42bbb1c3
L
16901 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16902 for x86-64.
16903 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16904
2d10d547
JM
169052012-05-31 Joseph Myers <joseph@codesourcery.com>
16906
16907 * math/math.h (M_El): Use two more decimal places.
16908 (M_LOG2El): Likewise.
16909 (M_LOG10El): Likewise.
16910 (M_LN2l): Likewise.
16911 (M_LN10l): Likewise.
16912 (M_PIl): Likewise.
16913 (M_PI_2l): Likewise.
16914 (M_PI_4l): Likewise.
16915 (M_1_PIl): Likewise.
16916 (M_2_PIl): Likewise.
16917 (M_2_SQRTPIl): Likewise.
16918 (M_SQRT2l): Likewise.
16919 (M_SQRT1_2l): Likewise.
16920
f230c29b
DM
169212012-05-31 David S. Miller <davem@davemloft.net>
16922
16923 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16924 values between float registers.
16925 * sysdeps/sparc/sparc64/memset.S: Likewise.
16926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16927
fed806c3
MF
169282012-05-31 Mike Frysinger <vapier@gentoo.org>
16929
16930 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16931 -D_FORTIFY_SOURCE=1.
16932 (CPPFLAGS-tst-longjmp_chk.c): Define.
16933 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16934 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16935 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16936 CFLAGS-tst-wchar-h.c.
16937
30917259
MP
169382012-05-31 Marek Polacek <polacek@redhat.com>
16939
16940 [BZ #14132]
16941 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16942 __endmntent_internal): Remove declaration.
16943 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16944 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16945 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16946
1c58d5dc
DM
169472012-05-30 David S. Miller <davem@davemloft.net>
16948
16949 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16950 (___Q_simulate_exceptions): Use real FP ops rather than writing
16951 into the %fsr.
16952 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16953 Likewise.
16954
7dc00e0d
L
169552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16956
16957 [BZ #14117]
0bd53985
L
16958 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16959 * sysdeps/x86/bits/xtitypes.h: This.
16960
3a257e66
L
16961 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16962 * sysdeps/x86/bits/wordsize.h: This.
16963
62f62904
L
16964 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16965 * sysdeps/x86/bits/huge_vall.h: This.
16966
404fe9d9
L
16967 * sysdeps/i386/bits/select.h: Removed.
16968 * sysdeps/x86_64/bits/select.h: Renamed to ...
16969 * sysdeps/x86/bits/select.h: This.
16970
d48d0446
L
16971 * sysdeps/i386/bits/setjmp.h: Removed.
16972 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16973 * sysdeps/x86/bits/setjmp.h: This.
16974
7dc00e0d
L
16975 * sysdeps/i386/bits/mathdef.h: Removed.
16976 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16977 * sysdeps/x86/bits/mathdef.h: This.
16978
03277f8f
AS
169792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16980
16981 [BZ #14132]
16982 * include/sys/socket.h (__connect_internal)
16983 (__libc_sa_len_internal): Remove declaration.
16984 (__connect, __libc_sa_len): Declare hidden_proto.
16985 (SA_LEN): Remove use of INTUSE.
16986 * socket/connect.c: Add libc_hidden_def.
16987 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16988 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16989 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16990 alias.
16991 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16992 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16993 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16994 of adding _internal alias.
16995
13764867
L
169962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16997
16998 [BZ #14117]
6bd97696
L
16999 * sysdeps/i386/bits/link.h: Removed.
17000 * sysdeps/i386/bits/linkmap.h: Likewise.
17001 * sysdeps/x86_64/bits/link.h: Renamed to ...
17002 * sysdeps/x86/bits/link.h: This.
17003 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17004 * sysdeps/x86/bits/linkmap.h: This.
17005
f726f0bb
L
17006 * sysdeps/i386/bits/endian.h: Removed.
17007 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17008 * sysdeps/x86/bits/endian.h: This.
17009
13764867
L
17010 * sysdeps/i386/bits/byteswap.h: Removed.
17011 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17012 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17013 * sysdeps/x86/bits/byteswap.h: This.
17014 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17015 * sysdeps/x86/bits/byteswap-16.h: This.
17016 * sysdeps/i386/Implies: Add x86.
17017 * sysdeps/x86_64/Implies: Likewise.
17018
ae251b0b
DM
170192012-05-30 David S. Miller <davem@davemloft.net>
17020
17021 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17022 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17023 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17024 (FP_TRAPPING_EXCEPTIONS): Define.
17025 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17026 (FP_TRAPPING_EXCEPTIONS): Define.
17027 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17028 subnormals only when inexact has been signalled or underflow
17029 exceptions are enabled.
17030 (_FP_PACK_CANONICAL): Likewise.
17031
d5c90867
L
170322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17033
17034 [BZ #14183]
17035 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17036 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17037
63f1549e
RH
170382012-05-30 Richard Henderson <rth@twiddle.net>
17039
8d8f2279
RH
17040 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17041 with #ifndef NOT_IN_libc.
17042
63f1549e
RH
17043 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17044 marked to avoid plt entry.
17045
0ab0291b
L
170462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17047
17048 [BZ #14112]
17049 * Makeconfig (default-abi): New macro.
17050 (abi-includes): Likewise.
17051 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17052 $(abi-$(default-abi)-lib-soname) for soname if defined.
17053 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17054 abi-variants.
17055 * Makefile (installed-stubs): Likewise.
17056 * include/stubs-biarch.h: Removed.
17057 * scripts/lib-names.awk: Only handle one library at a time.
17058 * scripts/soversions.awk: Remove WORDSIZE support.
17059 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17060 entries.
17061 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17062 Removed.
17063 (syscall-list-default-condition): Likewise.
17064 (syscall-list-default-condition): Likewise.
17065 (syscall-list-includes): Likewise.
17066 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17067 syscall-list-* with abi-*. Handle undefined abi-variants.
17068 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17069 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17070 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17071 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17072 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17073 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17074 Removed.
17075 (syscall-list-32-options): Likewise.
17076 (syscall-list-32-condition): Likewise.
17077 (syscall-list-64-options): Likewise.
17078 (syscall-list-64-condition): Likewise.
17079 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17080 macro.
17081 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17082 Renamed to ...
17083 (abi-*): This.
17084 (abi-64-ld-soname): New macro.
17085 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17086 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17087 Renamed to ...
17088 (abi-*): This.
17089 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17090 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17091
4da0431d
JM
170922012-05-30 Joseph Myers <joseph@codesourcery.com>
17093
3a85279c
JM
17094 * sysdeps/unix/sysv/linux/kernel-features.h
17095 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17096 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17097 include <kernel-features.h>.
17098 [!__NR_ftruncate64]: Remove conditional code.
17099 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17100 [__NR_ftruncate64]: Make code unconditional.
17101 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17102 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17103 include <kernel-features.h>.
17104 [!__NR_ftruncate64]: Remove conditional code.
17105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17106 [__NR_ftruncate64]: Make code unconditional.
17107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17109 include <kernel-features.h>.
17110 [!__NR_ftruncate64]: Remove conditional code.
17111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17112 [__NR_ftruncate64]: Make code unconditional.
17113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17115 include <kernel-features.h>.
17116 [!__NR_ftruncate64]: Remove conditional code.
17117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17118 [__NR_ftruncate64]: Make code unconditional.
17119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17120
4da0431d
JM
17121 * configure.in (libc_cv_fpie): Weaken to a compile test using
17122 LIBC_TRY_CC_OPTION.
17123 * configure: Regenerated.
17124
11ef492c
AK
171252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17126
17127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17131 Refreshed.
17132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17138 Refreshed.
17139
d66ef399
DM
171402012-05-27 David S. Miller <davem@davemloft.net>
17141
17142 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17143 (___Q_zero): New.
17144 (__Q_simulate_exceptions): Return void. Change to simulate
17145 exceptions by writing into the %fsr.
17146 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17147 (__Qp_handle_exceptions): Likewise.
17148 (numbers): Delete.
17149 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17150 __Qp_handle_exceptions.
17151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17152 __Qp_handle_exceptions.
17153 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17154 as unused and give dummy FP_RND_NEAREST initializer.
17155 (FP_INHIBIT_RESULTS): Define.
17156 (___Q_simulate_exceptions): Update declaration.
17157 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17158 formatting.
17159 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17160 as unused and give dummy FP_RND_NEAREST initializer.
17161 (__Qp_handle_exceptions): Update declaration.
17162 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17163 formatting.
17164
04fb54b5
TS
171652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17166
17167 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17168 the temporary FPU control word.
17169 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17170 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17171 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17172 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17173 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17174 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17175 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17176 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17177 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17178 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17179 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17180
3f99608f
KK
171812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17182
17183 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17184 fields.
17185
65a4de4e
CLT
171862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17187
17188 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17189 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17190 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17191 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17192 Likewise.
17193 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17194 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17195 Likewise.
17196
15749d40
UD
171972012-05-27 Ulrich Drepper <drepper@gmail.com>
17198
17199 * po/h.po: Update from translation team.
17200
25dbcb27
AS
172012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17202
3d3f8e55
AS
17203 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17204
25dbcb27
AS
17205 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17206 handling of denormals.
17207 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17208 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17209 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17210 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17214 Likewise.
17215
7ad47a80 172162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17217
17218 [BZ #14152]
17219 * math/libm-test.inc (fma_test): Don't always expect underflow
17220 exception.
17221
9c6ea9fa
SP
172222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17223
17224 [BZ #12416]
17225 * elf/tst-execstack.c: Include stackinfo.h.
17226 (do_test): Adjust test case to ensure that pthread_getattr_np
17227 behaviour remains the same after marking stack executable.
17228
a8239222
JM
172292012-05-25 Joseph Myers <joseph@codesourcery.com>
17230
17231 * sysdeps/unix/sysv/linux/kernel-features.h
17232 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17233 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17234 kernel-features.h.
17235 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17236 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17237 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17238 kernel-features.h.
17239 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17240 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17241
918b5606
L
172422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17243
17244 * configure.in: Define the default includes to being none.
17245 * configure: Regenerated.
17246
3a097cc7
RM
172472012-05-25 Roland McGrath <roland@hack.frob.com>
17248
8422c9a5
RM
17249 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17250 * sysdeps/x86_64/setjmp.S: Likewise.
17251 * sysdeps/i386/bsd-setjmp.S: Likewise.
17252 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17253 * sysdeps/i386/setjmp.S: Likewise.
17254 * sysdeps/i386/__longjmp.S: Likewise.
17255 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17256 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17257
3a097cc7
RM
17258 * include/stap-probe.h: New file.
17259 * configure.in: Handle --enable-systemtap.
17260 * configure: Regenerated.
17261 * config.h.in (USE_STAP_PROBE): New #undef.
17262 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17263 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17264 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17265
21708942
JM
172662012-05-25 Joseph Myers <joseph@codesourcery.com>
17267
17268 [BZ #13717]
17269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17270 to 2.4.0 where earlier.
17271 * sysdeps/unix/sysv/linux/configure: Regenerated.
17272 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
17281 [__ASSUME_32BITUIDS]: Make code unconditional.
17282 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17283 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17284 <kernel-features.h>.
17285 [__ASSUME_32BITUIDS]: Make code unconditional.
17286 [!__ASSUME_32BITUIDS]: Remove conditional code.
17287 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17288 <kernel-features.h>.
17289 [__ASSUME_32BITUIDS]: Make code unconditional.
17290 [!__ASSUME_32BITUIDS]: Remove conditional code.
17291 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17292 <kernel-features.h>.
17293 [__ASSUME_32BITUIDS]: Make code unconditional.
17294 [!__ASSUME_32BITUIDS]: Remove conditional code.
17295 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17296 <kernel-features.h>.
17297 [__ASSUME_32BITUIDS]: Make code unconditional.
17298 [!__ASSUME_32BITUIDS]: Remove conditional code.
17299 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17300 <kernel-features.h>.
17301 [__ASSUME_32BITUIDS]: Make code unconditional.
17302 [!__ASSUME_32BITUIDS]: Remove conditional code.
17303 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17304 <kernel-features.h>.
17305 [__ASSUME_32BITUIDS]: Make code unconditional.
17306 [!__ASSUME_32BITUIDS]: Remove conditional code.
17307 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17308 <kernel-features.h>.
17309 [__ASSUME_32BITUIDS]: Make code unconditional.
17310 [!__ASSUME_32BITUIDS]: Remove conditional code.
17311 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17312 <kernel-features.h>.
17313 [__ASSUME_32BITUIDS]: Make code unconditional.
17314 [!__ASSUME_32BITUIDS]: Remove conditional code.
17315 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17316 <kernel-features.h>.
17317 [__ASSUME_32BITUIDS]: Make code unconditional.
17318 [!__ASSUME_32BITUIDS]: Remove conditional code.
17319 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17320 <kernel-features.h>.
17321 [__ASSUME_32BITUIDS]: Make code unconditional.
17322 [!__ASSUME_32BITUIDS]: Remove conditional code.
17323 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17324 <kernel-features.h>.
17325 [__NR_setresgid] (__setresgid): Do not declare.
17326 [__ASSUME_32BITUIDS]: Make code unconditional.
17327 [!__ASSUME_32BITUIDS]: Remove conditional code.
17328 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17329 <kernel-features.h>.
17330 [__NR_setresuid] (__setresuid): Do not declare.
17331 [__ASSUME_32BITUIDS]: Make code unconditional.
17332 [!__ASSUME_32BITUIDS]: Remove conditional code.
17333 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17334 <kernel-features.h>.
17335 [__ASSUME_32BITUIDS]: Make code unconditional.
17336 [!__ASSUME_32BITUIDS]: Remove conditional code.
17337 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17338 <kernel-features.h>.
17339 [__ASSUME_32BITUIDS]: Make code unconditional.
17340 [!__ASSUME_32BITUIDS]: Remove conditional code.
17341 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17342 <kernel-features.h>.
17343 [__ASSUME_32BITUIDS]: Make code unconditional.
17344 [!__ASSUME_32BITUIDS]: Remove conditional code.
17345 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17346 <kernel-features.h>.
17347 [__ASSUME_32BITUIDS]: Make code unconditional.
17348 [!__ASSUME_32BITUIDS]: Remove conditional code.
17349 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17350 <kernel-features.h>.
17351 [__ASSUME_32BITUIDS]: Make code unconditional.
17352 [!__ASSUME_32BITUIDS]: Remove conditional code.
17353 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17354 <kernel-features.h>.
17355 [__ASSUME_32BITUIDS]: Make code unconditional.
17356 [!__ASSUME_32BITUIDS]: Remove conditional code.
17357 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17358 <kernel-features.h>.
17359 [__ASSUME_32BITUIDS]: Make code unconditional.
17360 [!__ASSUME_32BITUIDS]: Remove conditional code.
17361 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17362 <kernel-features.h>.
17363 [__ASSUME_32BITUIDS]: Make code unconditional.
17364 [!__ASSUME_32BITUIDS]: Remove conditional code.
17365 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17366 <kernel-features.h>.
17367 [__ASSUME_32BITUIDS]: Make code unconditional.
17368 [!__ASSUME_32BITUIDS]: Remove conditional code.
17369 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17370 <kernel-features.h>.
17371 [__ASSUME_32BITUIDS]: Make code unconditional.
17372 [!__ASSUME_32BITUIDS]: Remove conditional code.
17373 * sysdeps/unix/sysv/linux/kernel-features.h
17374 (__ASSUME_SETRESUID_SYSCALL): Remove.
17375 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17376 (__ASSUME_32BITUIDS): Likewise.
17377 (__ASSUME_LDT_WORKS): Likewise.
17378 (__ASSUME_O_DIRECTORY): Likewise.
17379 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17380 architecture but not kernel version.
17381 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17382 (__ASSUME_MMAP2_SYSCALL): Likewise.
17383 (__ASSUME_STAT64_SYSCALL): Likewise.
17384 (__ASSUME_IPC64): Likewise.
17385 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17386 <kernel-features.h>.
17387 [__ASSUME_32BITUIDS]: Make code unconditional.
17388 [!__ASSUME_32BITUIDS]: Remove conditional code.
17389 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17390 <kernel-features.h>.
17391 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17392 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17393 132096]: Remove conditional code.
17394 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17395 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17396 <kernel-features.h>.
17397 [__ASSUME_32BITUIDS]: Make code unconditional.
17398 [!__ASSUME_32BITUIDS]: Remove conditional code.
17399 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17400 <kernel-features.h>.
17401 [__ASSUME_32BITUIDS]: Make code unconditional.
17402 [!__ASSUME_32BITUIDS]: Remove conditional code.
17403 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17404 <kernel-features.h>.
17405 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17406 unconditional.
17407 (__setresgid): Do not declare.
17408 [__ASSUME_32BITUIDS]: Make code unconditional.
17409 [!__ASSUME_32BITUIDS]: Remove conditional code.
17410 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17411 <kernel-features.h>.
17412 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17413 unconditional.
17414 (__setresuid): Do not declare.
17415 [__ASSUME_32BITUIDS]: Make code unconditional.
17416 [!__ASSUME_32BITUIDS]: Remove conditional code.
17417 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17418 <kernel-features.h>.
17419 [__ASSUME_32BITUIDS]: Make code unconditional.
17420 [!__ASSUME_32BITUIDS]: Remove conditional code.
17421 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17422 <kernel-features.h>.
17423 [__ASSUME_32BITUIDS]: Make code unconditional.
17424 [!__ASSUME_32BITUIDS]: Remove conditional code.
17425
a386f1cc
RH
174262012-05-25 Richard Henderson <rth@twiddle.net>
17427
17428 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17429 dl_hwcap to ifunc resolver.
17430 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17431 elf_ifunc_invoke.
17432 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17433 dl_hwcap to ifunc resolver.
17434 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17435
b6550497
JM
174362012-05-24 Joseph Myers <joseph@codesourcery.com>
17437
17438 [BZ #14153]
17439 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17440 for |x| <= 2**-26, not 2**-57.
17441 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17442 exception.
17443
b0bc23a1
JL
174442012-05-24 Jeff Law <law@redhat.com>
17445
17446 * stdio-common/Makefile (tests): Add bug25.
17447 * stdio-common/bug25.c: New test.
17448
347c92e9
L
174492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17450
17451 [BZ #13576]
17452 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17453 multiple of MALLOC_ALIGNMENT in size.
17454 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17455
6bcc8b3f
JM
174562012-05-24 Joseph Myers <joseph@codesourcery.com>
17457
17458 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17459 Require >= 256.
17460 (FILENAME_MAX): Use macro-int-constant.
17461 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17462 (_IOFBF): Use macro-int-constant.
17463 (_IOLBF): Likewise.
17464 (_IONBF): Likewise.
17465 (SEEK_CUR): Likewise.
17466 (SEEK_END): Likewise.
17467 (SEEK_SET): Likewise.
17468 (TMP_MAX): Likewise.
17469 (EOF): Use macro-int-constant. Require < 0.
17470 (NULL): Use macro-constant. Require == 0.
17471 (stdin): Require type to be FILE *.
17472 (stdout): Likewise.
17473 (stderr): Likewise.
17474 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17475 macro-int-constant.
17476 (EXIT_SUCCESS): Likewise.
17477 (NULL): Use macro-constant. Require == 0.
17478 (RAND_MAX): Use macro-int-constant.
17479 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17480 [C99-based standards] (strtof): Require function.
17481 [C99-based standards] (strtold): Likewise.
17482 [C99-based standards] (strtoll): Likewise.
17483 [C99-based standards] (strtoull): Likewise.
17484 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17485 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17486 [ISO || ISO99 || ISO11] (math.h): Likewise.
17487 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17488 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17490
d18ea0c5
AS
174912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17492
17493 [BZ #14132]
56d25bb8
AS
17494 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17495 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17496 * intl/dgettext.c (DCGETTEXT): Likewise.
17497 * intl/gettext.c (DCGETTEXT): Likewise.
17498 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17499 * posix/regex_internal.h (gettext): Likewise.
17500 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17501 Remove declaration.
17502 * include/argz.h (__argz_count_internal)
17503 (__argz_stringify_internal): Remove declaration.
17504 (__argz_count, __argz_stringify): Declare hidden proto.
17505 * intl/dcgettext.c: Remove use of INTDEF.
17506 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17507 * string/argz-stringify.c: Likewise.
17508 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17509 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17510 Declare hidden proto.
d18ea0c5
AS
17511 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17512 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17513 Declare hidden proto.
17514 * include/stdio.h (__asprintf_internal): Don't declare.
17515 (__asprintf): Don't define as macro. Declare hidden proto.
17516 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17517 (__fsetlocking): Declare hidden proto.
17518 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17519 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17520 hidden proto.
17521 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17522 (_IO_setlinebuf): Remove use of INTUSE.
17523 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17524 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17525 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17526 Remove declaration.
17527 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17528 (_IO_do_flush): Remove use of INTUSE.
17529 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17530 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17531 (_IO_adjust_column, _IO_least_wmarker)
17532 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17533 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17534 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17535 (_IO_default_doallocate, _IO_wdefault_doallocate)
17536 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17537 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17538 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17539 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17540 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17541 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17542 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17543 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17544 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17545 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17546 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17547 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17548 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17549 proto.
17550 (_IO_flush_all_internal, _IO_adjust_column_internal)
17551 (_IO_default_uflow_internal, _IO_default_finish_internal)
17552 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17553 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17554 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17555 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17556 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17557 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17558 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17559 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17560 (_IO_file_close_internal, _IO_file_close_it_internal)
17561 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17562 (_IO_file_init_internal, _IO_file_attach_internal)
17563 (_IO_file_fopen_internal, _IO_file_read_internal)
17564 (_IO_file_sync_internal, _IO_file_seek_internal)
17565 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17566 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17567 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17568 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17569 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17570 (_IO_list_all_internal, _IO_link_in_internal)
17571 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17572 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17573 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17574 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17575 (_IO_do_write_internal, _IO_padn_internal)
17576 (_IO_getline_info_internal, _IO_getline_internal)
17577 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17578 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17579 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17580 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17581 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17582 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17583 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17584 with libc_hidden_ver, remove use of INTUSE.
17585 * libio/genops.c: Likewise.
17586 * libio/freopen.c: Likewise.
17587 * libio/freopen64.c: Likewise.
17588 * libio/iofclose.c: Likewise.
17589 * libio/iofdopen.c: Likewise.
17590 * libio/iofflush.c: Likewise.
17591 * libio/iofflush_u.c: Likewise.
17592 * libio/iofgets.c: Likewise.
17593 * libio/iofgets_u.c: Likewise.
17594 * libio/iofopen.c: Likewise.
17595 * libio/iofopncook.c: Likewise.
17596 * libio/iofread.c: Likewise.
17597 * libio/iofread_u.c: Likewise.
17598 * libio/ioftell.c: Likewise.
17599 * libio/iofwrite.c: Likewise.
17600 * libio/iogetline.c: Likewise.
17601 * libio/iogets.c: Likewise.
17602 * libio/iogetwline.c: Likewise.
17603 * libio/iopadn.c: Likewise.
17604 * libio/iopopen.c: Likewise.
17605 * libio/ioseekoff.c: Likewise.
17606 * libio/ioseekpos.c: Likewise.
17607 * libio/iosetbuffer.c: Likewise.
17608 * libio/iosetvbuf.c: Likewise.
17609 * libio/ioungetc.c: Likewise.
17610 * libio/ioungetwc.c: Likewise.
17611 * libio/iovdprintf.c: Likewise.
17612 * libio/iovsprintf.c: Likewise.
17613 * libio/iovsscanf.c: Likewise.
17614 * libio/memstream.c: Likewise.
17615 * libio/obprintf.c: Likewise.
17616 * libio/oldfileops.c: Likewise.
17617 * libio/oldiofclose.c: Likewise.
17618 * libio/oldiofdopen.c: Likewise.
17619 * libio/oldiofopen.c: Likewise.
17620 * libio/oldiopopen.c: Likewise.
17621 * libio/oldstdfiles.c: Likewise.
17622 * libio/putc.c: Likewise.
17623 * libio/setbuf.c: Likewise.
17624 * libio/setlinebuf.c: Likewise.
17625 * libio/stdfiles.c: Likewise.
17626 * libio/strops.c: Likewise.
17627 * libio/vasprintf.c: Likewise.
17628 * libio/vscanf.c: Likewise.
17629 * libio/vsnprintf.c: Likewise.
17630 * libio/vswprintf.c: Likewise.
17631 * libio/wfiledoalloc.c: Likewise.
17632 * libio/wfileops.c: Likewise.
17633 * libio/wgenops.c: Likewise.
17634 * libio/wmemstream.c: Likewise.
17635 * libio/wstrops.c: Likewise.
17636 * libio/__fpurge.c: Likewise.
17637 * libio/__fsetlocking.c: Likewise.
17638 * assert/assert.c: Likewise.
17639 * debug/fgets_chk.c: Likewise.
17640 * debug/fgets_u_chk.c: Likewise.
17641 * debug/fread_chk.c: Likewise.
17642 * debug/fread_u_chk.c: Likewise.
17643 * debug/gets_chk.c: Likewise.
17644 * debug/obprintf_chk.c: Likewise.
17645 * debug/vasprintf_chk.c: Likewise.
17646 * debug/vdprintf_chk.c: Likewise.
17647 * debug/vsnprintf_chk.c: Likewise.
17648 * debug/vsprintf_chk.c: Likewise.
17649 * malloc/mtrace.c: Likewise.
17650 * misc/error.c: Likewise.
17651 * misc/syslog.c: Likewise.
17652 * stdio-common/asprintf.c: Likewise.
17653 * stdio-common/fxprintf.c: Likewise.
17654 * stdio-common/getw.c: Likewise.
17655 * stdio-common/isoc99_fscanf.c: Likewise.
17656 * stdio-common/isoc99_scanf.c: Likewise.
17657 * stdio-common/isoc99_vfscanf.c: Likewise.
17658 * stdio-common/isoc99_vscanf.c: Likewise.
17659 * stdio-common/isoc99_vsscanf.c: Likewise.
17660 * stdio-common/printf-prs.c: Likewise.
17661 * stdio-common/printf_fp.c: Likewise.
17662 * stdio-common/printf_fphex.c: Likewise.
17663 * stdio-common/printf_size.c: Likewise.
17664 * stdio-common/putw.c: Likewise.
17665 * stdio-common/scanf.c: Likewise.
17666 * stdio-common/sprintf.c: Likewise.
17667 * stdio-common/tmpfile.c: Likewise.
17668 * stdio-common/vfprintf.c: Likewise.
17669 * stdio-common/vfscanf.c: Likewise.
17670 * stdlib/strfmon_l.c: Likewise.
17671 * sunrpc/openchild.c: Likewise.
17672 * sunrpc/xdr_stdio.c: Likewise.
17673 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17674 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17675
d6c33fda
RM
176762012-05-24 Roland McGrath <roland@hack.frob.com>
17677
c1487492
RM
17678 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17679
17680 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17681 in the third column, to generate for the shared library an IFUNC
17682 that uses _dl_vdso_vsym.
17683 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17684 * Makeconfig (object-suffixes-noshared): New variable.
17685
17686 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17687 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17688 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17689 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17690
d6c33fda
RM
17691 [BZ #14132]
17692 * include/sys/time.h (__gettimeofday): Remove macro.
17693 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17694 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17695 Remove INTDEF.
17696 (__gettimeofday): Add libc_hidden_def.
17697 (gettimeofday): Add libc_hidden_weak.
17698 * sysdeps/mach/gettimeofday.c: Likewise.
17699 * sysdeps/posix/gettimeofday.c: Likewise.
17700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17701 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17702 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17703 (__gettimeofday_internal): Remove strong_alias.
17704 (__gettimeofday): Add libc_hidden_def.
17705 (gettimeofday): Add libc_hidden_weak.
17706 * sysdeps/unix/syscalls.list (gettimeofday):
17707 Remove __gettimeofday_internal alias.
17708
b5a2bbe6
L
177092012-05-24 Daniel Jacobowitz <drow@false.org>
17710 H.J. Lu <hongjiu.lu@intel.com>
17711
17712 [BZ #12495]
17713 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17714 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17715 (largebin_index_32_big): New.
17716 (largebin_index): Use it for 16-byte alignment.
17717 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17718 correction with front_misalign.
17719
cfba4fda
L
177202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17721
7f907421
L
17722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17724 Likewise.
17725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17726 Likewise.
17727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17728 Likewise.
17729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17730 Likewise.
17731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17732 Likewise.
17733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17734 Likewise.
17735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17736 Likewise.
17737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17738 Likewise.
17739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17740 Likewise.
17741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17742 Likewise.
17743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17744 Likewise.
17745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17746 Likewise.
17747
cfba4fda
L
17748 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17749 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17750
80bad0cc
JM
177512012-05-24 Joseph Myers <joseph@codesourcery.com>
17752
7a25eb06
JM
17753 [BZ #10846]
17754 [BZ #14036]
17755 * math/libm-test.inc (exp_test): Add test from bug 14036.
17756 (pow_test): Add test from bug 10846.
17757
795405f9
JM
17758 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17759 and other flags.
17760 (special_function): Do not include flags in test name.
17761 (parse_args): Likewise.
17762 * sysdeps/i386/fpu/libm-test-ulps: Update.
17763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17764 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17765 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17767
80bad0cc
JM
17768 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17769 exceptions.
17770 * math/libm-test.inc ("Philosophy"): Update comment about
17771 exception testing.
17772 (UNDERFLOW_EXCEPTION): New macro.
17773 (UNDERFLOW_EXCEPTION_OK): Likewise.
17774 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17775 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17776 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17777 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17778 (INVALID_EXCEPTION_OK): Update value.
17779 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17780 (OVERFLOW_EXCEPTION_OK): Likewise.
17781 (IGNORE_ZERO_INF_SIGN): Likewise.
17782 (test_exceptions): Handle underflow exceptions.
17783 (acos_test): Update for underflow exception expectations.
17784 (cexp_test): Likewise.
17785 (clog_test): Likewise.
17786 (clog10_test): Likewise.
17787 (csqrt_test): Likewise.
17788 (ctan_test): Likewise.
17789 (ctanh_test): Likewise.
17790 (exp_test): Likewise.
17791 (exp10_test): Likewise.
17792 (exp2_test): Likewise.
17793 (expm1_test): Likewise.
17794 (fma_test): Likewise.
17795 (j0_test): Likewise.
17796 (jn_test): Likewise.
17797 (nexttoward_test): Likewise.
17798 (pow_test): Likewise.
17799 (scalbn_test): Likewise.
17800 (scalbln_test): Likewise.
17801 (tan_test): Likewise.
17802 (y1_test): Likewise.
17803 * sysdeps/i386/fpu/libm-test-ulps: Update.
17804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17805
9e0e3d0b
DM
178062012-05-23 David S. Miller <davem@davemloft.net>
17807
17808 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17809 (__libc_sigaction): Remove unused local variables.
17810
ccd0a08f
L
178112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17812
17813 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17814
62bdf9a6
PE
178152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17816
f8591f80
PE
17817 mktime: avoid signed integer overflow
17818 * time/mktime.c (__mktime_internal): Do not mishandle the case
17819 where diff == INT_MIN.
17820
94c7d826
PE
17821 mktime: simplify computation of average
17822 * time/mktime.c (ranged_convert): Use new time_t_avg function
17823 instead of rolling our own (probably-slower) code.
17824
ce73d683
PE
17825 mktime: do not assume signed right shift propagates sign bit
17826 * time/mktime.c (isdst_differ): New static function.
17827 (__mktime_internal): No need to normalize tm_isdst now.
17828 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17829 tm_isdst values.
17830
72a22e59
PE
17831 mktime: merge another wrapv change from gnulib
17832 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17833 from some compilers.
17834
68605433
PE
17835 mktime: remove incorrect attempt at unusual arithmetics
17836 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17837 The code didn't really work on such machines anyway.
17838 (TYPE_MINIMUM): Assume two's complement.
17839 (twos_complement_arithmetic): Verify that long_int and time_t
17840 are two's complement (or unsigned, in the latter case).
17841
03cf7fe3
PE
17842 mktime: check signed shifts on long_int and time_t, too
17843 * time/mktime.c (SHR): Check that shifts work as desired
17844 on the types long_int and time_t too, as SHR is used on
17845 such types.
17846
f04dfbc2
PE
17847 mktime: do not assume 'long' is wide enough
17848 * time/mktime.c (verify): Move decl up.
17849 (long_int): New type.
17850 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17851 to remove assumption in the code that 'long' is wide enough to
17852 store year values. This assumption is not true on x32 and on
17853 some non-glibc platforms.
17854
62bdf9a6
PE
17855 mktime: merge wrapv change from gnulib
17856 * time/mktime.c (WRAPV): New macro.
17857 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17858 (guess_time_tm, __mktime_internal): Do not assume that signed
17859 integer overflow wraps around; modern compilers generate code
17860 where this assumption is no longer valid.
17861
5e292e4f
L
178622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17863
17864 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17865 Replace "jmp L(pseudo_end)" with "ret".
17866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17867 Likewise.
17868
8caf8c87
AJ
178692012-05-23 Andreas Jaeger <aj@suse.de>
17870
17871 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17872 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17873
1a09dc56
AJ
178742012-05-23 Andreas Jaeger <aj@suse.de>
17875 Maximilian Attems <max@stro.at>
17876
17877 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17878 New macros.
17879
1c87aba0
L
178802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17881
17882 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17883 code so that pseudo_end is just ret and the stack pointer is
17884 correct also for static library in error case.
17885
40e45bd5
JM
178862012-05-23 Joseph Myers <joseph@codesourcery.com>
17887
c2670533
JM
17888 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17889 move to syscalls.list.
17890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17894
40e45bd5
JM
17895 * manual/install.texi (Running make install): Do not mention Linux
17896 kernel version for which pt_chown is not needed.
17897 (Linux): Do not mention problems with nscd with 2.0 kernels.
17898 * INSTALL: Regenerated.
17899
be08eda5
AJ
179002012-05-23 Andreas Jaeger <aj@suse.de>
17901
17902 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17903 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17904 macro.
17905 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17907 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17909 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17911 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17915 * sysdeps/unix/sysv/linux/bits/in.h
17916 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17917
a6a056bb
RM
179182012-05-22 Roland McGrath <roland@hack.frob.com>
17919
17920 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17921 (PREPARE_VERSION): Just use assert instead, it will be elided
17922 under [NDEBUG] anyway.
17923
c9009328
L
179242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17925
17926 * sysdeps/unix/sysv/linux/Makefile: Include
17927 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17928 (sysdep_routines): Remove sysctl.
c9009328
L
17929 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17930 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17931 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17932 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17933 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17934
73338355
AJ
179352012-05-22 Andreas Jaeger <aj@suse.de>
17936
17937 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17938 that pseudo_end is just ret and the stack pointer is correct also
17939 for static library in error case.
17940
d44638b0
PP
179412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17942
17943 [BZ #14122]
17944 * nss/nsswitch.c (defconfig_entries): New variable.
17945 (__nss_database_lookup): Don't leak defconfig entries.
17946 (nss_parse_service_list): Don't leak on error paths.
17947 (free_database_entries): New function.
17948 (free_defconfig): New function.
17949 (free_mem): Move common code to free_database_entries.
17950
31a39bd8
L
179512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17952
da0331a8
L
17953 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17954 Add arch_prctl.
17955 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17956
31a39bd8
L
17957 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17958 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17960 New macro.
17961 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17962 (INTERNAL_SYSCALL_TYPES): Likewise.
17963 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17964 (LOAD_REGS_TYPES_[1-6]): Likewise.
17965 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17966 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17967
45470df3
AZ
179682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17969
17970 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17971 copysignl for GLIBC_2_0.
17972 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17973 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17975 logbl for GLIBC_2_0.
17976 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17977 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17978
98a61bcb
L
179792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17980
a4f6e481
L
17981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17982 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17983
f63d5db6
L
17984 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17985 Use "neg %eax".
17986
98a61bcb
L
17987 * time/mktime.c: Update copyright years.
17988
95770f14
PE
179892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17990
6226efbd
PE
17991 mktime: merge comment-quoting-style change from gnulib
17992 * time/mktime.c: Quote 'like this' in comments.
17993 The GNU coding standards suggest that we no longer quote `like this',
17994 as "`" and "'" are typically rendered asymmetrically nowadays.
17995 The typical gnulib style is to quote 'like this' when quoting
17996 code, and "like this" when quoting English.
17997
b99e4f78
PE
17998 * time/mktime.c (compile-command): Add "-I.".
17999
643e01e6
PE
18000 mktime: merge mktime-internal.h change from gnulib
18001 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18002
2554247d
PE
18003 mktime: merge time_r change from gnulib
18004 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18005
826dd0ab
PE
18006 mktime: merge DEBUG change from gnulib
18007 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18008 case system <time.h> has a #define.
18009
bd83aabe
PE
18010 mktime: merge <sys/types.h> change from gnulib
18011 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18012 since <time.t> is now guaranteed to define time_t.
18013
95770f14
PE
18014 mktime: merge HAVE_CONFIG_H change from gnulib
18015 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18016
5e1a27a9
L
180172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18018
0e44a77e
L
18019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18020 Use "neg %eax".
18021
5e1a27a9
L
18022 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18023 __rlim_t cast.
18024 (struct rusage): Use anonymous union to pad each field to
18025 __syscall_slong_t.
18026
46259bec
DM
180272012-05-21 David S. Miller <davem@davemloft.net>
18028
18029 * Makefules (o-iterator): Remove .s cases.
18030 (compile-command.s): Delete.
18031 (COMPILE.s): Delete.
18032 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18033
59f0c22e
JM
180342012-05-21 Joseph Myers <joseph@codesourcery.com>
18035
18036 * configure.in (libc_cv_predef_stack_protector): Only consider
18037 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18038 * configure: Regenerated.
18039
20c07380
L
180402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18041
bbb3154b
L
18042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18043 New macro. Use R*LP on int and pointer.
18044 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18045 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18046 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18047 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18048
20c07380
L
18049 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18050 [__WORDSIZE_TIME64_COMPAT32] instead of
18051 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18052 (struct utmp): Likewise.
18053 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18054 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18055 Renamed to ...
18056 (__WORDSIZE_TIME64_COMPAT32): This.
18057 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18058 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18059 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18060 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18061 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18062 (__WORDSIZE_TIME64_COMPAT32): New macro.
18063
d8d1017e
AJ
180642012-05-21 Andreas Jaeger <aj@suse.de>
18065
18066 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18067 only if [SHARED]. Add prototype for __wcschr_ia32.
18068
6c7fb145
RM
180692012-05-21 Roland McGrath <roland@hack.frob.com>
18070
18071 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18072 of %rbp unmolested in the jmp_buf while mangling the low bits.
18073 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18074 unmolested high bits of %rbp while demangling the low bits.
18075 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18076
66274218
AJ
180772012-05-21 Andreas Jaeger <aj@suse.de>
18078
07c58f8f
AJ
18079 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18080 * sunrpc/svc_simple.c: Use it for registerrpc.
18081 * sunrpc/xcrypt.c: Use it for passwd2des.
18082
66274218
AJ
18083 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18084
61f65140
L
180852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18086
18087 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18088 Don't define if [__SYSCALL_WORDSIZE != 32].
18089 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18090 New macro.
18091
5fefb436
AJ
180922012-05-21 Bruno Haible <bruno@clisp.org>
18093 Andreas Jaeger <aj@suse.de>
18094
18095 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18096 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18097 inptr and inend for must_buffer_ch.
18098 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18099 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18100 * stdio-common/Makefile (tests): Remove bug15.
18101 (bug15-ENV): Remove macro.
18102 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18103 anymore.
18104
d8e272ab
AJ
181052012-05-19 Andreas Jaeger <aj@suse.de>
18106 Roland McGrath <roland@hack.frob.com>
18107
18108 * manual/contrib.texi: Completely rewritten. It contains now an
18109 alphabetical list of contributors and their contributions.
18110
4a56a162
RH
181112012-05-21 Richard Henderson <rth@twiddle.net>
18112
18113 * misc/getauxval.c (__getauxval): Use unsigned long int.
18114 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18115 (getauxval): Use unsigned long int.
18116
d024d23c
L
181172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18118
18119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18120
cbc00a03
RM
181212012-05-21 Roland McGrath <roland@hack.frob.com>
18122
18123 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18124 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18125 __alignof__ (long double).
18126
478143fa
AZ
181272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18128
18129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18130
c7683a6d
RH
181312012-05-20 Richard Henderson <rth@twiddle.net>
18132
18133 * misc/getauxval.c: New file.
18134 * misc/sys/auxv.h: New file.
18135 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18136 (routines): Add getauxval.
18137 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18138 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18139 * elf/dl-sysdep.c (_dl_auxv): Remove.
18140 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18141 * elf/dl-support.c (_dl_auxv): New variable.
18142 (_dl_aux_init): Initialize it.
18143 * manual/startup.texi (Auxiliary Vector): New node.
18144 * sysdeps/generic/bits/hwcap.h: New file.
18145 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18146 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18147 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18148 * sysdeps/sparc/sysdep.h: ... here. Include it.
18149 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18152 Update.
c7683a6d
RH
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18161
a6f1845d
AZ
181622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18163
18164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18165
cbcbe830
DM
181662012-05-19 David S. Miller <davem@davemloft.net>
18167
18168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18169
e0b16cc2
JM
181702012-05-19 Joseph Myers <joseph@codesourcery.com>
18171
18172 [BZ #14123]
18173 * math/s_ccosh.c: Include <float.h>
18174 (__ccosh): Avoid internal overflow calculating sinh and cosh
18175 values before multiplying by sin and cos values.
18176 * math/s_ccoshf.c: Likewise.
18177 * math/s_ccoshl.c: Likewise.
18178 * math/s_csin.c: Likewise.
18179 * math/s_csinf.c: Likewise.
18180 * math/s_csinl.c: Likewise.
18181 * math/s_csinh.c: Likewise.
18182 * math/s_csinhf.c: Likewise.
18183 * math/s_csinhl.c: Likewise.
18184 * math/libm-test.inc (ccos_test): Add more tests.
18185 (ccosh_test): Likewise.
18186 (csin_test): Likewise.
18187 (csinh_test): Likewise.
18188 * sysdeps/i386/fpu/libm-test-ulps: Update.
18189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18190
6ad13e08
L
181912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18192
f66f0ce8
L
18193 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18194 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18195
6ad13e08
L
18196 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18197
b1d072a7
JM
181982012-05-19 Joseph Myers <joseph@codesourcery.com>
18199
18200 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18201 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18202 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18203 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18204 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18205 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18206 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18207 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18208 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18209 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18210 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18211 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18212 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18213 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18214 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18215 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18216 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18217 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18218 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18219 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18220 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18221 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18222 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18223 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18224 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18225 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18226 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18227 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18228 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18229 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18230 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18231
9eae47cb
AJ
182322012-05-18 Andreas Jaeger <aj@suse.de>
18233
18234 * csu/.gitignore: Delete.
18235
bb07f69f
L
182362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18237
18238 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18239 (timex): Use __syscall_slong_t.
18240
e6bdb741
AJ
182412012-05-18 Andreas Jaeger <aj@suse.de>
18242 Carlos O'Donell <carlos_odonell@mentor.com>
18243
18244 * manual/install.texi (Configuring and compiling): Update
18245 description about files modified in the source directory.
d6c33fda 18246 * INSTALL: Regenerated.
e6bdb741 18247
1b74487e
L
182482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18249
18250 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18251 value. Use "or" to set return value to -1.
18252 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18253 negate return value.
18254
a88b64b9
TMQMF
182552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18256
18257 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18258 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18259 failure if the compiler has Graphite support disabled.
18260 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18261 Likewise.
18262 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18263 CFLAGS-memmove.c): Likewise.
18264 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18265 Likewise.
18266
3707636e
L
182672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18268
610b8622
L
18269 * sysdeps/x86_64/x32/_itoa.h: New file.
18270
7cd195df
L
18271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18272 getdents system call only if kernel and user dirents have the
18273 same d_ino and d_off.
18274
94b07d20
L
18275 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18276 LLONG_MAX != LONG_MAX.
18277 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18278 (_fitoa_word): Likewise.
18279
18298070
L
18280 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18281 years.
18282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18283 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18284 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18285
553c7ea4
L
18286 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18287 include <bits/wordsize.h>. Check __x86_64__ instead of
18288 __WORDSIZE.
18289 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18290 if __x86_64__ is defined. Use anonymous union on fpstate.
18291
3707636e
L
18292 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18293 anonymous union.
18294
b53ef01a
AS
182952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18296
37fb1dc0
AS
18297 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18298 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18299 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18300 Refer to _rtld_local_ro instead of _rtld_global_ro.
18301 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18302 Likewise.
18303 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18304 Likewise.
18305 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18306 Likewise.
18307 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18308 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18309 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18310
b53ef01a
AS
18311 * sysdeps/powerpc/powerpc32/dl-machine.c
18312 (__elf_machine_runtime_setup) [PROF]: Don't reference
18313 _dl_prof_resolve.
18314
7a185db2
AJ
183152012-05-18 Andreas Jaeger <aj@suse.de>
18316
18317 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18318 function only available for GCCs before 3.4 since GCC 3.4
18319 introduced a builtin.
18320 (lrint): Likewise.
18321 (llrintf): Likewise.
18322 (llrint): Likewise.
18323 (fmaxf): Likewise.
18324 (fmax): Likewise.
18325 (fminf): Likewise.
18326 (fmin): Likewise.
18327 (rint): Likewise.
18328 (rintf): Likewise.
18329 (nearbyint): Likewise.
18330 (nearbyintf): Likewise.
18331 (ceil): Likewise.
18332 (ceilf): Likewise.
18333 (floor): Likewise.
18334 (floorf): Likewise.
18335
3e5aef87
L
183362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18337
428bd707
L
18338 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18339 on both fields and cast pointer to __syscall_ulong_t.
18340
3e5aef87
L
18341 * bits/types.h (__fsword_t): New type.
18342 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18343 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18345 (__FSWORD_T_TYPE): Likewise.
18346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18347 (__FSWORD_T_TYPE): Likewise.
18348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18349 (__FSWORD_T_TYPE): Likewise.
18350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18351 (__FSWORD_T_TYPE): Likewise.
18352 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18353 __SWORD_TYPE with __fsword_t.
18354 (statfs64): Likewise.
18355
1ba7c3dc
DM
183562012-05-17 David S. Miller <davem@davemloft.net>
18357
18358 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18359
59910343
AJ
183602012-05-17 Andreas Jaeger <aj@suse.de>
18361
18362 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18363 warning.
18364
2e4c1e9e
L
183652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18366
18367 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18368
de7f5ce7
AJ
183692012-05-17 Andreas Jaeger <aj@suse.de>
18370
18371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18372 when it is used.
18373
286abc3d
CM
183742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18375
18376 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18377
477cc68e
L
183782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18379
18380 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18381 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18382
1a0994f5
CD
183832012-05-17 Andreas Jaeger <aj@suse.de>
18384 Carlos O'Donell <carlos_odonell@mentor.com>
18385
18386 [BZ #14059]
18387 * sysdeps/x86_64/multiarch/init-arch.h
18388 (bit_YMM_Usable): Rename to...
18389 (bit_AVX_Usable): ... this.
18390 (bit_FMA4_Usable): New macro.
18391 (bit_XMM_state): New macro.
18392 (bit_YMM_state): New macro.
18393 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18394 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18395 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18396 (CPUID_OSXSAVE): New macro.
18397 (CPUID_AVX): New macro.
18398 (CPUID_FMA4): New macro.
18399 (index_YMM_Usable): Rename to...
18400 (index_AVX_Usable): ... this.
18401 (HAS_AVX): Use HAS_ARCH_FEATURE.
18402 (HAS_FMA4): Likewise.
18403 (HAS_YMM_USABLE): Remove.
18404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18405 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18406 are present.
18407 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18408 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18409 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18410 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18411 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18412
0af797de
CM
184132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18414
18415 * math/libm-test.c: Support platforms without multiple rounding modes.
18416 * math/bug-nextafter.c: Support platforms without FP exceptions.
18417 * math/bug-nexttoward.c: Likewise.
18418 * math/test-fenv.c: Likewise.
18419 * math/test-misc.c: Likewise.
18420 * stdlib/bug-getcontext.c: Likewise.
18421
e39745ff
AJ
184222012-05-17 Andreas Jaeger <aj@suse.de>
18423
18424 * manual/examples/search.c (critter_cmp): Change signature to
18425 avoid warnings.
18426 * manual/string.texi (Collation Functions): Likewise.
18427
48970aba
L
184282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18429
18430 * bits/types.h: Fold copyright years.
18431 * bits/typesizes.h: Likewise.
18432 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18436 * time/time.h: Likewise.
18437
bedee953
PP
184382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18439
18440 [BZ #208]
18441 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18442 in instead of returning them. Return void.
18443 (__libc_mallinfo): Accumulate over all arenas.
18444 (__malloc_stats): Adjust for change in int_mallinfo interface.
18445
61653dfb
RM
184462012-05-16 Roland McGrath <roland@hack.frob.com>
18447
30b99d79
RM
18448 [BZ #10375]
18449 * configure.in (NM): Add AC_CHECK_TOOL for it.
18450 (libc_extra_cflags): New substituted variable.
18451 Check for -fstack-protector being used implicitly.
18452 * configure: Regenerated.
18453 * config.make.in (config-extra-cflags): New variable,
18454 gets @libc_extra_cflags@.
18455 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18456
61653dfb
RM
18457 [BZ #10375]
18458 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18459 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18460 * configure: Regenerated.
18461 * config.make.in (CPPUNDEFS): New substituted variable.
18462 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18463 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18464 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18465
661768bb
L
184662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18469 (mq_attr): Use __syscall_slong_t.
18470
d4261567
L
184712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18472
18473 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18474 Check __x86_64__ instead of __WORDSIZE.
18475 (_STAT_VER_LINUX): Likewise.
18476 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18477 __syscall_ulong_t and __syscall_slong_t.
18478 (stat64): Likewise.
18479
cf3ff365
L
184802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18481
18482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18483
76cf3e4d
L
184842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18485
18486 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18487
a637753a
L
184882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18489
18490 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18491 __syscall_ulong_t.
18492
d5e05119
L
18493 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18494 include <bits/wordsize.h>. Check __x86_64__ instead of
18495 __WORDSIZE.
18496 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18497 defined.
18498 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18499
f62ee380
L
18500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18501 include <bits/wordsize.h>. Check __x86_64__ instead of
18502 __WORDSIZE.
18503 (user_regs_struct): Use "__extension__ unsigned long long"
18504 instead of "unsigned long" if __x86_64__ is defined.
18505 (user): Likewise. Pad after pointer field if __ILP32__ is
18506 defined.
18507
4e124ced
JM
185082012-05-16 Joseph Myers <joseph@codesourcery.com>
18509
6a3951a0
JM
18510 * configure.in (makeinfo): Require version 4.5 or later. Allow
18511 versions 5 to 9.
18512 * configure: Regenerated.
18513 * manual/install.texi (texinfo): Increase version requirement to
18514 4.5 or later.
18515 * INSTALL: Regenerated.
18516
4e124ced
JM
18517 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18518
953ca31a
L
185192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18520
18521 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18522
617aca05
L
18523 * sysdeps/x86_64/x32/ffs.c: New file.
18524
5762f7ae
L
18525 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18526 __syscall_ulong_t.
18527 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18528 defined. Use __syscall_ulong_t.
18529 (shminfo): Use __syscall_ulong_t.
18530 (shm_info): Likewise.
18531
a26b6856
L
18532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18533 __syscall_ulong_t.
18534
cb2b9ef7
L
18535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18536 <bits/wordsize.h>.
18537 (msgqnum_t): Use __syscall_ulong_t.
18538 (msglen_t): Likewise.
18539 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18540 __syscall_ulong_t.
18541
34683bb0
L
18542 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18543 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18544
84a68786
L
18545 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18546
48baa5f1
L
18547 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18548 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18549
180be88b
L
18550 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18551 __syscall_slong_t.
18552
5e90c8ad
L
18553 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18554 include <bits/wordsize.h>. Check __x86_64__ instead of
18555 __WORDSIZE.
18556
23dfb58b
L
18557 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18558 "unsigned long long int" if __x86_64__ is defined.
18559 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18560
ce5d54b0
L
18561 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18562 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18563 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18564
13dc9eac
L
18565 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18566 <stdint.h>.
18567 (GET_PC): Cast to uintptr_t first.
18568 (GET_FRAME): Likewise.
18569 (GET_STACK): Likewise.
18570
a7895d15
L
18571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18577 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18578 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18579 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18580 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18582 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18583 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18592 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18593 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18594 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18595 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18600
656416c9
AS
186012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18602
5bd66283
AS
18603 * Makerules (+depfiles): Also collect depfiles from .oS in
18604 $(extra-objs).
18605 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18606 .oS, $(libnldbl-routines)).
18607
656416c9
AS
18608 * Makerules (native-compile-mkdep-flags): Define.
18609 * sunrpc/Makefile (extra-objs): Add $(addprefix
18610 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18611 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18612 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18613 calling $(make-target-directory).
18614
a46f2169
L
186152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18616
18617 * bits/types.h (__snseconds_t): Removed.
18618 * time/time.h (struct timespec): Replace __snseconds_t with
18619 __syscall_slong_t.
18620 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18621 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18622 Likewise.
18623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18624 (__SNSECONDS_T_TYPE): Likewise.
18625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18626 (__SNSECONDS_T_TYPE): Likewise.
18627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18628 (__SNSECONDS_T_TYPE): Likewise.
18629
6af6528b
L
186302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18631
18632 * sysdeps/mach/hurd/bits/typesizes.h
18633 (__SYSCALL_SLONG_TYPE): New macro.
18634 (__SYSCALL_ULONG_TYPE): Likewise.
18635
de986b56
L
186362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18637
18638 * bits/types.h (__syscall_slong_t): New type.
18639 (__syscall_ulong_t): Likewise.
18640
18641 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18642 (__SYSCALL_ULONG_TYPE): Likewise.
18643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18644 (__SYSCALL_SLONG_TYPE): Likewise.
18645 (__SYSCALL_ULONG_TYPE): Likewise.
18646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18647 (__SYSCALL_SLONG_TYPE): Likewise.
18648 (__SYSCALL_ULONG_TYPE): Likewise.
18649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18650 (__SYSCALL_SLONG_TYPE): Likewise.
18651 (__SYSCALL_ULONG_TYPE): Likewise.
18652
85736dc7
L
186532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18654
18655 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18656 Add sigaltstack-offsets.sym.
18657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18658 <sigaltstack-offsets.h>.
18659 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18660 longjmp_msg pointer.
18661 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18662 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18663 signal stack.
18664 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18665
cc03b296
JM
186662012-05-15 Joseph Myers <joseph@codesourcery.com>
18667
a9538892
JM
18668 * elf/stackguard-macros.h: Remove file.
18669 * sysdeps/generic/stackguard-macros.h: New file.
18670 * sysdeps/i386/stackguard-macros.h: Likewise.
18671 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18672 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18673 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18674 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18675 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18676 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18677 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18678 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18679 <elf/stackguard-macros.h>.
18680
cc03b296
JM
18681 [BZ #14109]
18682 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18683 __aligned__ in attribute.
18684 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18685 (gregset_t): Likewise.
18686
93171016
L
186872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18688
18689 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18690 * sysdeps/x86_64/64/Implies-after: Here. New file.
18691 * sysdeps/x86_64/x32/Implies-after: New file.
18692
d86813a0
L
186932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18694
18695 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18696 and access return value for _dl_profile_fixup. Use R10_LP to
18697 load frame size.
18698
2953ec75
L
186992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18700
18701 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18702
3b550e9e
L
187032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18704
18705 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18706 * sysdeps/x86_64/x32/sysdep.h: New file.
18707
eda41706
L
187082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18709
18710 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18711 * sysdeps/x86_64/setjmp.S: Likewise.
18712
9ea01d93
AZ
187132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18714
18715 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18716 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18717 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18718 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18719 remove unused global constant.
18720
02a91938
CM
187212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18722
18723 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18724 include of <not-cancel.h>.
18725
6540185f
RM
187262012-05-15 Roland McGrath <roland@hack.frob.com>
18727
18728 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18729
509072a0
AJ
187302012-05-15 Jeff Law <law@redhat.com>
18731 Andreas Jaeger <aj@suse.de>
18732
18733 [BZ #13594]
18734 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18735 out from...
18736 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18737 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18738 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18739 code changing __hst_map_handle.map.
18740
ba75122d
RM
187412012-05-15 Roland McGrath <roland@hack.frob.com>
18742
18743 * configure.in (sysnames): Look for Implies-before and Implies-after
18744 files.
18745 * configure: Regenerated.
18746
890d8bd8
L
187472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18748
18749 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18750 8-byte data alignment with LP_SIZE alignment.
18751
f6ee6623
L
187522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18753
18754 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18755 into R10_LP.
18756
ea2626f6
L
187572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18758
18759 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18760
085f715e
L
187612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18762
18763 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18764 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18766 Likewise.
18767 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18768
be8498fc
L
187692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18770
18771 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18772 (stackinfo_sub_sp): Likewise.
18773
70bc83b9
L
187742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18775
18776 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18777 RAX_LP.
18778
9bc0b730
L
187792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18780
18781 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18782 into R*_LP.
18783
6d2850e7
L
187842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18785
18786 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18787 sizes into R*_LP.
18788
3cb84561
L
187892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18790
18791 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18792
54e2ed81
L
187932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18794
18795 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18796 into R11_LP and load __x86_64_shared_cache_size_half into
18797 R8_LP.
18798
8a17f349
L
187992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18800
18801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18802 R8_LP.
18803
777b1eea
AZ
188042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18805
18806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18807 logb for POWER7.
18808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18809 logbf for POWER7.
18810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18811 logbl for POWER7.
18812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18813 powerpc32/power7/fpu/s_logb.c via #include.
18814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18815 powerpc32/power7/fpu/s_logbf.c via #include.
18816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18817 powerpc32/power7/fpu/s_logbl.c via #include.
18818
d20d4ac2
JM
188192012-05-15 Joseph Myers <joseph@codesourcery.com>
18820
18821 * README.libm: Remove file.
18822
6cdef1ab
L
188232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18824
18825 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18826 count for x32. Use R*_LP and omit operand-size suffix.
18827
0b254d8f
L
188282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18829
18830 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18831 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18832 * sysdeps/x86_64/x32/shlib-versions: New file.
18833
ceb809dc
RM
188342012-05-14 Roland McGrath <roland@hack.frob.com>
18835
18836 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18837 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18838 Use _dl_fatal_printf instead.
18839
37f1abd4
JM
188402012-05-14 Joseph Myers <joseph@codesourcery.com>
18841
18842 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18843 set if not set by the user. Do not allow for being unset.
18844 * sysdeps/unix/sysv/linux/configure: Regenerated.
18845
11de3a33
L
188462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18847
18848 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18849 the `q' suffix from lea and replace .quad with ASM_ADDR.
18850
e02f153a
L
188512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18852
18853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18854 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18855 instead of $17.
18856 (PTR_DEMANGLE): Likewise.
18857
520ae0fd
L
188582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18861 (LP_OP): Likewise.
18862 (ASM_ADDR): Likewise.
18863 (RAX_LP): Likewise.
18864 (RBP_LP): Likewise.
18865 (RBX_LP): Likewise.
18866 (RCX_LP): Likewise.
18867 (RDI_LP): Likewise.
18868 (RSI_LP): Likewise.
18869 (RSP_LP): Likewise.
18870 (R8_LP): Likewise.
18871 (R9_LP): Likewise.
18872 (R10_LP): Likewise.
18873 (R10_LP): Likewise.
18874 (R11_LP): Likewise.
18875 (R12_LP): Likewise.
18876 (R13_LP): Likewise.
18877 (R14_LP): Likewise.
18878 (R15_LP): Likewise.
18879
b985be81
L
188802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18881
18882 * sysdeps/x86_64/x32/dl-machine.h: New file.
18883
6a4888ff
AJ
188842012-05-14 Andreas Jaeger <aj@suse.de>
18885
18886 * manual/Makefile (subdir): Remove export of subdir.
18887 (all): Remove target.
18888 (.PHONY): Remove all from list.
18889 (mkinstalldirs): Remove.
18890 (.PHONY): Remove installdirs from list.
18891 ($(inst_infodir)/libc.info): Use make-target-directory.
18892 (installdirs): Remove.
18893 (subdir_%): Remove.
18894 (glibc-targets): Remove.
18895 (lib): Remove.
18896 (stubs): Remove.
18897 ($(objpfx)stubs ../po/manual.pot): Remove.
18898 ($(objpfx)stamp%): Remove.
18899 (make-target-directory): Remove.
18900 (subdir_install): Remove.
18901 (routines): Remove.
18902 (aux): Remove.
18903 (sources): Remove.
18904 (objects): Remove.
18905 (headers): Remove.
18906
18907 [BZ #13750]
18908 * manual/.gitignore: Remove, it's not needed anymore.
18909 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18910 all files in it.
18911 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18912 directory.
18913 (texis): Renamed to $(objpfx)texis.
18914 (texis-path): New, contains path to generated files.
18915 (chapters.%): Use texis-path for complete path, add extra argument
18916 libc-texinfo.sh.
18917 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18918 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18919 (summary,texi, stamp-summary): Use complete path of
18920 files. Generate files in build dir.
18921 (dir-add.texi): Build in build dir.
18922 (libm-err.texi,stamp-libm-err): Likewise.
18923 (version.texi, stamp-version): Likewise.
18924 (.%c.texi): Likewise.
18925 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18926 (mostlyclean): Remove target.
18927 (realclean): Remove target.
18928 (generated): Add new variable with contents from mostlyclean and
18929 realclean, remove entries duplicated in common-mostlyclean, add
18930 stamp-libm-err and stamp-version.
18931 (generated-dirs): Add libc directory.
18932 ($(inst_infodir)/libc.info): Install files from build dir.
18933
18934 * manual/install.texi (Configuring and compiling): Adjust since
18935 the info files are not part of the tar ball anymore.
18936
7ac77294
AJ
189372012-05-14 Andreas Jaeger <aj@suse.de>
18938
18939 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18940 variable.
18941
ffb7875d
JM
189422012-05-14 Joseph Myers <joseph@codesourcery.com>
18943
18944 [BZ #13717]
18945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18946 to 2.2.0 where earlier.
18947 * sysdeps/unix/sysv/linux/configure: Regenerated.
18948 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18949 Remove conditional code.
18950 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18951 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18952 Remove conditional code.
18953 [!__NR_lchown]: Likewise.
18954 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18955 [__NR_lchown]: Likewise.
18956 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18957 comment referencing __ASSUME_LCHOWN_SYSCALL.
18958 * sysdeps/unix/sysv/linux/i386/sigaction.c
18959 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18960 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18961 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18962 Remove conditional code.
18963 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18964 (__protocol_available): Remove #if 0 code.
18965 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18966 conditional code.
18967 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18968 * sysdeps/unix/sysv/linux/kernel-features.h
18969 (__ASSUME_GETCWD_SYSCALL): Don't define.
18970 (__ASSUME_REALTIME_SIGNALS): Likewise.
18971 (__ASSUME_PREAD_SYSCALL): Likewise.
18972 (__ASSUME_PWRITE_SYSCALL): Likewise.
18973 (__ASSUME_POLL_SYSCALL): Likewise.
18974 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18975 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18976 non-SPARC.
18977 (__ASSUME_SIOCGIFNAME): Don't define.
18978 (__ASSUME_MSG_NOSIGNAL): Likewise.
18979 (__ASSUME_SENDFILE): Define unconditionally.
18980 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18981 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18982 conditional code.
18983 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18984 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18985 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18986 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18987 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18988 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18989 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18991 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19003 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19006 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19012 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19014 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19015 Remove conditional code.
19016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19017 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19018 Remove conditional code.
19019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19020 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19021 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19022 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19023 Remove conditional code.
19024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19025 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19026 Remove conditional code.
19027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19028 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19029 Remove conditional code.
19030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19031 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19032 Remove conditional code.
19033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19034 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19035 Remove conditional code.
19036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19037 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19040 * sysdeps/unix/sysv/linux/sigaction.c
19041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19043 * sysdeps/unix/sysv/linux/sigpending.c
19044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19046 * sysdeps/unix/sysv/linux/sigprocmask.c
19047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19049 * sysdeps/unix/sysv/linux/sigsuspend.c
19050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19052 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19053 (__libc_missing_rt_sigs): Remove.
19054 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19055 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19056 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19057 Remove conditional code.
19058 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19059 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19060 return 1.
19061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19063 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19064 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19065
1bfb7291
AJ
190662012-05-14 Andreas Jaeger <aj@suse.de>
19067
caae5a81
AJ
19068 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19069 it's not used in glibc.
19070 (__coshm1): Likewise.
19071 (__acosh1p): Likewise.
19072 (__sgn): Likewise.
19073
1bfb7291
AJ
19074 * manual/string.texi (Copying and Concatenation): Add missing
19075 variable in concat example.
19076 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19077
c044d724
L
190782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19079
144c5467 19080 [BZ #14103]
c044d724
L
19081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19082 __builtin_clzl with __builtin_clzll.
19083
2523c62b
L
190842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19085
19086 [BZ #14104]
19087 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19088 libc_freeres_ptr.
19089
d7bb4c42
LD
190902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19091
19092 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19093 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19094 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19095 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19096
9dc4e1fb
MF
190972012-05-14 Mike Frysinger <vapier@gentoo.org>
19098
19099 * NEWS: Update ia64 info.
19100
c7df0112
AS
191012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19102
19103 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19104 used as bcopy.
19105
dc70356c
TS
191062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19107
19108 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19109 * sysdeps/unix/syscalls.list (dup3): Likewise.
19110 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19111 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19112
9fb1a21f
L
191132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19114
19115 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19116 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19117
4822a2a5
L
191182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19119
19120 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19121 thread pointer.
19122 (TLS_IE): Use mov/add instead of movq/addq to load thread
19123 pointer.
19124 (TLS_GD_PREFIX): New.
19125 (TLS_GD): Use it.
19126
842b81d6
DM
191272012-05-11 David S. Miller <davem@davemloft.net>
19128
19129 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19130 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19131 (_FPU_SETCW): Likewise.
19132
1cf463cd
L
191332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19134
19135 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19136 is 32-byte aligned.
19137
60cc4a18
AS
191382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19139
19140 [BZ #11837]
19141 * iconvdata/gb18030.c: Update tables.
19142 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19143 characters specially.
19144 (BODY for TO_LOOP): Add encoding of missing ranges.
19145
febb44a4
TS
191462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19147
19148 [BZ #13673]
19149 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19150 * sysdeps/mach/hurd/dup3.c: Likewise.
19151 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19152 * sysdeps/powerpc/memmove.c:: Likewise.
19153
0a10fb9e
L
191542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19155
19156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19157 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19158
df8a552f
L
191592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19160
19161 * elf/elf.h (R_X86_64_RELATIVE64): New.
19162 (R_X86_64_NUM): Updated.
19163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19164 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19165 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19166 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19167 tst-quad1pie tst-quad2pie
19168 (modules-names): Add tst-quadmod1 tst-quadmod2.
19169 ($(objpfx)tst-quad1): New dependency.
19170 ($(objpfx)tst-quad2): Likewise.
19171 ($(objpfx)tst-quad1pie): Likewise.
19172 ($(objpfx)tst-quad2pie): Likewise.
19173 * sysdeps/x86_64/tst-quad1.c: New file.
19174 * sysdeps/x86_64/tst-quad1pie.c: New file.
19175 * sysdeps/x86_64/tst-quad2.c: Likewise.
19176 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19177 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19178 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19179 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19180 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19181
f34d6f84
ST
191822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19183
f42d41d1
ST
19184 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19185 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19186 * streams/stropts.h (t_scalar_t): Define type.
19187
3c3571fc
ST
19188 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19189 (_PATH_PRESERVE): Set to "/var/lib".
19190 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19191
61f06bd3
ST
19192 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19193 instead of int.
19194
918d4d71
ST
19195 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19196 if __dir_mkfile succeeded.
19197
f34d6f84
ST
19198 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19199 checking for _hurd_dtablesize. Unlock it right after having
19200 finished _hurd_dtable allocation.
19201
10589b4a
TS
192022012-05-10 Thomas Schwinge <thomas@schwinge.name>
19203
674cdbc7
TS
19204 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19205 * sysdeps/mach/hurd/configure: Regenerated.
19206 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19207 special-casing to...
19208 * sysdeps/gnu/configure.in: ... this new file.
19209 * sysdeps/unix/sysv/linux/configure: Regenerated.
19210 * sysdeps/gnu/configure: New generated file.
19211
8e41b99f
TS
19212 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19213 for Linux: use nsec instead of usec, as well as:
19214 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19215 members of type struct timespec.
19216 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19217 New macros.
19218 (struct stat64): Likewise.
19219 (_STATBUF_ST_NSEC): New macro.
19220 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19221
10589b4a
TS
19222 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19223 __strtoul_internal rather than strtoul.
19224
63643c85
PT
192252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19226
19227 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19228 and reject them.
19229
3faebe6a
ST
192302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19231
19232 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19233 which preserves existing values.
19234 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19235
c6474b07
PT
192362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19237
19238 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19239 TIMEOUT values. Return EINVAL for NFDS values either negative or
19240 greater than FD_SETSIZE.
19241
1043890b
ST
192422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19243
19244 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19245 allocated, call __vm_protect to finish enabling the existing space, and
19246 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19247 allocate the remainder.
19248
37ed8b9b
PT
192492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19250
19251 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19252 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19253
db653660
ST
192542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19255
37ed8b9b
PT
19256 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19257 sysdeps/mach/hurd/readlink.c.
b29d4053 19258
db653660
ST
19259 * posix/tst-sysconf.c (posix_options): Only use
19260 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19261 _POSIX_SYNCHRONIZED_IO when they are defined
19262 * sysdeps/mach/hurd/bits/posix_opt.h:
19263 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19264 (_XOPEN_REALTIME): Undefine macro.
19265 (_XOPEN_REALTIME_THREADS): Undefine macro.
19266 (_XOPEN_SHM): Undefine macro.
19267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19268 macro to -1.
19269 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19270 macro to -1.
19271 (_POSIX_ASYNC_IO): Undefine macro.
19272 (_POSIX_PRIORITIZED_IO): Undefine macro.
19273 (_POSIX_SPIN_LOCKS): Define macro to -1.
19274
ee16e894
ST
19275 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19276 SA_NODEFER, SA_RESETHAND.
19277 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19278 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19279 F_DUPFD_CLOEXEC.
19280
6103ae3b
TS
192812012-05-10 Thomas Schwinge <thomas@schwinge.name>
19282
19283 * elf/Makefile (pldd-modules): Define unconditionally.
19284
80b4e5f3
TS
192852012-05-10 Thomas Schwinge <thomas@schwinge.name>
19286
19287 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19288
edadcbd6
ST
192892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19290
19291 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19292 Return ENOENT when name is empty.
19293 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19294
80694780
TS
192952012-05-10 Thomas Schwinge <thomas@schwinge.name>
19296
1792c087
TS
19297 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19298
80694780
TS
19299 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19300
6b645f0d
ST
193012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19302
80694780
TS
19303 Fix mlock in all cases except non-readable pages.
19304 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19305 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19306
6b645f0d
ST
19307 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19308 (__mkdir): When path is `/', just fail with EEXIST.
19309 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19310
e468f8a3
TS
193112012-05-10 Thomas Schwinge <thomas@schwinge.name>
19312
19313 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19314 <sys/uio.h> (for writev).
19315 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19316 and <sys/param.h> (for MIN).
19317
a4186cff
PT
193182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19319
19320 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19321 REQUESTED_TIME. Properly set the remaining time and return EINTR
19322 if interrupted.
19323
510bbf14
TS
193242012-05-10 Thomas Schwinge <thomas@schwinge.name>
19325
19326 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19327 Depend on against $(link-rpcuserlibs).
19328
5d5722e8
ST
193292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19330
a4186cff
PT
19331 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19332 (__libc_stack_end): Do not use attribute_relro.
19333 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19334 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19335 to libthread-provided value.
a4186cff
PT
19336 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19337 attribute_relro.
5d5722e8 19338
37233df9
TS
193392012-05-10 Thomas Schwinge <thomas@schwinge.name>
19340
be971a2b
TS
19341 [BZ #3748]
19342 * bits/libc-lock.h (__libc_once_get): New macro.
19343 * sysdeps/mach/bits/libc-lock.h: Likewise.
19344 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19345 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19346 instead of using implementation details.
19347
37233df9
TS
19348 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19349 * libio/freopen.c: Likewise.
19350 * libio/freopen64.c: Likewise.
19351 * misc/syslog.c: Likewise.
19352 * nscd/connections.c: Likewise.
19353 * nscd/netgroupcache.c: Likewise.
19354 * sysdeps/posix/getcwd.c: Likewise.
19355
38de94a5
RM
193562012-05-10 Roland McGrath <roland@hack.frob.com>
19357
19358 * math/w_ilogbf.c: Add #include <limits.h>.
19359
67530489
ST
193602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19361
a4186cff 19362 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19363 path instead of returning without unlocking.
19364
67530489
ST
19365 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19366 immediate-write ioctls.
19367 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19368
5aa3a74a
TS
193692012-05-10 Thomas Schwinge <thomas@schwinge.name>
19370
18bad2ae
TS
19371 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19372 __builtin_frame_address instead of making assumptions about the
19373 location of the return address relative to DATA. Force early load of
19374 the return address.
19375 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19376 __builtin_frame_address.
19377
5aa3a74a
TS
19378 dup3 for GNU Hurd.
19379 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19380 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19381 implement dup3 and do some further code clean-ups.
19382 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19383 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19384
ecd0de9a
ST
193852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19386
cd9fa985
ST
19387 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19388
a4186cff
PT
19389 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19390 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19391 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19392 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19393 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19394 d->port.lock.
802ca5a5 19395
a4186cff
PT
19396 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19397 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19398 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19399
bcf55240
TS
194002012-05-10 Thomas Schwinge <thomas@schwinge.name>
19401
6960eb42
TS
19402 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19403 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19404 definitions.
19405
eb43375f
TS
19406 accept4 for GNU Hurd.
19407 * include/sys/socket.h (__libc_accept4): New prototype.
19408 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19409 to implement __libc_accept4.
19410 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19411 __libc_accept4.
19412 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19413
bcf55240
TS
19414 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19415 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19416 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19417 signal-defines.sym.
19418
6178c55b
ST
194192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19420
a4186cff 19421 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19422
6f080c2f
TS
194232012-05-10 Thomas Schwinge <thomas@schwinge.name>
19424
19425 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19426 assertion on O_CLOEXEC flag.
19427 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19428 * hurd/intern-fd.c: Likewise.
19429 * hurd/port2fd.c: Likewise.
19430
bcfe3a54
ST
194312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19432
19433 [BZ #3906]
19434 * bits/in.h (IPV6_PKTINFO): Define new macro.
19435 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19436
89c9aa49
AZ
194372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19438
19439 [BZ #13954]
19440 [BZ #13955]
19441 [BZ #13956]
19442 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19444 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19445 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19447 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19448 * math/libm-test.inc (logb_test) : Additional logb tests.
19449
021db4be
AJ
194502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19451 Andreas Jaeger <aj@suse.de>
19452
19453 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19454 * configure: Regenerated.
19455 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19456 * config.make.in (link-obsolete-rpc): New substituted variable.
19457 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19458 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19459 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19460 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19461 so that libc.a contains the symbols.
19462 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19463 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19464 * sunrpc/auth_none.c: Likewise.
19465 * sunrpc/auth_unix.c: Likewise.
19466 * sunrpc/authdes_prot.c: Likewise.
19467 * sunrpc/authuxprot.c: Likewise.
19468 * sunrpc/clnt_gen.c: Likewise.
19469 * sunrpc/clnt_perr.c: Likewise.
19470 * sunrpc/clnt_raw.c: Likewise.
19471 * sunrpc/clnt_simp.c: Likewise.
19472 * sunrpc/clnt_tcp.c: Likewise.
19473 * sunrpc/clnt_udp.c: Likewise.
19474 * sunrpc/clnt_unix.c: Likewise.
19475 * sunrpc/des_crypt.c: Likewise.
19476 * sunrpc/des_soft.c: Likewise.
19477 * sunrpc/get_myaddr.c: Likewise.
19478 * sunrpc/key_call.c: Likewise.
19479 * sunrpc/key_prot.c: Likewise.
19480 * sunrpc/netname.c: Likewise.
19481 * sunrpc/pm_getmaps.c: Likewise.
19482 * sunrpc/pm_getport.c: Likewise.
19483 * sunrpc/pmap_clnt.c: Likewise.
19484 * sunrpc/pmap_prot.c: Likewise.
19485 * sunrpc/pmap_prot2.c: Likewise.
19486 * sunrpc/pmap_rmt.c: Likewise.
19487 * sunrpc/publickey.c: Likewise.
19488 * sunrpc/rpc_cmsg.c: Likewise.
19489 * sunrpc/rpc_common.c: Likewise.
19490 * sunrpc/rpc_dtable.c: Likewise.
19491 * sunrpc/rpc_prot.c: Likewise.
19492 * sunrpc/rpc_thread.c: Likewise.
19493 * sunrpc/rtime.c: Likewise.
19494 * sunrpc/svc.c: Likewise.
19495 * sunrpc/svc_auth.c: Likewise.
19496 * sunrpc/svc_raw.c: Likewise.
19497 * sunrpc/svc_run.c: Likewise.
19498 * sunrpc/svc_tcp.c: Likewise.
19499 * sunrpc/svc_udp.c: Likewise.
19500 * sunrpc/svc_unix.c: Likewise.
19501 * sunrpc/svcauth_des.c: Likewise.
19502 * sunrpc/xcrypt.c: Likewise.
19503 * sunrpc/xdr.c: Likewise.
19504 * sunrpc/xdr_array.c: Likewise.
19505 * sunrpc/xdr_float.c: Likewise.
19506 * sunrpc/xdr_intXX_t.c: Likewise.
19507 * sunrpc/xdr_mem.c: Likewise.
19508 * sunrpc/xdr_rec.c: Likewise.
19509 * sunrpc/xdr_ref.c: Likewise.
19510 * sunrpc/xdr_sizeof.c: Likewise.
19511 * sunrpc/xdr_stdio.c: Likewise.
19512
b5c086a2
RM
195132012-05-10 Roland McGrath <roland@hack.frob.com>
19514
19515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19516 change. Update copyright years.
19517
6d74dd09
JM
195182012-05-10 Joseph Myers <joseph@codesourcery.com>
19519
19520 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19521
28e72501
MK
195222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19523 Joseph Myers <joseph@codesourcery.com>
19524 Paul Pluzhnikov <ppluzhnikov@google.com>
19525
19526 [BZ #14012]
19527 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19528 requiring rpcgen.
19529 [cross-compiling] (extra-libs): Likewise.
19530 [cross-compiling] (extra-libs-others): Likewise.
19531 [cross-compiling] (librpcsvc-routines): Likewise.
19532 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19533 [cross-compiling] (omit-deps): Likewise.
19534 (sunrpc-CPPFLAGS): New variable.
19535 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19536 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19537 (cross-rpcgen-objs): New variable.
19538 (extra-objs): Append $(cross-rpcgen-objs).
19539 ($(cross-rpcgen-objs)): New rule.
19540 ($(objpfx)cross-rpcgen): Likewise.
19541 (rpcgen-cmd): Define to use $(built-program-file). Expand
19542 comment.
19543 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19544 ($(objpfx)x%.stmp): Likewise.
19545 * sunrpc/proto.h [IS_IN_build] (_): Define.
19546 [IS_IN_build] (_libc_intl_domainname): Likewise.
19547
c8c59454
L
195482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19549
19550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19551 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19552 and R_X86_64_TPOFF64.
19553
6f27cd16
JM
195542012-05-10 Joseph Myers <joseph@codesourcery.com>
19555
19556 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19557 sysdeps/unix/sysv/syscalls.list.
19558 (stime): Likewise.
19559 (utime): Likewise.
19560 * sysdeps/unix/sysv/syscalls.list: Remove file.
19561
02467e1c
PE
195622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19563
19564 [BZ #3440]
19565 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19566 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19567 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19568 (__LC_IDENTIFICATION): Make these macros useful in #if
19569 expressions, as required by C99.
19570
da392631
AS
195712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19572
19573 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19574 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19575 after this.
19576
8115f29b
L
195772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19578
19579 * stdlib/longlong.h: Updated from GCC.
19580
bdd74070
AJ
195812012-05-09 Andreas Jaeger <aj@suse.de>
19582
edfe0dbe
AJ
19583 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19584 default is first entry.
19585 (run_mode): Set type.
19586 (main): Remove informal message about syslog.
19587 (options): Fix typo.
19588
bcfe3a54
ST
19589 [BZ #14053]
19590 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19591 to asm.
bcfe3a54
ST
19592 (lrint): Likewise.
19593 (llrintf): Likewise.
19594 (llrint): Likewise.
19595 (rint): Likewise.
19596 (rintf): Likewise.
19597 (nearbyint): Likewise.
19598 (nearbyintf): Likewise.
bdd74070 19599
91d8d69e
AJ
196002012-05-09 Andreas Jaeger <aj@suse.de>
19601 Pedro Alves <palves@redhat.com>
19602
19603 * nscd/nscd.c (run_mode): Use enum.
19604 (main): Cleanup coding style issue.
19605
bb90b80b
AJ
196062012-05-09 Alexandre Oliva <aoliva@redhat.com>
19607 Andreas Jaeger <aj@suse.de>
19608
bcfe3a54
ST
19609 * nscd/nscd.c (go_background): Replaced with...
19610 (run_mode): ... this.
bb90b80b 19611 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19612 (options): Add -F --foreground.
19613 (main): Implement it.
19614 (parse_opt): Parse it.
bb90b80b 19615
1a4b75a1
AJ
196162012-05-09 Andreas Jaeger <aj@suse.de>
19617
19618 [BZ #14083]
19619 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19620 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19621 -Wconversion warning.
19622 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19623 Likewise.
19624
b1cc2472
JM
196252012-05-09 Joseph Myers <joseph@codesourcery.com>
19626
19627 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19628 == 0.
19629 (LC_ALL): Use macro-int-constant.
19630 (LC_COLLATE): Likewise.
19631 (LC_CTYPE): Likewise.
19632 (LC_MESSAGES): Likewise.
19633 (LC_MONETARY): Likewise.
19634 (LC_NUMERIC): Likewise.
19635 (LC_TIME): Likewise.
19636 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19637 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19639 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19640 Specify type.
19641 [C99-based standards] (float_t): Expect type.
19642 [C99-based standards] (double_t): Expect type.
19643 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19644 type.
19645 [C99-based standards] (HUGE_VALL): Likewise.
19646 [C99-based standards] (INFINITY): Likewise.
19647 [C99-based standards] (NAN): Likewise.
19648 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19649 [C99-based standards] (FP_NAN): Likewise.
19650 [C99-based standards] (FP_NORMAL): Likewise.
19651 [C99-based standards] (FP_SUBNORMAL): Likewise.
19652 [C99-based standards] (FP_ZERO): Likewise.
19653 [C99-based standards] (FP_FAST_FMA): Use
19654 optional-macro-int-constant. Specify type. Require == 1.
19655 [C99-based standards] (FP_FAST_FMAF): Likewise.
19656 [C99-based standards] (FP_FAST_FMAL): Likewise.
19657 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19658 [C99-based standards] (FP_ILOGBNAN): Likewise.
19659 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19660 Specify type.
19661 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19662 [C99-based standards] (math_errhandling): Specify type.
19663 [ISO99 || ISO11] (signgam): Do not allow.
19664 [non-C99-based standards] (copysignf): Do not allow.
19665 [non-C99-based standards] (exp2f): Likewise.
19666 [non-C99-based standards] (log2f): Likewise.
19667 [non-C99-based standards] (modff): Allow.
19668 [non-C99-based standards] (erff): Do not allow.
19669 [non-C99-based standards] (erfcf): Likewise.
19670 [non-C99-based standards] (gammaf): Likewise.
19671 [non-C99-based standards] (hypotf): Likewise.
19672 [non-C99-based standards] (j0f): Likewise.
19673 [non-C99-based standards] (j1f): Likewise.
19674 [non-C99-based standards] (jnf): Likewise.
19675 [non-C99-based standards] (lgammaf): Likewise.
19676 [non-C99-based standards] (tgammaf): Likewise.
19677 [non-C99-based standards] (y0f): Likewise.
19678 [non-C99-based standards] (y1f): Likewise.
19679 [non-C99-based standards] (ynf): Likewise.
19680 [non-C99-based standards] (isnanf): Likewise.
19681 [non-C99-based standards] (acoshf): Likewise.
19682 [non-C99-based standards] (asinhf): Likewise.
19683 [non-C99-based standards] (atanhf): Likewise.
19684 [non-C99-based standards] (cbrtf): Likewise.
19685 [non-C99-based standards] (expm1f): Likewise.
19686 [non-C99-based standards] (ilogbf): Likewise.
19687 [non-C99-based standards] (log1pf): Likewise.
19688 [non-C99-based standards] (logbf): Likewise.
19689 [non-C99-based standards] (nextafterf): Likewise.
19690 [non-C99-based standards] (remainderf): Likewise.
19691 [non-C99-based standards] (rintf): Likewise.
19692 [non-C99-based standards] (scalbf): Likewise.
19693 [non-C99-based standards] (copysignl): Likewise.
19694 [non-C99-based standards] (exp2l): Likewise.
19695 [non-C99-based standards] (log2l): Likewise.
19696 [non-C99-based standards] (modfl): Allow.
19697 [non-C99-based standards] (erfl): Do not allow.
19698 [non-C99-based standards] (erfcl): Likewise.
19699 [non-C99-based standards] (gammal): Likewise.
19700 [non-C99-based standards] (hypotl): Likewise.
19701 [non-C99-based standards] (j0l): Likewise.
19702 [non-C99-based standards] (j1l): Likewise.
19703 [non-C99-based standards] (jnl): Likewise.
19704 [non-C99-based standards] (lgammal): Likewise.
19705 [non-C99-based standards] (tgammal): Likewise.
19706 [non-C99-based standards] (y0l): Likewise.
19707 [non-C99-based standards] (y1l): Likewise.
19708 [non-C99-based standards] (ynl): Likewise.
19709 [non-C99-based standards] (isnanl): Likewise.
19710 [non-C99-based standards] (acoshl): Likewise.
19711 [non-C99-based standards] (asinhl): Likewise.
19712 [non-C99-based standards] (atanhl): Likewise.
19713 [non-C99-based standards] (cbrtl): Likewise.
19714 [non-C99-based standards] (expm1l): Likewise.
19715 [non-C99-based standards] (ilogbl): Likewise.
19716 [non-C99-based standards] (log1pl): Likewise.
19717 [non-C99-based standards] (logbl): Likewise.
19718 [non-C99-based standards] (nextafterl): Likewise.
19719 [non-C99-based standards] (remainderl): Likewise.
19720 [non-C99-based standards] (rintl): Likewise.
19721 [non-C99-based standards] (scalbl): Likewise.
19722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19723 [non-C99-based standards] (FP_*): Do not allow.
19724 [C99-based standards] (FP_*): Change to
19725 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19726 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19727 allow.
19728 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19729 (SIG_ERR): Likewise.
19730 [X/Open-based standards] (SIG_HOLD): Likewise.
19731 (SIG_IGN): Likewise.
19732 (SIGABRT): Use macro-int-constant. Specify type. Require
19733 positive value.
19734 (SIGFPE): Likewise.
19735 (SIGILL): Likewise.
19736 (SIGINT): Likewise.
19737 (SIGSEGV): Likewise.
19738 (SIGTER): Likewise.
19739 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19740 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19741 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19742 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19743 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19744 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19745 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19746 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19747 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19748 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19749 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19750 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19751 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19752 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19753 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19754 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19755 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19756 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19757 [X/Open-based standards] (SIGTRAP): Likewise.
19758 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19759 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19760 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19761 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19762 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19763 allow.
19764
b9f1922d
IW
197652012-05-08 Ian Wienand <ianw@vmware.com>
19766
19767 [BZ #14080]
19768 * time/tzset.c (__tzset_parse_tz): Update default rules for
19769 daylight time changes in the Energy Policy Act of 2005.
19770
1db86e88
AJ
197712012-05-09 Andreas Jaeger <aj@suse.de>
19772
19773 [BZ #13983]
19774 * elf/ldconfig.c (parse_conf): Change string to make clear that
19775 ldconfig only issued a warning if ld.so.conf does not exist.
19776
dee4a4e3
DM
197772012-05-08 David S. Miller <davem@davemloft.net>
19778
ee0db190
DM
19779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19780 movxtod instead of popping the value on the stack.
19781
dee4a4e3
DM
19782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19783
6a43ec98
CD
197842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19785
19786 * config.h.in: Add HAVE_ARM_PCS_VFP.
19787
05c2c961
RMG
197882012-05-08 Roland Mc Grath <roland@hack.frob.com>
19789
bcfe3a54
ST
19790 [BZ #13979]
19791 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19792 checking but the checks are disabled for any reason.
05c2c961 19793
4b30f61a
L
197942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19795
19796 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19797 and ELF64_R_TYPE with ELFW(R_TYPE).
19798
eee2bc67
JM
197992012-05-08 Joseph Myers <joseph@codesourcery.com>
19800
7ea5391a
JM
19801 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19802 (ulimit): Likewise.
19803
eee2bc67
JM
19804 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19805 (settimeofday): Likewise.
19806
abb66a67
MF
198072012-05-08 Mike Frysinger <vapier@gentoo.org>
19808
19809 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19810 a struct th_u2 inside the union, and move tu_block/tu_code into
19811 a new th_u3 union of tu_block/tu_code inside of that. Move
19812 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19813 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19814 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19815 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19816 (th_stuff): Change to th_u1.tu_stuff.
19817 (th_data): Define.
19818 (th_msg): Change to th_u1.th_u2.tu_data.
19819
7f18b530
DM
198202012-05-07 David S. Miller <davem@davemloft.net>
19821
05760585
DM
19822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19823
7f18b530
DM
19824 [BZ #14074]
19825 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19826 (SETUP_PIC_REG): Use it.
19827 (SETUP_PIC_REG_LEAF): Use it.
19828
495fd99f
JM
198292012-05-07 Joseph Myers <joseph@codesourcery.com>
19830
19831 [BZ #13885]
19832 [BZ #13923]
19833 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19834 USE_AS_EXPM1L.
19835 (EXPL_FINITE): Likewise.
19836 (FLDLOG): Likewise.
19837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19838 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19839 e_expl.S.
19840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19841 USE_AS_EXPM1L.
19842 (EXPL_FINITE): Likewise.
19843 (FLDLOG): Likewise.
19844 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19845 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19846 e_expl.S.
19847 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19848 test of -max_value argument for long double.
19849 * sysdeps/i386/fpu/libm-test-ulps: Update.
19850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19851
6693d694
DM
198522012-05-06 David S. Miller <davem@davemloft.net>
19853
19854 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19855 quad soft-float symbols whose references which are compiler
19856 generated.
19857 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19858
6c23e11c
JM
198592012-05-06 Joseph Myers <joseph@codesourcery.com>
19860
d8b82cad
JM
19861 [BZ #13884]
19862 [BZ #13914]
19863 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19864 USE_AS_EXP10L.
19865 (EXPL_FINITE): Likewise.
19866 (FLDLOG): Likewise.
19867 (c0): Likewise.
19868 (c1): Likewise.
19869 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19870 Adjust comments for base varying.
19871 (__expl_finite): Change alias to EXPL_FINITE.
19872 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19873 e_expl.S.
19874 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19875 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19876 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19877 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19879 USE_AS_EXP10L.
19880 (EXPL_FINITE): Likewise.
19881 (FLDLOG): Likewise.
19882 (c0): Likewise.
19883 (c1): Likewise.
19884 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19885 Adjust comments for base varying.
19886 (__expl_finite): Change alias to EXPL_FINITE.
19887 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19888 tests for bugs.
19889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19890
6c23e11c
JM
19891 [BZ #14064]
19892 * math/libm-test.inc (check_float_internal): Correct ulp
19893 calculation for subnormal expected results.
19894
29ba805c
AJ
198952012-05-06 Andreas Jaeger <aj@suse.de>
19896
19897 * Makeconfig (+math-flags): New, set to -frounding-math.
19898 (+cflags): Add +math-flags so that all of glibc gets compiled with
19899 it.
19900
19901 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19902
7b17aeda
JM
199032012-05-05 Joseph Myers <joseph@codesourcery.com>
19904
5779f134
JM
19905 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19906 Disable one test.
19907
41498f4d
JM
19908 [BZ #13787]
19909 [BZ #13922]
19910 [BZ #14036]
19911 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19912 (__ieee754_expl): Allow for and saturate large arguments.
19913 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19914 (u_threshold): Likewise.
19915 (__exp): Call __ieee754_exp before checking for overflow and
19916 underflow.
19917 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19918 (u_threshold): Likewise.
19919 (__expf): Call __ieee754_expf before checking for overflow and
19920 underflow.
19921 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19922 (u_threshold): Likewise.
19923 (__expl): Call __ieee754_expl before checking for overflow and
19924 underflow.
19925 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19926 (__ieee754_expl): Allow for and saturate large arguments.
19927 * math/libm-test.inc (exp_test): Add another test. Do not allow
19928 missing overflow exception on overflow.
19929 (expm1_test): Do not allow missing overflow exception on overflow.
19930
6698b8bf
JM
19931 * sysdeps/i386/fpu/e_expl.c: Move to ...
19932 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19933 rather than using inline asm.
19934 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19935 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19936 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19937
7b17aeda
JM
19938 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19939 (nice): Likewise.
19940 (poll): Likewise.
19941 (signal): Likewise.
19942 (time): Likewise.
19943 (times): Likewise.
19944
f7c85819
JM
199452012-05-04 Joseph Myers <joseph@codesourcery.com>
19946
19947 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19948 sysdeps/unix/common/syscalls.list.
19949 (fchmod): Likewise.
19950 (fchown): Likewise.
19951 (ftruncate): Likewise.
19952 (getrusage): Likewise.
19953 (gettimeofday): Likewise.
19954 (setpgid): Likewise.
19955 (setregid): Likewise.
19956 (setreuid): Likewise.
19957 (sigaction): Likewise.
19958 (truncate): Likewise.
19959 (vhangup): Likewise.
19960 * sysdeps/unix/common/syscalls.list: Remove file.
19961 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19962 * sysdeps/unix/sysv/linux/Implies: Likewise.
19963
336270d0
L
199642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19965
19966 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19968 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19969 Moved to ...
19970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19971 Here.
19972 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19973 to ...
19974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19975 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19976 to ...
19977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19978 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19979 to ...
19980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19981 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19982 to ...
19983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19984 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19985 to ...
19986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19987 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19988 to ...
19989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19990 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19991 to ...
19992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19993 Here.
19994 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19995 to ...
19996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19997 Here.
19998 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19999 to ...
20000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20002 Moved to ...
20003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20004 Here.
20005 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20006 to ...
20007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20008
d128e450
JM
200092012-05-04 Joseph Myers <joseph@codesourcery.com>
20010
fa8ee516
JM
20011 * sysdeps/unix/common/bits/dirent.h: Remove file.
20012 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20013
d128e450
JM
20014 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20015 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20016 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20017 * sysdeps/unix/bsd/isatty.c: Likewise.
20018 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20019 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20020 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20021
ff8faaf0 200222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20023
62881be4 20024 [BZ #13563]
31dc8730
AZ
20025 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20026 long double comparison inaccuracies.
20027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20029
6fef930c
AS
200302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20031
20032 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20034
8f203e6c
JM
200352012-05-04 Joseph Myers <joseph@codesourcery.com>
20036
20037 [BZ #14049]
20038 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20039 nonzero digits before rounding a hex value.
20040 * stdlib/tst-strtod.c (tests): Add another test.
20041
5197d9c2
AK
200422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20043
20044 * sysdeps/s390/fpu/libm-test-ulps: Update.
20045
f0c1dedf
AJ
200462012-05-03 Andreas Jaeger <aj@suse.de>
20047
20048 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20049 does not get optimized out.
20050 (malloc_opt_barrier): New.
20051
a65ef2ae 200522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20053 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20054
2b942cb7 20055 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20056 intermediate file deletion.
2b942cb7 20057 (generated): Add .symlist files.
a65ef2ae 20058
54b71e02
JM
200592012-05-03 Joseph Myers <joseph@codesourcery.com>
20060
20061 [BZ #13775]
20062 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20063 Redirect under this condition.
20064 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20065 [__USE_GNU] (__dprintf_chk): Not under this condition.
20066 [__USE_GNU] (__vdprintf_chk): Likewise.
20067 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20068 under this condition.
20069 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20070 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20071 [__USE_XOPEN2K8] (vdprintf): Likewise.
20072 [__USE_GNU] (__dprintf_chk): Not under this condition.
20073 [__USE_GNU] (__vdprintf_chk): Likewise.
20074 [__USE_GNU] (dprintf): Likewise.
20075 [__USE_GNU] (vdprintf): Likewise.
20076
d3dfcc41
RM
200772012-05-03 Roland McGrath <roland@hack.frob.com>
20078
20079 * elf/Makefile (common-generated): Set this instead of generated for
20080 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20081 $(all-built-dso)-derived lists.
20082
7ac30cc5
AJ
200832012-05-03 Andreas Jaeger <aj@suse.de>
20084
0c51e550
AJ
20085 * sysdeps/i386/fpu/libm-test-ulps: Update.
20086
7ac30cc5
AJ
20087 * FAQ: Removed.
20088 * FAQ.in: Likewise.
20089 * scripts/gen-FAQ.pl: Likewise.
20090 * manual/install.texi (Installation): Point to online location of
20091 FAQ.
20092 * Makefile (files-for-dist): Remove FAQ.
20093 (FAQ): Remove.
20094
d4c2917f
AM
200952012-05-02 Allan McRae <allan@archlinux.org>
20096
20097 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20098 (LDFLAGS-reldepmod5.so): Likewise.
20099 (LDFLAGS-reldep6mod1.so): Likewise.
20100 (LDFLAGS-reldep6mod4.so): Likewise.
20101 (LDFLAGS-reldep8mod3.so): Likewise.
20102 (LDFLAGS-unload4mod1.so): Likewise.
20103 (LDFLAGS-unload4mod2.so): Likewise.
20104 (LDFLAGS-tst-initorder): Likewise.
20105 (LDFLAGS-tst-initordera2.so): Likewise.
20106 (LDFLAGS-tst-initordera3.so): Likewise.
20107 (LDFLAGS-tst-initordera4.so): Likewise.
20108 (LDFLAGS-tst-initorderb2.so): Likewise.
20109 (LDFLAGS-noload): Likewise.
20110 (LDFLAGS-next): Likewise.
20111 (LDFLAGS-order2mod1.so): Likewise.
20112 (LDFLAGS-order2mod2.so): Likewise.
20113 (LDFLAGS-tst-initorder2): Likewise.
20114 (LDFLAGS-tst-initorder2a.so): Likewise.
20115 (LDFLAGS-tst-initorder2b.so): Likewise.
20116 (LDFLAGS-tst-initorder2c.so): Likewise.
20117 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20118
d77f993f
DM
201192012-05-02 David S. Miller <davem@davemloft.net>
20120
20121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20122
171a70b4
PP
201232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20124
20125 [BZ #14055]
20126 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20127
0be196ad
AJ
201282012-05-02 Andreas Jaeger <aj@suse.de>
20129
20130 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20131 since we manipulate rounding mode.
20132 (CPPFLAGS-test-idouble.c): Likewise.
20133 (CPPFLAGS-test-ifloat.c): Likewise.
20134 (CFLAGS-test-ldouble.c): Likewise.
20135 (CFLAGS-test-double.c): Likewise.
20136 (CFLAGS-test-float.c): Likewise.
20137 (CFLAGS-test-misc.c): Likewise.
20138 (CFLAGS-test-test-fenv.c): Likewise.
20139
4f9d04aa
AZ
201402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20141
2b942cb7
RM
20142 [BZ #2550]
20143 [BZ #2570]
20144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20145 comparisons to determine direction to adjust input.
4f9d04aa 20146
82a79e7d
RM
201472012-05-01 Roland McGrath <roland@hack.frob.com>
20148
f5a01ca9
RM
20149 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20150 output to the target.
20151
90fe4186
RM
20152 * scripts/localplt.awk: New file.
20153 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20154 (check-localplt-CFLAGS): Variable removed.
20155 ($(all-built-dso:=.jmprel)): New static pattern rule.
20156 (generated): Add those targets.
20157 (localplt-built-dso): New variable.
20158 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20159
20160 * elf/check-localplt.c: File removed.
20161
82397ed6
RM
20162 * scripts/check-execstack.awk: New file.
20163 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20164 (check-execstack-CFLAGS): Variable removed.
20165 ($(objpfx)check-execstack.h): Target removed.
20166 ($(objpfx)execstack-default): New target.
20167 (generated): Add that instead of check-execstack.h.
20168 ($(all-built-dso:=.phdr)): New static pattern rule.
20169 (generated): Add those targets.
20170 * elf/check-execstack.c: File removed.
20171
82a79e7d
RM
20172 * scripts/check-textrel.awk: New file.
20173 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20174 (check-textrel-CFLAGS): Variable removed.
20175 (all-built-dso): Use := to define.o
20176 ($(all-built-dso:=.dyn)): New static pattern rule.
20177 (generated): Add those targets.
20178 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20179 * config.make.in (READELF): New substituted variable.
20180 * elf/check-textrel.c: File removed.
20181
62fde54f 201822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20183
615605c9
JM
20184 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20185 allow.
20186 * conform/data/ctype.h-data [C99-based standards] (isblank):
20187 Expect function.
20188 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20189 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20191 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20192 Specify type. Require positive value.
20193 (EILSEQ): Likewise.
20194 (ERANGE): Likewise.
20195 [ISO || POSIX] (EILSEQ): Do not expect.
20196 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20197 Specify type. Require positive value.
20198 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20199 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20200 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20201 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20202 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20203 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20204 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20205 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20213 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20218 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20219 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20220 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20221 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20222 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20223 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20226 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20227 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20228 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20235 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20249 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20250 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20251 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20252 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20253 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20254 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20255 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20256 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20257 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20258 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20259 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20260 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20261 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20262 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20263 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20264 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20265 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20266 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20267 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20268 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20269 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20270 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20272 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20273 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20274 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20275 Require >= 2.
20276 (FLT_ROUNDS): Expect as macro, not constant.
20277 (FLT_MANT_DIG): Use macro-int-constant.
20278 (DBL_MANT_DIG): Likewise.
20279 (LDBL_MANT_DIG): Likewise.
20280 (FLT_DIG): Likewise.
20281 (DBL_DIG): Likewise.
20282 (LDBL_DIG): Likewise.
20283 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20284 (DBL_MIN_EXP): Likewise.
20285 (LDBL_MIN_EXP): Likewise.
20286 (FLT_MAX_EXP): Use macro-int-constant.
20287 (DBL_MAX_EXP): Likewise.
20288 (LDBL_MAX_EXP): Likewise.
20289 (FLT_MAX_10_EXP): Likewise.
20290 (DBL_MAX_10_EXP): Likewise.
20291 (LDBL_MAX_10_EXP): Likewise.
20292 (FLT_MAX): Use macro-constant.
20293 (DBL_MAX): Likewise.
20294 (LDBL_MAX): Likewise.
20295 (FLT_EPSILON): Use macro-constant. Give upper bound.
20296 (DBL_EPSILON): Likewise.
20297 (LDBL_EPSILON): Likewise.
20298 (FLT_MIN): Likewise.
20299 (DBL_MIN): Likewise.
20300 (LDBL_MIN): Likewise.
20301 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20302 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20303 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20304 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20305 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20306 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20307 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20308 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20309 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20310 [ISO11] (FLT_TRUE_MIN): Likewise.
20311 [ISO11] (LDBL_TRUE_MIN): Likewise.
20312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20313 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20314 (SCHAR_MIN): Use macro-int-constant. Specify type.
20315 (SCHAR_MAX): Likewise.
20316 (UCHAR_MAX): Likewise.
20317 (CHAR_MIN): Likewise.
20318 (CHAR_MAX): Likewise.
20319 (MB_LEN_MAX): Use macro-int-constant.
20320 (SHRT_MIN): Use macro-int-constant. Specify type.
20321 (SHRT_MAX): Likewise.
20322 (USHRT_MAX): Likewise.
20323 (INT_MAX): Likewise.
20324 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20325 bound negative.
20326 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20327 bound with "U".
20328 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20329 bound with "L".
20330 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20331 bound negative. Suffix upper bound with "L".
20332 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20333 bound with "UL".
20334 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20335 Specify type.
20336 [C99-based standards] (LLONG_MAX): Likewise.
20337 [C99-based standards] (ULLONG_MAX): Likewise.
20338 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20339 == 0.
20340 [ISO11] (max_align_t): Require type.
20341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20342
c9140a62
JM
20343 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20344 from $CFLAGS, without defining away __attribute__ calls.
20345 (checknamespace): Use $CFLAGS_namespace.
20346
9af0bf29
JM
20347 * conform/conformtest.pl (@keywords): Only include C99 keywords
20348 for standards based on C99 or C11.
20349
343222a2
JM
20350 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20351 Disable tests.
20352 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20353 UNIX98]: Likewise.
20354
661f8cf0
JM
20355 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20356 usability of symbols in #if.
20357
ee74b9cb
JM
20358 * conform/conformtest.pl: If macro or constant types start
20359 "promoted:", expect the symbol to be of the following type
20360 promoted by the integer promotions.
62fde54f 20361
aafc49b3
JM
20362 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20363 in one place. Also handle "macro-constant".
20364
fefdf574
JM
20365 * conform/conformtest.pl: Only accept expected macro values with
20366 "==". Parse all "macro" lines in one place.
20367 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20368
f2d922fe
JM
20369 * conform/conformtest.pl: Handle braced types on "constant" lines
20370 instead of handling "typed-constant".
20371 * conform/data/signal.h-data: Use "constant" instead of
20372 "typed-constant".
20373
d22956c9
JM
20374 * conform/conformtest.pl: Handle "optional-" at start of lines in
20375 one place rather than duplicating several cases. Handle each
20376 format of "macro" line with initial "optional-".
20377
028e2e38
JM
20378 * conform/conformtest.pl: Only accept expected constant or
20379 optional-constant values with "==". Parse all "constant" lines in
20380 one place. Parse all "optional-constant" lines in one place.
20381 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20382 * conform/data/fmtmsg.h-data: Likewise.
20383 * conform/data/netinet/in.h-data: Likewise.
20384 * conform/data/tar.h-data: Likewise.
20385 * conform/data/limits.h-data: Use "==" form on "constant" and
20386 "optional-constant" lines.
20387
1b8f2850
JM
20388 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20389 Use -std=c99 for XOPEN2K.
20390 (@knownproblems): Remove.
20391 (newtoken): Don't check %isknown.
20392
a05a144b
JM
20393 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20394 Do not expect macro.
20395 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20405 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20407 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20408 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20409 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20410 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20413 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20424 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20425 [XPG3] (acosh): Likewise.
20426 [XPG3] (asinh): Likewise.
20427 [XPG3] (atanh): Likewise.
20428 [XPG3] (cbrt): Likewise.
20429 [XPG3] (expm1): Likewise.
20430 [XPG3] (ilogb): Likewise.
20431 [XPG3] (log1p): Likewise.
20432 [XPG3] (logb): Likewise.
20433 [XPG3] (nextafter): Likewise.
20434 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20435 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20436 [XPG3] (remainder): Likewise.
20437 [XPG3] (rint): Likewise.
20438 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20439 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20443 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20445 [UNIX98 || XOPEN2K] (scalb): Expect.
20446 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20447 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20452 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20453 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20583
73c5ebe3
JM
20584 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20585 _XOPEN_SOURCE_EXTENDED for XPG4.
20586
39c33b6c
JM
20587 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20588
62fde54f
JM
20589 * Makeconfig (localtime): Remove variable.
20590 (inst_localtime-file): Likewise.
20591
0741d64c
AS
205922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20593
20594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20595 Update.
20596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20597 Update.
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20599 Update.
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20601 Update.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20603 Update.
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20605 Update.
20606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20607 Update.
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20609 Update.
20610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20611 Update.
20612
7cb029ee
JM
206132012-05-01 Joseph Myers <joseph@codesourcery.com>
20614
20615 [BZ #2550]
20616 [BZ #2570]
20617 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20618 comparisons to determine direction to adjust input.
20619 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20620 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20621 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20622 Likewise.
20623 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20624 Likewise.
20625 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20626 Likewise.
20627 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20628 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20629 Likewise.
20630 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20631 Likewise.
20632 * math/libm-test.inc (nexttoward_test): Add more tests.
20633
412bd966
AS
206342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20635
20636 [BZ #14040]
20637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20638 in version GLIBC_2.1, not GLIBC_2.0.
20639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20640 Likewise.
20641
9568c0c2
JM
206422012-04-30 Joseph Myers <joseph@codesourcery.com>
20643
adfbc8ac
JM
20644 [BZ #13942]
20645 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20646 (1 - x) * (1 + x).
20647 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20648 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20649 * math/libm-test.inc (acos_test): Add more tests.
20650 (asin_test): Likewise.
20651 * sysdeps/i386/fpu/libm-test-ulps: Update.
20652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20653
5ba3cc69
JM
20654 [BZ #14034]
20655 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20656 of square root.
20657 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20658 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20659 * math/libm-test.inc (acos_test_tonearest): New function.
20660 (acos_test_towardzero): Likewise.
20661 (acos_test_downward): Likewise.
20662 (acos_test_upward): Likewise.
20663 (asin_test_tonearest): Likewise.
20664 (asin_test_towardzero): Likewise.
20665 (asin_test_downward): Likewise.
20666 (asin_test_upward): Likewise.
20667 (main): Call the new functions.
20668 * sysdeps/i386/fpu/libm-test-ulps: Update.
20669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20670
9568c0c2
JM
20671 [BZ #13884]
20672 [BZ #13924]
20673 * math/e_exp10.c: Include <float.h>.
20674 (__ieee754_exp10): Handle underflow here rather than multiplying
20675 large negative argument by M_LN10.
20676 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20677 of __ieee754_expf.
20678 * math/e_exp10l.c: Include <float.h>.
20679 (__ieee754_exp10l): Handle underflow here rather than multiplying
20680 large negative argument by M_LN10l.
20681 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20682 spurious overflow exception on underflow.
20683
5ac3ea17
MP
206842012-04-29 Marek Polacek <polacek@redhat.com>
20685
20686 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20687 (__fortify_function): New macro.
20688 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20689 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20690 __extern_always_inline.
20691 * libio/bits/stdio2.h: Likewise.
20692 * libio/bits/stdio.h: Likewise.
20693 * string/string.h: Likewise.
20694 * string/bits/string3.h: Likewise.
20695 * include/stdio.h: Likewise.
20696 * stdlib/bits/stdlib.h: Likewise.
20697 * stdlib/stdlib.h: Likewise.
20698 * rt/bits/mqueue2.h: Likewise.
20699 * rt/mqueue.h: Likewise.
20700 * posix/bits/unistd.h: Likewise.
20701 * posix/unistd.h: Likewise.
20702 * io/bits/poll2.h: Likewise.
20703 * io/bits/fcntl2.h: Likewise.
20704 * io/fcntl.h: Likewise.
20705 * io/sys/poll.h: Likewise.
20706 * misc/bits/syslog.h: Likewise.
20707 * misc/bits/syslog-ldbl.h: Likewise.
20708 * misc/sys/syslog.h: Likewise.
20709 * socket/bits/socket2.h: Likewise.
20710 * socket/sys/socket.h: Likewise.
20711 * debug/tst-chk1.c: Likewise.
20712 * wcsmbs/bits/wchar2.h: Likewise.
20713 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20714 * wcsmbs/wchar.h: Likewise.
20715
ecf0ebfb
AJ
207162012-04-29 Andreas Jaeger <aj@suse.de>
20717
20718 * Makerules (tests): Remove enable-check-abi protection.
20719 (check-abi-warn): Remove.
20720 (check-abi-%): Remove check-abi-warn usage.
20721
20722 * configure.in: Remove check-abi configure option.
20723 * configure: Regenerated.
20724 * config.make.in (enable-check-abi): Remove.
20725
6d5c57fa
AS
207262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20727
24c5d07e 20728 [BZ #14033]
ded5180a
AS
20729 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20730 double functions to double *_finite functions.
20731
7e0d315d
AS
20732 [BZ #13941]
20733 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20734 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20735 LDBL_MIN_EXP.
20736 * stdio-common/Makefile (tests): Add tst-sprintf3.
20737 * stdio-common/tst-sprintf3.c: New file.
20738
6d5c57fa
AS
20739 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20740 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20741
0749ff8b
JM
207422012-04-28 Joseph Myers <joseph@codesourcery.com>
20743
20744 * conform/conformtest.pl: Remove duplicate typed-constant
20745 handling.
20746
8dbd5d7b
DM
207472012-04-28 David S. Miller <davem@davemloft.net>
20748
20749 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20750 (check-abi-%): Remove AWK script prerequisite and explicit
20751 abilist directory.
20752 (check-abi): Rewrite to just diff the symlist with the abilist.
20753 (config-tls, config-abi-config): Delete, no longer used.
20754 (update-abi-%): Remove AWK script and explicit abilist directory.
20755 (update-abi): Rewrite to simply compare and conditionally copy the
20756 symlist and the sysdep abilist file. Remove update-abi-config
20757 checks.
20758 * abilist/ld.abilist: Remove.
20759 * abilist/libBrokenLocale.abilist: Remove.
20760 * abilist/libanl.abilist: Remove.
20761 * abilist/libcrypt.abilist: Remove.
20762 * abilist/libdl.abilist: Remove.
20763 * abilist/librt.abilist: Remove.
20764 * abilist/libthread_db.abilist: Remove.
20765 * abilist/libutil.abilist: Remove.
20766 * scripts/extract-abilist.awk: Remove.
20767 * scripts/merge-abilist.awk: Remove.
20768 * sysdeps/generic/libcidn.abilist: New file.
20769 * sysdeps/generic/libnss_compat.abilist: New file.
20770 * sysdeps/generic/libnss_db.abilist: New file.
20771 * sysdeps/generic/libnss_dns.abilist: New file.
20772 * sysdeps/generic/libnss_files.abilist: New file.
20773 * sysdeps/generic/libnss_hesiod.abilist: New file.
20774 * sysdeps/generic/libnss_nis.abilist: New file.
20775 * sysdeps/generic/libnss_nisplus.abilist: New file.
20776 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20777 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20778 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20779 file.
20780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20781 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20782 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20783 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20784 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20785 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20786 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20787 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20788 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20789 file.
20790 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20791 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20792 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20793 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20794 file.
20795 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20796 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20797 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20798 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20799 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20800 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20801 file.
20802 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20803 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20804 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20805 file.
20806 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20808 New file.
20809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20810 New file.
20811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20812 New file.
20813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20814 New file.
20815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20816 New file.
20817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20818 New file.
20819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20820 New file.
20821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20822 New file.
20823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20824 New file.
20825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20826 New file.
20827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20828 New file.
20829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20830 New file.
20831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20832 New file.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20834 file.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20836 New file.
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20838 New file.
20839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20840 file.
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20842 New file.
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20844 New file.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20846 file.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20848 New file.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20850 New file.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20852 New file.
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20854 New file.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20856 New file.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20858 New file.
20859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20861 file.
20862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20863 New file.
20864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20865 file.
20866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20867 file.
20868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20869 file.
20870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20871 file.
20872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20873 file.
20874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20875 New file.
20876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20877 file.
20878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20879 file.
20880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20881 New file.
20882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20883 file.
20884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20886 file.
20887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20888 New file.
20889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20890 file.
20891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20892 file.
20893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20894 file.
20895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20896 file.
20897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20898 file.
20899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20900 New file.
20901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20902 file.
20903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20904 file.
20905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20906 New file.
20907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20908 file.
20909 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20910 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20911 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20912 file.
20913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20914 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20915 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20916 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20917 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20918 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20919 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20920 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20921 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20922 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20925 file.
20926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20927 New file.
20928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20929 file.
20930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20931 file.
20932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20933 file.
20934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20935 file.
20936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20937 file.
20938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20939 New file.
20940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20941 New file.
20942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20943 file.
20944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20945 New file.
20946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20947 file.
20948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20950 file.
20951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20952 New file.
20953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20954 file.
20955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20956 file.
20957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20958 file.
20959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20960 file.
20961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20962 file.
20963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20964 New file.
20965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20966 New file.
20967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20968 file.
20969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20970 New file.
20971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20972 file.
20973
41d73a1b
JM
209742012-04-28 Joseph Myers <joseph@codesourcery.com>
20975
20976 * conform/conformtest.pl: Fix typo in handling typed-constant from
20977 allow-header.
20978
28aeeda4
JM
209792012-04-27 Joseph Myers <joseph@codesourcery.com>
20980
adae8f5e
JM
20981 * README: Cut down references to pre-2.6 Linux kernels and
20982 Linuxthreads. Update lists of configurations in libc and ports
20983 and sort alphabetically. Say "or newer" with Linux kernel version
20984 requirements.
20985
28aeeda4
JM
20986 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20987
a462cb63
RA
209882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20989
20990 [BZ #887]
20991 * math/libm-test.inc (logb_test_downward): New test to expose
20992 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20993 rounding mode.
20994
6ad3493e
JM
209952012-04-27 Joseph Myers <joseph@codesourcery.com>
20996
20997 [BZ #14027]
20998 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20999 to be done.
21000 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21001 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21002
2ce4f015
JM
210032012-04-26 Joseph Myers <joseph@codesourcery.com>
21004
5aeb141a
JM
21005 * sysdeps/unix/i386/brk.S: Remove file.
21006 * sysdeps/unix/i386/dl-brk.S: Likewise.
21007 * sysdeps/unix/i386/pipe.S: Likewise.
21008 * sysdeps/unix/i386/sigreturn.S: Likewise.
21009 * sysdeps/unix/i386/syscall.S: Likewise.
21010 * sysdeps/unix/i386/vfork.S: Likewise.
21011 * sysdeps/unix/i386/wait.S: Likewise.
21012
7143acae
JM
21013 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21014 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21015
2ce4f015
JM
21016 * configure.in (arm*-none*): Do not allow without
21017 --enable-hacker-mode.
21018 (netbsd*): Remove case setting base_os.
21019 (386bsd*): Likewise.
21020 (freebsd*): Likewise.
21021 (bsdi*): Likewise.
21022 (osf*): Likewise.
21023 (sunos*): Likewise.
21024 (ultrix*): Likewise.
21025 (newsos*): Likewise.
21026 (dynix*): Likewise.
21027 (*bsd*): Likewise.
21028 (sysv*): Likewise.
21029 (isc*): Likewise.
21030 (esix*): Likewise.
21031 (sco*): Likewise.
21032 (minix*): Likewise.
21033 (irix4*): Likewise.
21034 (irix6*): Likewise.
21035 (solaris[2-9]*): Likewise.
21036 (none): Likewise.
21037 * configure: Regenerated.
21038
0ac229c8
AZ
210392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21040
21041 [BZ #11521]
21042 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21043 overflow or cancellation in calculating denominator.
21044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21046 down expression to avoid unexpected rounding in newer GCCs.
21047 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21048
33f244f4
DM
210492012-04-26 David S. Miller <davem@davemloft.net>
21050
21051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21052 long-double compat symbols.
21053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21066
cfa1f3e8
DM
210672012-04-25 David S. Miller <davem@davemloft.net>
21068
21069 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21070 HWCAP_* values only after the memory barriers have been defined.
21071 (atomic_full_barrier): Define.
21072 (atomic_read_barrier): Define.
21073 (atomic_write_barrier): Define.
21074
6e236b92
SP
210752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21076
21077 * shlib-versions: Add libgcc_s version information.
21078 * sysdeps/generic/libgcc_s.h: Remove.
21079 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21080 libgcc_s.h.
21081 * sysdeps/gnu/unwind-resume.c: Likewise.
21082 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21083
aab39a09
DM
210842012-04-25 David S. Miller <davem@davemloft.net>
21085
21086 * sysdeps/unix/sparc/brk.S: Delete.
21087 * sysdeps/unix/sparc/dl-brk.S: Delete.
21088 * sysdeps/unix/sparc/pipe.S: Delete.
21089 * sysdeps/unix/sparc/sysdep.S: Delete.
21090 * sysdeps/unix/sparc/sysdep.h: Delete.
21091 * sysdeps/unix/sparc/vfork.S: Delete.
21092 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21093 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21094 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21095 ret_ERRVAL, r0, r1, MOVE): Define.
21096 (JUMPTARGET): Remove.
21097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21098 sysdeps/unix/sparc/sysdep.h
21099 (ENTRY, END): Remove.
21100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21101
a3cc4f48
JM
211022012-04-25 Joseph Myers <joseph@codesourcery.com>
21103
2ed8cda2
JM
21104 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21105 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21106 -DIS_IN_build.
21107
35d76d59
JM
21108 * timezone/README: Update upstream location and email address for
21109 tzcode and tzdata.
21110 * timezone/zdump.c: Update from tzcode 2012b.
21111 * timezone/zic.c: Likewise.
21112
a3cc4f48
JM
21113 * configure.in (libc_cv_as_needed): Remove test.
21114 * configure: Regenerated.
21115 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21116 conditional definition.
21117 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21118 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21119 * config.make.in (have-as-needed): Remove variable.
21120
ceab42c3
SP
211212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21122 Paul Pluzhnikov <ppluzhnikov@google.com>
21123
21124 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21125 strings correctly.
21126
3ce2865f
CLT
211272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21128
21129 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21130 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21131 * sysdeps/sh/strlen.S: Likewise.
21132
f37e0d68
JM
211332012-04-24 Joseph Myers <joseph@codesourcery.com>
21134
ae186e9a
JM
21135 * sysdeps/unix/fork.S: Remove file.
21136 * sysdeps/unix/i386/fork.S: Likewise.
21137 * sysdeps/unix/sparc/fork.S: Likewise.
21138
b96914af
JM
21139 * sysdeps/unix/system.c: Remove file.
21140 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21141
f37e0d68
JM
21142 * sysdeps/unix/getegid.S: Remove file.
21143 * sysdeps/unix/geteuid.S: Likewise.
21144
87ef29ca
RM
211452012-04-24 Roland McGrath <roland@hack.frob.com>
21146
83bcd236
RM
21147 * scripts/check-localplt.awk: New file.
21148 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21149 of diff.
21150 * scripts/data/localplt-generic.data: Add a comment.
21151
87ef29ca
RM
21152 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21153 NODE when __dir_mkfile failed.
21154 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21155 Reported by Ludovic Courtès <ludo@gnu.org>.
21156
e5a6e567
AJ
211572012-04-24 Andreas Jaeger <aj@suse.de>
21158
21159 * Makerules (common-clean): Also remove gen-as-const-headers
21160 files.
21161
c1820385
JM
211622012-04-24 Joseph Myers <joseph@codesourcery.com>
21163
21164 * Makerules (native-compile): Do not change working directory for
21165 build. Use $(OUTPUT_OPTION) in command.
21166 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21167
94e02fc4
AZ
211682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21169
21170 [BZ #13886]
21171 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21172 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21173 * math/libm-test.inc (floor_test): Add more tests.
21174 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21175
3a533ca3
JM
211762012-04-24 Joseph Myers <joseph@codesourcery.com>
21177
940ab4b3
JM
21178 * sysdeps/unix/getdents.c: Remove file.
21179 * sysdeps/unix/sysv/getdents.c: Likewise.
21180 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21181
90e037bd
JM
21182 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21183 sysdeps/unix/mman/syscalls.list.
21184 (mmap): Likewise.
21185 (mprotect): Likewise.
21186 (msync): Likewise.
21187 (munmap): Likewise.
21188 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21189 * sysdeps/unix/mman/syscalls.list: Remove.
21190 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21191
3a533ca3
JM
21192 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21193 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21194 * configure: Regenerated.
21195 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21196 $(libgcc_s_suffix).
21197 * config.make.in (libgcc_s_suffix): Remove variable.
21198
1ad743de
JM
211992012-04-23 Joseph Myers <joseph@codesourcery.com>
21200
4ad451e2
JM
21201 * sysdeps/unix/sysv/gethostname.c: Move to ...
21202 * sysdeps/posix/gethostname.c: ... here.
21203
5e37ce39
JM
21204 * sysdeps/unix/execve.S: Remove file.
21205
1ad743de
JM
21206 * sysdeps/unix/_exit.S: Remove file.
21207
4e681b5b
AJ
212082012-04-23 Andreas Jaeger <aj@suse.de>
21209
21210 [BZ #13739]
21211 * manual/Makefile: Remove make dist support, there's no
21212 need for a stand-alone documentation tar ball.
21213 (TEXI2DVI): Define always, it's not in Makeconfig.
21214 (dist): Removed.
21215 (tar-it): Removed.
21216 (edition): Removed.
21217 (glibc-doc-$(edition).tar): Removed
21218 (%.Z): Removed.
21219 (%.gz): Removed.
21220 (%.uu): Removed.
21221 (ETAGS): Remove, it's in Makeconfig.
21222 (move-if-change): Remove, it's in Makeconfig.
21223
38686a03 212242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21225
21226 [BZ #13970]
21227 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21228 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21229 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21230 (strtod_l, strtof_l, strtold_l): Remove __wur.
21231 It is not necessarily an error to ignore strtol's return value.
21232 One can reliably look at the stored endptr to decide whether
21233 the number had valid syntax.
21234
7c0616fa
AJ
212352012-04-21 Andreas Jaeger <aj@suse.de>
21236
803cb6b7 21237 [BZ #13739]
7c0616fa
AJ
21238 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21239
b0fe253f
JM
212402012-04-21 Joseph Myers <joseph@codesourcery.com>
21241
21242 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21243 * sysdeps/unix/sysv/Versions: Remove file.
21244
8280f22d
MT
212452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21246
21247 [BZ #13927]
21248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21249
75ce411f 212502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21251
21252 [BZ #7064]
21253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21254 version from __vm86.
21255
097d59fa
JM
212562012-04-20 Joseph Myers <joseph@codesourcery.com>
21257
a90f3bcb
JM
21258 * sysdeps/unix/common/lxstat.c: Remove file.
21259 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21260
edc7ea78
JM
21261 * sysdeps/unix/sysv/Makefile: Remove file.
21262
cb78c221
JM
21263 * sysdeps/unix/sysv/direct.h: Remove file.
21264
efa6a45f
JM
21265 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21266 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21267 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21268 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21269 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21270 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21271 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21272
9c9f2d0c
JM
21273 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21274
4541c83b
JM
21275 * sysdeps/unix/xmknod.c: Remove file.
21276 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21277
f5d153a0
JM
21278 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21279
aa746595
JM
21280 * sysdeps/unix/sysv/i386/time.S: Remove file.
21281
cce5905e
JM
21282 * sysdeps/unix/fxstat.c: Remove file.
21283 * sysdeps/unix/xstat.c: Likewise.
21284 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21285
37fa3841
JM
21286 * sysdeps/unix/sysv/sigaction.c: Remove file.
21287
ff1962a3
JM
21288 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21289 (sysdep_headers): Remove variable.
21290 [termio.h not in sysdep_headers] (generated): Likewise.
21291 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21292 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21293 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21294 * sysdeps/unix/sysv/tcflow.c: Likewise.
21295 * sysdeps/unix/sysv/tcflush.c: Likewise.
21296 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21297 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21298 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21299 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21300 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21301
e7740d31
JM
21302 * sysdeps/unix/siglist.c: Remove file.
21303
ee06f18b
JM
21304 * sysdeps/unix/getppid.S: Remove file.
21305
097d59fa
JM
21306 * sysdeps/unix/mkdir.c: Remove file.
21307 * sysdeps/unix/rmdir.c: Likewise.
21308
ff3d51ec
AS
213092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21310
21311 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21312 ERR_MAX value.
21313 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21314 errlist-compat value.
21315
50f81fd7
DM
213162012-04-18 David S. Miller <davem@davemloft.net>
21317
21318 * sysdeps/generic/memcopy.h (reg_char): Delete.
21319 * debug/strcat_chk.c: Use char, not reg_char.
21320 * debug/strcpy_chk.c: Likewise.
21321 * debug/strncat_chk.c: Likewise.
21322 * debug/strncpy_chk.c: Likewise.
21323 * string/memchr.c: Likewise.
21324 * string/memrchr.c: Likewise.
21325 * string/rawmemchr.c: Likewise.
21326 * string/strcat.c: Likewise.
21327 * string/strchr.c: Likewise.
21328 * string/strchrnul.c: Likewise.
21329 * string/strcmp.c: Likewise.
21330 * string/strcpy.c: Likewise.
21331 * string/strncat.c: Likewise.
21332 * string/strncmp.c: Likewise.
21333 * string/strncpy.c: Likewise.
21334
8ff41c46
WS
213352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21336
21337 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21338 __builtin_memcopy is called when src and dest ranges are known to not
21339 overlap.
21340
6b652f46
WS
213412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21342
21343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21344 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21345 fwd_align_merge macro call.
21346 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21347 bwd_align_merge macro call.
21348 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21349
b282631e
WS
213502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21351
21352 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21353 bwd_align_merge macros.
21354 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21355 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21356 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21357
95aa737c
DM
213582012-04-18 David S. Miller <davem@davemloft.net>
21359
21360 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21361
7a99a614
AJ
213622012-04-18 Andreas Jaeger <aj@suse.de>
21363
21364 [BZ# 6794]
21365 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21366 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21367 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21368
21369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21370 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21371 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21372
21373 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21374 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21375 Adjust for changed ldbl-128 files.
21376
21377 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21378 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21379 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21380
e5270c23
DM
213812012-04-17 David S. Miller <davem@davemloft.net>
21382
21383 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21384
fb5e92c9
AS
213852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21386
21387 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21388 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21389 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21390 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21391 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21392 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21393
76da7265
AZ
213942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21395
21396 [BZ #6794]
21397 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21398 * math/libm-test.inc: Add ilogb errno and exception tests.
21399 * math/w_ilogb.c: New file: ilogb wrapper.
21400 * math/w_ilogbf.c: New file: ilogbf wrapper.
21401 * math/w_ilogbl.c: New file: ilogbl wrapper.
21402 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21403 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21404 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21405 exception being thrown with 0.0 as argument.
21406 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21407 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21408 exception being thrown with 0.0 as argument.
21409 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21410 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21411 exception being thrown with 0.0 as argument.
21412 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21413 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21414 exception being thrown with 0.0 as argument.
21415 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21416 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21417 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21418 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21419 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21420 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21421 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21422 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21423 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21424
0396e69d
PB
214252012-04-17 Petr Baudis <pasky@ucw.cz>
21426
21427 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21428 with altivec.
21429
750b5926
MP
214302012-04-16 Marek Polacek <polacek@redhat.com>
21431
21432 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21433
751728a1
MP
214342012-04-16 Marek Polacek <polacek@redhat.com>
21435
21436 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21437 operands of fdivp instruction.
21438
34a27407
L
214392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21440
21441 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21442 * elf/tst-auditmod3b.c: Likewise.
21443 * elf/tst-auditmod4b.c: Likewise.
21444 * elf/tst-auditmod5b.c: Likewise.
21445 * elf/tst-auditmod6b.c: Likewise.
21446 * elf/tst-auditmod6c.c: Likewise.
21447 * elf/tst-auditmod7b.c: Likewise.
21448 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21449 * sysdeps/x86_64/preconfigure.in: Likewise.
21450 * sysdeps/x86_64/preconfigure: Regenerated.
21451
7e73e17d
L
214522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21453
21454 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21455 __ILP32__.
21456
c7a6ab72
AB
214572012-04-13 Antoine Balestrat <merkil33@gmail.com>
21458
21459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21460 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21461
a9e8e0e0
CL
214622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21463
21464 [BZ #13973]
21465 * locale/iso-639.def: Fix gl language name. Spotted by
21466 Yaron Shahrabani.
21467
ec98af7d
RM
214682012-04-12 Roland McGrath <roland@hack.frob.com>
21469
21470 [BZ #2074]
21471 * libio/libio.h (__io_write_fn): Update comment.
21472
247c3ede
PB
214732012-04-12 Petr Baudis <pasky@ucw.cz>
21474
21475 [BZ #2074]
21476 * stdio.texi (Hook Functions): The user provided writer function
21477 is not allowed to return -1.
21478
55939d6d
DM
214792012-04-11 David S. Miller <davem@davemloft.net>
21480
21481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21482
90020f5a
MF
214832012-04-11 Mike Frysinger <vapier@gentoo.org>
21484
21485 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21486 Add a leading slash to rtkaio.
21487
288f9098
JM
214882012-04-11 Jim Meyering <meyering@redhat.com>
21489
90020f5a
MF
21490 [BZ #11959]
21491 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21492 It is not necessarily an error to ignore fwrite's return
21493 value. One can reliably use ferror to test for errors after
21494 the fact.
288f9098 21495
4be2b570
L
214962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21497
21498 * bits/types.h (__snseconds_t): New type.
21499 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21500
21501 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21503 (__SNSECONDS_T_TYPE): Likewise.
21504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21505 (__SNSECONDS_T_TYPE): Likewise.
21506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21507 (__SNSECONDS_T_TYPE): Likewise.
21508
288f9098 215092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21510
21511 [BZ #2636]
21512 * manual/time.texi (Processor Time): Return type of times is
21513 elapsed real time since an arbitrary point in the past.
21514 (CPU Time): Move CLK_TCK from here...
21515 (Processor Time): ...to here. Correct description.
21516 * manual/conf.texi (Constants for Sysconf): Correct description of
21517 _SC_CLK_TCK.
21518
d7dd4413
DM
215192012-04-10 David S. Miller <davem@davemloft.net>
21520
21521 [BZ #13967]
21522 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21523 where the is a gap between DT_REL(A) and DT_JMPREL.
21524
b46068fc
L
215252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21526
21527 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21528 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21529 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21530
73d65cc3
SP
215312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21532
21533 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21534 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21535 (dl_main): Handle --inhibit-cache.
21536 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21537 _dl_inhibit_cache.
21538 * elf/dl-load.c (_dl_map_object): Use it.
21539 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21540
bcc8d661
JM
215412012-04-09 Joseph Myers <joseph@codesourcery.com>
21542
8f9a2fae
JM
21543 [BZ #13872]
21544 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21545 (__ieee754_powl): Saturate large exponents rather than testing for
21546 overflow of y*log2(x).
21547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21548 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21549 exceptions.
21550
bcc8d661
JM
21551 [BZ #11521]
21552 * math/s_ctan.c: Include <float.h>.
21553 (__ctan): Avoid internal overflow or cancellation in calculating
21554 denominator.
21555 * math/s_ctanf.c: Likewise.
21556 * math/s_ctanl.c: Likewise.
21557 * math/s_ctanh.c: Likewise.
21558 * math/s_ctanhf.c: Likewise.
21559 * math/s_ctanhl.c: Likewise.
21560 * math/libm-test.inc (ctan_test): Add more tests.
21561 (ctanh_test): Likewise.
21562 * sysdeps/i386/fpu/libm-test-ulps: Update.
21563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21564
823fbbb4
AJ
215652012-04-09 Andreas Jaeger <aj@suse.de>
21566
03879793
AJ
21567 [BZ #6894]
21568 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21569 is an optional BSD extension.
21570
823fbbb4
AJ
21571 [BZ #10254]
21572 * manual/stdio.texi (Opening Streams): Document additional fopen
21573 parameters.
21574
8de131cb
RM
215752012-04-09 Roland McGrath <roland@hack.frob.com>
21576
21577 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21578 %eax without telling the compiler.
21579
c0ed9d7d
CD
215802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21581
21582 [BZ # 13963]
21583 * manual/install.texi: Use sourceware.org.
21584
c483f6b4
JM
215852012-04-09 Joseph Myers <joseph@codesourcery.com>
21586
d7dd9453
JM
21587 [BZ #13873]
21588 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21589 (__ieee754_pow): Generate overflow and underflow using huge*huge
21590 and tiny*tiny rather than just returning constant infinity or zero
21591 for large exponents.
21592 * math/libm-test.inc (pow_test): Require overflow exceptions for
21593 applicable cases of large exponents.
21594
c483f6b4
JM
21595 [BZ #706]
21596 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21597 (__ieee754_pow): Use iterative multiplication algorithm only for
21598 integer exponents with absolute value below 1024. Check for odd
21599 integer exponents when using algorithm for real exponents.
21600 * math/libm-test.inc (pow_test): Add more tests.
21601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21602
d2de7579
JM
216032012-04-08 Joseph Myers <joseph@codesourcery.com>
21604
21605 [BZ #13705]
21606 * math/libm-test.inc (exp_test): Do not allow overflow exception
21607 on underflow test.
21608
f77f1232
AJ
216092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21610
21611 [BZ #13705]
21612 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21613 instead of __kernel_standard_f.
21614
3884932b
MF
216152012-04-08 Mike Frysinger <vapier@gentoo.org>
21616
21617 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21618 * sysdeps/x86_64/memset_chk.S: Likewise.
21619
54472e9c
AJ
216202012-04-08 Andreas Jaeger <aj@suse.de>
21621
6ab0fbfc
AJ
21622 [BZ #10153]
21623 * manual/startup.texi (Environment Access): Describe return value
21624 for putenv and setenv.
21625
61efba8c
AJ
21626 [BZ #6895]
21627 * manual/filesys.texi (Directory Entries): Add description for
21628 DT_LNK.
21629
95c3f29a
AJ
21630 [BZ #6890]
21631 * manual/filesys.texi (Directory Entries): Clarify that it's file
21632 system not operating system in the description of DT_UNKNOWN.
21633
54472e9c
AJ
21634 [BZ #6578]
21635 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21636
624254b1
SC
216372012-04-08 Stephen Compall <s11@member.fsf.org>
21638
21639 [BZ #6649]
21640 * manual/llio.texi (Opening and Closing Files): Add cross
21641 reference to explain mode argument.
21642
1e4920e0
MF
216432012-04-07 Mike Frysinger <vapier@gentoo.org>
21644
21645 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21646 * sysdeps/x86_64/memset_chk.S: Likewise.
21647
5ed848f3
DM
216482012-04-07 David S. Miller <davem@davemloft.net>
21649
21650 * elf/elf.h (R_SPARC_WDISP10): Define.
21651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21652 R_SPARC_SIZE32.
21653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21654 R_SPARC_SIZE64 and R_SPARC_H34.
21655
96154cd8
CD
216562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21657
21658 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21659 conditions and remove no longer applicable assertion.
21660
9904dc47
L
216612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21662
21663 * bits/byteswap.h: Include <features.h>.
21664 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21665 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21666
f8887d0a
L
216672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21668
21669 * bits/byteswap.h (__bswap_16): Removed.
21670 Include <bits/byteswap-16.h> to get __bswap_16.
21671 * sysdeps/i386/bits/byteswap.h: Likewise.
21672 * sysdeps/s390/bits/byteswap.h: Likewise.
21673 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21674 * bits/byteswap-16.h: New file.
21675 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21676 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21677 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21678 * string/Makefile (headers): Add bits/byteswap-16.h.
21679
62470f60
PP
216802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21681
21682 [BZ #13895]
21683 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21684 extra indirection.
21685 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21686 * nss/tst-nss-static.c: New.
21687
4dad7bab
RM
216882012-04-06 Robert Millan <rmh@gnu.org>
21689
21690 [BZ #6486]
21691 * manual/llio.texi (File Position Primitive): lseek
21692 refers to WHENCE when it really means OFFSET.
21693
e9142a17
AJ
216942012-04-06 Andreas Jaeger <aj@suse.de>
21695
2c040eff
AJ
21696 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21697 strncmp declarations.
21698
e9142a17
AJ
21699 * abilist/libc.abilist: Add __poll and __ppoll.
21700
ff9f1c5f
DM
217012012-04-05 David S. Miller <davem@davemloft.net>
21702
dcd2ae90
DM
21703 * scripts/check-local-headers.sh: Accept a host triplet in the
21704 path matched by the exclude regexp.
21705
993eb054
DM
21706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21707 definition.
21708 * sysdeps/powerpc/powerpc32/dl-machine.h
21709 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21710 * sysdeps/s390/s390-32/dl-machine.h
21711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21712 * sysdeps/sparc/sparc32/dl-machine.h
21713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21714 * sysdeps/sparc/sparc64/dl-machine.h
21715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21716
ff9f1c5f
DM
21717 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21718 lazy binding.
48e2e132 21719 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21720 undefined symbol errors.
21721
48e2e132 21722 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21723 DT_NEEDED entries.
21724
e80d6f94
MM
217252012-04-05 Michael Matz <matz@suse.de>
21726
21727 [BZ #13592]
21728 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21729
349fa79f
AJ
217302012-04-05 Andreas Jaeger <aj@suse.de>
21731
21732 [BZ #13908]
21733 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21734 comment.
21735
f402708f
KK
217362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21737
21738 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21739 which ROUND is no valid rounding mode.
21740
2ecccfc9
KK
217412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21742
21743 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21744 read again.
21745 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21746
8a53f50f
KK
217472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21748
21749 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21750 an exception using FPU order intentionally.
21751
217522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21753
21754 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21755 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21756 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21757 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21758
d653abb7
SJ
217592012-04-05 Simon Josefsson <simon@josefsson.org>
21760
21761 [BZ #12340]
21762 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21763 EINVAL when BUFLEN is too smal.
21764
c3b1bf7d
TS
217652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21766
21767 [BZ #13553]
21768 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21769 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21770
b1aa60f3
AJ
217712012-04-03 Andreas Jaeger <aj@suse.de>
21772
c3b1bf7d 21773 [BZ #13938]
67f60a26
AJ
21774 * manual/setjmp.texi (System V contexts): Fix sentence.
21775
b1aa60f3
AJ
21776 [BZ #13926]
21777 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21778 New macro for this case.
21779 [!__GNUC__] (__bswap_64): New inline function for this case.
21780 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21781 * bits/byteswap.h: Likewise.
21782 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21783 ull, guard with __GLIBC_HAVE_LONG_LONG.
21784
21785 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21786 __GLIBC_HAVE_LONG_LONG.
21787
21788 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21789 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21790
39c59c35
TMQMF
217912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21792
21793 [BZ #13691]
21794 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21795 inptr and inend, rather than using last_ch.
21796
135ffda8
DM
217972012-04-02 David S. Miller <davem@davemloft.net>
21798
21799 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21800 * stdio-common/printf-parse.h (read_int): Change return type to
21801 'int', return -1 on INT_MAX overflow.
21802 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21803 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21804 overflows INT_MAX. Check for overflow of in-format-string precision
21805 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21806 SIZE_MAX not INT_MAX for integer overflow test.
21807 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21808 skip the construct in the format string but do not record anything.
21809 * stdio-common/bug22.c: Adjust to test both width/prevision
21810 INT_MAX overflow as well as total length INT_MAX overflow. Check
21811 explicitly for proper errno values.
21812
228c019e
TS
218132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21814
302cadd3
TS
21815 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21816 CHAR_MAX.
21817 * string/test-strcmp.c [! WIDE]: Likewise.
21818 * time/tst-mktime2.c: Likewise for INT_MAX.
21819 * string/test-string.h: #include <sys/param.h> for MIN.
21820
228c019e
TS
21821 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21822 * sysdeps/i386/init-first.c (init): Likewise.
21823 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21824 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21825 * sysdeps/sh/init-first.c (init): Likewise.
21826
cfa633f5
UD
218272012-04-01 Ulrich Drepper <drepper@gmail.com>
21828
21829 * po/ru.po: Update from translation team.
d1635ef8 21830 * po/vi.po: Likewise.
cfa633f5 21831
6cd0a5ea
SP
218322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21833
21834 * resolv/nss_dns/dns-host.c: Merge copyright years.
21835
4b43400f
LD
218362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21837
21838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21839 Optimize memcpy with prefetch if
21840 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21841 src, dst pointers have unequal 16 byte alignments.
21842
48c41d04
SP
218432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21844
21845 [BZ #13928]
21846 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21847 from a CNAME entry and return the minimum ttl for the query.
21848 (gaih_getanswer_slice): Likewise.
21849
b8dc394d
JL
218502012-03-30 Jeff Law <law@redhat.com>
21851
21852 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21853 due to long keys.
21854 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21855 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21856
2f5a5ed0
JL
21857 * resolv/nss_dns/dns-host.c: Update copyright year.
21858
1d39e359
UD
218592012-03-30 Ulrich Drepper <drepper@gmail.com>
21860
c030f70c 21861 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21862 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21863
1d39e359
UD
21864 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21865 comments for sendmmsg.
21866
218672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21868
21869 [BZ #13691]
21870 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21871 with only 1 character between 0x0041 and 0x01b0.
21872 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21873 * wcsmbs/tst-mbsnrtowcs.c: New file.
21874
20fde227
DM
218752012-03-29 David S. Miller <davem@davemloft.net>
21876
21877 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21878 small copies by hand.
21879
984a4237
JL
218802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21881
21882 [BZ #13761]
21883 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21884 _nss_compat_initgroups_dyn): Fall back to malloc/free
21885 for large group memberships.
21886
18c9d62b
DM
218872012-03-28 David S. Miller <davem@davemloft.net>
21888
88d85d4f
DM
21889 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21890 that branches into memcpy.
21891 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21892 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21894 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21896 bits.
21897 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21898 implementation too.
21899 * sysdeps/sparc/mempcpy.S: New file.
21900
e5aa83e1
DM
21901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21902 the IFUNC routine in the libc case.
21903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21904
88570753
DM
21905 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21906 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21907 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21908 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21909 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21910 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21911 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21912 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21913
249d7567
DM
21914 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21915 loop to 256 bytes instead of 64 bytes and fix test signedness.
21916
18c9d62b
DM
21917 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21918 * sysdeps/sparc/sparc32/Makefile: rather than here...
21919 * sysdeps/sparc/sparc64/Makefile: and here.
21920
05f3d1f6
UD
219212012-03-28 Ulrich Drepper <drepper@gmail.com>
21922
21923 * malloc/mallocbug.c: Avoid warnings about unused variables.
21924
86ae07a8
JL
219252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21926
21927 [BZ #13760]
21928 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21929 in the right place. Discard and retry query if response is
21930 larger than input buffer size.
21931
41bf21a1
JM
219322012-03-28 Joseph Myers <joseph@codesourcery.com>
21933
d6270972
JM
21934 [BZ #369]
21935 [BZ #2678]
21936 [BZ #3866]
21937 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21938 x for large integer exponent.
21939 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21940 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21941 sign of result as needed afterwards.
21942 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21943 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21944 result for underflowing pow the same as for overflow.
21945 (__kernel_standard_l): Handle powl overflow and underflow here
21946 rather than calling __kernel_standard.
21947 * math/libm-test.inc (pow_test): Add more tests.
21948
414fca03 21949 [BZ #3868]
41bf21a1
JM
21950 [BZ #13879]
21951 [BZ #13910]
21952 [BZ #13911]
21953 [BZ #13912]
21954 [BZ #13913]
21955 [BZ #13915]
21956 [BZ #13916]
21957 [BZ #13917]
21958 [BZ #13918]
21959 [BZ #13919]
21960 [BZ #13920]
21961 [BZ #13921]
21962 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21963 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21964 (__kernel_standard_l): New function.
21965 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21966 __kernel_standard.
21967 * math/w_acosl.c (__acosl): Likewise.
21968 * math/w_asinl.c (__asinl): Likewise.
21969 * math/w_atan2l.c (__atan2l): Likewise.
21970 * math/w_atanhl.c (__atanhl): Likewise.
21971 * math/w_coshl.c (__coshl): Likewise.
21972 * math/w_exp10l.c (__exp10l): Likewise.
21973 * math/w_exp2l.c (__exp2l): Likewise.
21974 * math/w_fmodl.c (__fmodl): Likewise.
21975 * math/w_hypotl.c (__hypotl): Likewise.
21976 * math/w_j0l.c (__j0l, __y0l): Likewise.
21977 * math/w_j1l.c (__j1l, __y1l): Likewise.
21978 * math/w_jnl.c (__jnl, __ynl): Likewise.
21979 * math/w_lgammal.c (__lgammal): Likewise.
21980 * math/w_log10l.c (__log10l): Likewise.
21981 * math/w_log2l.c (__log2l): Likewise.
21982 * math/w_logl.c (__logl): Likewise.
21983 * math/w_powl.c (__powl): Likewise.
21984 * math/w_remainderl.c (__remainderl): Likewise.
21985 * math/w_scalbl.c (sysv_scalbl): Likewise.
21986 * math/w_sinhl.c (__sinhl): Likewise.
21987 * math/w_sqrtl.c (__sqrtl): Likewise.
21988 * math/w_tgammal.c (__tgammal): Likewise.
21989 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21990 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21991 * math/libm-test.inc (acos_test): Add more tests.
21992 (acosh_test): Likewise.
21993 (asin_test): Likewise.
21994 (atanh_test): Likewise.
21995 (exp_test): Likewise.
21996 (exp10_test): Likewise.
21997 (exp2_test): Likewise.
21998 (expm1_test): Likewise.
21999 (lgamma_test): Likewise.
22000 (log_test): Likewise.
22001 (log10_test): Likewise.
22002 (log1p_test): Likewise.
22003 (log2_test): Likewise.
22004 (pow_test): Do not allow some spurious overflow exceptions.
22005 (sqrt_test): Add more tests.
22006 (tgamma_test): Likewise.
22007 (y0_test): Likewise.
22008 (y1_test): Likewise.
22009 (yn_test): Likewise.
22010
dd62fda6
AB
220112012-03-27 Anton Blanchard <anton@samba.org>
22012
22013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22014 MAP_HUGETLB.
22015 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22017 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22018
1e3cdfda
AJ
220192012-03-27 David S. Miller <davem@davemloft.net>
22020
b855ab85
DM
22021 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22022
1e3cdfda
AJ
22023 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22024 have-as-vis3 check.
22025
220262012-03-27 Andreas Jaeger <aj@suse.de>
22027
22028 * sysdeps/x86_64/elf/configure.in: Moved to ...
22029 * sysdeps/x86_64/configure.in: ... here.
22030 * sysdeps/x86_64/elf/start.S: Moved to ...
22031 * sysdeps/x86_64/start.S: ... here.
22032 * sysdeps/x86_64/elf/configure: Delete.
22033
22034 * sysdeps/x86_64/configure.in: Merge contents from
22035 sysdeps/i386/configure.in (without i686 check).
22036
22037 * sysdeps/i386/elf/Versions: Merge into ...
22038 * sysdeps/i386/Versions: ... this.
22039 * sysdeps/i386/elf/Versions: Delete file.
22040 * sysdeps/i386/elf/start.S: Moved to ...
22041 * sysdeps/i386/start.S: ...here.
22042 * sysdeps/i386/elf/configure.in: Merge into...
22043 * sysdeps/i386/configure.in: ...here.
22044 * sysdeps/i386/elf/configure.in: Delete file.
22045 * sysdeps/i386/elf/configure: Delete file.
22046
22047 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22048 * debug/backtracesyms.c: ... here.
22049 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22050 * debug/backtracesymsfd.c: ... here.
22051 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22052 * sysdeps/generic/ifunc-sel.h: ... here.
22053
22054 * sysdeps/unix/i386/start.c: Delete file.
22055 * sysdeps/unix/sparc/start.c: Delete file.
22056 * sysdeps/unix/start.c: Delete file.
22057
22058 * sysdeps/sh/elf/configure.in: Moved to ...
22059 * sysdeps/sh/configure.in: ... here.
22060 * sysdeps/sh/elf/start.S: Moved to ...
22061 * sysdeps/sh/start.S: ... here.
22062 * sysdeps/sh/elf/configure: Delete file.
22063
22064 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22065 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22066 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22067 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22068 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22069 * sysdeps/powerpc/powerpc64/start.S: here.
22070 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22071 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22072 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22073 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22074 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22075
22076 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22077 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22078 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22079 * sysdeps/powerpc/powerpc32/start.S: ... here.
22080 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22081 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22082 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22083
22084 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22085 * sysdeps/powerpc/ifunc-sel.h: ... here.
22086 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22087 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22088
22089 * sysdeps/sparc/elf/configure.in: Moved to ...
22090 * sysdeps/sparc/configure.in: ... here.
22091 * sysdeps/sparc/elf/configure: Delete file.
22092 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22093 * sysdeps/sparc/sparc32/start.S: ... here.
22094 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22095 * sysdeps/sparc/sparc64/start.S: ... here.
22096 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22097 * sysdeps/sparc/sparc32/Makefile: ... this.
22098 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22099 * sysdeps/sparc/sparc64/Makefile: ... this.
22100
22101 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22102 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22103 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22104 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22105 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22106 * sysdeps/s390/s390-32/setjmp.S: ... here.
22107 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22108 * sysdeps/s390/s390-32/configure.in: ... here.
22109 * sysdeps/s390/s390-32/elf/configure: Delete file.
22110 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22111 * sysdeps/s390/s390-32/start.S: ... here.
22112
22113 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22114 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22115 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22116 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22117 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22118 * sysdeps/s390/s390-64/setjmp.S: ... here.
22119 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22120 * sysdeps/s390/s390-64/configure.in: ... here
22121 * sysdeps/s390/s390-64/elf/configure: Delete file.
22122 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22123 * sysdeps/s390/s390-64/start.S: ... here.
22124 * sysdeps/s390/s390-64/elf/configure: Delete.
22125
22126 * configure.in: Remove support for elf directories in sysdeps.
22127
22128 * configure: Regenerated.
22129 * sysdeps/i386/configure: Regenerated.
22130 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22131 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22132 * sysdeps/s390/s390-32/configure: Regenerated.
22133 * sysdeps/s390/s390-64/configure: Regenerated.
22134 * sysdeps/sh/configure: Regenerated.
22135 * sysdeps/sparc/configure: Regenerated.
22136 * sysdeps/x86_64/configure: Regenerated.
22137
a3f61311
AS
221382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22139
c876e002
AS
22140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22141
a3f61311
AS
22142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22143 denormal result into account.
22144
ac4c54f0
RM
221452012-03-25 Roland McGrath <roland@hack.frob.com>
22146
22147 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22148 Reported by Allan McRae <allan@archlinux.org>.
22149
6a9b9c02
JL
221502012-03-23 Jeff Law <law@redhat.com>
22151
22152 * nss/getnssent.c (__nss_getent): Fix typo.
22153
4c42a0c1
DM
221542012-03-23 David S. Miller <davem@davemloft.net>
22155
22156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22157
1532c7ac
L
221582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22161 to pad to uint64_t for each field.
22162 (dl_tls_index): Replace unsigned long with uint64_t.
22163
3ff42526
PP
221642012-03-23 Daniel Jacobowitz <dmj@google.com>
22165 Paul Pluzhnikov <ppluzhnikov@google.com>
22166
22167 [BZ #6528]
22168 * grp/Makefile (otherlibs): Don't set it.
22169 * inet/Makefile (otherlibs): Likewise.
22170 * login/Makefile (otherlibs): Likewise.
22171 * nscd/Makefile (otherlibs): Likewise.
22172 * posix/Makefile (otherlibs): Likewise.
22173 * pwd/Makefile (otherlibs): Likewise.
22174 * rt/Makefile (otherlibs): Likewise.
22175 * sunrpc/Makefile (otherlibs): Likewise.
22176 * nss/Makefile (otherlibs): Likewise.
22177 Add libnss_files to routines and static-only-routines.
22178 ($(objpfx)getent): Remove rule.
22179 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22180 static-only-routines.
22181
7c69cd14
JM
221822012-03-22 Joseph Myers <joseph@codesourcery.com>
22183
22184 [BZ #13892]
22185 * math/s_cexp.c: Include <float.h>.
22186 (__cexp): Handle exp result overflowing not necessarily
22187 overflowing both real and imaginary parts of result.
22188 * math/s_cexpf.c: Likewise.
22189 * math/s_cexpl.c: Likewise.
22190 * math/libm-test.inc (cexp_test): Add more tests.
22191 * sysdeps/i386/fpu/libm-test-ulps: Update.
22192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22193
81b035fe
L
221942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22195
22196 * include/link.h (ELFW): New macro.
22197 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22198 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22199
1da7940c
L
222002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22201
22202 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22203 with uint64_t.
22204
b749dbb9
L
222052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22206
22207 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22208 declaration.
22209 (struct La_x32_retval): Likewise.
22210
2ff87f3f
L
222112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22212
22213 * sysdeps/x86_64/preconfigure.in: New file.
22214 * sysdeps/x86_64/preconfigure: New generated file.
22215
c0df8e69
JM
222162012-03-22 Joseph Myers <joseph@codesourcery.com>
22217
48e44791
JM
22218 [BZ #13824]
22219 * math/e_exp2l.c: Include <float.h>.
22220 (__ieee754_exp2l): Handle overflow and underflow cases
22221 separately. Only pass fractional part of argument to
22222 __ieee754_expl.
22223 * math/libm-test.inc (exp2_test): Add more tests.
22224
c0df8e69
JM
22225 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22226 negating x to take absolute value.
22227 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22228 Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22231 Likewise.
22232 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22233 computing low part if x was negated.
22234 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22235
c8e43ba7
L
222362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22237
22238 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22239 la_x32_gnu_pltexit.
22240 (pltexit): Cast int_retval to ptrdiff_t.
22241 * elf/tst-auditmod3b.c: Likewise.
22242 * elf/tst-auditmod4b.c: Likewise.
22243 * elf/tst-auditmod5b.c: Likewise.
22244 * elf/tst-auditmod6b.c: Likewise.
22245 * elf/tst-auditmod6c.c: Likewise.
22246 * elf/tst-auditmod7b.c: Likewise.
22247
22248 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22249 and x32_gnu_pltexit.
22250
22251 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22252 __ELF_NATIVE_CLASS.
22253 (La_x32_regs): New macro.
22254 (La_x32_retval): Likewise.
22255 (la_x32_gnu_pltenter): New function prototype.
22256 (la_x32_gnu_pltexit): Likewise.
22257
7998fa78
AS
222582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22259
dcb33988
AS
22260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22261 exponent.
22262
233fc563
AS
22263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22264
7998fa78
AS
22265 * configure.in (libc_cv_cc_nofma): Check for option to disable
22266 generation of FMA instructions.
22267 * configure: Regenerate.
22268 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22269 * sysdeps/ieee754/dbl-64/Makefile: New file.
22270 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22271 Remove brandred-fma4.
22272 (CFLAGS-brandred-fma4.c): Remove.
22273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22274 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22275 define.
22276 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22277 define.
22278
8e95c99a
L
222792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22280
22281 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22282 LLONG_MAX != LONG_MAX.
22283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22284 (_fitoa_word): Likewise.
22285 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22286 LLONG_MAX != LONG_MAX.
22287 * stdio-common/_itowa.h: Include <_itoa.h>.
22288 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22289 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22290 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22291 only if not defined.
22292 (_ITOA_WORD_TYPE): Likewise.
22293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22294 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22295
6f4db457
DM
222962012-03-21 David S. Miller <davem@davemloft.net>
22297
22298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22299
7785fe5a
L
223002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22301
22302 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22303 of x86_64 when setting libc_cv_slibdir, libdir and
22304 libc_cv_localedir.
22305 * sysdeps/unix/sysv/linux/configure: Regenerated.
22306
4535cd55
JM
223072012-03-21 Joseph Myers <joseph@codesourcery.com>
22308
22309 * manual/lang.texi (Old Varargs): Remove section.
22310 (How Variadic): Update menu.
22311 (va_start): Do not mention varargs.h.
22312
17228132
TS
223132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22314 Joseph Myers <joseph@codesourcery.com>
22315
22316 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22317 link test.
22318 * configure: Regenerated.
22319
8149f976
TS
223202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22321
05f3d1f6
UD
22322 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22323 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22324 conformtest.pl
8149f976 22325
1a4ac776
JM
223262012-03-21 Joseph Myers <joseph@codesourcery.com>
22327
be22ce65
JM
22328 * NOTES: Remove.
22329 * Makefile (files-for-dist): Remove NOTES.
22330 (NOTES): Remove rule.
22331 * README: Don't refer to NOTES.
22332 * manual/creature.texi: Don't include macros.texi.
22333 * manual/intro.texi (creature.texi): Remove comment referring to
22334 NOTES.
22335
40b601fb
JM
22336 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22337 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22338 * configure: Regenerated.
22339 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22340 LIBC_TRY_CC_OPTION.
22341 (libc_cv_as_i686): Likewise.
22342 (libc_cv_cc_avx): Likewise.
22343 (libc_cv_cc_sse2avx): Likewise.
22344 (libc_cv_cc_fma4): Likewise.
22345 (libc_cv_cc_novzeroupper): Likewise.
22346 * sysdeps/i386/configure: Regenerated.
22347
1a4ac776
JM
22348 [BZ #13883]
22349 * sysdeps/i386/fpu/s_cexp.S: Remove.
22350 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22351 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22352 * math/libm-test.inc (cexp_test): Add more tests.
22353 * sysdeps/i386/fpu/libm-test-ulps: Update.
22354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22355
a458e7fe
AM
223562012-03-21 Allan McRae <allan@archlinux.org>
22357
22358 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22359
0cb7efc5
JM
223602012-03-21 Joseph Myers <joseph@codesourcery.com>
22361
22362 [BZ #13871]
22363 * math/w_exp2.c: Do not include <float.h>.
22364 (o_threshold, u_threshold): Remove.
22365 (__exp2): Calculate result before checking finiteness and calling
22366 __kernel_standard.
22367 * math/w_exp2f.c: Likewise.
22368 * math/w_exp2l.c: Likewise.
22369 * math/libm-test.inc (exp2_test): Require overflow exception for
22370 1e6 input.
2460d3aa
JM
22371
22372 [BZ #3866]
22373 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22374 range of signed 64-bit integers before using fistpll. Remove
22375 checks for whether integers fit in mantissa bits.
22376 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22377 the range of signed 32-bit integers before using fistpl. Remove
22378 checks for whether integers fit in mantissa bits.
22379 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22380 (__ieee754_powl): Test for y outside the range of signed 64-bit
22381 integers before using fistpll. Reduce 64-bit values to 63-bit
22382 ones as needed.
22383 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22384 divide-by-zero is raised for zero to large negative powers.
22385 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22386 (__ieee754_powl): Test for y outside the range of signed 64-bit
22387 integers before using fistpll. Reduce 64-bit values to 63-bit
22388 ones as needed.
22389 * math/libm-test.inc (pow_test): Add more tests.
22390
eb96ffb0
L
223912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22392
22393 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22394 <stdio-common/_itoa.h>.
22395 * debug/segfault.c: Likewise.
22396 * elf/dl-cache.c: Likewise.
22397 * elf/dl-minimal.c: Likewise.
22398 * elf/dl-misc.c: Likewise.
22399 * elf/dl-sysdep.c: Likewise.
22400 * elf/dl-version.c: Likewise.
22401 * elf/rtld.c: Likewise.
22402 * hurd/hurdsock.c: Likewise.
22403 * hurd/lookup-retry.c: Likewise.
22404 * malloc/malloc.c: Likewise.
22405 * malloc/mtrace.c: Likewise.
22406 * nscd/nscd_getgr_r.c: Likewise.
22407 * nscd/nscd_getpw_r.c: Likewise.
22408 * nscd/nscd_getserv_r.c: Likewise.
22409 * posix/getopt_init.c: Likewise.
22410 * posix/wordexp.c: Likewise.
22411 * stdio-common/_itoa.c: Likewise.
22412 * stdio-common/printf_fphex.c: Likewise.
22413 * stdio-common/vfprintf.c: Likewise.
22414 * string/_strerror.c: Likewise.
22415 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22416 * sysdeps/i386/i686/hp-timing.h: Likewise.
22417 * sysdeps/mach/_strerror.c: Likewise.
22418 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22419 * sysdeps/mach/hurd/sethostid.c: Likewise.
22420 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22421 * sysdeps/mach/xpg-strerror.c: Likewise.
22422 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22423 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22424 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22425 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22426 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22427 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22428 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22429 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22430 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22431 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22432 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22433 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22434 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22435 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22436 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22437 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22438 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22439 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22440 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22441 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22442 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22443
22444 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22445
22446 * stdio-common/_itoa.h: Moved to ...
22447 * sysdeps/generic/_itoa.h: Here.
22448
22449 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22450
22451 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22452 instead of "_itoa.h" and "_itowa.h".
22453 * stdio-common/vfprintf.: Likewise.
22454
d1af992d
L
224552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22456
22457 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22458 <bits/wordsize.h>.
22459 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22460 (__signbit): Likwise.
22461 (llrintf): Likwise.
22462 (llrint): Likwise.
22463
114883e0
L
224642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22465
22466 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22467 __WORDSIZE != 64.
22468
c135cc1b
JM
224692012-03-20 Joseph Myers <joseph@codesourcery.com>
22470
22471 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22472 OVERFLOW_EXCEPTION_OK.
22473 * math/libm-test.inc ("Philosophy"): Update comment about
22474 exception testing.
22475 (OVERFLOW_EXCEPTION): Define.
22476 (OVERFLOW_EXCEPTION_OK): Likewise.
22477 (INVALID_EXCEPTION_OK): Renumber.
22478 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22479 (IGNORE_ZERO_INF_SIGN): Likewise.
22480 (test_exceptions): Handle FE_OVERFLOW.
22481 (exp10_test): Expect overflow exceptions.
22482 (exp2_test): Likewise.
22483 (expm1_test): Likewise.
22484 (nextafter_test): Likewise.
22485 (pow_test): Likewise.
22486 (scalbn_test): Likewise.
22487 (scalbln_test): Likewise.
22488
95443d88
L
224892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22490
22491 * sysdeps/x86_64/bits/atomic.h
22492 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22493 64bit integer.
22494 (atomic_exchange_acq): Likewise.
22495 (__arch_exchange_and_add_body): Likewise.
22496 (__arch_add_body): Likewise.
22497 (atomic_add_negative): Likewise.
22498 (atomic_add_zero): Likewise.
22499
490df6c4
L
225002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22501
c2722551 22502 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22503 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22504
5e52b189
L
225052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22506
22507 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22508 Check __x86_64__ instead of __WORDSIZE.
22509
a9879d4c
L
225102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22511
22512 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22513
5df98260
DM
225142012-03-19 David S. Miller <davem@davemloft.net>
22515
e1497744
DM
22516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22517
5df98260
DM
22518 * sysdeps/sparc/fpu/fenv_private.h: New file.
22519 * sysdeps/sparc/fpu/math_private.h: Use it.
22520 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22521 Remove.
22522 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22523 (libc_feholdexcept_setroundl): Remove.
22524 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22525 Remove.
22526 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22527 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22528
b4c35121
L
225292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22530
22531 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22532 int64_t instead of long int.
22533 (INSERT_WORDS64): Likwise.
22534
56965fd7
L
225352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22536
22537 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22538 _Unwind_GetCFA return to _Unwind_Ptr first.
22539
83d1aec8
JM
225402012-03-19 Joseph Myers <joseph@codesourcery.com>
22541
1897ad44
JM
22542 [BZ #13629]
22543 * math/s_clog.c: Include <float.h>.
22544 (__clog): Scale large or subnormal inputs.
22545 * math/s_clogf.c: Likewise.
22546 * math/s_clogl.c: Likewise.
22547 * math/s_clog10.c: Include <float.h>.
22548 (M_LOG10_2): Define.
22549 (__clog10): Scale large or subnormal inputs.
22550 * math/s_clog10f.c: Likewise.
22551 * math/s_clog10l.c: Likewise.
22552 * math/libm-test.inc (clog_test): Add more tests.
22553 (clog10_test): Likewise.
22554 * sysdeps/i386/fpu/libm-test-ulps: Update.
22555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22556
7726d6a9
JM
22557 [BZ #11451]
22558 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22559 x and y.
22560 * math/libm-test.inc (atan2_test): Add another test.
22561
83d1aec8
JM
22562 * Makerules (common-objdir-compile): Remove.
22563 * sysdeps/unix/Makefile (config-generated): Do not add
22564 $(unix-generated) to variable.
22565 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22566 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22567 Remove rule.
22568 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22569 Likewise.
22570 [generic bits/local_lim.h] (before-compile): Do not append to
22571 variable.
22572 [generic bits/local_lim.h] (common-generated): Likewise.
22573 [generic sys/param.h] (before-compile): Do not append to variable.
22574 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22575 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22576 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22577 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22578 include.
22579 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22580 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22581 [generic sys/param.h] ($(addprefix
22582 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22583 [generic sys/param.h] (common-generated): Do not append to
22584 variable.
22585 [generic sys/param.h] (sysdep_headers): Likewise.
22586 [generic bits/errno.h] (before-compile): Do not append to
22587 variable.
22588 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22589 rule.
22590 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22591 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22592 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22593 [generic bits/errno.h] (common-generated): Do not append to
22594 variable.
22595 [generic bits/ioctls.h] (before-compile): Do not append to
22596 variable.
22597 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22598 rule.
22599 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22600 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22602 rule.
22603 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22604 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22605 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22606 [generic bits/ioctls.h] (common-generated): Do not append to
22607 variable.
22608 [generic sys/syscall.h] (syscall.h): Remove variable.
22609 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22610 rule.
22611 [generic sys/syscall.h] (before-compile): Do not append to
22612 variable.
22613 [generic sys/syscall.h] (common-generated): Likewise.
22614 * sysdeps/unix/errnos-tmpl.c: Remove file.
22615 * sysdeps/unix/errnos.awk: Likewise.
22616 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22617 * sysdeps/unix/ioctls.awk: Likewise.
22618 * sysdeps/unix/mk-local_lim.c: Likewise.
22619 * sysdeps/unix/snarf-ioctls: Likewise.
22620
4851a949
RH
226212012-03-19 Richard Henderson <rth@twiddle.net>
22622
bd37f2ee
RH
22623 * sysdeps/i386/fpu/fenv_private.h: New file.
22624 * sysdeps/i386/fpu/math_private.h: Use it.
22625 (math_opt_barrier, math_force_eval): Remove.
22626 (libc_feholdexcept_setround_53bit): Remove.
22627 (libc_feupdateenv_53bit): Remove.
22628 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22629 (math_opt_barrier, math_force_eval): Remove.
22630 (libc_feholdexcept): Remove.
22631 (libc_feholdexcept_setround): Remove.
22632 (libc_fetestexcept, libc_fesetenv): Remove.
22633 (libc_feupdateenv_test): Remove.
22634 (libc_feupdateenv, libc_feholdsetround): Remove.
22635 (libc_feresetround): Remove.
22636
d0adc922
RH
22637 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22638 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22639
0fe0f1f8
RH
22640 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22641 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22642 (libc_feupdateenv_testl): New.
22643 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22644 (libc_feupdateenv_testf): New.
22645 (libc_feupdateenv): Use libc_feupdateenv_test.
22646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22647 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22648
eb92c487
RH
22649 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22650 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22651 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22652 (libc_feresetround_noex): New.
22653 (libc_feresetround_noexf): New.
22654 (libc_feresetround_noexl): New.
22655 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22656 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22657 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22658 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22659 SET_RESTORE_ROUND.
22660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22662 (__cos): Likewise.
22663 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22664 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22665 SET_RESTORE_ROUND_NOEX.
22666 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22667 SET_RESTORE_ROUND_NOEXF.
22668 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22669 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22670 (libc_feholdsetroundf): New.
22671 (libc_feresetround, libc_feresetroundf): New.
22672
7d2e8012
RH
22673 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22674 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22675 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22676
b4dabbb4
RH
22677 * sysdeps/generic/math_private.h: Include <fenv.h>.
22678 (default_libc_feholdexcept): New.
22679 (default_libc_feholdexcept_setround): New.
22680 (default_libc_fesetenv, default_libc_feupdateenv): New.
22681 (libc_feholdexcept): Only define if undefined.
22682 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22683 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22684 (libc_feholdexcept_setroundl): Likewise.
22685 (libc_feholdexcept_setround_53bit): Likewise.
22686 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22687 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22688 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22689 (libc_feupdateenv_53bit): Likewise.
22690 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22691 (libc_feholdexcept): Convert from macro to inline function.
22692 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22693 (libc_fesetenv, libc_feupdateenv): Likewise.
22694
4851a949
RH
22695 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22696 not previously defined.
22697 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22698 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22699 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22700 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22701 * sysdeps/ieee754/flt-32/math_private.h: New file.
22702 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22703 math_private.h below SET_FLOAT_WORD.
22704 (__isnan, __isinf_ns, __finite): Remove.
22705 (__isnanf, __isinf_nsf, __finitef): Remove.
22706
e79d442e
AS
227072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22708
22709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22710
90b80344
DM
227112012-03-17 David S. Miller <davem@davemloft.net>
22712
22713 [BZ #6471]
22714 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22715 for 2.16.
22716
edc21804
DM
227172012-03-16 David S. Miller <davem@davemloft.net>
22718
77e927af
DM
22719 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22720 warnings.
22721
374976dd
DM
22722 [BZ #6471]
22723 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22724 properly.
22725 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22726 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22727 sysdep_routines when subdir is sysvipc.
22728 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22729 __getshmlba helper.
22730
edc21804
DM
22731 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22732
473c3ef3
L
227332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22734
22735 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22736 [__LP64__].
22737
eb0f39b6
L
227382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22739
22740 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22741 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22742 (__lround): Renamed to ...
22743 (__llround): This. Replace long int with long long int.
22744 Define lround functions as aliases of llround functions.
22745 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22746
6b6cd74b
L
227472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22748
22749 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22750 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22751 adresses to uintptr_t. Replace "long int" and "unsigned long
22752 int" with "greg_t" on va_arg.
22753
f1a77b01
L
227542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22755
22756 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22757 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22758
22759 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22760 Move e_machine check before EI_CLASS check. Handle x32
22761 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22762 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22763 SKIP_EM_IA_64 and include
22764 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22765
22766 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22767 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22768 (add_system_dir): New macro.
22769
22770 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22771 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22772
11b90b9f
JM
227732012-03-16 Joseph Myers <joseph@codesourcery.com>
22774
c36e1d23
JM
22775 [BZ #2551]
22776 [BZ #2552]
22777 [BZ #2553]
22778 [BZ #2554]
22779 [BZ #2562]
22780 [BZ #2563]
22781 [BZ #2565]
22782 [BZ #2566]
22783 [BZ #2576]
22784 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22785 (y0): Likewise.
22786 * math/w_j0f.c (j0f): Likewise.
22787 (y0f): Likewise.
22788 * math/w_j0l.c (__j0l): Likewise.
22789 (__y0l): Likewise.
22790 * math/w_j1.c (j1): Likewise.
22791 (y1): Likewise.
22792 * math/w_j1f.c (j1f): Likewise.
22793 (y1f): Likewise.
22794 * math/w_j1l.c (__j1l): Likewise.
22795 (__y1l): Likewise.
22796 * math/w_jn.c (jn): Likewise.
22797 (yn): Likewise.
22798 * math/w_jnf.c (jnf): Likewise.
22799 (ynf): Likewise.
22800 * math/w_jnl.c (__jnl): Likewise.
22801 (__ynl): Likewise.
22802 * math/libm-test.inc (j0_test): Add more tests.
22803 (j1_test): Likewise.
22804 (jn_test): Likewise. Add trailing semicolon to existing test.
22805 (y0_test): Likewise.
22806 (y1_test): Likewise.
22807 * sysdeps/i386/fpu/libm-test-ulps: Update.
22808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22809
11b90b9f
JM
22810 [BZ #13851]
22811 [BZ #13854]
22812 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22813 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22814 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22815 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22816 (__tanl): Set errno for infinite argument.
22817 * sysdeps/i386/fpu/mptan.c: Remove.
22818 * sysdeps/i386/fpu/s_tan.S: Likewise.
22819 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22820 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22821 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22822 * math/libm-test.inc (tan_test): Add more tests and enable more
22823 tests for double and long double.
22824 * sysdeps/i386/fpu/libm-test-ulps: Update.
22825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22826
6a1bd2a1
JK
228272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22828
22829 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22830 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22831
10a803e0
RM
228322012-03-16 Roland McGrath <roland@hack.frob.com>
22833
22834 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22835 * configure.in: Use it for both main tree and add-ons.
22836 * configure: Regenerated.
22837
f196c7f7
L
228382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22839
22840 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22841
8848d99d
JM
228422012-03-16 Joseph Myers <joseph@codesourcery.com>
22843
96cbe7f4
JM
22844 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22845 in comment.
22846
8848d99d
JM
22847 [BZ #13851]
22848 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22849 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22853 infinite argument.
22854 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22856 != 0 for prec == 2.
22857 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22858 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22859 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22860 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22861 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22862 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22863 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22864 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22865 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22866 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22867 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22868 * math/libm-test.inc (cos_test): Add more tests and enable more
22869 tests for long double.
22870 (sin_test): Likewise.
22871 (sincos_test): Likewise.
22872 * sysdeps/i386/fpu/libm-test-ulps: Update.
22873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22874
dd7f4703
DM
228752012-03-16 David S. Miller <davem@davemloft.net>
22876
22877 * sysdeps/sparc/fpu/math_private.h: New file.
22878
006f1daa
DM
228792012-03-15 David S. Miller <davem@davemloft.net>
22880
c0c83bc8
DM
22881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22882 file.
e6a62e18 22883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22885 file.
e6a62e18
DM
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22892 sysdep routines.
22893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22894
88cb87d9
DM
22895 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22896 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22897
006f1daa 22898 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22900 sparc-ifunc.h
006f1daa 22901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22903 Likewise.
22904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22905 Likewise.
006f1daa
DM
22906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22910 Likewise.
006f1daa
DM
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22916 Likewise.
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22918 Likewise.
006f1daa
DM
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22943
11e0098e
AS
229442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22945
22946 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22947 scaling.
22948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22949
e85b09d0
AJ
229502012-03-15 Andreas Jaeger <aj@suse.de>
22951
22952 [BZ #13852]
22953 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22954 ieee754/flt-32 implementation for sin, cos and sincos.
22955 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22956 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22957 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22958 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22959 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22960 ieee754/flt-32 implementation for tan.
22961
22962 * math/libm-test.inc (cos_test): Enable some large input tests for
22963 float as well
22964 (sin_test): Likewise.
22965 (sincos_test): Likewise.
22966 (tan_test): Add tests for large input.
22967
22968 * sysdeps/i386/fpu/libm-test-ulps: Update.
22969
81c64153
AJ
229702012-03-15 Andreas Jaeger <aj@suse.de>
22971
22972 [BZ #13658]
22973 * math/libm-test.inc (cos_test): Add more test cases.
22974 (sin_test): Likewise.
22975 (sincos_test): Likewise.
22976
7bbfa5c6
AJ
229772012-03-15 Andreas Jaeger <aj@suse.de>
22978
22979 [BZ #13837]
22980 * math/libm-test.inc (cos_test): Add a test case for large input
22981 value.
22982 (sin_test): Likewise.
22983 (sincos_test): Likewise.
22984
229852012-03-15 Andreas Jaeger <aj@suse.de>,
22986 Joseph Myers <joseph@codesourcery.com>
22987
22988 [BZ #13658]
0671f479 22989 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22990 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22991 * sysdeps/i386/fpu/branred.c: Likewise.
22992 * sysdeps/i386/fpu/dosincos.c: Likewise.
22993 * sysdeps/i386/fpu/mpa.c: Likewise.
22994 * sysdeps/i386/fpu/s_cos.S: Likewise.
22995 * sysdeps/i386/fpu/s_sin.S: Likewise.
22996 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22997 * sysdeps/i386/fpu/sincos32.c: Likewise.
22998
22999 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23000 Define.
23001 (libc_feupdateenv_53bit): Define.
23002 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23003 Define.
23004 (libc_feupdateenv_53bit): Define.
23005
23006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23007 53 bit (without extend i386 double precision).
23008
23009 * math/libm-test.inc (sincos_test): Add tests for large input.
23010 (sin): Likewise.
23011 (cos): Likewise.
23012
23013 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23014
9cad04ea
AS
230152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23016
23017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23018
f7062b9a
DM
230192012-03-15 David S. Miller <davem@davemloft.net>
23020
23021 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23022 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23023 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23024 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23037 file.
f7062b9a 23038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23040 file.
f7062b9a 23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23043 file.
f7062b9a 23044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23046 file.
f7062b9a
DM
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23049 fmin/fmax sysdep routines.
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23051
7bd951ff
DM
230522012-03-14 David S. Miller <davem@davemloft.net>
23053
559398ab
DM
23054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23083 routines.
23084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23085 file.
559398ab 23086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23088 file.
559398ab 23089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23091 file.
559398ab 23092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23094 file.
559398ab 23095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23097 file.
559398ab 23098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23100 file.
23101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23102 file.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23104 file.
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23106 file.
23107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23108 New file.
23109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23110 file.
23111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23112 file.
559398ab 23113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23115 file.
559398ab 23116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23118 file.
559398ab 23119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23121 file.
559398ab 23122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23124 VIS3 routines.
559398ab
DM
23125
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23127 New file.
23128
5a1c1e32
DM
23129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23130
eae47a36
DM
23131 * sysdeps/sparc/configure.in: New file.
23132 * sysdeps/sparc/configure: Generate.
23133 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23134 * configure: Regenerate.
23135 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23136 * config.make.in (have-as-vis3): New.
23137 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23138 available use -Av9d instead of -Av9a.
23139 * sysdeps/sparc/sparc64/Makefile: Likewise.
23140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23142 New file.
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23144 file.
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23146 New file.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23148 file.
eae47a36
DM
23149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23154
c0c83bc8
DM
23155 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23156 fzeros/fnegs to load 0x80000000 into a float register instead of
23157 using the stack.
7bd951ff
DM
23158 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23159
bd951ccb
JM
231602012-03-14 Joseph Myers <joseph@codesourcery.com>
23161
23162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23163 bits/syscall.h.
23164 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23165 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23166 ($(inst_includedir)/bits/syscall.h): Remove rule.
23167 ($(objpfx)bits/syscall.d): Include instead of
23168 $(objpfx)syscall-list.d.
23169 (generated): Change syscall-list.h and syscall-list.d to
23170 bits/syscall.h and bits/syscall.d.
23171
bb4e6db2
RM
231722012-03-14 Roland McGrath <roland@hack.frob.com>
23173
23174 [BZ #13846]
23175 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23176
aa4a2ae1
JM
231772012-03-14 Joseph Myers <joseph@codesourcery.com>
23178
e456826d
JM
23179 [BZ #13841]
23180 * math/s_csqrt.c: Include <float.h>.
23181 (__csqrt): Scale large or subnormal inputs.
23182 * math/s_csqrtf.c: Likewise.
23183 * math/s_csqrtl.c: Likewise.
23184 * math/libm-test.inc (csqrt_test): Add more tests.
23185 * sysdeps/i386/fpu/libm-test-ulps: Update.
23186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23187
aa4a2ae1
JM
23188 [BZ #13840]
23189 * math/libm-test.inc (hypot_test): Add more tests.
23190
7c10fd35
DM
231912012-03-13 David S. Miller <davem@davemloft.net>
23192
23193 [BZ #13840]
23194 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23195 double-precision for the calculation instead of scaling.
23196
f453b98b
JM
231972012-03-13 Joseph Myers <joseph@codesourcery.com>
23198
23199 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23200 manipulate bits before adding and subtracting TWO52[sx].
23201 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23202 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23203 Likewise.
23204 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23205
09a3453f
DM
232062012-03-13 David S. Miller <davem@davemloft.net>
23207
8e59da90
DM
23208 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23209 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23211 rtld-global-offsets.h
23212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23213
2a8ab7f2
DM
23214 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23215 large parameters.
23216
10f62770
DM
23217 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23218
5f0bdb18
DM
23219 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23220 'err' in the ifdef scope in which it is actually used.
23221
09a3453f
DM
23222 * nss/nss_db/db-init.c: Include string.h
23223
b4b2eb5e
DM
232242012-03-12 David S. Miller <davem@davemloft.net>
23225
98bb2f1c
DM
23226 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23227 masking out of the most significant byte of random value used.
23228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23229 Fix coding style in previous change.
23230
b4b2eb5e
DM
23231 * sysdeps/unix/sysv/linux/kernel-features.h
23232 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23233 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23234 expression.
23235 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23236 later.
23237
6e226b09
DM
232382012-03-11 David S. Miller <davem@davemloft.net>
23239
a1bcbd40
DM
23240 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23241 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23243 for 'resultvar' otherwise things get truncated on 64-bit.
23244
cb9d6174
DM
23245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23246 Fix masking out of the most significant byte of random value used.
23247
6e226b09
DM
23248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23249
058c132d
AS
232502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23251
23252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23253
2d2cd515
DM
232542012-03-09 David S. Miller <davem@davemloft.net>
23255
23256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23257 variables with appropriate CPP guards.
23258 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23259 frame pointer, not the stack pointer. Correct layout comments. Fix test
23260 on resulting framesize and the management of the outregs buffer for pltexit.
23261 Preserve floating point return values across _dl_call_pltexit call.
23262 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23263 framesize and the management of the outregs buffer for pltexit.
23264 Preserve floating point return values across _dl_call_pltexit
23265 call.
23266 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23267 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23268 (print_exit): Fix format string for return register value.
23269
9a07f9d0
JM
232702012-03-10 Joseph Myers <joseph@codesourcery.com>
23271
23272 * sunrpc/Makefile (others): Add rpcgen.
23273 ($(objpfx)rpcgen): Remove special build rule and dependency on
23274 libc.
23275 * sunrpc/rpcgen.c: New file.
23276
547b5e30
PE
232772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23278
c524201a
PE
23279 [BZ #13673]
23280 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23281 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23282 * sysdeps/i386/crti.S: Likewise.
23283 * sysdeps/i386/crtn.S: Likewise.
23284 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23285 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23286 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23287 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23288 * sysdeps/sh/crti.S: Likewise.
23289 * sysdeps/sh/crtn.S: Likewise.
23290 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23291
7b6235f2
PE
23292 [BZ #13673]
23293 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23294 with URL.
23295 * locale/programs/locfile-kw.gperf: Likewise.
23296 * locale/programs/charmap-kw.h: Regenerated.
23297 * locale/programs/locfile-kw.h: Likewise.
23298
547b5e30
PE
23299 [BZ #13673]
23300 * intl/plural.y: Replace FSF snail mail address with URL.
23301 * intl/plural.c: Regenerated.
23302
5f0a5dae
RH
233032012-03-09 Richard Henderson <rth@twiddle.net>
23304
23305 * include/math_private.h: Remove file.
23306 * math/math_private.h: Move file ...
23307 * sysdeps/generic/math_private.h: ... here.
23308
b8c03620
RH
23309 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23310 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23311 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23312
4e234f5d 23313 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23314 and <math_private.h>.
23315 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23316 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23317 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23318 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23319 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23403 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23404 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23405 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23406 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23408 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23409 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23412 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23413 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23414 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23415 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23416 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23417 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23419 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23420 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23422 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23431 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23432 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23433 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23434 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23436 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23438 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23439 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23440 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23441 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23442 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23444 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23445 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23446 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23447 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23448 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23449 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23450 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23451 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23452 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23453 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23454 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23456 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23457 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23458 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23459 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23460 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23461 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23462 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23463 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23464 * sysdeps/ieee754/k_standard.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23468 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23469 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23580 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23584 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23585 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23592 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23597 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23613 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23614 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23625 * sysdeps/ieee754/s_lib_version.c: Likewise.
23626 * sysdeps/ieee754/s_matherr.c: Likewise.
23627 * sysdeps/ieee754/s_signgam.c: Likewise.
23628 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23629 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23630 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23631 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23632 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23633 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23634 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23635 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23636 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23637 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23638 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23639 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23640 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23641 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23642 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23643 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23644 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23645 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23646 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23649
1991fa03
JM
236502012-03-09 Joseph Myers <joseph@codesourcery.com>
23651
23652 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23653 * sunrpc/rpc_main.c: Likewise.
23654 * sunrpc/rpc_svcout.c: Likewise.
23655
60d6f5a6
DM
236562012-03-09 David S. Miller <davem@davemloft.net>
23657
23658 * include/math_private.h: New file.
23659
4962050e
JM
236602012-03-09 Joseph Myers <joseph@codesourcery.com>
23661
02a6f887
JM
23662 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23663 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23664 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23665 from <bits/socket_type.h>.
23666 (enum __socket_type): Don't define here.
23667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23669 bits/socket_type.h.
23670
c6e013c1
JM
23671 [BZ #13566]
23672 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23673 checking __USE_GNU.
23674
4962050e
JM
23675 * Makerules ($(inst_includedir)/%.h): New rule.
23676 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23677 (install-others): Remove variable setting.
23678 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23679
38842f45
RH
236802012-03-08 Richard Henderson <rth@twiddle.net>
23681
67bb6da6
RH
23682 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23683 from macro to inline function; merge with the
23684 !__LIBC_INTERNAL_MATH_INLINES version.
23685 (__ieee754_sqrtf): Likewise.
23686
15194b4b
RH
23687 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23688 to inline function.
23689 (__rintf, __floor, __floorf): Likewise.
23690
64e21ede
RH
23691 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23692 macro to inline function.
23693 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23694
38842f45
RH
23695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23696 not <math/math_private.h>.
23697
c64bf5fe
DM
236982012-03-08 David S. Miller <davem@davemloft.net>
23699
23700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23701 copyright year.
23702 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23703
82d86f28
TS
237042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23705
23706 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23707 normalization.
23708 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23709 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23710
aea5d727
UD
237112012-03-08 Ulrich Drepper <drepper@gmail.com>
23712
23713 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23714 be defined individually, they must be defined as a block. Define
23715 S for printing a string instead of hidint the different by using a
23716 macro for adding the 'l'.
23717 * stdio-common/tst-fphex-wide.c: Adjust.
23718
70bca0a3
MP
237192012-03-07 Marek Polacek <polacek@redhat.com>
23720
23721 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23722
65b81130
MP
237232012-03-08 Marek Polacek <polacek@redhat.com>
23724
23725 [BZ #13806]
23726 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23727 * stdio-common/tst-fphex.c: Define a few macros to make the
23728 test reusable. Use them.
23729 * stdio-common/tst-fphex-wide.c: New file.
23730
07037eeb
JM
237312012-03-08 Joseph Myers <joseph@codesourcery.com>
23732
a7a93d50
JM
23733 [BZ #6911]
23734 * manual/macros.texi (gnusystems): New macro.
23735 (nongnusystems): Likewise.
23736 (gnulinuxhurdsystems): Likewise.
23737 (gnuhurdsystems): Likewise..
23738 (gnulinuxsystems): Likewise.
23739 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23740 variants of the GNU system, not "GNU system".
23741 * manual/conf.texi: Likewise.
23742 * manual/errno.texi: Likewise. Update example of errno macro
23743 expansion.
23744 * manual/filesys.texi: Likewise.
23745 (getumask): Document as specific to GNU/Hurd.
23746 * manual/install.texi: Likewise. Reword some references to
23747 GNU/Linux.
23748 * manual/intro.texi: Likewise.
23749 * manual/io.texi: Likewise.
23750 (File Name Portability): Detail which constraints are inapplicable
23751 to all GNU systems and which are only inapplicable to GNU/Hurd.
23752 * manual/job.texi: Likewise.
23753 * manual/llio.texi: Likewise.
23754 (O_NOCTTY): Document as present on GNU/Linux.
23755 * manual/maint.texi: Likewise.
23756 * manual/memory.texi: Likewise.
23757 * manual/pattern.texi: Likewise.
23758 * manual/pipe.texi: Likewise.
23759 * manual/process.texi: Likewise.
23760 * manual/resource.texi: Likewise.
23761 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23762 child on GNU/Hurd.
23763 * manual/setjmp.texi: Likewise.
23764 * manual/signal.texi: Likewise.
23765 * manual/startup.texi: Likewise.
23766 * manual/stdio.texi: Likewise.
23767 * manual/terminal.texi: Likewise.
23768 (ONLCR): Document as POSIX.
23769 (OXTABS): Document availability on GNU/Linux as XTABS.
23770 (ONOEOT): Document availability separately from other bits.
23771 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23772 * manual/time.texi: Likewise.
23773 * manual/users.texi: Likewise.
23774 * INSTALL: Regenerated.
23775 * sysdeps/gnu/errlist.c: Regenerated.
23776
07037eeb
JM
23777 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23778 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23779 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23780 puts.
23781 * configure: Regenerated.
23782
d1d3431a
JM
237832012-03-07 Joseph Myers <joseph@codesourcery.com>
23784
af6a1e37
JM
23785 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23786 default includes instead of AC_HEADER_CHECK.
23787 * sysdeps/i386/configure: Regenerated.
23788
d1d3431a
JM
23789 [BZ #10716]
23790 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23791 * math/s_cacoshf.c (__cacoshf): Likewise.
23792 * math/s_cacoshl.c (__cacoshl): Likewise.
23793 * math/s_casinh.c (__casinh): Set signs of result from argument.
23794 * math/s_casinhf.c (__casinhf): Likewise.
23795 * math/s_casinhl.c (__casinhl): Likewise.
23796 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23797 (casinh_test): Add more tests.
23798 * sysdeps/i386/fpu/libm-test-ulps: Update.
23799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23800
482ff4da
UD
238012012-03-07 Ulrich Drepper <drepper@gmail.com>
23802
872fda05
UD
23803 * po/zh_TW.po: Update from translation team.
23804
a4300c7a
UD
23805 * login/Makefile (distribute): Remove variable.
23806 * catgets/Makefile: Likewise.
23807 * mach/Makefile: Likewise.
23808 * malloc/Makefile: Likewise.
23809 * misc/Makefile: Likewise.
23810 * iconv/Makefile: Likewise.
23811 * nscd/Makefile: Likewise.
23812 * hurd/Makefile: Likewise.
23813 * manual/Makefile: Likewise.
23814 * locale/Makefile: Likewise.
23815 * intl/Makefile: Likewise.
23816 * conform/Makefile: Likewise.
23817 * nss/Makefile: Likewise.
23818 * time/Makefile: Likewise.
23819 * soft-fp/Makefile: Likewise.
23820 * dirent/Makefile: Likewise.
23821 * gmon/Makefile: Likewise.
23822 * po/Makefile: Likewise.
23823 * rt/Makefile: Likewise.
23824 * socket/Makefile: Likewise.
23825 * math/Makefile: Likewise.
23826 * signal/Makefile: Likewise.
23827 * debug/Makefile: Likewise.
23828 * elf/Makefile: Likewise.
23829 * timezone/Makefile: Likewise.
23830 * stdlib/Makefile: Likewise.
23831 * iconvdata/Makefile: Likewise.
23832 * sunrpc/Makefile: Likewise.
23833 * io/Makefile: Likewise.
23834 * argp/Makefile: Likewise.
23835 * inet/Makefile: Likewise.
23836 * hesiod/Makefile: Likewise.
23837 * grp/Makefile: Likewise.
23838 * csu/Makefile: Likewise.
23839 * wctype/Makefile: Likewise.
23840 * crypt/Makefile: Likewise.
23841 * libio/Makefile: Likewise.
23842 * string/Makefile: Likewise.
23843 * nis/Makefile: Likewise.
23844 * resolv/Makefile: Likewise.
23845 * stdio-common/Makefile: Likewise.
23846 * wcsmbs/Makefile: Likewise.
23847 * dlfcn/Makefile: Likewise.
23848 * posix/Makefile: Likewise.
23849
3b7c4e74 23850 [BZ #6959]
482ff4da
UD
23851 * timezone/Makefile: Don't install timezone files, just the programs
23852 and scripts.
23853
f72ed77d
UD
238542012-03-06 Ulrich Drepper <drepper@gmail.com>
23855
a000466f
UD
23856 * nss/databases.def: Add missing gshadow entry.
23857
f72ed77d
UD
23858 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23859
a53b7a4e
MP
238602012-03-06 Marek Polacek <polacek@redhat.com>
23861
23862 [BZ #13726]
23863 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23864 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23865 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23866 * stdio-common/tst-long-dbl-fphex.c: New file.
23867
e9258400
DM
238682012-03-06 David S. Miller <davem@davemloft.net>
23869
23870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23871 (set_obp_int): New function.
23872 (get_obp_int): New function.
23873 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23874 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23875 Avoid unused variable warnings on 'val' and use builtin_expect.
23876 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23877 __builtin_expect.
e9258400
DM
23878 (INLINE_CLONE_SYSCALL): Likewise.
23879
3bd2c723
DM
238802012-03-05 David S. Miller <davem@davemloft.net>
23881
23882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23883
bbb78d03
AS
238842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23885
884c5db4
AS
23886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23887
bbb78d03
AS
23888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23889 only for |x| >= 40.
23890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23891
1c9f702a 238922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23893
23894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23895 Replace gettimeofday with __vdso_gettimeofday.
23896
7be16f82
RM
23897 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23898 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23899 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23900
23901 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23902 time with __vdso_time.
23903
ed58a00f
JM
239042012-03-05 Joseph Myers <joseph@codesourcery.com>
23905
23906 * manual/lang.texi (size_t): Note types to which size_t may be
23907 equivalent with the GNU C Library, but do not describe when
23908 differences between them are significant.
23909
30ee4ced
AJ
239102012-03-05 Andreas Jaeger <aj@suse.de>
23911
23912 * sysdeps/i386/fpu/libm-test-ulps: Update.
23913
b7cd39e8
JM
239142012-03-05 Joseph Myers <joseph@codesourcery.com>
23915
23916 [BZ #3976]
23917 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23918 (__ieee754_pow): Save and restore rounding mode and use
23919 round-to-nearest for main computations.
23920 * math/libm-test.inc (pow_test_tonearest): New function.
23921 (pow_test_towardzero): Likewise.
23922 (pow_test_downward): Likewise.
23923 (pow_test_upward): Likewise.
23924 (main): Call the new functions.
23925 * sysdeps/i386/fpu/libm-test-ulps: Update.
23926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23927
23928 [BZ #3976]
23929 * math/libm-test.inc (cosh_test_tonearest): New function.
23930 (cosh_test_towardzero): Likewise.
23931 (cosh_test_downward): Likewise.
23932 (cosh_test_upward): Likewise.
23933 (sinh_test_tonearest): Likewise.
23934 (sinh_test_towardzero): Likewise.
23935 (sinh_test_downward): Likewise.
23936 (sinh_test_upward): Likewise.
23937 (main): Call the new functions.
23938 * sysdeps/i386/fpu/libm-test-ulps: Update.
23939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23940
6c6a98c9
TV
239412012-03-05 Tom de Vries <tom@codesourcery.com>
23942
23943 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23944 default stack guard is set in last bytes.
23945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23946
21bb2d2e 239472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23948
21bb2d2e 23949 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23950
21bb2d2e
AJ
23951 [BZ #13656]
23952 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23953 possibly allocate from heap instead of stack.
23954 * stdio-common/bug-vfprintf-nargs.c: New file.
23955 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23956
c6922934
AS
239572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23958
23959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23960
bc957d53
MP
239612012-03-03 Marek Polacek <polacek@redhat.com>
23962
23963 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23964 * math/math_private.h: Likewise.
23965 * stdlib/tst-strtod.c: Likewise.
23966 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23967 * sysdeps/x86_64/bits/atomic.h: Likewise.
23968
6358490d
DM
239692012-03-02 David S. Miller <davem@davemloft.net>
23970
23971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23975 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23976 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23977 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23978 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23979
01ae168d
RM
239802012-03-02 Roland McGrath <roland@hack.frob.com>
23981
d9a17c07
RM
23982 [BZ #13792]
23983 * manual/examples/README: New file, says the example source files
23984 can be used under GPL>=2.
23985 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23986 line containing just "*/".
23987 * manual/examples/add.c: Add copyright header (GPL>=2).
23988 * manual/examples/argp-ex1.c: Likewise.
23989 * manual/examples/argp-ex2.c: Likewise.
23990 * manual/examples/argp-ex3.c: Likewise.
23991 * manual/examples/argp-ex4.c: Likewise.
23992 * manual/examples/atexit.c: Likewise.
23993 * manual/examples/db.c: Likewise.
23994 * manual/examples/dir.c: Likewise.
23995 * manual/examples/dir2.c: Likewise.
23996 * manual/examples/execinfo.c: Likewise.
23997 * manual/examples/filecli.c: Likewise.
23998 * manual/examples/filesrv.c: Likewise.
23999 * manual/examples/fmtmsgexpl.c: Likewise.
24000 * manual/examples/genpass.c: Likewise.
24001 * manual/examples/inetcli.c: Likewise.
24002 * manual/examples/inetsrv.c: Likewise.
24003 * manual/examples/isockad.c: Likewise.
24004 * manual/examples/longopt.c: Likewise.
24005 * manual/examples/memopen.c: Likewise.
24006 * manual/examples/memstrm.c: Likewise.
24007 * manual/examples/mkfsock.c: Likewise.
24008 * manual/examples/mkisock.c: Likewise.
24009 * manual/examples/mygetpass.c: Likewise.
24010 * manual/examples/pipe.c: Likewise.
24011 * manual/examples/popen.c: Likewise.
24012 * manual/examples/rprintf.c: Likewise.
24013 * manual/examples/search.c: Likewise.
24014 * manual/examples/select.c: Likewise.
24015 * manual/examples/setjmp.c: Likewise.
24016 * manual/examples/sigh1.c: Likewise.
24017 * manual/examples/sigusr.c: Likewise.
24018 * manual/examples/stpcpy.c: Likewise.
24019 * manual/examples/strdupa.c: Likewise.
24020 * manual/examples/strftim.c: Likewise.
24021 * manual/examples/strncat.c: Likewise.
24022 * manual/examples/subopt.c: Likewise.
24023 * manual/examples/swapcontext.c: Likewise.
24024 * manual/examples/termios.c: Likewise.
24025 * manual/examples/testopt.c: Likewise.
24026 * manual/examples/testpass.c: Likewise.
24027 * manual/examples/timeval_subtract.c: Likewise.
24028
01ae168d
RM
24029 [BZ #13792]
24030 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24031 function to ...
24032 * manual/timeval_subtract.c.texi: ... here, new file.
24033
49efa33d
DM
240342012-03-02 David S. Miller <davem@davemloft.net>
24035
24036 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24037
28afd92d
JM
240382012-03-02 Joseph Myers <joseph@codesourcery.com>
24039
804360ed
JM
24040 [BZ #3976]
24041 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24042 (__sin): Save and restore rounding mode and use round-to-nearest
24043 for all computations.
24044 (__cos): Save and restore rounding mode and use round-to-nearest
24045 for all computations.
24046 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24047 <fenv.h>.
24048 (tan): Save and restore rounding mode and use round-to-nearest for
24049 all computations.
24050 * math/libm-test.inc (cos_test_tonearest): New function.
24051 (cos_test_towardzero): Likewise.
24052 (cos_test_downward): Likewise.
24053 (cos_test_upward): Likewise.
24054 (sin_test_tonearest): Likewise.
24055 (sin_test_towardzero): Likewise.
24056 (sin_test_downward): Likewise.
24057 (sin_test_upward): Likewise.
24058 (tan_test_tonearest): Likewise.
24059 (tan_test_towardzero): Likewise.
24060 (tan_test_downward): Likewise.
24061 (tan_test_upward): Likewise.
24062 (main): Call the new functions.
24063 * sysdeps/i386/fpu/libm-test-ulps: Update.
24064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24065
a6d06d7b
JM
24066 [BZ #10135]
24067 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24068 small n, then large n, before computing and testing k+n.
24069 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24071 Likewise.
24072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24073 Likewise.
24074 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24075 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24082 * math/libm-test.inc (scalbn_test): Add more tests.
24083 (scalbln_test): Likewise.
24084
07e12bb3
JM
24085 * manual/filesys.texi (mode_t): Describe constraints on size and
24086 signedness, not exact equivalence to a particular type.
24087 (ino_t): Likewise.
24088 (ino64_t): Likewise.
24089 (dev_t): Likewise.
24090 (nlink_t): Likewise.
24091 (blkcnt_t): Likewise.
24092 (blkcnt64_t): Likewise.
24093 * manual/llio.texi (off_t): Likewise.
24094
28afd92d
JM
24095 [BZ #3976]
24096 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24097 (__ieee754_exp): Save and restore rounding mode and use
24098 round-to-nearest for all computations.
24099 * math/libm-test.inc (exp_test_tonearest): New function.
24100 (exp_test_towardzero): Likewise.
24101 (exp_test_downward): Likewise.
24102 (exp_test_upward): Likewise.
24103 (main): Call the new functions.
24104 * sysdeps/i386/fpu/libm-test-ulps: Update.
24105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24106
b1eeb65d
CD
241072012-03-01 Chris Demetriou <cgd@google.com>
24108
24109 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24110 have predictable order.
24111
53362a4b
DM
241122012-03-01 David S. Miller <davem@davemloft.net>
24113
3c969083
DM
24114 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24115
759707de
DM
24116 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24117 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24118 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24119 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24120
dfdb8ff2
DM
24121 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24122 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24123 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24125 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24126 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24127 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24128 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24129 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24130
ead89f96
DM
24131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24132
7f66bd07
DM
24133 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24134 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24136
53362a4b
DM
24137 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24138 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24139 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24140 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24141 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24142 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24145 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24146 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24147 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24148 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24150 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24151 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24153 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24154 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24155 * sysdeps/sparc/elf/configure: Regenerated.
24156
7b1902cb
JM
241572012-03-01 Joseph Myers <joseph@codesourcery.com>
24158
bec039bc
JM
24159 * configure.in (AS, LD): Require binutils 2.20 or later.
24160 * configure: Regenerated.
24161 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24162 as required minimum version.
24163 * INSTALL: Regenerated.
24164
7b1902cb
JM
24165 [BZ #2541]
24166 [BZ #4108]
24167 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24168 before squaring exponent.
24169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24170 bottom long double and 27 bits of top long double before squaring
24171 exponent.
24172 * math/libm-test.inc (erfc_test): Add more tests.
24173 * sysdeps/i386/fpu/libm-test-ulps: Update.
24174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24176
f775c276
KT
241772012-03-01 Kai Tietz <ktietz@redhat.com>
24178
24179 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24180 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24181 containing bit-fields.
24182 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24183 * soft-fp/single.h (_FP_UNION_S): Likewise.
24184 * soft-fp/double.h (_FP_UNION_D): Likewise.
24185
5b8a4d4a
JM
241862012-02-29 Joseph Myers <joseph@codesourcery.com>
24187
0bab47b6
JM
24188 [BZ #13786]
24189 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24190 not include ../strcmp.S.
24191 [USE_AS_STRNCASECMP_L]: Likewise.
24192 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24193 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24194 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24195 (__strncasecmp_l_ia32): Define as alias to
24196 __strncasecmp_l_nonascii.
24197
0fcad3e2
JM
24198 [BZ #5794]
24199 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24200 * sysdeps/i386/fpu/libm-test-ulps: Update.
24201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24202
5b8a4d4a
JM
24203 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24205
8fdceb2e
JL
242062012-02-29 Jeff Law <law@redhat.com>
24207
24208 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24209 out of bounds read.
24210
1f393a11
MP
242112012-02-29 Marek Polacek <polacek@redhat.com>
24212
24213 [BZ #13706]
24214 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24215 * elf/Makefile: Add rules to run tst-unused-dep.out.
24216
8847f037
DM
242172012-02-28 David S. Miller <davem@davemloft.net>
24218
24219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24223 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24224 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24225
169d7f11
JM
242262012-02-29 Joseph Myers <joseph@codesourcery.com>
24227
24228 * math/libm-test.inc (llround_test): Move one test from
24229 lround_test. Use TEST_f_L in moved test.
24230 (lround_test): Move misplaced test to llround_test. Add testcase
24231 from bug 2561.
24232
39adf059
UD
242332012-02-28 Ulrich Drepper <drepper@gmail.com>
24234
24235 * sysdeps/x86_64/fpu/e_expf.S: New file.
24236 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24237
71b5d1c5
SB
242382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24239
24240 [BZ #13637]
24241 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24242 of remain_len that may cause incomplete multi-byte character and
24243 false match.
24244 * posix/bug-regex33.c: New file.
24245 * posix/Makefile (tests): Add bug-regex33.
24246
1f77f049
JM
242472012-02-28 Joseph Myers <joseph@codesourcery.com>
24248
24249 * manual/macros.texi: New file.
24250 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24251 * manual/libc.texinfo: Include macros.texi.
24252 * manual/creatute.texi: Likewise.
24253 * manual/install.texi: Likewise.
24254 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24255 @glibcadj{} in references to the GNU C Library.
24256 * manual/charset.texi: Likewise.
24257 * manual/conf.texi: Likewise.
24258 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24259 when not using those macros.
24260 * manual/creature.texi: Likewise.
24261 * manual/crypt.texi: Likewise.
24262 * manual/errno.texi: Likewise.
24263 * manual/filesys.texi: Likewise.
24264 * manual/header.texi: Likewise.
24265 * manual/install.texi: Likewise.
24266 * manual/intro.texi: Likewise.
24267 * manual/io.texi: Likewise.
24268 * manual/job.texi: Likewise.
24269 * manual/lang.texi: Likewise.
24270 * manual/libc.texiinfo: Likewise.
24271 * manual/llio.texi: Likewise.
24272 * manual/locale.texi: Likewise.
24273 * manual/maint.texi: Likewise.
24274 * manual/math.texi: Likewise.
24275 * manual/memory.texi: Likewise.
24276 * manual/message.texi: Likewise.
24277 * manual/nss.texi: Likewise.
24278 * manual/pattern.texi: Likewise.
24279 * manual/process.texi: Likewise.
24280 * manual/resource.texi: Likewise.
24281 * manual/search.texi: Likewise.
24282 * manual/setjmp.texi: Likewise.
24283 * manual/signal.texi: Likewise.
24284 * manual/socket.texi: Likewise.
24285 * manual/startup.texi: Likewise.
24286 * manual/stdio.texi: Likewise.
24287 * manual/string.texi: Likewise.
24288 * manual/sysinfo.texi: Likewise.
24289 * manual/syslog.texi: Likewise.
24290 * manual/terminal.texi: Likewise.
24291 * manual/time.texi: Likewise.
24292 * manual/users.texi: Likewise.
24293 * INSTALL: Regenerated.
24294 * NOTES: Regenerated.
d40c5d54 24295 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24296
450bf206
AS
242972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24298
24299 * include/dirent.h: Include <dirstream.h> before
24300 <dirent/dirent.h>.
24301
741a235b
DM
243022012-02-28 David S. Miller <davem@davemloft.net>
24303
24304 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24305 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24306 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24307 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24308
d6b5aa58
DM
243092012-02-27 David S. Miller <davem@davemloft.net>
24310
1aff59a3
DM
24311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24313 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24314 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24315
d6b5aa58
DM
24316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24317 frame pointer instead of stack pointer relative arg slot.
24318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24319 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24320 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24321
433f48bf
CD
243222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24323
24324 [BZ #3992]
24325 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24326
d674b76d
DM
243272012-02-27 David S. Miller <davem@davemloft.net>
24328
24329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24333 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24334 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24335 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24336 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24337
0e7727f7
JM
243382012-02-27 Joseph Myers <joseph@codesourcery.com>
24339
24340 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24341 later. Allow versions 5-9.
43be4ca2 24342 * configure: Regenerated.
0e7727f7
JM
24343 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24344 required minimum version and 4.6 as recommended version. Do not
24345 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24346 * INSTALL: Regenerated.
0e7727f7 24347
a78bc654
DM
243482012-02-27 David S. Miller <davem@davemloft.net>
24349
428d5830
DM
24350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24356 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24358
a78bc654
DM
24359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24360 manipulate bits before adding and subtracting TWO112[sx].
24361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24362
4579f81c
RM
243632012-02-27 Roland McGrath <roland@hack.frob.com>
24364
36c8acb4
RM
24365 [BZ #13775]
24366 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24367 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24368 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24369 being in POSIX, because they are in 1003.1-2008.
24370
84ad622b
RM
24371 * rt/tst-aio.c: Include <fcntl.h>.
24372 * rt/tst-aio7.c: Likewise.
24373 * rt/tst-aio64.c: Likewise.
24374
4579f81c
RM
24375 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24376
abd923db
JM
243772012-02-27 Joseph Myers <joseph@codesourcery.com>
24378
24379 * manual/install.texi (--with-headers): Describe headers as
24380 interface headers, not private headers.
24381 (Specific advice for GNU/Linux systems): Describe use of headers
24382 from "make headers_install", not private headers from older
24383 kernels.
43be4ca2 24384 * INSTALL: Regenerated.
abd923db
JM
24385 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24386 Change to 2.6.19.
24387 * sysdeps/unix/sysv/linux/configure: Regenerated.
24388
6664049b
JM
24389 * manual/llio.texi (fclean): Remove documentation.
24390
bb8b6697
JM
24391 * manual/Makefile (libc-texi-generated): New variable. Include
24392 version.texi.
24393 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24394 $(libc-texi-generated), not duplicated list of files.
24395 (version.texi, stamp-version): New rules.
24396 (realclean): Remove $(libc-texi-generated), not individual files
24397 from that list. Do not remove dir-add.texinfo.
24398 * manual/libc.texinfo: Comment out uses of edition numbers and
24399 references to printed manual. Remove last-updated dates.
24400 (EDITION): Comment out.
24401 (ISBN): Likewise.
24402 (VERSION, UPDATED): Remove.
24403 (version.texi): Include.
24404
12e5c3b9
AS
244052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24406
24407 * sysdeps/posix/spawni.c: Include <signal.h>.
24408 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24409 * sysdeps/pthread/aio_fsync.c: Likewise.
24410
4efeffc1 244112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24412
ba63ba08
UD
24413 * conform/Makefile (tests): Run only when not cross-compiling and
24414 when fast-check is not defined.
24415
d94a4670
UD
24416 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24417 * conform/data/limits.h-data: Fixes for POSIX2008.
24418 * conform/run-conformtest.sh: Run all tests.
24419 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24420 headers.
24421 * include/bits/dlfcn.h: Likewise.
24422 * include/langinfo.h: Likewise.
24423 * include/monetary.h: Likewise.
24424 * include/sys/poll.h: Likewise.
24425
24426 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24427 for __USE_GNU.
24428 * posix/spawn.h: Define __need_sigset_t.
24429 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24430 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24431 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24432 to get sigevent_t only.
24433 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24434 only for __USE_GNU.
24435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24436 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24437 process_vm_writev only for __USE_GNU.
24438 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24439
24440 * conform/Makefile: For now ignore errors from run-conformtest.
24441 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24442 POSIX to avoid namespace pollution. Don't prepend headers.
24443 * conform/data/aio.h-data: Fixes for POSIX testing.
24444 * conform/data/fcntl.h-data: Likewise.
24445 * conform/data/glob.h-data: Likewise.
24446 * conform/data/grp.h-data: Likewise.
24447 * conform/data/pthread.h-data: Likewise.
24448 * conform/data/pwd.h-data: Likewise.
24449 * conform/data/signal.h-data: Likewise.
24450 * conform/data/spawn.h-data: Likewise.
24451 * conform/data/stdio.h-data: Likewise.
24452 * conform/data/stdlib.h-data: Likewise.
24453 * conform/data/stropts.h-data: Likewise.
24454 * conform/data/sys/mman.h-data: Likewise.
24455 * conform/data/sys/stat.h-data: Likewise.
24456 * conform/data/sys/types.h-data: Likewise.
24457 * conform/data/sys/wait.h-data: Likewise.
24458 * conform/data/time.h-data: Likewise.
24459 * conform/data/unistd.h-data: Likewise.
24460 * conform/data/utime.h-data: Likewise.
24461
24462 * io/sys/stat.h: fchmod was always in POSIX.
24463 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24464 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24465 * rt/aio.h: Define __need_timespec before including <time.h>.
24466 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24467 struct. Add forward declaration of pthread_attr_t and use it in
24468 sigevent.
24469 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24471 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24472 always remove CLK_TCK definition.
24473
c20105c3
AS
244742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24475
24476 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24477
7a270350
UD
244782012-02-25 Ulrich Drepper <drepper@gmail.com>
24479
31341567
UD
24480 * conform/run-conformtest.sh: New file.
24481 * conform/Makefile: Run run-conformtest for tests.
24482 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24483 support.
24484
24485 * conform/data/uchar.h-data: New file.
24486 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24487 * conform/data/arpa/inet.h-data: Likewise.
24488 * conform/data/assert.h-data: Likewise.
24489 * conform/data/complex.h-data: Likewise.
24490 * conform/data/cpio.h-data: Likewise.
24491 * conform/data/ctype.h-data: Likewise.
24492 * conform/data/dirent.h-data: Likewise.
24493 * conform/data/dlfcn.h-data: Likewise.
24494 * conform/data/errno.h-data: Likewise.
24495 * conform/data/fcntl.h-data: Likewise.
24496 * conform/data/float.h-data: Likewise.
24497 * conform/data/fmtmsg.h-data: Likewise.
24498 * conform/data/fnmatch.h-data: Likewise.
24499 * conform/data/ftw.h-data: Likewise.
24500 * conform/data/glob.h-data: Likewise.
24501 * conform/data/grp.h-data: Likewise.
24502 * conform/data/iconv.h-data: Likewise.
24503 * conform/data/inttypes.h-data: Likewise.
24504 * conform/data/langinfo.h-data: Likewise.
24505 * conform/data/libgen.h-data: Likewise.
24506 * conform/data/limits.h-data: Likewise.
24507 * conform/data/locale.h-data: Likewise.
24508 * conform/data/math.h-data: Likewise.
24509 * conform/data/monetary.h-data: Likewise.
24510 * conform/data/mqueue.h-data: Likewise.
24511 * conform/data/ndbm.h-data: Likewise.
24512 * conform/data/net/if.h-data: Likewise.
24513 * conform/data/netdb.h-data: Likewise.
24514 * conform/data/netinet/in.h-data: Likewise.
24515 * conform/data/nl_types.h-data: Likewise.
24516 * conform/data/poll.h-data: Likewise.
24517 * conform/data/pthread.h-data: Likewise.
24518 * conform/data/pwd.h-data: Likewise.
24519 * conform/data/regex.h-data: Likewise.
24520 * conform/data/sched.h-data: Likewise.
24521 * conform/data/search.h-data: Likewise.
24522 * conform/data/semaphore.h-data: Likewise.
24523 * conform/data/setjmp.h-data: Likewise.
24524 * conform/data/signal.h-data: Likewise.
24525 * conform/data/spawn.h-data: Likewise.
24526 * conform/data/stdarg.h-data: Likewise.
24527 * conform/data/stdio.h-data: Likewise.
24528 * conform/data/stdlib.h-data: Likewise.
24529 * conform/data/string.h-data: Likewise.
24530 * conform/data/strings.h-data: Likewise.
24531 * conform/data/stropts.h-data: Likewise.
24532 * conform/data/sys/ipc.h-data: Likewise.
24533 * conform/data/sys/mman.h-data: Likewise.
24534 * conform/data/sys/msg.h-data: Likewise.
24535 * conform/data/sys/resource.h-data: Likewise.
24536 * conform/data/sys/select.h-data: Likewise.
24537 * conform/data/sys/sem.h-data: Likewise.
24538 * conform/data/sys/shm.h-data: Likewise.
24539 * conform/data/sys/socket.h-data: Likewise.
24540 * conform/data/sys/stat.h-data: Likewise.
24541 * conform/data/sys/statvfs.h-data: Likewise.
24542 * conform/data/sys/time.h-data: Likewise.
24543 * conform/data/sys/timeb.h-data: Likewise.
24544 * conform/data/sys/times.h-data: Likewise.
24545 * conform/data/sys/types.h-data: Likewise.
24546 * conform/data/sys/uio.h-data: Likewise.
24547 * conform/data/sys/un.h-data: Likewise.
24548 * conform/data/sys/utsname.h-data: Likewise.
24549 * conform/data/sys/wait.h-data: Likewise.
24550 * conform/data/syslog.h-data: Likewise.
24551 * conform/data/tar.h-data: Likewise.
24552 * conform/data/termios.h-data: Likewise.
24553 * conform/data/utime.h-data: Likewise.
24554 * conform/data/utmpx.h-data: Likewise.
24555 * conform/data/varargs.h-data: Likewise.
24556 * conform/data/wchar.h-data: Likewise.
24557 * conform/data/wctype.h-data: Likewise.
24558 * conform/data/wordexp.h-data: Likewise.
24559
24560 * include/stropts.h: New file.
24561 * include/uchar.h: New file.
24562 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24563 * include/assert.h: Likewise.
24564 * include/ctype.h: Likewise.
24565 * include/dirent.h: Likewise.
24566 * include/dlfcn.h: Likewise.
24567 * include/fcntl.h: Likewise.
24568 * include/fnmatch.h: Likewise.
24569 * include/glob.h: Likewise.
24570 * include/grp.h: Likewise.
24571 * include/libio.h: Likewise.
24572 * include/locale.h: Likewise.
24573 * include/math.h: Likewise.
24574 * include/net/if.h: Likewise.
24575 * include/netdb.h: Likewise.
24576 * include/netinet/in.h: Likewise.
24577 * include/pthread.h: Likewise.
24578 * include/pwd.h: Likewise.
24579 * include/regex.h: Likewise.
24580 * include/sched.h: Likewise.
24581 * include/search.h: Likewise.
24582 * include/setjmp.h: Likewise.
24583 * include/signal.h: Likewise.
24584 * include/stdio.h: Likewise.
24585 * include/stdlib.h: Likewise.
24586 * include/string.h: Likewise.
24587 * include/sys/cdefs.h: Likewise.
24588 * include/sys/mman.h: Likewise.
24589 * include/sys/msg.h: Likewise.
24590 * include/sys/resource.h: Likewise.
24591 * include/sys/select.h: Likewise.
24592 * include/sys/socket.h: Likewise.
24593 * include/sys/stat.h: Likewise.
24594 * include/sys/statvfs.h: Likewise.
24595 * include/sys/time.h: Likewise.
24596 * include/sys/times.h: Likewise.
24597 * include/sys/uio.h: Likewise.
24598 * include/sys/utsname.h: Likewise.
24599 * include/sys/wait.h: Likewise.
24600 * include/termios.h: Likewise.
24601 * include/time.h: Likewise.
24602 * include/ulimit.h: Likewise.
24603 * include/unistd.h: Likewise.
24604 * include/utime.h: Likewise.
24605 * include/wchar.h: Likewise.
24606 * include/wctype.h: Likewise.
24607 * include/wordexp.h: Likewise.
24608
24609 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24610
7a270350
UD
24611 * time/time.h: TIME_UTC must be a macro.
24612 Make timespec_get available for ISO C11 only as well.
24613
7724defc
UD
246142012-02-24 Ulrich Drepper <drepper@gmail.com>
24615
24616 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24617 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24618
6b1d1d46
JM
246192012-02-24 Joseph Myers <joseph@codesourcery.com>
24620
24621 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24622
0f8bbd69
JM
246232012-02-24 Joseph Myers <joseph@codesourcery.com>
24624
24625 * manual/texinfo.tex: Update to version 2012-01-19.16.
24626
66ab80bc
JM
246272012-02-24 Joseph Myers <joseph@codesourcery.com>
24628
24629 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24630
74981cc5
RM
246312012-02-24 Roland McGrath <roland@hack.frob.com>
24632
ee968201
RM
24633 [BZ #13738]
24634 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24635 * manual/fdl-1.3.texi: New file.
24636 * manual/fdl-1.1.texi: File removed.
24637
74981cc5
RM
24638 [BZ #13738]
24639 * manual/libc.texinfo (FDL_VERSION): New @set.
24640 Use it for mention of FDL in cover text.
24641 (Documentation License): Use it in @include file name.
24642
7bb764bc
JM
246432012-02-22 Joseph Myers <joseph@codesourcery.com>
24644 Roland McGrath <roland@hack.frob.com>
24645
24646 [BZ #5461]
24647 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24648 not LONG_LONG_MAX and LONG_LONG_MIN.
24649 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24650 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24651 name.
24652 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24653
6cbeae47
JM
246542012-02-22 Joseph Myers <joseph@codesourcery.com>
24655
24656 [BZ #2547]
24657 [BZ #11365]
24658 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24659 manipulate bits before adding and subtracting TWO23[sx].
24660 * math/libm-test.inc (nearbyint_test): Add more tests.
24661
fe45ce09
JM
246622012-02-22 Joseph Myers <joseph@codesourcery.com>
24663
24664 [BZ #2548]
24665 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24666 bits before adding and subtracting TWO23[sx].
24667 * math/libm-test.inc (rint_test): Add more tests.
24668 (rint_test_tonearest): Likewise.
24669 (rint_test_towardzero): Likewise.
24670 (rint_test_downward): Likewise.
24671 (rint_test_upward: Likewise.
24672
ff3b3d82
JM
246732012-02-22 Joseph Myers <joseph@codesourcery.com>
24674
24675 [BZ #10110]
24676 * include/stdc-predef.h: New file. Extracted from features.h.
24677 * include/features.h: Include stdc-predef.h.
24678 * Makefile (headers): Add stdc-predef.h.
24679 * CONFORMANCE (Compiler limitations): Update.
24680
ef0aab35
JM
246812012-02-22 Joseph Myers <joseph@codesourcery.com>
24682
24683 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24684
58639409
DM
246852012-02-21 David S. Miller <davem@davemloft.net>
24686
24687 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24688 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24689
c0e70b25
DM
246902012-02-20 David S. Miller <davem@davemloft.net>
24691
24692 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24693 using a normal save/restore sequence, rather than allocating a
24694 dummy stack frame just to store a frame pointer and restore.
24695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24696
fb06851d
JM
246972012-02-21 Joseph Myers <joseph@codesourcery.com>
24698
24699 * manual/install.texi: Fix stray word in line-wrapped comment.
24700
7a8b71c3
DM
247012012-02-20 David S. Miller <davem@davemloft.net>
24702
d510c123
DM
24703 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24704 both binutils and gcc support GOTDATA.
24705
0722d7c2
DM
24706 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24707 "rd %pc" in the PIC register setup sequences.
24708
3d2b3019
DM
24709 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24710 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24711 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24712 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24713 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24718 (SYSCALL_ERROR_HANDLER): Likewise.
24719 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24720 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24722 (SYSCALL_ERROR_HANDLER): Likewise.
24723
c80098a9
DM
24724 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24725 (HAVE_GCC_GOTDATA): New.
24726 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24727 relocation support in both binutils and gcc.
24728 * sysdeps/sparc/elf/configure: Regenerate.
24729
3a2545a0
DM
24730 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24731 * sysdeps/sparc/sparc32/elf/configure: Delete.
24732 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24733 * sysdeps/sparc/sparc64/elf/configure: Delete.
24734 * sysdeps/sparc/elf/configure.in: New file.
24735 * sysdeps/sparc/elf/configure: Generate.
24736
7a8b71c3
DM
24737 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24738 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24739 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24740 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24741 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24742
f1e86fca
JM
247432012-02-21 Joseph Myers <joseph@codesourcery.com>
24744
24745 * manual/install.texi: Do not mention specific glibc version
24746 numbers.
24747 * manual/libc.texinfo (VERSION, UPDATED): Update.
24748 (@copying): Use @copyright{} and range of years.
24749
0e7dfaef
JM
247502012-02-21 Joseph Myers <joseph@codesourcery.com>
24751
24752 [BZ #13695]
24753 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24754 [crti.S not in sysdirs] (generated): Do not append.
24755 [crti.S not in sysdirs] (omit-deps): Likewise.
24756 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24757 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24758 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24759 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24760 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24761 Likewise.
24762 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24763 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24764 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24765 * csu/defs.awk: Remove file.
24766 * sysdeps/generic/initfini.c: Likewise.
24767 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24768 variable.
24769 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24770 Likewise.
24771
599af3ca
JM
247722012-02-20 Joseph Myers <joseph@codesourcery.com>
24773
24774 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24775 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24776 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24777 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24779 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24780 <bits/epoll.h>.
24781 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24782 (__EPOLL_PACKED): Define to empty if not defined by
24783 <bits/epoll.h>.
24784 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24786 bits/epoll.h.
24787
0e499750
JM
247882012-02-20 Joseph Myers <joseph@codesourcery.com>
24789
24790 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24791 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24792 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24793 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24794 <bits/timerfd.h>.
24795 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24797 bits/timerfd.h.
24798
5ad91f6e
JM
247992012-02-20 Joseph Myers <joseph@codesourcery.com>
24800
24801 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24802 in C locale.
24803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24804 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24805 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24807
06b99b02
AJ
248082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24809
24810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24812
7638c0fd
AS
248132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24814
24815 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24816 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24817 defined.
24818 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24819 Likewise.
24820 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24821 entry for 2.16.
24822
92221550
AJ
248232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24824
24825 * math/w_acos.c: Use non-signaling floating-point comparisons.
24826 * math/w_acosf.c: Likewise.
24827 * math/w_acosh.c: Likewise.
24828 * math/w_acoshf.c: Likewise.
24829 * math/w_acoshl.c: Likewise.
24830 * math/w_acosl.c: Likewise.
24831 * math/w_asin.c: Likewise.
24832 * math/w_asinf.c: Likewise.
24833 * math/w_asinl.c: Likewise.
24834 * math/w_atanh.c: Likewise.
24835 * math/w_atanhf.c: Likewise.
24836 * math/w_atanhl.c: Likewise.
24837 * math/w_exp2.c: Likewise.
24838 * math/w_exp2f.c: Likewise.
24839 * math/w_exp2l.c: Likewise.
24840 * math/w_j0.c: Likewise.
24841 * math/w_j0f.c: Likewise.
24842 * math/w_j0l.c: Likewise.
24843 * math/w_j1.c: Likewise.
24844 * math/w_j1f.c: Likewise.
24845 * math/w_j1l.c: Likewise.
24846 * math/w_jn.c: Likewise.
24847 * math/w_jnf.c: Likewise.
24848 * math/w_log.c: Likewise.
24849 * math/w_log10.c: Likewise.
24850 * math/w_log10f.c: Likewise.
24851 * math/w_log10l.c: Likewise.
24852 * math/w_log2.c: Likewise.
24853 * math/w_log2f.c: Likewise.
24854 * math/w_log2l.c: Likewise.
24855 * math/w_logf.c: Likewise.
24856 * math/w_logl.c: Likewise.
24857 * math/w_sqrt.c: Likewise.
24858 * math/w_sqrtf.c: Likewise.
24859 * math/w_sqrtl.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24865
ebaf36eb
JM
248662012-02-19 Joseph Myers <joseph@codesourcery.com>
24867
24868 [BZ #9739]
24869 * manual/string.texi (strnlen): Use correct parameter name in
24870 equivalent expression.
24871
71c254a6
JM
248722012-02-19 Joseph Myers <joseph@codesourcery.com>
24873
24874 [BZ #11174]
24875 * manual/users.texi (seteuid): Consistently use neweuid for
24876 argument name.
24877
16d2c631
JM
248782012-02-19 Joseph Myers <joseph@codesourcery.com>
24879
24880 [BZ #13704]
24881 * manual/nss.texi (Services in the NSS configuration): Correct
24882 list of services in example configuration file.
24883
cd837b09
NB
248842012-02-19 Nick Bowler <nbowler@draconx.ca>
24885
24886 [BZ #11322]
24887 * manual/arith.texi: Remove statements about negative zero
24888 behaving identically to zero.
24889
02c4bbad
JM
248902012-02-18 Joseph Myers <joseph@codesourcery.com>
24891
24892 [BZ #5993]
24893 * manual/install.texi: Do not document upgrading from libc5.
24894
366842e7
JM
248952012-02-18 Joseph Myers <joseph@codesourcery.com>
24896
24897 [BZ #4596]
24898 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24899
dd54084d
DM
249002012-02-18 David S. Miller <davem@davemloft.net>
24901
24902 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24903 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24904 %o7 across the call.
24905 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24906 instead.
24907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24908 SETUP_PIC_REG_LEAF.
24909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24910 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24911 * sysdeps/sparc/crtn.S: Likewise.
24912
2bcc53a3
UD
249132012-02-17 Ulrich Drepper <drepper@gmail.com>
24914
24915 * aout/Makefile: Remove.
24916
09c093b5
RK
249172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24918
24919 [BZ #13058]
24920 * manual/examples/argp-ex1.c (main): Format definition in GNU
24921 style.
24922 * manual/examples/argp-ex2.c (main): Likewise.
24923 * manual/examples/argp-ex3.c (main): Likewise.
24924 * manual/examples/argp-ex4.c (main): Likewise.
24925 * manual/examples/longopt.c (main): Use new-style prototype
24926 definition.
24927 * manual/examples/strncat.c (main): Specify return type and use
24928 (void) for arguments.
24929 * manual/examples/subopt.c (main): Use char **argv argument.
24930
2ee633a2
JM
249312012-02-17 Joseph Myers <joseph@codesourcery.com>
24932
24933 [BZ #5077]
24934 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24935 rounding modes.
24936
0520adde
FB
249372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24938
24939 [BZ #6907]
24940 * manual/string.texi (strchr): Change when strchrnul is
24941 recommended.
24942
3f4081cd
DGM
249432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24944
24945 [BZ #174]
24946 * manual/locale.texi (setlocale): Document LOCPATH.
24947
d1b10e78
JM
249482012-02-17 Joseph Myers <joseph@codesourcery.com>
24949
24950 [BZ #10210]
24951 * manual/process.texi (execle): Move @dots{} before last argument.
24952
79c6869c
PB
249532012-02-17 Paul Bolle <pebolle@tiscali.nl>
24954
24955 [BZ #12047]
24956 * manual/charset.texi (Generic Charset Conversion): Fix typo
24957 (LC_TYPE -> LC_CTYPE).
24958
cc6e48bc
NB
249592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24960
24961 [BZ #5805]
24962 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24963 (scalbnf): Likewise.
24964 (scalbnl): Likewise.
24965 (scalbln): Likewise.
24966 (scalblnf): Likewise.
24967 (scalblnl): Likewise.
24968 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24969 (vwarnx): Likewise.
24970 (verr): Likewise.
24971 (verrx): Likewise.
24972 * manual/filesys.texi (telldir): Use braces around return type.
24973 * manual/llio.texi (mmap): Add space after comma.
24974 (mmap64): Likewise.
24975 * manual/math.texi (jn): Use @var{} on parameter names.
24976 (jnf): Likewise.
24977 (jnl): Likewise.
24978 (yn): Likewise.
24979 (ynf): Likewise.
24980 (ynl): Likewise.
24981 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24982 line.
24983 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24984 "...".
24985 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24986 (sched_get_priority_max): Likewise.
24987 * manual/signal.texi (sigvec): Add space after comma.
24988 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24989 names.
24990 (if_indextoname): Likewise.
24991 (if_freenameindex): Likewise.
24992 (sendto): Use ',' instead of '.' in prototype.
24993 * manual/startup.texi (syscall): Use @dots{} instead of literal
24994 "...".
24995 * manual/stdio.texi (__fpending): Separate initial words of
24996 paragraph from @deftypefun line.
24997 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24998 "...".
24999 (vsyslog): Use @var{} on parameter names.
25000 * manual/terminal.texi (stty): Use @var{} on parameter names.
25001 * manual/users.texi (getutmp): Use @var{} on parameter names.
25002 (getutmpx): Likewise.
25003
5b23062f
JM
250042012-02-17 Joseph Myers <joseph@codesourcery.com>
25005
25006 [BZ #6884]
25007 * manual/stdio.texi (fopen): Fix typos in description of
25008 ",ccs=STRING".
25009
8dee4833
AJ
250102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25011
25012 [BZ #4026]
25013 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25014 get clock_id definition.
25015
9078ce93
TS
250162012-02-17 Thomas Schwinge <thomas@schwinge.name>
25017
25018 [BZ #4822]
25019 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25020 (madvise): Cast every argument to void on its own.
25021
3835c55f
JM
250222012-02-17 Joseph Myers <joseph@codesourcery.com>
25023
25024 [BZ #9902]
25025 * manual/startup.texi (Exit Status): Fix typo.
25026
35c47e37
JM
250272012-02-17 Joseph Myers <joseph@codesourcery.com>
25028
25029 [BZ #10140]
25030 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25031 * manual/examples/argp-ex2.c: Likewise.
25032 * manual/examples/argp-ex3.c: Likewise.
25033
e3b69ca7
RH
250342012-02-16 Richard Henderson <rth@redhat.com>
25035
25036 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25037 * sysdeps/s390/s390-32/initfini.c: Remove.
25038 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25039 * sysdeps/s390/s390-64/initfini.c: Remove.
25040
df83af67
KK
250412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25042
25043 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25044 compiler output for sysdeps/generic/initfini.c.
25045 * sysdeps/sh/elf/initfini.c: Remove file.
25046
f63f3380
DM
250472012-02-16 David S. Miller <davem@davemloft.net>
25048
fb59b3a4
DM
25049 [BZ #11494]
25050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25051
f63f3380
DM
25052 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25053 * sysdeps/sparc/crti.S: New file.
25054 * sysdeps/sparc/crtn.S: New file.
25055 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25056 * sysdeps/sparc/sparc64/Makefile: Likewise.
25057
df6a4a4a
MF
250582012-02-15 Mike Frysinger <vapier@gentoo.org>
25059
6dd8f3dc 25060 [BZ #3335]
df6a4a4a
MF
25061 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25062
1cac7236
RM
250632012-02-15 Roland McGrath <roland@hack.frob.com>
25064
d2c736f8
RM
25065 [BZ #4822]
25066 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25067
1cac7236
RM
25068 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25069 (write, read, close): Likewise.
25070 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25071
8e475601
JM
250722012-02-15 Joseph Myers <joseph@codesourcery.com>
25073
25074 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25075 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25076 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25077 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25078 <bits/signalfd.h>.
25079 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25081 bits/signalfd.h.
25082
ed656b40
MP
250832012-02-14 Marek Polacek <polacek@redhat.com>
25084
25085 * sysdeps/x86_64/crti.S: New file.
25086 * sysdeps/x86_64/crtn.S: New file.
25087 * sysdeps/x86_64/elf/initfini.c: Remove file.
25088
2a979d3a
JM
250892012-02-13 Joseph Myers <joseph@codesourcery.com>
25090
25091 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25092 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25093 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25094 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25095 <bits/inotify.h>.
25096 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25098 bits/inotify.h.
25099
2a418ac3
JM
251002012-02-13 Joseph Myers <joseph@codesourcery.com>
25101
25102 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25103 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25104 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25105 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25106 <bits/eventfd.h>.
25107 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25109 bits/eventfd.h.
25110
fb779be7
TS
251112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25112
e19e83c5
RM
25113 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25114 __feraiseexcept instead of feraiseexcept.
7c35ffed 25115
fb779be7
TS
25116 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25117 nanosleep invocations.
25118 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25119 strings, and add error checking for a nanosleep invocations.
25120
59ba27a6
PE
251212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25122
25123 Replace FSF snail mail address with URLs, as per GNU coding standards.
25124 Most of the snail mail addresses were wrong anyway, and omitting
25125 them makes the source code easier to maintain. Almost all of the
25126 changes are to license notices and to locale LC_IDENTIFICATION
25127 addresses, except for this one:
25128 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25129 not its snail mail address.
25130
57b957eb
RH
251312012-02-09 Richard Henderson <rth@twiddle.net>
25132
af850b1c
RH
25133 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25134 of kernel-features.h.
25135
57b957eb
RH
25136 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25137
6b73181a
MP
251382012-02-08 Marek Polacek <polacek@redhat.com>
25139
25140 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25141 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25142 * sysdeps/gnu/_G_config.h: Likewise.
25143 * sysdeps/generic/_G_config.h: Likewise.
25144
26ecc33a
AS
251452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25146
6c6dbc63
AS
25147 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25148 tests.
25149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25150
e216c012
AS
25151 * sysdeps/powerpc/powerpc32/crti.S: New file.
25152 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25153 * sysdeps/powerpc/powerpc64/crti.S: New file.
25154 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25155
26ecc33a
AS
25156 * Makeconfig (have-initfini): Don't set.
25157 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25158 * configure.in (nopic_initfini): Don't substitute.
25159 * config.h.in (HAVE_INITFINI): Don't #undef.
25160 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25161 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25162
3add8e13
JM
251632012-02-08 Joseph Myers <joseph@codesourcery.com>
25164
25165 Support crti.S and crtn.S provided directly by architectures.
25166 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25167 [crti.S in sysdirs] (omit-deps): Likewise.
25168 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25169 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25170 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25171 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25172 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25173 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25174 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25175 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25176 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25177 compiler output for sysdeps/generic/initfini.c.
25178 * sysdeps/i386/elf/Makefile: Remove file.
25179 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25180
a22f12b4
MP
251812012-02-07 Marek Polacek <polacek@redhat.com>
25182
25183 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25184 * sysdeps/gnu/_G_config.h: Likewise.
25185 * sysdeps/mach/hurd/_G_config.h: Likewise.
25186
148cf100
MP
251872012-02-07 Marek Polacek <polacek@redhat.com>
25188
25189 * math/Makefile (tests): Add tst-CMPLX2.
25190 * math/tst-CMPLX2.c: New file.
25191
cfdc0dd7
AS
251922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25193
84ba42c4
AS
25194 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25195
cfdc0dd7
AS
25196 * math/libm-test.inc (jn_test): Add missing L suffix.
25197
622c86f4
MP
251982012-02-06 Marek Polacek <polacek@redhat.com>
25199
25200 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25201 * sysdeps/i386/fpu/e_powf.S: Likewise.
25202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25203 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25204 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25205 * sysdeps/i386/fpu/e_pow.S: Likewise.
25206 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25207 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25208 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25209 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25210 * sysdeps/i386/fpu/e_log2.S: Likewise.
25211 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25212 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25213 * sysdeps/i386/fpu/e_powl.S: Likewise.
25214 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25215 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25216 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25217 * sysdeps/i386/fpu/e_logl.S: Likewise.
25218 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25219 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25220 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25221 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25222 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25223 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25224 * sysdeps/i386/fpu/e_log.S: Likewise.
25225 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25226 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25227 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25228 * sysdeps/i386/fpu/e_logf.S: Likewise.
25229 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25231 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25232 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25234 * sysdeps/i386/fpu/e_log10.S: Likewise.
25235 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25237 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25238 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25240 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25241 * sysdeps/i386/asm-syntax.h: Likewise.
25242 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25245 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25246 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25247 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25248 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25249 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25250 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25251 * sysdeps/powerpc/sysdep.h: Likewise.
25252 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25253 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25254
d4a54ac6
JM
252552012-02-06 Joseph Myers <joseph@codesourcery.com>
25256
25257 [BZ #411]
25258 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25259
314054ea
JM
252602012-02-06 Joseph Myers <joseph@codesourcery.com>
25261
25262 * sysdeps/i386/sysdep.h: Include <features.h>.
25263 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25264 version.
25265
d8e0ca50
JM
252662012-02-05 Joseph Myers <joseph@codesourcery.com>
25267
25268 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25269 Define.
25270 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25271 LOAD_PIC_REG_STR.
25272
b1da7dd9
JM
252732012-02-03 Joseph Myers <joseph@codesourcery.com>
25274
25275 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25276 (SETUP_PIC_REG): Use GET_PC_THUNK.
25277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25278 macro.
25279
9a1d9254
JM
252802012-02-03 Joseph Myers <joseph@codesourcery.com>
25281
25282 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25283 for non-PIC compilation.
25284 (SETUP_PIC_REG): Add .p2align directive.
25285 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25286 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25287 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25288 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25289 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25290 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25291 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25293 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25299 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25300 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25301 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25302 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25303 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25304 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25305 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25307 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25308 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25311 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25312 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25313 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25314 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25315 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25316 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25317 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25318 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25319 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25326
65dc3b75
JM
253272012-02-03 Joseph Myers <joseph@codesourcery.com>
25328
25329 * math/tst-CMPLX.c: Include <stdio.h>.
25330
d55bf177
JM
253312012-01-31 Joseph Myers <joseph@codesourcery.com>
25332
25333 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25334 float.
25335 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25336 * sysdeps/sparc/bits/mathdef.h: Likewise.
25337
69db4f8f
MP
253382012-01-31 Marek Polacek <polacek@redhat.com>
25339
25340 * libio/libio.h: Don't define _PARAMS.
25341 * locale/programs/config.h: Don't define PARAMS.
25342 * stdlib/strtol_l.c: Likewise.
25343 (__strtol_l): Remove PARAMS from the prototype.
25344
41b81892
UD
253452012-01-31 Ulrich Drepper <drepper@gmail.com>
25346
3b49edc0
UD
25347 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25348 names. Just use the correct names. Remove unnecessary wrapper
25349 functions.
25350 * malloc/arena.c: Likewise.
25351 * malloc/hooks.c: Likewise.
25352
41b81892
UD
25353 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25354 ARENA_TEST says not to. Simplify test for creation of a new arena.
25355 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25356
27a25b6e
UD
253572012-01-30 Ulrich Drepper <drepper@gmail.com>
25358
25359 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25360 into tail calls.
25361 (update_get_addr): New function.
25362 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25363 GET_ADDR_MODULE parameter.
25364
c8a89e7d
JM
253652012-01-30 Joseph Myers <joseph@codesourcery.com>
25366
25367 * crypt/cert.c: Remove __STDC__ conditionals.
25368 * crypt/crypt-entry.c: Likewise.
25369 * crypt/crypt_util.c: Likewise.
25370 * libio/filedoalloc.c: Likewise.
25371 * libio/fileops.c: Likewise.
25372 * libio/genops.c: Likewise.
25373 * libio/iofclose.c: Likewise.
25374 * libio/iofdopen.c: Likewise.
25375 * libio/iofopen.c: Likewise.
25376 * libio/iofopen64.c: Likewise.
25377 * libio/iogetdelim.c: Likewise.
25378 * libio/iopopen.c: Likewise.
25379 * libio/obprintf.c: Likewise.
25380 * libio/oldfileops.c: Likewise.
25381 * libio/oldiofclose.c: Likewise.
25382 * libio/oldiofdopen.c: Likewise.
25383 * libio/oldiofopen.c: Likewise.
25384 * libio/oldiopopen.c: Likewise.
25385 * libio/wfiledoalloc.c: Likewise.
25386 * libio/wgenops.c: Likewise.
25387 * locale/programs/xmalloc.c: Likewise.
25388 * misc/syslog.c: Likewise.
25389 * stdio-common/xbug.c: Likewise.
25390 * string/memchr.c: Likewise.
25391 * string/memcmp.c: Likewise.
25392 * string/memrchr.c: Likewise.
25393 * string/rawmemchr.c: Likewise.
25394 * sysdeps/posix/getcwd.c: Likewise.
25395 * time/strftime_l.c: Likewise.
25396
3b100462
JM
253972012-01-30 Joseph Myers <joseph@codesourcery.com>
25398
25399 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25400 * config.make.in (config-cflags-sse2avx): Define.
25401 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25402 Fix typo.
25403
607998af
CM
254042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25405
25406 * scripts/config.guess: Update from upstream config git repository.
25407 * scripts/config.sub: Likewise.
25408
3601428f
CM
254092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25410
3ac8b282
CM
25411 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25412 (EM_NUM): Update.
25413 (R_TILEPRO_*, R_TILEGX_*): New macros.
25414
e034841e
CM
25415 * scripts/firstversions.awk: Fix bug in version range handling.
25416
540d7568
CM
25417 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25418
3601428f
CM
25419 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25420
463de862
CM
25421 * include/sys/epoll.h: New file.
25422 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25423 libc_hidden_def.
25424
73139a76
UD
254252012-01-28 Ulrich Drepper <drepper@gmail.com>
25426
96bc5b45
UD
25427 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25428 Avoid unnecessary __WORDSIZE == 64 test.
25429 (fmaxf): Use VEX format if possible.
25430 (fmax): Likewise.
25431 (fminf): Likewise.
25432 (fmin): Likewise.
25433
56f6f6a2
UD
25434 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25435 * math/math_private.h: Remove libc_fegetround* and
25436 libc_fesetround*.
25437 * sysdeps/i386/configure.in: Check for -msse2avx.
25438 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25439 also if SSE2AVX is defined.
25440 Remove libc_fegetround* and libc_fesetround*.
25441 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25442 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25443 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25444 of HAS_YMM_USABLE.
25445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25446 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25448 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25450
73139a76
UD
25451 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25452
d73f93a4
AZ
254532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25454
25455 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25456 size is not set.
25457 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25458
6ee65ed6
UD
254592012-01-27 Ulrich Drepper <drepper@gmail.com>
25460
25461 [BZ #13618]
25462 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25463 relocation.
25464 * Makeconfig (libm): Define.
25465 * elf/Makefile: Add rules to build and run tst-relsort1.
25466 * elf/tst-relsort1.c: New file.
25467 * elf/tst-relsort1mod1.c: New file.
25468 * elf/tst-relsort1mod2.c: New file.
25469
8db21882
JM
254702012-01-27 Joseph Myers <joseph@codesourcery.com>
25471
25472 * math/s_ldexp.c: Remove __STDC__ conditionals.
25473 * math/s_ldexpf.c: Likewise.
25474 * math/s_ldexpl.c: Likewise.
25475 * math/s_nextafter.c: Likewise.
25476 * math/s_nexttowardf.c: Likewise.
25477 * math/s_significand.c: Likewise.
25478 * math/s_significandf.c: Likewise.
25479 * math/s_significandl.c: Likewise.
25480 * math/w_jnl.c: Likewise.
25481 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25482 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25483 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25484 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25485 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25500 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25501 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25502 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25508 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25509 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25510 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25511 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25512 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25513 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25514 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25515 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25516 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25517 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25518 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25519 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25520 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25521 * sysdeps/ieee754/k_standard.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25583 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25588 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25601 * sysdeps/ieee754/s_matherr.c: Likewise.
25602 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25603 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25606
965a54a4
JM
256072012-01-26 Joseph Myers <joseph@codesourcery.com>
25608
25609 * crypt/md5.h: Remove __STDC__ conditionals.
25610 * libio/libioP.h: Likewise.
25611 * locale/programs/config.h: Likewise.
25612 * sysdeps/generic/sysdep.h: Likewise.
25613 * sysdeps/i386/asm-syntax.h: Likewise.
25614 * sysdeps/s390/asm-syntax.h: Likewise.
25615 * sysdeps/unix/sysdep.h: Likewise.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25618
7071ad79
JM
256192012-01-26 Joseph Myers <joseph@codesourcery.com>
25620
25621 * libio/libio.h: Remove __STDC__ conditionals.
25622 * malloc/obstack.h: Likewise.
25623 * math/complex.h: Likewise.
25624 * math/math.h: Likewise.
25625 * sysdeps/generic/_G_config.h: Likewise.
25626 * sysdeps/gnu/_G_config.h: Likewise.
25627 * sysdeps/mach/hurd/_G_config.h: Likewise.
25628 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25629 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25630 * sysdeps/sparc/bits/mathdef.h: Likewise.
25631
afc5ed09
UD
256322012-01-26 Ulrich Drepper <drepper@gmail.com>
25633
25634 [BZ #13583]
25635 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25636 Clean up HAS_* macros.
afc5ed09 25637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25638 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25639 possible.
25640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25641 HAS_AVX.
25642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25647
bdb6de1d
JM
256482012-01-25 Joseph Myers <joseph@codesourcery.com>
25649
25650 * elf/tst-unique3.cc (gets): Remove declaration.
25651 * elf/tst-unique3lib.cc (gets): Likewise.
25652 * elf/tst-unique3lib2.cc (gets): Likewise.
25653 * elf/tst-unique4.cc (gets): Likewise.
25654
b15549e6
UD
256552012-01-24 Ulrich Drepper <drepper@gmail.com>
25656
25657 * include/stdio.h: Add C++ protection. Add gets declarations and
25658 definitions.
25659 * debug/tst-chk1.c: Don't declare gets here.
25660 * stdio-common/tst-gets.c: Likewise.
25661
a037381f
JM
256622012-01-24 Joseph Myers <joseph@codesourcery.com>
25663
25664 * posix/glob: Remove directory.
25665
f1d4aa75
JM
256662012-01-24 Joseph Myers <joseph@codesourcery.com>
25667
25668 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25669
81c0c964
PT
256702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25671
25672 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25673 of the non-standard EPFNOSUPPORT.
25674
0ea698ae
ST
256752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25676
25677 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25678 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25679 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25680
d220b117
UD
256812012-01-21 Ulrich Drepper <drepper@gmail.com>
25682
25683 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25684
3e1aa84e
UD
256852012-01-20 Ulrich Drepper <drepper@gmail.com>
25686
25687 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25688 transient errors.
25689 * nscd/grpcache.c (cache_addgr): Likewise.
25690 * nscd/hstcache.c (cache_addhst): Likewise.
25691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25692 * nscd/pwdcache.c (cache_addpw): Likewise.
25693 * nscd/servicescache.c (cache_addserv): Likewise.
25694
400aa020
UD
256952012-01-16 Ulrich Drepper <drepper@gmail.com>
25696
d77e7869
UD
25697 * malloc/malloc.c: Various cleanups.
25698 * malloc/hooks.c: Likewise.
25699
400aa020
UD
25700 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25701 * stdlib/bug-fmtmsg1.c: New file.
25702
25703 * stdlib/fmtmsg.c (init): Add missing unlock.
25704 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25705
e0a309cf
MP
257062012-01-12 Marek Polacek <polacek@redhat.com>
25707
25708 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25709 and _GNU_SOURCE.
25710
929d11c7
WS
257112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25712
25713 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25714 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25715 macro to ensure uniqueness of label name.
25716 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25717 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25718
41d0e869
UD
257192012-01-11 Ulrich Drepper <drepper@gmail.com>
25720
0cc5ed3b
UD
25721 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25722
41d0e869
UD
25723 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25724 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25727
a47a831a
UD
257282012-01-10 Ulrich Drepper <drepper@gmail.com>
25729
daa891c0
UD
25730 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25731
25732 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25733 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25734 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25735
e58ef0f2
UD
25736 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25737
a47a831a 25738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25739 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25742
25743 * math/bits/math-finite.h: Add ldexp support.
25744
a0bfc9c7
MP
257452012-01-10 Marek Polacek <polacek@redhat.com>
25746
25747 * locale/programs/localedef.h (show_archive_content): Add noreturn
25748 attribute.
25749
d6e97a1d
UD
257502012-01-09 Ulrich Drepper <drepper@gmail.com>
25751
25752 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25753
d5835c26
UD
257542012-01-08 Ulrich Drepper <drepper@gmail.com>
25755
e5f484c6
UD
25756 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25757
d5835c26
UD
25758 * io/Makefile (headers): Add bits/poll2.h.
25759
d1f741e9
WS
257602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25761
25762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25763 typo #include statement.
25764
ec09c1c4
UD
257652012-01-08 Ulrich Drepper <drepper@gmail.com>
25766
25767 * include/sys/cdefs.h: Define __attribute_alloc_size.
25768 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25769 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25770 * elf/pldd.c: Likewise.
25771 * iconv/iconv_charmap.c: Likewise.
25772 * iconv/iconvconfig.c: Likewise.
25773 * iconv/strtab.c: Likewise.
25774 * locale/programs/locale.c: Likewise.
25775 * locale/programs/localedef.h: Likewise.
25776 * locale/programs/simple-hash.c: Likewise.
25777 * nscd/nscd.h: Likewise.
25778 * nss/makedb.c: Likewise.
25779 * sysdeps/generic/ldconfig.h: Likewise.
25780 * locale/programs/localedef.c: Remove xmalloc prototype.
25781 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25782
20b38e03
PP
257832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25784
25785 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25786 appropriate.
25787
a0da5fe1
UD
257882012-01-08 Ulrich Drepper <drepper@gmail.com>
25789
1d5a644a 25790 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25791 * math/tst-CMPLX.c: New file.
1d5a644a 25792
8784a6db
UD
25793 * math/complex.h (CMPLXL): Fix typo.
25794
d9a216c0
UD
25795 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25796 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25797 GLIBC_2.16.
25798 * debug/tst-chk1.c: Add poll and ppoll tests.
25799 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25800 * include/sys/poll.h: Add hidden proto for ppoll.
25801 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25802 * sysdeps/mach/hurd/ppoll.c: Likewise.
25803 * io/ppoll.c: Likewise.
25804 * debug/poll_chk.c: New file.
25805 * debug/ppoll_chk.c: New file.
25806 * include/bits/poll2.h: New file.
25807 * io/bits/poll2.h: New file.
25808
ac097f5c
UD
25809 [BZ #1350]
25810 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25811
2119dcfa
UD
25812 * configure.in: static is always set to yes. Remove.
25813 * config.make.in: Don't set build-static.
25814 * Makeconfig: Remove use of build-static.
25815 * dlfcn/Makefile: Likewise.
25816 * elf/Makefile: Likewise.
25817 * math/Makefile: Likewise.
25818 * misc/Makefile: Likewise.
25819 * nptl/Makefile: Likewise.
25820 * sysdeps/mach/hurd/Makefile: Likewise.
25821
121766a9
UD
25822 * configure.in: PWD_P is not used anymore.
25823 * config.make.in: Remove PWD_P entry.
25824
51a1d39c 25825 * configure.in: Remove last remnants of RANLIB.
8720d066 25826 No need to check for signed size_t anymore.
215f4bdc
UD
25827 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25828 and IA-64.
3857022a 25829 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25830 * aclocal.m4: Likewise.
25831
d3ed7225
UD
25832 * wcsmbs/mbrtoc16.c: Implement using towc function.
25833 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25834 * wcsmbs/wcsmbsload.c: Likewise.
25835 * iconv/gconv_simple.c: Likewise.
25836 * iconv/gconv_int.h: Likewise.
25837 * iconv/gconv_builtin.h: Likewise.
25838 * iconv/iconv_prog.c: Remove CHAR16 handling.
25839
25840 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25841
25842 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25843
a0da5fe1
UD
25844 * configure.in: Remove --with-elf and --enable-bounded options.
25845 Dont set base_machine for ia64. More non-ELF conditions removed.
25846 Remove testing and setting of leading underscore information.
25847 * config.make.in (build-bounded): Set to no.
25848 * config.h.in: Remove NO_UNDERSCORES entry.
25849 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25850 them.
25851 * csu/start.c: Remove !NO_UNDERSCORE code.
25852 * locale/localeinfo.h: Likewise.
25853 * sysdeps/generic/machine-gmon.h: Likewise.
25854 * sysdeps/generic/sysdep.h: Likewise.
25855 * sysdeps/i386/sysdep.h: Likewise.
25856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25857 * sysdeps/mach/sysdep.h: Likewise.
25858 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25860 * sysdeps/sh/sysdep.h: Likewise.
25861 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25862 * sysdeps/unix/i386/sysdep.S: Likewise.
25863 * sysdeps/unix/sparc/start.c: Likewise.
25864 * sysdeps/unix/sparc/sysdep.S: Likewise.
25865 * sysdeps/unix/sparc/sysdep.h: Likewise.
25866 * sysdeps/unix/start.c: Likewise.
25867 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25868 * sysdeps/x86_64/sysdep.h: Likewise.
25869
df78418a
UD
258702012-01-07 Ulrich Drepper <drepper@gmail.com>
25871
a784e502
UD
25872 [BZ #13553]
25873 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25874 for non-gcc.
25875 * argp/argp-fmtstream.h: Use const instead __const.
25876 * argp/argp.h: Likewise.
25877 * assert/assert.h: Likewise.
25878 * bits/fenv.h: Likewise.
25879 * bits/sched.h: Likewise.
25880 * bits/sigset.h: Likewise.
25881 * bits/sigthread.h: Likewise.
25882 * catgets/nl_types.h: Likewise.
25883 * conform/data/pthread.h-data: Likewise.
25884 * crypt/crypt-private.h: Likewise.
25885 * crypt/crypt.h: Likewise.
25886 * crypt/crypt_util.c: Likewise.
25887 * ctype/ctype.h: Likewise.
25888 * debug/execinfo.h: Likewise.
25889 * debug/mbsnrtowcs_chk.c: Likewise.
25890 * debug/mbsrtowcs_chk.c: Likewise.
25891 * debug/wcsnrtombs_chk.c: Likewise.
25892 * debug/wcsrtombs_chk.c: Likewise.
25893 * debug/wcstombs_chk.c: Likewise.
25894 * dirent/dirent.h: Likewise.
25895 * dlfcn/dlfcn.h: Likewise.
25896 * elf/neededtest4.c: Likewise.
25897 * grp/grp.h: Likewise.
25898 * gshadow/gshadow.h: Likewise.
25899 * iconv/gconv.h: Likewise.
25900 * iconv/gconv_int.h: Likewise.
25901 * iconv/gconv_simple.c: Likewise.
25902 * iconv/iconv.h: Likewise.
25903 * iconv/loop.c: Likewise.
25904 * iconv/skeleton.c: Likewise.
25905 * include/aio.h: Likewise.
25906 * include/aliases.h: Likewise.
25907 * include/argz.h: Likewise.
25908 * include/arpa/inet.h: Likewise.
25909 * include/assert.h: Likewise.
25910 * include/dirent.h: Likewise.
25911 * include/dlfcn.h: Likewise.
25912 * include/execinfo.h: Likewise.
25913 * include/fcntl.h: Likewise.
25914 * include/fenv.h: Likewise.
25915 * include/glob.h: Likewise.
25916 * include/grp.h: Likewise.
25917 * include/libintl.h: Likewise.
25918 * include/mntent.h: Likewise.
25919 * include/netdb.h: Likewise.
25920 * include/pwd.h: Likewise.
25921 * include/rpc/netdb.h: Likewise.
25922 * include/sched.h: Likewise.
25923 * include/search.h: Likewise.
25924 * include/shadow.h: Likewise.
25925 * include/signal.h: Likewise.
25926 * include/stdio.h: Likewise.
25927 * include/stdlib.h: Likewise.
25928 * include/string.h: Likewise.
25929 * include/sys/socket.h: Likewise.
25930 * include/sys/stat.h: Likewise.
25931 * include/sys/statfs.h: Likewise.
25932 * include/sys/statvfs.h: Likewise.
25933 * include/sys/syslog.h: Likewise.
25934 * include/sys/time.h: Likewise.
25935 * include/sys/uio.h: Likewise.
25936 * include/time.h: Likewise.
25937 * include/unistd.h: Likewise.
25938 * include/utmp.h: Likewise.
25939 * include/wchar.h: Likewise.
25940 * include/wctype.h: Likewise.
25941 * inet/aliases.h: Likewise.
25942 * inet/arpa/inet.h: Likewise.
25943 * inet/netinet/ether.h: Likewise.
25944 * inet/netinet/in.h: Likewise.
25945 * intl/libintl.h: Likewise.
25946 * io/bits/fcntl2.h: Likewise.
25947 * io/fcntl.h: Likewise.
25948 * io/ftw.h: Likewise.
25949 * io/sys/poll.h: Likewise.
25950 * io/sys/stat.h: Likewise.
25951 * io/sys/statfs.h: Likewise.
25952 * io/sys/statvfs.h: Likewise.
25953 * io/utime.h: Likewise.
25954 * libio/bits/stdio.h: Likewise.
25955 * libio/bits/stdio2.h: Likewise.
25956 * libio/libio.h: Likewise.
25957 * libio/libioP.h: Likewise.
25958 * libio/stdio.h: Likewise.
25959 * locale/lc-ctype.c: Likewise.
25960 * locale/locale.h: Likewise.
25961 * login/utmp.h: Likewise.
25962 * malloc/arena.c: Likewise.
25963 * malloc/malloc.c: Likewise.
25964 * malloc/malloc.h: Likewise.
25965 * malloc/mcheck.c: Likewise.
25966 * malloc/mtrace.c: Likewise.
25967 * math/bits/mathcalls.h: Likewise.
25968 * math/fenv.h: Likewise.
25969 * math/math_private.h: Likewise.
25970 * misc/bits/error.h: Likewise.
25971 * misc/bits/syslog.h: Likewise.
25972 * misc/err.h: Likewise.
25973 * misc/error.h: Likewise.
25974 * misc/fstab.h: Likewise.
25975 * misc/mntent.h: Likewise.
25976 * misc/regexp.h: Likewise.
25977 * misc/search.h: Likewise.
25978 * misc/sgtty.h: Likewise.
25979 * misc/sys/mman.h: Likewise.
25980 * misc/sys/syslog.h: Likewise.
25981 * misc/sys/uio.h: Likewise.
25982 * misc/sys/xattr.h: Likewise.
25983 * misc/ttyent.h: Likewise.
25984 * nis/rpcsvc/ypclnt.h: Likewise.
25985 * nss/nss.h: Likewise.
25986 * posix/bits/unistd.h: Likewise.
25987 * posix/fnmatch.h: Likewise.
25988 * posix/glob.h: Likewise.
25989 * posix/sched.h: Likewise.
25990 * posix/spawn.h: Likewise.
25991 * posix/sys/wait.h: Likewise.
25992 * posix/unistd.h: Likewise.
25993 * posix/wordexp.h: Likewise.
25994 * pwd/pwd.h: Likewise.
25995 * resolv/netdb.h: Likewise.
25996 * resource/sys/resource.h: Likewise.
25997 * rt/aio.h: Likewise.
25998 * rt/bits/mqueue2.h: Likewise.
25999 * rt/mqueue.h: Likewise.
26000 * shadow/shadow.h: Likewise.
26001 * signal/signal.h: Likewise.
26002 * socket/send.c: Likewise.
26003 * socket/sendto.c: Likewise.
26004 * socket/sys/socket.h: Likewise.
26005 * stdio-common/printf.h: Likewise.
26006 * stdlib/bits/stdlib.h: Likewise.
26007 * stdlib/fmtmsg.h: Likewise.
26008 * stdlib/monetary.h: Likewise.
26009 * stdlib/stdlib.h: Likewise.
26010 * stdlib/ucontext.h: Likewise.
26011 * streams/stropts.h: Likewise.
26012 * string/argz.h: Likewise.
26013 * string/bits/string2.h: Likewise.
26014 * string/string.h: Likewise.
26015 * string/strings.h: Likewise.
26016 * sunrpc/rpc/auth.h: Likewise.
26017 * sunrpc/rpc/auth_des.h: Likewise.
26018 * sunrpc/rpc/clnt.h: Likewise.
26019 * sunrpc/rpc/netdb.h: Likewise.
26020 * sunrpc/rpc/pmap_clnt.h: Likewise.
26021 * sunrpc/rpc/xdr.h: Likewise.
26022 * sysdeps/generic/inttypes.h: Likewise.
26023 * sysdeps/generic/net/if.h: Likewise.
26024 * sysdeps/generic/sys/swap.h: Likewise.
26025 * sysdeps/gnu/net/if.h: Likewise.
26026 * sysdeps/gnu/utmpx.h: Likewise.
26027 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26028 * sysdeps/i386/i486/bits/string.h: Likewise.
26029 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26030 * sysdeps/s390/bits/string.h: Likewise.
26031 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26032 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26033 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26034 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26035 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26036 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26037 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26038 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26039 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26040 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26041 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26042 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26043 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26044 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26045 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26046 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26047 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26052 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26053 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26054 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26055 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26056 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26057 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26059 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26061 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26062 * sysvipc/sys/ipc.h: Likewise.
26063 * sysvipc/sys/msg.h: Likewise.
26064 * sysvipc/sys/sem.h: Likewise.
26065 * sysvipc/sys/shm.h: Likewise.
26066 * termios/termios.h: Likewise.
26067 * time/sys/time.h: Likewise.
26068 * time/time.h: Likewise.
26069 * wcsmbs/bits/wchar2.h: Likewise.
26070 * wcsmbs/uchar.h: Likewise.
26071 * wcsmbs/wchar.h: Likewise.
26072 * wctype/wctype.h: Likewise.
26073
0269750c
UD
26074 [BZ #13551]
26075 * Makeconfig: Remove all but ELF support including AIX support.
26076 * Makerules: Likewise.
26077 * config.h.in: Likewise.
26078 * config.make.in: Likewise.
26079 * configure: Likewise.
26080 * configure.in: Likewise.
26081 * csu/Makefile: Likewise.
26082 * csu/version.c: Likewise.
26083 * debug/Makefile: Likewise.
26084 * dlfcn/Makefile: Likewise.
26085 * elf/Makefile: Likewise.
26086 * extra-lib.mk: Likewise.
26087 * iconv/Makefile: Likewise.
26088 * include/libc-symbols.h: Likewise.
26089 * include/shlib-compat.h: Likewise.
26090 * resolv/Makefile: Likewise.
26091 * resolv/res_libc.c: Likewise.
26092 * rt/Makefile: Likewise.
26093 * sysdeps/i386/asm-syntax.h: Likewise.
26094 * sysdeps/i386/sysdep.h: Likewise.
26095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26096 * sysdeps/mach/sysdep.h: Likewise.
26097 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26098 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26099 * sysdeps/s390/asm-syntax.h: Likewise.
26100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26102 * sysdeps/sh/sysdep.h: Likewise.
26103 * sysdeps/unix/sparc/sysdep.h: Likewise.
26104 * sysdeps/wordsize-32/divdi3.c: Likewise.
26105 * sysdeps/x86_64/sysdep.h: Likewise.
26106
00bbd29b
UD
26107 * argp/Versions: Remove _argp_unlock_xxx.
26108
26109 [BZ #13559]
26110 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26111 * abilist/libBrokenLocale.abilist: Likewise.
26112 * abilist/libanl.abilist: Likewise.
26113 * abilist/libc.abilist: Likewise.
26114 * abilist/libcrypt.abilist: Likewise.
26115 * abilist/libdl.abilist: Likewise.
26116 * abilist/libm.abilist: Likewise.
26117 * abilist/libnsl.abilist: Likewise.
26118 * abilist/libpthread.abilist: Likewise.
26119 * abilist/libresolv.abilist: Likewise.
26120 * abilist/librt.abilist: Likewise.
26121 * abilist/libthread_db.abilist: Likewise.
26122 * abilist/libutil.abilist: Likewise.
26123 * abilist/libnss_db.abilist: New file.
26124
26125 * scripts/abilist.awk: Add support for indirect functions.
26126
a2693a0e
UD
26127 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26128
3f05895f
UD
26129 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26130
ecb6fb48
UD
26131 * shlib-versions: Remove entries for ports architectures.
26132
664f8cb9
UD
26133 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26134 files in ports.
26135 * elf/stackguard-macros.h: Remove support for IA-64.
26136 * elf/tst-auditmod1.c: Likewise.
26137 * sysdeps/generic/ldsodefs.h: Likewise.
26138
7ae81d88
UD
26139 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26140 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26141 configure files.
26142
bdeba135
UD
26143 [BZ #13552]
26144 * configure.in: Remove --enable-omitfp support.
26145 * FAQ.in: Adjust.
26146 * config.make.in: Likewise.
26147 * Makeconfig: Likewise.
26148 * manual/install.texi: Likewise.
26149
d75a0a62
UD
26150 In case anyone cares, the IA-64 architecture could move to ports.
26151 * sysdeps/ia64/*: Removed.
26152 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26153 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26154
dcc9756b
UD
26155 [BZ #13555]
26156 * configure.in: Remove entries for unsupported architectures.
26157
d3761ebc 26158 [BZ #13533]
9954432e
UD
26159 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26160 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26161 routines.
26162 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26163 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26164 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26165 fall back to using wcrtomb.
26166 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26167 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26168 renaming.
26169 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26170 * wcsmbs/tst-c16c32-1.c: New file.
26171
26172 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26173 local variable.
26174
c3a87236
UD
26175 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26176
28926a1b
UD
26177 * elf/tst-unique3.cc: Add explicit declaration of gets.
26178 * elf/tst-unique3lib.cc: Likewise.
26179 * elf/tst-unique3lib2.cc: Likewise.
26180 * elf/tst-unique4.cc: Likewise.
26181
df78418a
UD
26182 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26183
8ecd6b2a
JM
261842012-01-06 Joseph Myers <joseph@codesourcery.com>
26185
26186 [BZ #13566]
26187 * assert/assert.h (static_assert): Don't define for C++.
26188 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26189 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26190
9f115170
UD
261912012-01-03 Ulrich Drepper <drepper@gmail.com>
26192
5e0d0300
UD
26193 * iconv/loop.c (single loop): Fix assertion in storing of
26194 remaining bytes.
26195
9f115170
UD
26196 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26197
81fb02b0
UD
261982012-01-01 Ulrich Drepper <drepper@gmail.com>
26199
26200 * posix/getconf.c: Update copyright year.
26201 * nss/getent.c: Likewise.
a316c1f6 26202 * nss/makedb.c: Likewise.
81fb02b0
UD
26203 * iconv/iconvconfig.c: Likewise.
26204 * iconv/iconv_prog.c: Likewise.
26205 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26206 * elf/pldd.c: Likewise.
26207 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26208 * catgets/gencat.c: Likewise.
26209 * csu/version.c: Likewise.
26210 * elf/ldd.bash.in: Likewise.
26211 * elf/sprof.c (print_version): Likewise.
26212 * locale/programs/locale.c: Likewise.
26213 * locale/programs/localedef.c: Likewise.
a316c1f6 26214 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26215 * nscd/nscd.c (print_version): Likewise.
26216 * debug/xtrace.sh: Likewise.
26217 * malloc/memusage.sh: Likewise.
26218 * malloc/mtrace.pl: Likewise.
26219 * debug/catchsegv.sh: Likewise.
26220
2ba92745
JJ
262212011-12-30 Jakub Jelinek <jakub@redhat.com>
26222
26223 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26224 pure attribute.
26225
dadebdae
UD
262262011-12-24 Ulrich Drepper <drepper@gmail.com>
26227
d3761ebc 26228 [BZ #13533]
db6af3eb
UD
26229 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26230 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26231 transformations.
26232 * iconv/gconv_int.h: Likewise.
26233 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26234 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26235 from libc for GLIBC_2.16.
26236 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26237 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26238 * wcsmbs/uchar.h: Really define mbstate_t.
26239 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26240 * wcsmbs/c16rtomb.c: New file.
26241 * wcsmbs/mbrtoc16.c: New file.
26242 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26243 for C/POSIX locale.
26244 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26245 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26246
dadebdae
UD
26247 * wcsmbs/wchar.h: Add missing __restrict.
26248
67371b56
UD
262492011-12-23 Ulrich Drepper <drepper@gmail.com>
26250
74033a25
UD
26251 [BZ #13532]
26252 * time/Makefile (routines): Add timespec_get.
26253 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26254 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26255 timespec for ISO C11.
26256 * time/timespec_get.c: New file.
26257 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26258 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26259
380d7e87
UD
26260 [BZ #13531]
26261 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26262 * stdlib/stdlib.h: Declare aligned_alloc.
26263 * Versions.def: Add GLIBC_2.16 for libc.
26264 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26265
4e9e7a35
UD
26266 [BZ 13527]
26267 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26268 ISO C11.
26269
380d7e87 26270 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26271 code.
26272
03a71829
UD
26273 [BZ #13528]
26274 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26275
839e283e
UD
26276 [BZ #13529]
26277 * assert/assert.h (static_assert): Define.
26278
ce5294e2 26279 * version.h: Update for 2.16 development version.
90fa7312 26280
8d44e150 26281 [BZ #13526]
d7809905
UD
26282 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26283 _ISOC11_SOURCE.
26284
c0da14cd
UD
26285 * version.h (RELEASE): Bump for 2.15 release.
26286 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26287
530a3249
MP
26288 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26289 Patch by Marek Polacek <mpolacek@redhat.com>.
26290
67371b56
UD
26291 * bits/byteswap.h: Protect long long constants with __extension__.
26292 * sysdeps/i386/bits/byteswap.h: Likewise.
26293 * sysdeps/ia64/bits/byteswap.h: Likewise.
26294 * sysdeps/s390/bits/byteswap.h: Likewise.
26295 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26296
15db4de1
LD
262972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26298
26299 [BZ #13540]
bbe315ea
LD
26300 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26301 destination buffer.
15db4de1
LD
26302 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26303
2b2596b1
MP
263042011-12-23 Marek Polacek <polacek@redhat.com>
26305
26306 * elf/dl-addr.c (determine_info): Add inline keyword.
26307 * elf/tst-auditmod4b.c (check_avx): Likewise.
26308 * elf/tst-auditmod6b.c (check_avx): Likewise.
26309 * elf/tst-auditmod6c.c (check_avx): Likewise.
26310 * elf/tst-auditmod7b.c (check_avx): Likewise.
26311
70c6c246
UD
263122011-12-23 Ulrich Drepper <drepper@gmail.com>
26313
26314 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26315 !__SSE_MATH__.
26316
c044cf14
LD
263172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26318
15db4de1 26319 [BZ #13540]
c044cf14
LD
26320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26321 processing for last bytes.
26322
6b13d9d9
BH
263232011-08-06 Bruno Haible <bruno@clisp.org>
26324
d455f537
BH
26325 [BZ #13061]
26326 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26327 U+0385, not to U+1FEE.
26328
6b13d9d9
BH
26329 [BZ #13062]
26330 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26331 entry for U+00A5 U+0301.
26332
db910efd
UD
263332011-12-22 Ulrich Drepper <drepper@gmail.com>
26334
27deeafc
UD
26335 [BZ #13166]
26336 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26337 buffer for the output is too small.
26338
aed9d171
UD
26339 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26340 optimization.
26341
db910efd
UD
26342 [BZ #13185]
26343 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26344 SSE flags if possible.
26345
2bd779ae
LD
263462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26347
e7f9dac3 26348 [BZ #13540]
2bd779ae
LD
26349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26350 processing for last bytes.
26351
154bfc16
JM
263522011-12-22 Joseph Myers <joseph@codesourcery.com>
26353
26354 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26355 (syscall-list-default-options, syscall-list-default-condition)
26356 (syscall-list-includes): Define.
26357 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26358 list of ABIs and options and #if conditions for each ABI. Do not
26359 handle common syscalls between ABIs specially.
26360 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26361 Remove.
26362 (syscall-list-variants, syscall-list-32bit-options)
26363 (syscall-list-32bit-condition, syscall-list-64bit-options)
26364 (syscall-list-64bit-condition): Define.
26365 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26366 (syscall-list-variants, syscall-list-32bit-options)
26367 (syscall-list-32bit-condition, syscall-list-64bit-options)
26368 (syscall-list-64bit-condition): Define.
26369 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26370 Remove.
26371 (syscall-list-variants, syscall-list-32bit-options)
26372 (syscall-list-32bit-condition, syscall-list-64bit-options)
26373 (syscall-list-64bit-condition): Define.
26374 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26375 Remove.
26376 (syscall-list-variants, syscall-list-32bit-options)
26377 (syscall-list-32bit-condition, syscall-list-64bit-options)
26378 (syscall-list-64bit-condition): Define.
26379
21eaf3a5
UD
263802011-12-22 Ulrich Drepper <drepper@gmail.com>
26381
16c6f992
UD
26382 * locale/iso-639.def: Add brx entry.
26383
41043168
UD
26384 [BZ #13328]
26385 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26386 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26387
21eaf3a5
UD
26388 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26389 __feraiseexcept_renamed.
26390
e3a851a2
UD
263912011-12-21 Ulrich Drepper <drepper@gmail.com>
26392
4920765e
UD
26393 [BZ #13538]
26394 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26395 EPOLLET with unsigned values.
26396 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26397 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26398
e3a851a2
UD
26399 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26400 to large cancellation.
26401 * math/s_cacoshf.c: Likewise.
26402 * math/s_cacoshl.c: Likewise.
26403
b27e24b8
RK
264042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26405
26406 [BZ #13305]
aebefeee 26407 [BZ #12786]
b27e24b8
RK
26408 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26409 * math/s_cacoshf.c: Likewise.
26410 * math/s_cacoshl.c: Likewise.
26411
ee190f67
UD
264122011-12-21 Ulrich Drepper <drepper@gmail.com>
26413
26414 [BZ #13439]
26415 * iconv/gconv.h: Define __GCONV_SWAP.
26416 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26417 * iconvdata/utf-16.c: Likewise.
26418 * iconvdata/utf-32.c: Likewise.
26419
707f25df
AS
264202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26421
26422 [BZ #13524]
26423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26424 numerator after shifting it by one limb.
26425
d2daaa1e
RÁE
264262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26427
26428 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26429 under [__USE_EXTERN_INLINES].
26430
a4647e72
UD
264312011-12-17 Ulrich Drepper <drepper@gmail.com>
26432
26433 [BZ #13446]
26434 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26435
f0b264f1
AZ
264362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26437
26438 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26439 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26440 optimized code.
26441 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26442 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26443 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26444 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26445 for strncasecmp/strncasecmp_l compilation.
26446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26447 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26448
8ef4f244
MP
264492011-12-08 Marek Polacek <mpolacek@redhat.com>
26450
26451 [BZ #13484]
26452 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26453 of __asm__.
26454
97ac2654
UD
264552011-12-17 Ulrich Drepper <drepper@gmail.com>
26456
26457 [BZ #13506]
26458 * time/tzfile.c (__tzfile_read): Check values from file header.
26459
91d2a845
WS
264602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26461
26462 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26463 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26464 * powerpc/powerpc32/dl-start.S: Likewise.
26465 * powerpc/powerpc32/elf/start.S: Likewise.
26466 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26467 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26468 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26469 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26470 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26471 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26472 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26473 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26474 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26475 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26476 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26477 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26478 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26479 * powerpc/powerpc32/memset.S: Likewise.
26480 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26481 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26482 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26483 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26484 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26485 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26486 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26487 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26488 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26489 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26490 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26491 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26492 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26493
a1267ba1
AZ
264942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26495
26496 * math/libm-test.inc: Added more nearbyint tests.
26497 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26501
ad8ac1bd
RL
265022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26503
26504 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26505 FD_CLOEXEC.
26506
1d3e4b61
UD
265072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26508
26509 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26510 Add wcscpy-ssse3 wcscpy-c.
26511 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26512 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26513 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26514 * sysdeps/x86_64/wcschr.S: New file.
26515 * sysdeps/x86_64/wcsrchr.S: New file.
26516 * string/test-strcmp.c: Remove checking of wcscmp function for
26517 wrong alignments.
26518 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26519 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26520 wcsrchr-sse2 wcsrchr-c.
26521 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26522 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26523 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26524 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26525 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26526 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26527 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26528 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26530 * wcsmbc/wcschr.c (WCSCHR): New macro.
26531
5b330a2d
UD
265322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26533
26534 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26535 * wcsmbs/test-wcsrchr.c: New file.
26536 * string/test-strrchr.c: Add wcsrchr support.
26537 (WIDE): New macro.
26538 * wcsmbs/test-wcscpy.c: New file.
26539 * string/test-strcpy.c: Add wcscpy support.
26540 (WIDE): New macro.
26428b7c 26541
f039c043
UD
265422011-12-10 Ulrich Drepper <drepper@gmail.com>
26543
26544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26545 the inner loop.
26546
850fb039
AS
265472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26548
26549 [BZ #13472]
26550 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26551
4efbd5cb
UD
265522011-12-04 Ulrich Drepper <drepper@gmail.com>
26553
52ff5dd0 26554 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26555 Minor optimizations.
52ff5dd0 26556
4efbd5cb
UD
26557 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26558 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26559 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26560
8a426e12
UD
265612011-12-03 Ulrich Drepper <drepper@gmail.com>
26562
aff2453d
UD
26563 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26564 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26565 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26566 for gcc to avoid warnings.
26567 * inet/Makefile (tests): Add tst-checks.
26568 * inet/tst-checks.c: New file.
26569
26570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26571 warning.
26572
26573 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26574 __wmemcmp_sse2.
26575
26576 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26577 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26578
8a426e12
UD
26579 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26580
9bea3473
UD
265812011-12-02 Ulrich Drepper <drepper@gmail.com>
26582
3a965496
UD
26583 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26584 problem.
26585
9bea3473
UD
26586 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26587
f101631b
UD
265882011-11-29 Joseph Myers <joseph@codesourcery.com>
26589
26590 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26591 conditional on GCC version.
26592 (__arch_compare_and_exchange_val_8_acq)
26593 (__arch_compare_and_exchange_val_16_acq)
26594 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26595 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26596 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26597
a98275aa
UD
265982011-12-02 Joseph Myers <joseph@codesourcery.com>
26599
26600 * sysdeps/sh/backtrace.c: New file.
26601
d4cc29a2
AS
266022011-12-02 Andreas Schwab <schwab@redhat.com>
26603
26604 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26605 parenthesis.
26606
6257af2d
AS
266072011-12-01 Andreas Schwab <schwab@redhat.com>
26608
26609 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26610 falling back to utime.
26611
b5f44c1a
AS
266122011-11-30 Andreas Schwab <schwab@redhat.com>
26613
26614 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26615 expectations for float.
26616
f3a6cc0a
AS
266172011-11-29 Andreas Schwab <schwab@redhat.com>
26618
26619 * locale/weight.h (findidx): Add parameter len.
26620 * locale/weightwc.h (findidx): Likewise.
26621 * posix/fnmatch_loop.c (FCT): Adjust caller.
26622 * posix/regcomp.c (build_equiv_class): Likewise.
26623 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26624 * posix/regexec.c (check_node_accept_bytes): Likewise.
26625 * string/strcoll_l.c (STRCOLL): Likewise.
26626 * string/strxfrm_l.c (STRXFRM): Likewise.
26627
9d65ea3a
UD
266282011-11-17 Ulrich Drepper <drepper@gmail.com>
26629
26630 * Makefile.in: Remove CVSOPT handling.
26631 * configure.in: Remove use of AC_REVISION.
26632 * iconvdata/Makefile (distribute): No need to filter out CVS.
26633 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26634 handling.
26635
5583a086
AS
266362011-11-16 Andreas Schwab <schwab@redhat.com>
26637
26638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26639 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26640 [USE_AS_STRNCASECMP_L]: Likewise.
26641 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26642 NO_TLS_DIRECT_SEG_REFS.
26643 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26644 Fix argument offsets for non-PIC.
26645 [USE_AS_STRNCASECMP_L]: Likewise.
26646 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26647 NO_TLS_DIRECT_SEG_REFS.
26648
d62a8200
UD
266492011-11-15 Ulrich Drepper <drepper@gmail.com>
26650
9d65ea3a 26651 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26652 O_CLOEXEC.
26653 * locale/loadlocale.c (_nl_load_locale): Likewise.
26654
09f93bd3
AS
266552011-11-15 Andreas Schwab <schwab@redhat.com>
26656
446514f9
AS
26657 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26658 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26659 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26660 (SYSCALL_GETTIME): Set errno on error.
26661
09f93bd3
AS
26662 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26663 count references to noai6ai_cached.
26664
312be3f9
UD
266652011-11-15 Ulrich Drepper <drepper@gmail.com>
26666
26667 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26668
26669 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26670 FD_CLOEXEC for /proc/self/maps.
26671
26672 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26673 FD_CLOEXEC for /proc/meminfo.
26674
26675 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26676 gai.conf.
26677
26678 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26679 FD_CLOEXEC for given file.
26680
26681 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26682
26683 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26684 FD_CLOEXEC for /etc/hosts.
26685 (_gethtent): Likewise.
26686
26687 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26688
26689 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26690 cancellation and set FD_CLOEXEC for /etc/netgroup.
26691
26692 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26693 reading /etc/publickey.
26694
26695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26696 allow cancellation when reading /etc/group.
26697
26698 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26699 cancellation.
26700 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26701
26702 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26703 when using data file.
26704
26705 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26706
26707 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26708 (write_nis_obj): Use "c" and "e" in fopen.
26709
26710 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26711
26712 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26713
26714 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26715
26716 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26717
26718 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26719 locale.alias.
26720
26721 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26722
26723 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26724
26725 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26726
26727 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26728 file parsing and set FD_CLOEXEC.
26729
82af0fa8
UD
267302011-11-14 Ulrich Drepper <drepper@gmail.com>
26731
26732 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26733
a5fb313c
AS
267342011-11-14 Andreas Schwab <schwab@redhat.com>
26735
26736 * malloc/arena.c (arena_get2): Don't call reused_arena when
26737 _int_new_arena failed.
26738
6abf3465
UD
267392011-11-14 Ulrich Drepper <drepper@gmail.com>
26740
26741 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26742 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26743 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26744 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26747 to compile strcasecmp and strncasecmp.
26748 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26749 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26750
26751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26752
76e3966e
UD
267532011-11-13 Ulrich Drepper <drepper@gmail.com>
26754
26755 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26756 locale-defines.sym to gen-as-const-headers.
26757 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26758 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26760 to compile strcasecmp and strncasecmp.
26761 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26762 strcasecmp_l and strncasecmp_l.
26763 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26764 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26765 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26766 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26767 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26768 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26769 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26770 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26771 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26772 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26773 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26774
ab26144e
UD
267752011-11-12 Ulrich Drepper <drepper@gmail.com>
26776
7edb22ef
UD
26777 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26778 result of SYSDEP_GETTIME_CPU to retval.
26779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26780 parameter list to macro. Remove trailing semicolon. Adjust users.
26781
9694fc44
UD
26782 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26783 variable.
26784
8ad89ef8
UD
26785 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26786 mantissa words.
26787 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26788
0c822ef9
UD
26789 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26790 from unused variable.
26791
874e0564
UD
26792 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26793 DWARF definitions.
26794 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26795 for assembling.
26796
3a2edc79
UD
26797 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26798 over namespaces.
26799
f3c2577f
UD
26800 * sunrpc/rpc_prot.c (rejected): Fix case value.
26801
294ce126
UD
26802 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26803 unsigned long long int to avoid warnings in shift.
26804
5e2b63c6
UD
26805 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26806 of use of trans.
26807 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26808 variable tmp.
26809
e7f4b08e
UD
26810 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26811 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26812 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26813
ab26144e
UD
26814 * nis/nis_table.c (nis_list): Use variable of correct type for
26815 result of __follow_path call.
26816
8a6d5255
AZ
268172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26818
26819 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26820 of math functions ceil, trunc, floor, round, and sqrt, when
26821 avaliable on the platform.
26822 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26823 name clash.
26824 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26825 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26826 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26827
aaddc98c
MP
268282011-10-30 Marek Polacek <mpolacek@redhat.com>
26829
26830 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26832
95b7042b
RM
268332011-11-11 Roland McGrath <roland@hack.frob.com>
26834
26835 * include/unistd.h: Fix __readlink return type.
26836 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26837
57769839
UD
268382011-11-11 Ulrich Drepper <drepper@gmail.com>
26839
26840 * stdlib/ucontext.h: Undo last change for makecontext.
26841
edc5984d
AS
268422011-11-11 Andreas Schwab <schwab@redhat.com>
26843
98591e58
AS
26844 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26845
edc5984d
AS
26846 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26847 * setjmp/setjmp.h: Mark functions as non-leaf.
26848 * setjmp/bits/setjmp2.h: Likewise.
26849 * stdlib/ucontext.h: Likewise.
26850
77cdc054
AS
268512011-11-10 Andreas Schwab <schwab@redhat.com>
26852
26853 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26854 (reused_arena): Don't check arena limit.
26855 (arena_get2): Atomically check arena limit.
26856
fe72eebd
UD
268572011-11-08 Ulrich Drepper <drepper@gmail.com>
26858
5f078c32
UD
26859 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26860 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26861
fe72eebd
UD
26862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26863 instructions.
26864
ae1bc2fa
AS
268652011-11-07 Andreas Schwab <schwab@redhat.com>
26866
7583a88d
AS
26867 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26868 handler when locking.
26869
ae1bc2fa
AS
26870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26871 Fix size of allocated buffer.
26872
10fb0bfa
AS
268732011-11-04 Andreas Schwab <schwab@redhat.com>
26874
998832a4
AS
26875 [BZ #10103]
26876 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26877 declarations for long double functions.
26878 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26879
10fb0bfa
AS
26880 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26881
3d7ba52b
AS
268822011-11-03 Andreas Schwab <schwab@redhat.com>
26883
a9ae54a1
AS
26884 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26885 installed.
26886
3d7ba52b
AS
26887 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26888 is disabled.
26889
bc8db248
ST
268902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26891
26892 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26893
45b96dd6
AS
268942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26895
647776f6
AS
26896 * include/alloca.h (stackinfo_alloca_round): Define.
26897 (extend_alloca): Use it.
26898 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26899 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26900 here.
26901
d91a8b93
AS
26902 * scripts/check-local-headers.sh: Ignore libaudit.h.
26903
45b96dd6
AS
26904 * nscd/Makefile (extra-objs): Make recursively expanded.
26905
432d41ce
UD
269062011-11-01 Ulrich Drepper <drepper@gmail.com>
26907
34372fc6
UD
26908 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26910
fadb59f8
UD
26911 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26912 * posix/tst-rfc3484-2.c: Likewise.
26913 * posix/tst-rfc3484-3.c: Likewise.
26914
78239589
UD
26915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26916 process_vm_writev.
26917 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26918 process_vm_writev.
26919 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26920 process_vm_writev from libc using GLIBC_2.15 version.
26921
432d41ce
UD
26922 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26923
02f9c6cf
PP
269242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26925
26926 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26927 stack usage.
26928
3a2c0242
UD
269292011-10-31 Ulrich Drepper <drepper@gmail.com>
26930
f4ec4833
UD
26931 [BZ #13367]
26932 * nss/getent.c (initgroups_keys): Show error message in case no group
26933 names are given.
26934
3a2c0242
UD
26935 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26936 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26937 __bump_nl_timestamp.
26938 * nscd/connections (nscd_init): When host database is served open
26939 netlink socket and request notification about configuration changes.
26940 (main_loop_poll): Track netlink file descriptor and bump timestamp
26941 in case data becomes available.
26942 (main_loop_epoll): Likewise.
26943 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26944 (database_pers_head): Add extra_data fileds.
26945 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26946 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26947 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26948 Adjust caller.
26949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26950 in6ai data, call __free_in6ai.
26951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26952 Add -DHAVE_NETLINK.
26953 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26954 interface information. Reuse previous data if netlink timestamp
26955 is not changed.
26956 (__bump_nl_timestamp): New function.
26957 (__free_in6ai): New function.
26958
636064eb
UD
269592011-10-30 Ulrich Drepper <drepper@gmail.com>
26960
26961 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26962 close_not_cancel_no_status here.
26963 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26964
9beb2334
UD
269652011-10-29 Ulrich Drepper <drepper@gmail.com>
26966
6ef76f3b
UD
26967 [BZ #13276]
26968 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26969 return value.
26970
0ffc4f3e 26971 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26972 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26973 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26974
cb95113e
UD
269752011-07-03 Andreas Jaeger <aj@suse.de>
26976
26977 [BZ #10709]
26978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26979 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26980 * math/libm-test.inc (sin_test): Add test case.
26981
a1b560ff
UD
269822011-10-29 Ulrich Drepper <drepper@gmail.com>
26983
c9aaface
UD
26984 [BZ #13337]
26985 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26986 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26987
d272e7f1
UD
26988 * elf/chroot_canon.c (chroot_canon): Cleanups.
26989
1bc33071
UD
26990 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26991
1760874d
TJ
26992 [BZ #13335]
26993 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26995
51d91b18
UD
26996 * string/test-strchr.c: Make usable for strchrnul testing.
26997 * string/test-strchrnul.c: New file.
26998 * string/Makefile (strop-tests): Add strchrnul.
26999
a1b560ff 27000 * po/it.po: Update from translation team.
b611fb81 27001 * po/es.po: Likewise.
a1b560ff 27002
a5b81e1f
UD
270032011-10-28 Ulrich Drepper <drepper@gmail.com>
27004
fd52bc6d
UD
27005 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27006 the three constants needed as parameters. Drop the others.
27007 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27008 __m128i_strloadu_tolower.
52e4b9eb
UD
27009 Create and initialize variable zero and use it in all the places
27010 where _mm_setzero_si128 was used.
fd52bc6d 27011
a5b81e1f
UD
27012 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27013 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27014 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27015 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27016 anymore.
27017 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27018 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27019 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27020 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27021 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27022 __mpranred, __mptan.
27023 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27024 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27025 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27026 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27027 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27028 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27030 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27031 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27032
b4343346
AS
270332011-10-28 Andreas Schwab <schwab@redhat.com>
27034
0c92d8a8
AS
27035 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27036 redefine if SHARED.
27037 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27038
b4343346
AS
27039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27040 wide char related routines to wcsmbs subdir.
27041
3871f58f
AS
270422011-10-27 Andreas Schwab <schwab@redhat.com>
27043
27044 [BZ #13344]
27045 * misc/sys/cdefs.h (__THROWNL): Define.
27046 * posix/unistd.h: Use __THREADNL instead of __THREAD
27047 for memory synchronization functions.
27048
94d44d9f
RM
270492011-10-26 Roland McGrath <roland@hack.frob.com>
27050
21b64b15 27051 [BZ #13349]
94d44d9f
RM
27052 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27053 doesn't exist.
27054 * manual/stdio.texi (Obstack Streams): Node removed.
27055
f6ce9294
AS
270562011-10-26 Andreas Schwab <schwab@redhat.com>
27057
80479147
AS
27058 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27061
f6ce9294
AS
27062 * math/math_private.h (math_force_eval): Allow non-addressable
27063 arguments.
27064 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27065
618280a1
UD
270662011-10-25 Ulrich Drepper <drepper@gmail.com>
27067
e0016b11
UD
27068 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27069 file is not needed.
27070
27071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27073 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27074 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27075 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27077 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27078 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27079 Add AVX variants.
27080 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27081 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27082 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27083 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27084 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27085 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27086 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27087 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27088 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27089 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27090 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27091 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27093 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27094 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27095 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27096 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27097 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27098 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27099
27100 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27101 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27102
618280a1
UD
27103 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27104 place. Use VEX encoding when compiling for AVX.
27105
37822576
AS
271062011-10-25 Andreas Schwab <schwab@redhat.com>
27107
1f1e1947
AS
27108 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27109 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27110
37822576
AS
27111 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27112
31ea014d
UD
271132011-10-25 Ulrich Drepper <drepper@gmail.com>
27114
d7826aa1 27115 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27116 useless if() expression.
d7826aa1
UD
27117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27129 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27131 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27132 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27135 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27136
31ea014d
UD
27137 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27138
16437fec
AS
271392011-10-25 Andreas Schwab <schwab@redhat.com>
27140
27141 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27142 condition.
27143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27144
31d3cc00
UD
271452011-10-25 Ulrich Drepper <drepper@gmail.com>
27146
27147 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27148 .text section. Avoid duplicate constants.
27149 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27161 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27172 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27173 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27174 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27175 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27176 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27177 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27178 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27179 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27180 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27182 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27183 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27184 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27185 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27187 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27188 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27189 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27191 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27193 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27194
58985aa9
UD
271952011-10-24 Ulrich Drepper <drepper@gmail.com>
27196
202c9deb
UD
27197 * sysdeps/x86_64/dla.h: Move to ...
27198 * sysdeps/x86_64/fpu/dla.h: ...here.
27199 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27200 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27201
af968f62
UD
27202 * config.make.in: Add have-mfma4 entry.
27203 * configure.in: Substitute libc_cv_cc_fma4.
27204 * math/Makefile (dbl-only-routines): Add sincostab.
27205 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27206 Use __sincostab not sincos.
27207 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27208 name is a macro.
27209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27213 using __copysign.
27214 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27215 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27216 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27217 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27218 and __inv.
27219 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27220 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27221 __copysign.
27222 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27223 define aliases when function name is a macro.
27224 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27225 sysdeps/ieee754/dbl-64/sincos.tbl.
27226 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27227 fma4-enabled routines.
27228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27229 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27230 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27231 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27233 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27235 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27237 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27238 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27239 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27240 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27241 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27243 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27244 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27245 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27246 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27248 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27249 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27255 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27256 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27257 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27258
58985aa9
UD
27259 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27260 rename.
27261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27267 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27269
a201fbcf
AS
272702011-10-24 Andreas Schwab <schwab@redhat.com>
27271
27272 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27273
fc2ee42a
LD
272742011-10-23 Ulrich Drepper <drepper@gmail.com>
27275
bb3129bd
UD
27276 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27277
0275fff8
UD
27278 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27279 prediction.
27280 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27281
2fa2ae85
UD
27282 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27283 Remove unused variable magic_bits.
27284 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27285
fc2ee42a
LD
27286 * string/strnlen.c: Define and use STRNLEN macro.
27287 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27288 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27290 * wcsmbs/wcslen.c: Define and use WCSLEN.
27291 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27292 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27293 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27294 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27295 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27296 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27297 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27298
ce7dd29f
LD
272992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27300
27301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27302 strnlen-sse2-no-bsf.
27303 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27305 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27306 Add strnlen support.
27307 (USE_AS_STRNLEN): New macro.
27308 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27310 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27311 * sysdeps/x86_64/wcslen.S: New file.
27312
979c70a3
MZ
273132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27314
27315 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27316 XMM-moves are used for copying on small sizes.
27317
2d09f82f
LD
273182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27319
27320 * wcsmbs/Makefile (strop-tests): Add wcschr.
27321 * wcsmbs/test-wcschr.c: New file.
27322 * string/test-strchr.c: Update.
27323 Add wcschr support.
27324 (WIDE): New macro.
27325
619fccca
LD
273262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27327
2d09f82f 27328 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27329 * wcsmbs/test-wcslen.c: New file.
27330 * string/test-strlen.c: Update.
27331 Add wcslen support.
27332 (WIDE): New macro.
27333
09f699ea
UD
273342011-10-23 Ulrich Drepper <drepper@gmail.com>
27335
27336 * po/it.po: Update from translation team.
27337
95584d3b
LD
273382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27339
27340 * sysdeps/x86_64/wcscmp.S: Update.
27341 Fix wrong comparison semantics.
27342 wcscmp shall use signed comparison not unsigned.
27343 Don't use substraction to avoid overflow bug.
27344 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27345 * wcsmbc/wcscmp.c: Likewise.
27346 * string/test-strcmp.c: Likewise.
27347 Add new tests to check cases with negative values.
27348
c8b3296b
UD
273492011-10-23 Ulrich Drepper <drepper@gmail.com>
27350
27351 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27352 * sysdeps/x86_64/dla.h: ...here. New file.
27353 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/e_sqrt.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
246ad57a
AS
273632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27364
27365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27366 __ynl_finite aliases.
27367
a1a87169
UD
273682011-10-22 Ulrich Drepper <drepper@gmail.com>
27369
0d355eb7
UD
27370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27371
a1a87169
UD
27372 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27373 define DLA_FMA.
27374 [DLA_FMA] (EMULV): Use DLA_FMA.
27375 [DLA_FMA] (MUL12): Use EMULV.
27376 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27377 that are not needed.
27378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27385
ee2aafe0
AS
273862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27387
27388 * math/s_nan.c: Undef __nan.
27389 * math/s_nanf.c: Undef __nanf.
27390 * math/s_nanl.c: Undef __nanl.
27391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27392 "math_private.h".
27393
bc62c2fb
UD
273942011-10-22 Ulrich Drepper <drepper@gmail.com>
27395
77425c63
UD
27396 * math/s_catan.c: Add branch predictions.
27397 * math/s_catanf.c: Likewise.
27398 * math/s_catanh.c: Likewise.
27399 * math/s_catanhf.c: Likewise.
27400 * math/s_catanhl.c: Likewise.
27401 * math/s_catanl.c: Likewise.
27402 * math/s_cexp.c: Likewise.
27403 * math/s_cexpf.c: Likewise.
27404 * math/s_cexpl.c: Likewise.
27405 * math/s_clog.c: Likewise.
27406 * math/s_clog10.c: Likewise.
27407 * math/s_clog10f.c: Likewise.
27408 * math/s_clog10l.c: Likewise.
27409 * math/s_clogf.c: Likewise.
27410 * math/s_clogl.c: Likewise.
27411 * math/s_csqrt.c: Likewise.
27412 * math/s_csqrtf.c: Likewise.
27413 * math/s_csqrtl.c: Likewise.
27414 * math/s_ctanf.c: Likewise.
27415 * math/s_ctanh.c: Likewise.
27416 * math/s_ctanhf.c: Likewise.
27417 * math/s_ctanhl.c: Likewise.
27418 * math/s_ctanl.c: Likewise.
27419
bc62c2fb
UD
27420 * math/math_private.h: Define __nan, __nanf, __nanl.
27421 * math/s_cacosh.c: Include <math_private.h>.
27422 * math/s_cacoshl.c: Likewise.
27423 * math/s_casinh.c: Likewise.
27424 * math/s_casinhf.c: Likewise.
27425 * math/s_casinhl.c: Likewise.
27426 * math/s_ccos.c: Rely entire on ccosh.
27427 * math/s_ccosf.c: Rely entire on ccoshf.
27428 * math/s_ccosl.c: Rely entirely on ccoshl.
27429 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27430 Remove tests for FE_INVALID.
27431 * math/s_ccoshf.c: Likewise.
27432 * math/s_ccoshl.c: Likewise.
27433 * math/s_csin.c: Likewise.
27434 * math/s_csinf.c: Likewise.
27435 * math/s_csinh.c Likewise.
27436 * math/s_csinhf.c: Likewise.
27437 * math/s_csinhl.c: Likewise.
27438 * math/s_csinl.c: Likewise.
27439 * math/s_ctan.c: Likewise.
27440 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27441 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27442 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27443
8ec250a4
UD
274442011-10-21 Ulrich Drepper <drepper@gmail.com>
27445
c196fed8
UD
27446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27447 compilation problems.
27448
8ec250a4
UD
27449 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27450 __builtin_expect.
27451
8d4f46c6
UD
274522011-10-20 Ulrich Drepper <drepper@gmail.com>
27453
ed72b654
UD
27454 * sysdeps/i386/configure.in: Test for -mfma4 option.
27455 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27456 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27457 COMMON_CPUID_INDEX_80000001.
27458 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27459 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27460 use it if FMA3 is not supported.
27461 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27462
8d4f46c6
UD
27463 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27464 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27465
d45c60c2
AS
274662011-10-20 Andreas Schwab <schwab@redhat.com>
27467
27468 [BZ #12892]
27469 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27470 it would create a cycle with a link time dependency.
27471
d9a4d2ab
UD
274722011-10-19 Ulrich Drepper <drepper@gmail.com>
27473
855d1560
UD
27474 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27475 instruction.
27476 * string/Makefile (strop-tests): Add rawmemchr.
27477 * string/test-rawmemchr.c: New file.
27478
d9a4d2ab
UD
27479 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27481 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27482 when compiling str{,n}casecmp and when AVX is available. Hook up
27483 new optimized code in initializers.
27484
8f3b1ffe
AS
274852011-10-19 Andreas Schwab <schwab@redhat.com>
27486
27487 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27488 __feraiseexcept instead of feraiseexcept.
27489
d38f1dba
UD
274902011-10-18 Ulrich Drepper <drepper@gmail.com>
27491
d9a8d0ab
UD
27492 * math/math_private.h: Define defaults for libc_fetestexcept and
27493 libc_feupdateenv.
27494 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27495 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27496 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27498 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27499 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27500 libc_fetestexcept and libc_feupdateenv.
27501
4855e3dd
UD
27502 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27503 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27504 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27505 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27506 libc_feholdexcept_setround.
27507
581d30e3
UD
27508 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27509 Add s_nearbyint-c and s_nearbyintf-c.
27510 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27511 nearbyintf inlines.
27512 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27514 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27516
d38f1dba
UD
27517 * math/math_private.h: Define defaults for libc_fegetround,
27518 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27519 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27520 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27521 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27522 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27523 standard functions.
27524 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27525 Remove comments and hacks for old compiler versions.
27526 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27527 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27528 libc_feholdexceptl.
27529
caa6c9d8
AS
275302011-10-18 Andreas Schwab <schwab@redhat.com>
27531
27532 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27533 (__feraiseexcept_renamed): Add __NTH.
27534 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27535 namespace violations.
27536
97c066e6
UD
275372011-10-17 Ulrich Drepper <drepper@gmail.com>
27538
99ce7b04
UD
27539 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27540
1004d182
UD
27541 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27542
228a984d
UD
27543 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27544 recently added interfaces.
27545 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27546
c8553a6a
UD
27547 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27548 about macro parameter expansion.
27549
ed22dcf6
UD
27550 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27551 __NO_MATH_INLINES is defined. Cleanups.
27552
27553 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27554 and __floorf is target has SSE4.1.
27555 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27557 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27558 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27559
b171c137
UD
27560 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27561 name.
27562 (floorf): Likewise.
27563
97c066e6
UD
27564 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27565
629f62ef
AS
275662011-10-17 Andreas Schwab <schwab@redhat.com>
27567
49a43d80
AS
27568 * misc/sys/cdefs.h: Fix last change.
27569
629f62ef
AS
27570 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27571 database lookup.
27572
e453f6cd
UD
275732011-10-16 Ulrich Drepper <drepper@gmail.com>
27574
aa78043a
UD
27575 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27576
ad0f5cad
UD
27577 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27579 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27580 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27584 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27585 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27586 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27587 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27588 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27589 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27590 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27592 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27593 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27594 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27595 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27596 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27597 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27598 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27599
27600 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27601 ceil, ceilf, floor, floorf.
27602
27603 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27604 Perform IRELATIVE relocations last.
27605
e453f6cd
UD
27606 * elf/do-rel.h: Add another parameter nrelative, replacing the
27607 local variable with the same name. Change name of the function
27608 to end in Rel or Rela (uppercase).
27609 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27610 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27611 elf_dynamic_do_##reloc function.
27612
fd5bdc09
UD
276132011-10-15 Ulrich Drepper <drepper@gmail.com>
27614
79b195b5
UD
27615 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27616 is sufficient, at least on modern CPUs.
27617
d4a28569
UD
27618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27619
b61099b5
UD
27620 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27621 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27622
bcf01e6d
UD
27623 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27624 __expl_finite.
27625 * math/bits/math-finite.h: Add entries for exp.
27626 * math/e_expl.c: Add __*_finite alias.
27627 * sysdeps/i386/fpu/e_exp.S: Likewise.
27628 * sysdeps/i386/fpu/e_expf.S: Likewise.
27629 * sysdeps/i386/fpu/e_expl.c: Likewise.
27630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27631 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27635 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27636 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27637
ba1a0d59
UD
27638 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27639 is sufficient, at least on modern CPUs.
27640
fd5bdc09
UD
27641 * ctype/ctype-info.c (__ctype_init): Define.
27642 * include/ctype.h (__ctype_init): Declare.
27643 (__ctype_b_loc): The variable is always initialized.
27644 (__ctype_toupper_loc): Likewise.
27645 (__ctype_tolower_loc): Likewise.
27646 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27647 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27648
7872cfb0
AS
276492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27650
b468825a
AS
27651 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27652
7872cfb0
AS
27653 * configure.in: Also look in $cxxmachine/include for C++ system
27654 headers.
27655
be13f7bf
LD
276562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27657
27658 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27659 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27660 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27661 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27662 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27663 (USE_AS_WMEMCMP): New macro.
27664 Fixing indents.
27665 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27666 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27667 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27668 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27670 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27671 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27672 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27673 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27674 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27675 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27676 (USE_AS_WMEMCMP): New macro.
27677 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27678 * sysdeps/string/test-memcmp.c: Update.
27679 Fix simple_wmemcmp.
27680 Add new tests.
27681 * wcsmbs/wmemcmp.c: Update.
27682 (WMEMCMP): New macro.
27683 Fix overflow bug.
27684
556a2007
AJ
276852011-10-12 Andreas Jaeger <aj@suse.de>
27686
27687 [BZ #13268]
27688 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27689
538faaa7
UD
276902011-10-15 Ulrich Drepper <drepper@gmail.com>
27691
ab6737ff
UD
27692 * libio/iofwide.c (do_length): Avoid warning.
27693
538faaa7
UD
27694 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27695
396a21b1
UD
276962011-10-14 Ulrich Drepper <drepper@gmail.com>
27697
cdf2901f
UD
27698 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27699
38ad40ce
UD
27700 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27701 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27702 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27703 * sysdeps/i386/i686/fpu/e_log.S: New file.
27704 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27705 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27706
396a21b1
UD
27707 * ctype/ctype.h: Add support for inlined isXXX functions when
27708 compiling C++ code.
27709
6b1f68c9
AS
277102011-10-14 Andreas Schwab <schwab@redhat.com>
27711
349290c0
AS
27712 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27713
6b1f68c9
AS
27714 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27715
f2282d42
RM
277162011-10-13 Roland McGrath <roland@hack.frob.com>
27717
27718 [BZ #13291]
27719 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27720
5298ffa8
AS
277212011-10-13 Andreas Schwab <schwab@redhat.com>
27722
714fad23
AS
27723 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27724 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27725 feraiseexcept.
27726
81dcc7fb
AS
27727 * sysdeps/x86_64/memrchr.S: Check for zero size.
27728
5298ffa8
AS
27729 * string/stratcliff.c: Add memrchr tests.
27730
951fbcec
LD
277312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27732
27733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27734 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27735 rawmemchr-sse2 rawmemchr-sse2-bsf.
27736 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27737 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27738 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27739 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27740 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27741 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27742 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27743 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27744 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27745 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27746 * string/memrchr.c (MEMRCHR): New macro.
27747
0ac5ae23
UD
277482011-10-12 Ulrich Drepper <drepper@gmail.com>
27749
27750 Add integration with gcc's -ffinite-math-only and optimize wrapper
27751 functions in libm.
27752 * Versions.def: Define GLIBC_2.15 version for libm.
27753 * math/Makefile (headers): Add bits/math-finite.h.
27754 * math/bits/math-finite.h: New file.
27755 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27756 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27757 * math/e_acoshl.c: Add __*_finite alias.
27758 * math/e_acosl.c: Likewise.
27759 * math/e_asinl.c: Likewise.
27760 * math/e_atan2l.c: Likewise.
27761 * math/e_atanhl.c: Likewise.
27762 * math/e_coshl.c: Likewise.
27763 * math/e_exp10.c: Likewise.
27764 * math/e_exp10f.c: Likewise.
27765 * math/e_exp10l.c: Likewise.
27766 * math/e_exp2l.c: Likewise.
27767 * math/e_fmodl.c: Likewise.
27768 * math/e_gammal_r.c: Likewise.
27769 * math/e_hypotl.c: Likewise.
27770 * math/e_j0l.c: Likewise.
27771 * math/e_j1l.c: Likewise.
27772 * math/e_jnl.c: Likewise.
27773 * math/e_lgammal_r.c: Likewise.
27774 * math/e_log10l.c: Likewise.
27775 * math/e_log2l.c: Likewise.
27776 * math/e_logl.c: Likewise.
27777 * math/e_powl.c: Likewise.
27778 * math/e_sinhl.c: Likewise.
27779 * math/e_sqrtl.c: Likewise.
27780 * math/e_scalb.c: Completely rewritten and optimized.
27781 * math/e_scalbf.c: Likewise.
27782 * math/e_scalbl.c: Likewise.
27783 * math/w_acos.c: Likewise.
27784 * math/w_acosf.c: Likewise.
27785 * math/w_acosl.c: Likewise.
27786 * math/w_acosh.c: Likewise.
27787 * math/w_acoshf.c: Likewise.
27788 * math/w_acoshl.c: Likewise.
27789 * math/w_asin.c: Likewise.
27790 * math/w_asinf.c: Likewise.
27791 * math/w_asinl.c: Likewise.
27792 * math/w_atan2.c: Likewise.
27793 * math/w_atan2f.c: Likewise.
27794 * math/w_atan2l.c: Likewise.
27795 * math/w_atanh.c: Likewise.
27796 * math/w_atanhf.c: Likewise.
27797 * math/w_atanhl.c: Likewise.
27798 * math/w_exp10.c: Likewise.
27799 * math/w_exp10f.c: Likewise.
27800 * math/w_exp10l.c: Likewise.
27801 * math/w_fmod.c: Likewise.
27802 * math/w_fmodf.c: Likewise.
27803 * math/w_fmodl.c: Likewise.
27804 * math/w_j0.c: Likewise.
27805 * math/w_j0f.c: Likewise.
27806 * math/w_j0l.c: Likewise.
27807 * math/w_j1.c: Likewise.
27808 * math/w_j1f.c: Likewise.
27809 * math/w_j1l.c: Likewise.
27810 * math/w_jn.c: Likewise.
27811 * math/w_jnf.c: Likewise.
27812 * math/w_log.c: Likewise.
27813 * math/w_logf.c: Likewise.
27814 * math/w_logl.c: Likewise.
27815 * math/w_log10.c: Likewise.
27816 * math/w_log10f.c: Likewise.
27817 * math/w_log10l.c: Likewise.
27818 * math/w_log2.c: Likewise.
27819 * math/w_log2f.c: Likewise.
27820 * math/w_log2l.c: Likewise.
27821 * math/w_pow.c: Likewise.
27822 * math/w_powf.c: Likewise.
27823 * math/w_powl.c: Likewise.
27824 * math/w_remainder.c: Likewise.
27825 * math/w_remainderf.c: Likewise.
27826 * math/w_remainderl.c: Likewise.
27827 * math/w_scalb.c: Likewise.
27828 * math/w_scalbf.c: Likewise.
27829 * math/w_scalbl.c: Likewise.
27830 * math/w_sqrt.c: Likewise.
27831 * math/w_sqrtf.c: Likewise.
27832 * math/w_sqrtl.c: Likewise.
27833 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27834 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27835 used.
27836 * math/math_private.h: Declare __kernel_standard_f.
27837 * math/w_cosh.c: Remove cruft and optimize a bit.
27838 * math/w_coshf.c: Likewise.
27839 * math/w_coshl.c: Likewise.
27840 * math/w_exp2.c: Likewise.
27841 * math/w_exp2f.c: Likewise.
27842 * math/w_exp2l.c: Likewise.
27843 * math/w_hypot.c: Likewise.
27844 * math/w_hypotf.c: Likewise.
27845 * math/w_hypotl.c: Likewise.
27846 * math/w_lgamma.c: Likewise.
27847 * math/w_lgamma_r.c: Likewise.
27848 * math/w_lgammaf.c: Likewise.
27849 * math/w_lgammaf_r.c: Likewise.
27850 * math/w_lgammal.c: Likewise.
27851 * math/w_lgammal_r.c: Likewise.
27852 * math/w_sinh.c: Likewise.
27853 * math/w_sinhf.c: Likewise.
27854 * math/w_sinhl.c: Likewise.
27855 * math/w_tgamma.c: Likewise.
27856 * math/w_tgammaf.c: Likewise.
27857 * math/w_tgammal.c: Likewise.
27858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27860 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27861 Minor optimizations. Pretty printing. Remove cruft.
27862 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27865 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27866 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27867 * sysdeps/i386/fpu/e_asin.S: Likewise.
27868 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27869 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27870 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27871 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27873 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27874 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27875 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27876 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27877 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27878 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27879 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27880 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27881 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27882 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27883 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27884 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27885 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27886 * sysdeps/i386/fpu/e_log.S: Likewise.
27887 * sysdeps/i386/fpu/e_log10.S: Likewise.
27888 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27890 * sysdeps/i386/fpu/e_log2.S: Likewise.
27891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27892 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27893 * sysdeps/i386/fpu/e_logf.S: Likewise.
27894 * sysdeps/i386/fpu/e_logl.S: Likewise.
27895 * sysdeps/i386/fpu/e_pow.S: Likewise.
27896 * sysdeps/i386/fpu/e_powf.S: Likewise.
27897 * sysdeps/i386/fpu/e_powl.S: Likewise.
27898 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27899 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27900 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27903 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27904 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27905 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27906 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27908 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27910 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27912 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27914 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27916 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27918 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27921 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27927 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27928 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27929 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27930 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27931 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27933 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27934 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27935 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27936 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27937 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27938 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27939 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27941 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27942 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27943 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27944 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27945 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27946 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27947 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27948 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27984 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27985 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27986 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27990 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27992 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27993 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27994 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27995 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28000 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28001 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28002 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28003 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28004 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28005 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28006 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28007 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28008 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28009 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28010 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28011 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28012 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28013 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28015 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28016 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28017 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28018 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28019 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28020 (__isnanf): Likewise.
28021 (__isinf_ns): Likewise.
28022 (__isinf_nsf): Likewise.
28023 (__finite): Likewise.
28024 (__finitef): Likewise.
28025 (__ieee754_sqrt): Define as macro.
28026 (__ieee754_sqrtf): Define as macro.
28027 (__ieee754_sqrtl): Define as macro.
28028 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28029 inlined copy.
28030 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28031 __FINITE_MATH_ONLY__ consistent.
28032 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28033
12cc2fcd
AS
280342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28035
a843a204
AS
28036 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28037 of rawmemchr.
28038
12cc2fcd
AS
28039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28040
c853acd5
UD
280412011-10-09 Ulrich Drepper <drepper@gmail.com>
28042
28043 * po/ja.po: Update from translation team.
28044
c658d255
RM
280452011-10-08 Roland McGrath <roland@hack.frob.com>
28046
110946e4
RM
28047 * locale/programs/locarchive.c (prepare_address_space): New function.
28048 (create_archive, enlarge_archive, open_archive): Use it.
28049
50604220
RM
28050 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28051 inside [SHARED], where it is used.
28052
c658d255
RM
28053 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28054
28055 * nss/getent.c (netgroup_keys): Remove unused variable.
28056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28057
6a621eb7
UD
280582011-10-08 Ulrich Drepper <drepper@gmail.com>
28059
7edb55ce
UD
28060 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28063 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28065 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28066 * math/Makefile (libm-calls): Add s_isinf_ns.
28067 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28068 * math/multc3.c: Likewise.
28069 * math/s_casin.c: Likewise.
28070 * math/s_casinf.c: Likewise.
28071 * math/s_casinl.c: Likewise.
28072 * math/s_ccos.c: Likewise.
28073 * math/s_ccosf.c: Likewise.
28074 * math/s_ccosl.c: Likewise.
28075 * math/s_ctan.c: Likewise.
28076 * math/s_ctanf.c: Likewise.
28077 * math/s_ctanh.c: Likewise.
28078 * math/s_ctanhf.c: Likewise.
28079 * math/s_ctanhl.c: Likewise.
28080 * math/s_ctanl.c: Likewise.
28081 * math/w_fmod.c: Likewise.
28082 * math/w_fmodf.c: Likewise.
28083 * math/w_fmodl.c: Likewise.
28084 * math/w_remainder.c: Likewise.
28085 * math/w_remainderf.c: Likewise.
28086 * math/w_remainderl.c: Likewise.
28087 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28088 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28091 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28092 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28093 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28094 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28095
187da0ae
UD
28096 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28097 of the number.
28098 * stdio-common/printf_fphex.c: Likewise.
28099 * stdio-common/printf_size.c: Likewise.
28100
9277c064
UD
28101 * math/e_exp10.c: Include math_private.h using <...> not "...".
28102 * math/e_exp10f.c: Likewise.
28103 * math/e_exp10l.c: Likewise.
28104 * math/e_exp2l.c: Likewise.
28105 * math/e_j0l.c: Likewise.
28106 * math/e_j1l.c: Likewise.
28107 * math/e_jnl.c: Likewise.
28108 * math/e_lgammal_r.c: Likewise.
28109 * math/e_rem_pio2l.c: Likewise.
28110 * math/e_scalb.c: Likewise.
28111 * math/e_scalbf.c: Likewise.
28112 * math/e_scalbl.c: Likewise.
28113 * math/k_cosl.c: Likewise.
28114 * math/k_sinl.c: Likewise.
28115 * math/k_tanl.c: Likewise.
28116 * math/s_cacoshf.c: Likewise.
28117 * math/s_catan.c: Likewise.
28118 * math/s_catanf.c: Likewise.
28119 * math/s_catanh.c: Likewise.
28120 * math/s_catanhf.c: Likewise.
28121 * math/s_catanhl.c: Likewise.
28122 * math/s_catanl.c: Likewise.
28123 * math/s_ccosh.c: Likewise.
28124 * math/s_ccoshf.c: Likewise.
28125 * math/s_ccoshl.c: Likewise.
28126 * math/s_cexp.c: Likewise.
28127 * math/s_cexpf.c: Likewise.
28128 * math/s_cexpl.c: Likewise.
28129 * math/s_clog.c: Likewise.
28130 * math/s_clog10.c: Likewise.
28131 * math/s_clog10f.c: Likewise.
28132 * math/s_clog10l.c: Likewise.
28133 * math/s_clogf.c: Likewise.
28134 * math/s_clogl.c: Likewise.
28135 * math/s_csin.c: Likewise.
28136 * math/s_csinf.c: Likewise.
28137 * math/s_csinh.c: Likewise.
28138 * math/s_csinhf.c: Likewise.
28139 * math/s_csinhl.c: Likewise.
28140 * math/s_csinl.c: Likewise.
28141 * math/s_csqrt.c: Likewise.
28142 * math/s_csqrtf.c: Likewise.
28143 * math/s_csqrtl.c: Likewise.
28144 * math/s_ctan.c: Likewise.
28145 * math/s_ctanf.c: Likewise.
28146 * math/s_ctanh.c: Likewise.
28147 * math/s_ctanhf.c: Likewise.
28148 * math/s_ctanhl.c: Likewise.
28149 * math/s_ctanl.c: Likewise.
28150 * math/s_ldexp.c: Likewise.
28151 * math/s_ldexpf.c: Likewise.
28152 * math/s_ldexpl.c: Likewise.
28153 * math/s_significand.c: Likewise.
28154 * math/s_significandf.c: Likewise.
28155 * math/s_significandl.c: Likewise.
28156 * math/w_acos.c: Likewise.
28157 * math/w_acosf.c: Likewise.
28158 * math/w_acosh.c: Likewise.
28159 * math/w_acoshf.c: Likewise.
28160 * math/w_acoshl.c: Likewise.
28161 * math/w_acosl.c: Likewise.
28162 * math/w_asin.c: Likewise.
28163 * math/w_asinf.c: Likewise.
28164 * math/w_asinl.c: Likewise.
28165 * math/w_atan2.c: Likewise.
28166 * math/w_atan2f.c: Likewise.
28167 * math/w_atan2l.c: Likewise.
28168 * math/w_atanh.c: Likewise.
28169 * math/w_atanhf.c: Likewise.
28170 * math/w_atanhl.c: Likewise.
28171 * math/w_cosh.c: Likewise.
28172 * math/w_coshf.c: Likewise.
28173 * math/w_coshl.c: Likewise.
28174 * math/w_dremf.c: Likewise.
28175 * math/w_exp10.c: Likewise.
28176 * math/w_exp10f.c: Likewise.
28177 * math/w_exp10l.c: Likewise.
28178 * math/w_exp2.c: Likewise.
28179 * math/w_exp2f.c: Likewise.
28180 * math/w_fmod.c: Likewise.
28181 * math/w_fmodf.c: Likewise.
28182 * math/w_fmodl.c: Likewise.
28183 * math/w_hypot.c: Likewise.
28184 * math/w_hypotf.c: Likewise.
28185 * math/w_hypotl.c: Likewise.
28186 * math/w_j0.c: Likewise.
28187 * math/w_j0f.c: Likewise.
28188 * math/w_j0l.c: Likewise.
28189 * math/w_j1.c: Likewise.
28190 * math/w_j1f.c: Likewise.
28191 * math/w_j1l.c: Likewise.
28192 * math/w_jn.c: Likewise.
28193 * math/w_jnf.c: Likewise.
28194 * math/w_jnl.c: Likewise.
28195 * math/w_lgamma.c: Likewise.
28196 * math/w_lgamma_r.c: Likewise.
28197 * math/w_lgammaf.c: Likewise.
28198 * math/w_lgammaf_r.c: Likewise.
28199 * math/w_lgammal.c: Likewise.
28200 * math/w_lgammal_r.c: Likewise.
28201 * math/w_log.c: Likewise.
28202 * math/w_log10.c: Likewise.
28203 * math/w_log10f.c: Likewise.
28204 * math/w_log10l.c: Likewise.
28205 * math/w_log2.c: Likewise.
28206 * math/w_log2f.c: Likewise.
28207 * math/w_log2l.c: Likewise.
28208 * math/w_logf.c: Likewise.
28209 * math/w_logl.c: Likewise.
28210 * math/w_pow.c: Likewise.
28211 * math/w_powf.c: Likewise.
28212 * math/w_powl.c: Likewise.
28213 * math/w_remainder.c: Likewise.
28214 * math/w_remainderf.c: Likewise.
28215 * math/w_remainderl.c: Likewise.
28216 * math/w_scalb.c: Likewise.
28217 * math/w_scalbf.c: Likewise.
28218 * math/w_scalbl.c: Likewise.
28219 * math/w_sinh.c: Likewise.
28220 * math/w_sinhf.c: Likewise.
28221 * math/w_sinhl.c: Likewise.
28222 * math/w_sqrt.c: Likewise.
28223 * math/w_sqrtf.c: Likewise.
28224 * math/w_sqrtl.c: Likewise.
28225 * math/w_tgamma.c: Likewise.
28226 * math/w_tgammaf.c: Likewise.
28227 * math/w_tgammal.c: Likewise.
28228
6a621eb7
UD
28229 * po/ja.po: Update from translation team.
28230
bf582445
AJ
282312011-09-29 Andreas Jaeger <aj@suse.de>
28232
f9efbf3a
AJ
28233 [BZ #13179]
28234 * sunrpc/netname.c (netname2host): Fix logic.
28235
bf582445
AJ
28236 [BZ #6779]
28237 [BZ #6783]
28238 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28239 correctly.
28240 * math/w_remainder.c (__remainder): Likewise.
28241 * math/w_remainderf.c (__remainderf): Likewise.
28242 * math/libm-test.inc (remainder_test): Add test cases.
28243
48693bea
AK
282442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28245
28246 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28247 sdiv_qrnnd.
28248
42622229
LD
282492011-10-07 Ulrich Drepper <drepper@gmail.com>
28250
28251 * string/test-memcmp.c: Avoid unncessary #defines.
28252 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28253
093ecf92
LD
282542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28255
28256 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28257 Use new sse2 version for core i3 - i7 as it's faster
28258 than sse42 version.
28259 (bit_Prefer_PMINUB_for_stringop): New.
28260 * sysdeps/x86_64/rawmemchr.S: Update.
28261 Replace with faster SSE2 version.
28262 * sysdeps/x86_64/memrchr.S: New file.
28263 * sysdeps/x86_64/memchr.S: Update.
28264 Replace with faster SSE2 version.
28265
fde56e5c
MP
282662011-09-12 Marek Polacek <mpolacek@redhat.com>
28267
28268 * elf/dl-load.c (lose): Add cast to avoid warning.
28269
21fd49a9
UD
282702011-10-07 Ulrich Drepper <drepper@gmail.com>
28271
5a06e643
UD
28272 * po/ca.po: Update from translation team.
28273
684ae515
UD
28274 * inet/getnetgrent_r.c: Hook up nscd.
28275 * nscd/Makefile (routines): Add nscd_netgroup.
28276 (nscd-modules): Add netgroupcache.
28277 (CFLAGS-netgroupcache.c): Define.
28278 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28279 (cache_search): Add const to second parameter.
28280 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28281 INNETGR.
28282 (dbs): Add netgrdb entry.
28283 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28284 (verify_persistent_db): Handle netgrdb.
28285 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28286 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28287 GETFDNETGR.
28288 (netgroup_response_header): Define.
28289 (innetgroup_response_header): Define.
28290 (datahead): Add netgroup_response_header and innetgroup_response_header
28291 elements.
28292 * nscd/nscd.conf: Add entries for netgroup cache.
28293 * nscd/nscd.h (dbtype): Add netgrdb.
28294 (_PATH_NSCD_NETGROUP_DB): Define.
28295 (netgroup_iov_disabled): Declare.
28296 (xmalloc, xcalloc, xrealloc): Move declarations here.
28297 (cache_search): Adjust prototype.
28298 Add netgroup-related prototypes.
28299 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28300 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28301 (__nscd_innetgr): Declare.
28302 * nscd/selinux.c (perms): Use access_vector_t as element type and
28303 add netgroup-related initializers.
28304 * nscd/netgroupcache.c: New file.
28305 * nscd/nscd_netgroup.c: New file.
28306 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28307 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28308 For four parameters use innetgr.
28309 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28310 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28311 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28312 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28313
21fd49a9
UD
28314 * nscd/connections.c (register_traced_file): Don't register file
28315 for disabled databases.
28316
054c0457
UD
283172011-10-06 Ulrich Drepper <drepper@gmail.com>
28318
32b63198
UD
28319 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28320
054c0457
UD
28321 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28322 from tree and freeing node.
28323
64031225
JO
283242011-09-25 Jiri Olsa <jolsa@redhat.com>
28325
28326 * nss/nsswitch.c (__nss_database_lookup): Handle
28327 nss_parse_service_list out of memory case.
28328
0490345c
JO
283292011-09-15 Jiri Olsa <jolsa@redhat.com>
28330
28331 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28332 out of memory case.
28333
3a62d00d
AS
283342011-10-04 Andreas Schwab <schwab@redhat.com>
28335
28336 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28337 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28338 pass it down.
28339 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28340 elf_machine_rela, elf_machine_lazy_rel.
28341 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28342 (ELF_DYNAMIC_DO_REL): Likewise.
28343 (ELF_DYNAMIC_DO_RELA): Likewise.
28344 (ELF_DYNAMIC_RELOCATE): Likewise.
28345 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28346 to ELF_DYNAMIC_DO_REL.
28347 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28348 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28349 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28350 elf_machine_rela.
28351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28352 skip_ifunc, don't call ifunc function if non-zero.
28353 (elf_machine_rela): Likewise.
28354 (elf_machine_lazy_rel): Likewise.
28355 (elf_machine_lazy_rela): Likewise.
28356 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28357 (elf_machine_lazy_rel): Likewise.
28358 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28359 Likewise.
28360 (elf_machine_lazy_rel): Likewise.
28361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28362 Likewise.
28363 (elf_machine_lazy_rel): Likewise.
28364 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28365 (elf_machine_lazy_rel): Likewise.
28366 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28367 (elf_machine_lazy_rel): Likewise.
28368 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28369 (elf_machine_lazy_rel): Likewise.
28370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28371 (elf_machine_lazy_rel): Likewise.
28372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28373 (elf_machine_lazy_rel): Likewise.
28374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28375 (elf_machine_lazy_rel): Likewise.
28376
68577918
UD
283772011-09-28 Ulrich Drepper <drepper@gmail.com>
28378
28379 * nss/nss_files/files-init.c (_nss_files_init): Use static
28380 initialization for all the *_traced_file variables.
28381
68822d74
AS
283822011-09-28 Andreas Schwab <schwab@redhat.com>
28383
28384 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28385
2056100b
RM
283862011-09-27 Roland McGrath <roland@hack.frob.com>
28387
28388 [BZ #13226]
28389 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28390
32c76b63
AS
283912011-09-27 Andreas Schwab <schwab@redhat.com>
28392
28393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28394 Reread the line before reparsing it.
28395
bf972c9d
AS
283962011-09-26 Andreas Schwab <schwab@redhat.com>
28397
28398 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28399
e057a1b5
JM
284002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28401 Maxim Kuvyrkov <maxim@codesourcery.com>
28402 Joseph Myers <joseph@codesourcery.com>
28403
28404 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28405 if needed for __stack_chk_guard.
28406
bc7e1c36
RM
284072011-09-19 Roland McGrath <roland@hack.frob.com>
28408
ecb1482f
RM
28409 * sysdeps/posix/spawni.c (script_execute): Always define it.
28410 It will be optimized away if unused.
28411 (maybe_script_execute): New function.
28412 (__spawni): Call it.
28413
bc7e1c36
RM
28414 * Makerules: Don't include tls.make.
28415 (config-tls): Always set to thread.
28416 * tls.make.c: File removed.
28417
1c3b002b
MF
284182011-09-19 Mike Frysinger <vapier@gentoo.org>
28419
28420 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28421 * config.make.in (CPPFLAGS-config): New substituted variable.
28422
2840865d
UD
284232011-09-15 Ulrich Drepper <drepper@gmail.com>
28424
88738eb6
UD
28425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28426
cbf645a6 28427 [BZ #13192]
2840865d
UD
28428 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28429 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28430
b402e91a
RM
284312011-09-15 Roland McGrath <roland@hack.frob.com>
28432
28433 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28434 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28436 (CALL_FAIL): Likewise.
28437 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28438 (CALL_FAIL): Macro removed.
28439 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28440
4c1a1f71
UD
284412011-09-15 Ulrich Drepper <drepper@gmail.com>
28442
28443 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28444 for __FINITE_MATH_ONLY__ == 1.
28445
edc121be
AS
284462011-09-15 Andreas Schwab <schwab@redhat.com>
28447
28448 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28449 __ieee754_sqrt instead of sqrt.
28450 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28451 __ieee754_sqrtf instead of sqrtf.
28452 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28453 __floorf instead of floorf.
28454 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28455 __floorf, __truncf instead of floorf, truncf.
28456
cd205654
UD
284572011-09-14 Ulrich Drepper <drepper@gmail.com>
28458
ee4d0315
UD
28459 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28460
cd205654
UD
28461 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28462 __extern_always_inline.
28463 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28464 32-bit.
28465
48b67d71
AS
284662011-09-14 Andreas Schwab <schwab@redhat.com>
28467
28468 * elf/rtld.c (dl_main): Also relocate in dependency order when
28469 doing symbol dependency testing.
28470
1ae12c75
AS
284712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28472
28473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28474 Always define `refsym'.
28475
995a80df
AS
284762011-09-13 Andreas Schwab <schwab@redhat.com>
28477
e529793b
AS
28478 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28479 (__FD_ELT): Renamed from __FDELT.
28480 * misc/bits/select2.h (__FD_ELT): Likewise.
28481 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28482 __FD_MASK instead of __FDELT, __FDMASK.
28483 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28484 Likewise.
28485 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28486 Likewise.
28487
52d4fef8
AS
28488 * elf/Makefile (gen-ldd): Fix pattern.
28489
995a80df
AS
28490 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28491 (init_tls): Likewise.
28492
8682f8b0
UD
284932011-09-12 Ulrich Drepper <drepper@gmail.com>
28494
28495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28496
de82006d
AS
284972011-09-12 Andreas Schwab <schwab@redhat.com>
28498
a7c8e6a1
AS
28499 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28500 `struct cmsghdr *' instead of `void *'.
28501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28502 Likewise.
28503
0f31fe77
AS
285042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28505
28506 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28507 if non-absolute.
28508 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28509 ldd_rewrite_script.
0f31fe77 28510
32b4c839
UD
285112011-09-11 Ulrich Drepper <drepper@gmail.com>
28512
83cd1420
UD
28513 * configure.in: Remove --with-tls option.
28514 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28515 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28516 out in case it is missing.
28517 * sysdeps/ia64/elf/configure.in: Likewise.
28518 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28519 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28520 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28521 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28522 * sysdeps/sh/elf/configure.in: Likewise.
28523 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28525 * sysdeps/x86_64/elf/configure.in: Likewise.
28526 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28527 * sysdeps/mach/hurd/tls.h: Likewise.
28528
633f745d
UD
28529 [BZ #13067]
28530 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28531
f318beb8
UD
28532 [BZ #13090]
28533 * configure.in: Fix use of AC_INIT.
28534
32b4c839
UD
28535 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28536
3ce1f295
UD
285372011-09-10 Ulrich Drepper <drepper@gmail.com>
28538
bb016596
UD
28539 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28540 __set_errno.
8e58439c
UD
28541 * malloc/hooks.c: Likewise.
28542
aebae053 28543 [BZ #11929]
02d46fc4
UD
28544 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28545 variables statically.
28546 (narenas): Initialize.
28547 (list_lock): Initialize.
bb016596
UD
28548 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28549 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28550 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28551 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28552 Add initializers to main_arena and mp_.
28553 (malloc_state): Remove pagesize member. Change all users to use
28554 GLRO(dl_pagesize).
28555
28556 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28557 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28558 is always initialized.
28559
22a89187
UD
28560 * malloc/malloc.c: Removed unused configurations and dead code.
28561 * malloc/arena.c: Likewise.
28562 * malloc/hooks.c: Likewise.
02d46fc4 28563 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28564
d063d164
UD
28565 * include/tls.h: Removed. USE___THREAD must always be defined.
28566 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28567 * elf/dl-libc.c: Likewise.
28568 * elf/dl-tsd.c: Likewise.
28569 * include/errno.h: Likewise.
28570 * include/netdb.h: Likewise.
28571 * include/resolv.h: Likewise.
28572 * inet/herrno-loc.c: Likewise.
28573 * inet/herrno.c: Likewise.
28574 * malloc/arena.c: Likewise.
28575 * malloc/hooks.c: Likewise.
28576 * malloc/malloc.c: Likewise.
28577 * resolv/res-state.c: Likewise.
28578 * resolv/res_libc.c: Likewise.
28579 * sysdeps/i386/dl-machine.h: Likewise.
28580 * sysdeps/ia64/dl-machine.h: Likewise.
28581 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28582 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28583 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28584 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28585 * sysdeps/sh/dl-machine.h: Likewise.
28586 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28587 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28588 * sysdeps/unix/i386/sysdep.S: Likewise.
28589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28590 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28595 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28599 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28600 * sysdeps/x86_64/dl-machine.h: Likewise.
28601 * tls.make.c: Likewise.
28602
3ce1f295
UD
28603 * configure.in: Remove --with-__thread option. Make tests for
28604 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28605 tls_model attribute fail if no support is available. Remove
28606 USE_IN_LIBIO.
28607 * Makeconfig: Adjust for dropped configure option. All features are
28608 now mandatory.
28609 * Makerules: Likewise.
28610 * Versions.def: Likewise.
28611 * argp/argp-fmtstream.c: Likewise.
28612 * argp/argp-fmtstream.h: Likewise.
28613 * argp/argp-help.c: Likewise.
28614 * assert/assert.c: Likewise.
28615 * config.h.in: Likewise.
28616 * config.make.in: Likewise.
28617 * configure: Likewise.
28618 * configure.in: Likewise.
28619 * csu/Versions: Likewise.
28620 * csu/init.c: Likewise.
28621 * elf/tst-audit2.c: Likewise.
28622 * elf/tst-tls10.c: Likewise.
28623 * elf/tst-tls10.h: Likewise.
28624 * elf/tst-tls11.c: Likewise.
28625 * elf/tst-tls12.c: Likewise.
28626 * elf/tst-tls14.c: Likewise.
28627 * elf/tst-tlsmod11.c: Likewise.
28628 * elf/tst-tlsmod12.c: Likewise.
28629 * elf/tst-tlsmod13.c: Likewise.
28630 * elf/tst-tlsmod13a.c: Likewise.
28631 * elf/tst-tlsmod14a.c: Likewise.
28632 * elf/tst-tlsmod15b.c: Likewise.
28633 * elf/tst-tlsmod16a.c: Likewise.
28634 * elf/tst-tlsmod16b.c: Likewise.
28635 * elf/tst-tlsmod7.c: Likewise.
28636 * elf/tst-tlsmod8.c: Likewise.
28637 * elf/tst-tlsmod9.c: Likewise.
28638 * gmon/gmon.c: Likewise.
28639 * grp/fgetgrent_r.c: Likewise.
28640 * grp/putgrent.c: Likewise.
28641 * hurd/fopenport.c: Likewise.
28642 * include/libc-symbols.h: Likewise.
28643 * include/tls.h: Likewise.
28644 * intl/gettextP.h: Likewise.
28645 * intl/loadinfo.h: Likewise.
28646 * locale/global-locale.c: Likewise.
28647 * locale/localeinfo.h: Likewise.
28648 * mach/devstream.c: Likewise.
28649 * malloc/arena.c: Likewise.
28650 * malloc/set-freeres.c: Likewise.
28651 * misc/err.c: Likewise.
28652 * misc/getttyent.c: Likewise.
28653 * misc/mntent_r.c: Likewise.
28654 * posix/getopt.c: Likewise.
28655 * posix/wordexp.c: Likewise.
28656 * pwd/fgetpwent_r.c: Likewise.
28657 * resolv/Versions: Likewise.
28658 * resolv/res_hconf.c: Likewise.
28659 * shadow/fgetspent_r.c: Likewise.
28660 * shadow/putspent.c: Likewise.
28661 * stdio-common/printf_fphex.c: Likewise.
28662 * stdio-common/tmpfile.c: Likewise.
28663 * stdlib/abort.c: Likewise.
28664 * stdlib/fmtmsg.c: Likewise.
28665 * sunrpc/auth_unix.c: Likewise.
28666 * sunrpc/clnt_perr.c: Likewise.
28667 * sunrpc/clnt_tcp.c: Likewise.
28668 * sunrpc/clnt_udp.c: Likewise.
28669 * sunrpc/clnt_unix.c: Likewise.
28670 * sunrpc/openchild.c: Likewise.
28671 * sunrpc/svc_simple.c: Likewise.
28672 * sunrpc/svc_tcp.c: Likewise.
28673 * sunrpc/svc_udp.c: Likewise.
28674 * sunrpc/svc_unix.c: Likewise.
28675 * sunrpc/xdr.c: Likewise.
28676 * sunrpc/xdr_array.c: Likewise.
28677 * sunrpc/xdr_rec.c: Likewise.
28678 * sunrpc/xdr_ref.c: Likewise.
28679 * sunrpc/xdr_stdio.c: Likewise.
28680
1248c1c4
PB
286812011-09-09 Ulrich Drepper <drepper@gmail.com>
28682
28683 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28684
286852011-07-03 Andreas Jaeger <aj@suse.de>
28686
28687 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28688 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28689 regenerate with gen-libm-tests.pl.
28690
286912010-05-12 Petr Baudis <pasky@suse.cz>
28692
28693 [BZ #11589]
28694 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28695 around j0() zero points by switching to j1().
28696 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28700
f22e1074
UD
287012011-09-09 Ulrich Drepper <drepper@gmail.com>
28702
f19009c1
UD
28703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28704 instead of 0.
28705 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28706 instead of 0.
f19009c1
UD
28707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28708 Patch in part by Pavel Roskin <proski@gnu.org>.
28709
3f8cc204
UD
28710 [BZ #13138]
28711 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28712 realloc.
28713 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28714 Free memory block if necessary.
28715
f22e1074
UD
28716 [BZ #12847]
28717 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28718 be NULL. Don't lock in this case.
28719
0a2349f9
RM
287202011-09-09 Roland McGrath <roland@hack.frob.com>
28721
28722 * elf/elf.h (ELFOSABI_GNU): New macro.
28723 (ELFOSABI_LINUX): Define to that.
28724
f3cdd467
DZ
287252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28726
28727 * string/strncat.c (strncat): Undef the symbol in case it has been
28728 defined in bits/string.h.
28729
74718d13
UD
287302011-09-09 Ulrich Drepper <drepper@gmail.com>
28731
633e9e0f
UD
28732 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28733
0a2349f9 28734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28735 link map.
28736
f9924780
AJ
287372011-08-17 Andreas Jaeger <aj@suse.de>
28738
28739 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28740
7f5517aa
PP
287412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28742 Ian Lance Taylor <iant@google.com>
28743
28744 * math/libm-test.inc (lround_test): New testcase.
28745 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28746
762011fe
UD
287472011-09-08 Ulrich Drepper <drepper@gmail.com>
28748
92963737
UD
28749 * Makefile: Remove support for automatic cvs check-ins.
28750 * Makerules: Likewise.
28751 * config.make.in: Likewise.
28752 * configure.in: Likewise.
28753 * intl/Makefile: Likewise.
28754 * locale/Makefile: Likewise.
28755 * po/Makefile: Likewise.
28756 * posix/Makefile: Likewise.
28757 * sysdeps/gnu/Makefile: Likewise.
28758 * sysdeps/mach/hurd/Makefile: Likewise.
28759 * sysdeps/sparc/sparc32/Makefile: Likewise.
28760
b0727fd8
JS
28761 [BZ #13118]
28762 * posix/Makefile (bug-regex32-ENV): Define.
28763 Patch by John Stanley <jpsinthemix@verizon.net>.
28764
a0f33f99
UD
28765 * misc/Makefile (headers): Add bits/select2.h.
28766 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28767 * misc/bits/select2.h: New file.
28768 * include/bits/select2.h: New file.
28769 * debug/Makefile (routines): Add fdelt_chk.
28770 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28771 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28772 FD_ISSET.
28773 * debug/fdelt_chk.c: New file.
28774
762011fe
UD
28775 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28776 * wcsmbs/test-wmemcmp.c: Likewise.
28777 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28778 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28779
287802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28781
28782 * string/Makefile (strop-tests): Add memcmp.
28783 * string/test-wmemcmp.c: New file.
28784 * string/test-memcmp.c: Add wmemcmp support.
28785
7f513ec8
RM
287862011-09-08 Roland McGrath <roland@hack.frob.com>
28787
0442afb4
RM
28788 [BZ #13153]
28789 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28790 2011-07-19 change.
28791
7f513ec8
RM
28792 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28793 garbage value in a __mach_port_mod_refs call in the cases of the
28794 task-self and thread-self ports.
28795
a12b2239
ST
287962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28797
28798 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28799
610f9ab4
AS
288002011-09-08 Andreas Schwab <schwab@redhat.com>
28801
7f513ec8 28802 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28803
48882a1a
LD
288042011-09-07 Ulrich Drepper <drepper@gmail.com>
28805
b49865be
UD
28806 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28807
fdc86bc9
UD
28808 * elf/dl-libc.c (dlerror_run): Pass back error code from
28809 dl_catch_error.
28810
c966526a
UD
28811 [BZ #13123]
28812 * elf/dl-load.c (lose): Free l_origin if it is valid.
28813
48882a1a
LD
28814 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28815 names.
28816 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28819 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28820 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28821 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28822
77a2a8b4
AZ
288232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28824
28825 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28826 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28828 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28829 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28830 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28831 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28832 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28833 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28834 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28835
24f579d8
AM
288362011-08-15 Alan Modra <amodra@gmail.com>
28837
28838 [BZ #13092]
28839 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28840 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28841 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28842 ppc_mcount to static-only-routines.
28843 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28844 __mcount_internal.
28845 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28846 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28847
3d4837df
UD
288482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28849
28850 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28851 for finite and infinity parameters.
28852
22700377
WS
288532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28854
28855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28856 and add nop instructions for throughput optimization.
28857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28858
5025581e
WS
288592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28860
28861 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28862 aligned copy for power7 with vector-scalar instructions.
28863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28864
08a300c9
L
288652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28866
28867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28868 AVX check.
28869
59178ef9
AS
288702011-09-07 Andreas Schwab <schwab@redhat.com>
28871
28872 [BZ #13144]
28873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28874 last change.
28875
e38ba7ab
UD
288762011-09-07 Ulrich Drepper <drepper@gmail.com>
28877
28878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28879 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28880 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28881 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28882 clock_gettime.
28883
d53a73ac
UD
288842011-09-06 Ulrich Drepper <drepper@gmail.com>
28885
fc8bffcc
UD
28886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28887 Forgot to demangle the pointer.
28888
ceaa0c5d
UD
28889 * sysdeps/i386/sysdep.h: Define atom_text_section.
28890 * sysdeps/x86_64/sysdep.h: Likewise.
28891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28892 section with atom_text_section.
28893 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28894 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28895 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28898
a77d3c17
UD
28899 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28900 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28901 already be defined. Change to take two parameters and don't assign
28902 result to variable. Adjust all users.
28903 Define INTERNAL_GETTIME if not already defined.
28904 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28905 call.
28906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28907 HAVE_CLOCK_GETTIME_VSYSCALL.
28908 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28909
d53a73ac
UD
28910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28911 gettimeofday vsyscall, just use time.
28912
a8f84144
AS
289132011-09-06 Andreas Schwab <schwab@redhat.com>
28914
28915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28916 <errno.h>.
28917
ef606249
UD
289182011-09-06 Ulrich Drepper <drepper@gmail.com>
28919
28920 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28921 syscall on x86-64.
28922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28923 syscall.
28924 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28925 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28926 syscall if possible.
28927
6585cb60
UD
289282011-09-05 Ulrich Drepper <drepper@gmail.com>
28929
28930 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28931 e_ident. Don't pass to find_mapsXX.
28932 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28933
a5f524e4
LD
289342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28935
28936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28937 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28938 * sysdeps/x86_64/multiarch/strchr.S: Update.
28939 Check bit_slow_BSF bit.
28940 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28941 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28942 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28943
554881ef
UD
289442011-09-05 Ulrich Drepper <drepper@gmail.com>
28945
d96de963
UD
28946 [BZ #13134]
28947 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28948 before glibc 2.15.
28949 (tryshell): Define.
28950 (__spawni): Change last parameter to be flag. Test
28951 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28952 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28953 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28954 * posix/spawni.c: Likewise.
28955 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28956 * posix/spawnp.c: Likewise. Change normal version to use
28957 SPAWN_XFLAGS_USE_PATH.
28958 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28959 SPAWN_XFLAGS_TRY_SHELL.
28960
d48e5868
UD
28961 [BZ #13150]
28962 * posix/glob.h: Remove gcc 1.x support.
28963
554881ef
UD
28964 [BZ #13068]
28965 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28966
693fb948
LD
289672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28968
28969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28970 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28971 strrchr-sse2-bsf
28972 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28973 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28974 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28975 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28976 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28977 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28978
1b48c537
UD
289792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28980
49d42c37
UD
28981 * sysdeps/x86_64/wcscmp.S: New file.
28982
1b48c537
UD
28983 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28984 wcscmp-c wcscmp-sse2
28985 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28986 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28987 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28988 * wcsmbs/wcscmp.c: Allow renaming.
28989
15c95c5d
DM
289902011-09-05 David S. Miller <davem@davemloft.net>
28991
28992 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28993 stack slot, rather than the struct return pointer slot.
28994 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28995 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28997 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28998
2f0ad8f3
UD
289992011-09-05 Ulrich Drepper <drepper@gmail.com>
29000
d88ae418
UD
29001 * po/ja.po: Update from translation team.
29002
2f0ad8f3
UD
29003 [BZ #13144]
29004 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29005 kernel in 64-bit binaries.
29006
5f4318d1
DM
290072011-09-01 David S. Miller <davem@davemloft.net>
29008
29009 * elf/elf.h (HWCAP_SPARC_*): Move to..
29010 * sysdeps/sparc/sysdep.h: this new file and add new values.
29011 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29012 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29013 _DL_HWCAP_COUNT to 24.
29014 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29015 entries.
29016 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29017 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29018 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29020 instead of magic constants.
29021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29022
3ba57516
DM
290232011-08-31 David S. Miller <davem@davemloft.net>
29024
29025 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29027 Reimplement to do errno handling inline.
29028 (SYSCALL_ERROR_HANDLER): New macro.
29029 (__SYSCALL_STRING): Do not do errno handling in asm.
29030 (__CLONE_SYSCALL_STRING): Delete.
29031 (__INTERNAL_SYSCALL_STRING): Delete.
29032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29033 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29034 (PSEUDO): Reimplement to do errno handling inline.
29035 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29036 (SYSCALL_ERROR_HANDLER): New macro.
29037 (__SYSCALL_STRING): Do not do errno handling in asm.
29038 (__CLONE_SYSCALL_STRING): Delete.
29039 (__INTERNAL_SYSCALL_STRING): Delete.
29040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29041 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29042 i386.
29043 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29044 (inline_syscall*): Add 'err' argument.
29045 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29046 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29047 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29048 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29049
29050 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29051 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29052
2bc17433
AS
290532011-08-30 Andreas Schwab <schwab@redhat.com>
29054
29055 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29056
fbeb5f4d
JO
290572011-08-29 Jiri Olsa <jolsa@redhat.com>
29058
29059 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29060 directive.
29061
ad69cc26
DM
290622011-08-24 David S. Miller <davem@davemloft.net>
29063
29064 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29065
39dd69df
AS
290662011-08-24 Andreas Schwab <schwab@redhat.com>
29067
29068 * elf/Makefile: Add rules to build and run unload8 test.
29069 * elf/unload8.c: New file.
29070 * elf/unload8mod1.c: New file.
29071 * elf/unload8mod1x.c: New file.
29072 * elf/unload8mod2.c: New file.
29073 * elf/unload8mod3.c: New file.
29074
29075 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29076 it wasn't used.
29077
2c0b250a
DM
290782011-08-23 David S. Miller <davem@davemloft.net>
29079
29080 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29081 subtract stack bias.
29082 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29083 %sp not %fp in calculations.
29084 (_JMPBUF_UNWINDS_ADJ): Likewise.
29085
22044b48
DM
29086 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29087 (aio_suspend): Call it to force an exception region around the
29088 AIO_MISC_WAIT() invocation.
29089
2cae4995
AS
290902011-08-23 Andreas Schwab <schwab@redhat.com>
29091
29092 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29093 backslash.
29094
873a772e
AJ
290952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29096
29097 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29098 protection macro.
29099 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29100 and <dl-machine.h>.
29101 (Elf64_FuncDesc): Remove.
29102
25ad0df1
DM
291032011-08-22 David S. Miller <davem@davemloft.net>
29104
29105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29106 sigaltstack check, add missing cfi directives.
29107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29108 missing cfi directives, and sigaltstack handling.
29109
e888bcbe
AS
291102011-08-16 Andreas Schwab <schwab@redhat.com>
29111
29112 [BZ #11724]
29113 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29114 object is seen twice.
29115 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29116
29117 * elf/Makefile (distribute): Add tst-initorder2.c.
29118 (tests): Add tst-initorder2.
29119 (modules-names): Add tst-initorder2a tst-initorder2b
29120 tst-initorder2c tst-initorder2d. Add rules to build them.
29121 ($(objpfx)tst-initorder2.out): New rule.
29122 * elf/tst-initorder2.c: New file.
29123 * elf/tst-initorder2.exp: New file.
29124
87162f46
AS
291252011-08-22 Andreas Schwab <schwab@redhat.com>
29126
70538b7f
AS
29127 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29128
f55ffe58
AS
29129 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29130 dependencies back to end of function.
29131
87162f46
AS
29132 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29133 $(elfobjdir)/ld.so.
29134
91b392a4
UD
291352011-08-21 Ulrich Drepper <drepper@gmail.com>
29136
29137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29138 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29140 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29141 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29142 of __vdso_gettimeofday.
29143 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29144 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29145 attribute_hidden.
29146 (_libc_vdso_platform_setup): Remove initialization of
29147 __vdso_gettimeofday and __vdso_time.
29148
5c43483f
UD
291492011-08-20 Ulrich Drepper <drepper@gmail.com>
29150
775a77e7
UD
29151 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29152 and fgetc_unlocked.
29153 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29154 getc_unlocked.
89f447ed 29155
49c74ba9
UD
29156 * elf/dl-open.c (add_to_global): Report additions to the global scope
29157 for LD_DEBUG=scopes.
29158 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29159 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29160
5c43483f
UD
29161 [BZ #13114]
29162 * stdio-common/Makefile (tests): Add bug24.
29163 * stdio-common/bug24.c: New file.
29164
a101b025
AJ
291652011-08-19 Andreas Jaeger <aj@suse.de>
29166
29167 [BZ #13114]
29168 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29169 non-existant file when using close-on-exec mode.
29170
c88f1766
UD
291712011-08-20 Ulrich Drepper <drepper@gmail.com>
29172
0276a718
UD
29173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29174 the very first instruction.
29175
c88f1766
UD
29176 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29177 the CFI state in the end.
29178 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29179 inclusion of dl-trampoline.h.
29180 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29181
51ccffa0
AS
291822011-08-19 Andreas Schwab <schwab@redhat.com>
29183
94d7165f
AS
29184 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29185 expectations for long double.
29186
51ccffa0
AS
29187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29188 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29189
fd708658 291902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29191
29192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29193 artificual limit depends upon the system page size.
29194
44f0a71e
UD
291952011-08-17 Ulrich Drepper <drepper@gmail.com>
29196
29197 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29198 * resolv/Makefile: Define CFLAGS-libresolv.
29199
8de79a24
AS
292002011-08-17 Andreas Schwab <schwab@redhat.com>
29201
29202 * nss/makedb.c (compute_tables): Make variables used in nested
29203 function static.
29204
27724598
UD
292052011-08-17 Ulrich Drepper <drepper@gmail.com>
29206
c5305d88
UD
29207 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29208 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29209 if buffer was too small.
29210
27724598
UD
29211 * elf/pldd.c (main): Attach to all threads in the process.
29212 Rewrite /proc handling to use *at functions.
29213
076fe015
UD
292142011-08-16 Ulrich Drepper <drepper@gmail.com>
29215
174baab3
UD
29216 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29217 specifies first scope to show.
29218 (dl_open_worker): Update callers. Move printing scope of new
29219 object to before the relocation.
44f0a71e 29220 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29221 * sysdeps/generic/ldsodefs.h: Update declaration.
29222
076fe015
UD
29223 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29224 string for the scope number.
29225
a60df2c3
UD
292262011-08-14 Ulrich Drepper <drepper@gmail.com>
29227
29228 * nscd/servicescache.c (cache_addserv): Make sure written is always
29229 initialized.
29230
5e4287d1
RM
292312011-08-14 Roland McGrath <roland@hack.frob.com>
29232
85ae0589
RM
29233 * sysdeps/i386/i486/bits/atomic.h
29234 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29235 statement expression, so as to suppress "set but not used" warning.
29236 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29237
69f63097
RM
29238 * string/strncat.c (STRNCAT): Use prototype definition.
29239
675456ef
RM
29240 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29241 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29242 -Iprograms here.
29243 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29244 (localedef-modules): Add localedef.
29245 (locale-modules): Add locale.
29246
5e4287d1
RM
29247 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29248 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29249 to avoid a warning.
29250
9c96ff23
DM
292512011-08-14 David S. Miller <davem@davemloft.net>
29252
29253 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29254 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29255
f9ddf089
UD
292562011-08-13 Ulrich Drepper <drepper@gmail.com>
29257
44f0a71e 29258 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29259 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29260 * elf/rtld.c (dl_main): Set l_name of vDSO.
29261 Call _dl_show_scope when DL_DEBUG_SCOPES.
29262 (process_dl_debug): Recognize scopes flag and also set it for all.
29263 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29264 Declare _dl_show_scope.
29265
1dc27704
UD
29266 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29267 (do_dlopen): Pass caller_dlopen to dl_open.
29268 (__libc_dlopen_mode): Initialize caller_dlopen.
29269
f9ddf089
UD
29270 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29271 of libc. Make tolower call locale-independent. Optimize a bit by
29272 using isdigit instead of isalnum.
29273 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29274
9ac533d3
UD
292752011-08-12 Ulrich Drepper <drepper@gmail.com>
29276
29277 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29278 was a dependency or dynamically loaded.
29279
89edf2e9
UD
292802011-08-11 Ulrich Drepper <drepper@gmail.com>
29281
8e999d29
UD
29282 * intl/l10nflist.c: Allow architecture-specific pop function.
29283 * sysdeps/x86_64/l10nflist.c: New file.
29284
89edf2e9
UD
29285 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29286 classification.
29287
14d96785
AS
292882011-08-10 Andreas Schwab <schwab@redhat.com>
29289
29290 * include/dirent.h: Add libc_hidden_proto for scandirat and
29291 scandirat64. Don't declare __scandirat64.
29292 * dirent/scandirat.c: Add libc_hidden_def.
29293 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29294 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29295
6761ac04
DM
292962011-08-10 David S. Miller <davem@davemloft.net>
29297
29298 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29299 enum.
29300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29303
c55fbd1e
UD
293042011-08-09 Ulrich Drepper <drepper@gmail.com>
29305
29306 * Versions.def [libc]: Add GLIBC_2.15.
29307 * dirent/Makefile (routines): Add scandirat and scandirat64.
29308 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29309 GLIBC_2.15.
29310 * dirent/dirent.h: Declare scandirat and scandirat64.
29311 * dirent/scandirat.c: New file.
29312 * dirent/scandirat64.c: New file.
29313 * sysdeps/wordsize-64/scandirat.c: New file.
29314 * sysdeps/wordsize-64/scandirat64.c: New file.
29315 * dirent/opendir.c: Define opendirat.
29316 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29317 using scandirat.
29318 * dirent/scandir64.c: Adjust for scandir.c change.
29319 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29320 __scandirat64, and __scandir_cancel_handler.
29321 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29322 additional parameter and use openat instead of open (outside of ld.so).
29323 Add new __opendir as wrapper around __opendirat.
29324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29325 here without requiring old scandirat implementation.
29326
879165f2
UD
293272011-08-08 Ulrich Drepper <drepper@gmail.com>
29328
29329 * dirent/scandir.c (cancel_handler): Renamed to
29330 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29331 defined. Adjust users.
29332 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29333 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29334
cb7e923b
UD
293352011-08-04 Ulrich Drepper <drepper@gmail.com>
29336
16292edd
UD
29337 * string/test-string.h (IMPL): Use __STRING to expand name and then
29338 stringify it.
29339
cb7e923b
UD
29340 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29341 of cleanups.
29342
cff82933
LD
293432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29344
29345 * string/Makefile: Update.
29346 (strop-tests): Append strncat.
29347 * string/test-wcscmp.c: New file.
29348 New comprehensive test for wcscmp.
29349 * string/test-strcmp.c: Update.
29350 (WIDE): New define.
29351
9be9bfcc
AS
293522011-07-22 Andreas Schwab <schwab@redhat.com>
29353
29354 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29355 line.
29356
2e96f1c7
AS
293572011-07-26 Andreas Schwab <schwab@redhat.com>
29358
29359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29360 encoding to ACE if AI_IDN.
29361
85188888
JJ
293622011-08-01 Jakub Jelinek <jakub@redhat.com>
29363
29364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29365 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29366
5fa16e9b
LD
293672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29368
29369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29370 Fix overflow bug in strncat.
29371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29372
29373 * string/test-strncat.c: Update.
29374 Add new tests for checking overflow bugs.
29375
293762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29377
29378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29379 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29380 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29381 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29382 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29383 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29384 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29385 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29386 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29387
29388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29389 (USE_AS_STRCAT): Define.
29390 Add strcat and strncat support.
29391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29392
8c1a459f
AS
293932011-07-25 Andreas Schwab <schwab@redhat.com>
29394
29395 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29396 __n bigger than INT_MAX+1.
29397 (__strncmp_g): Likewise.
29398
bba33c28
UD
293992011-07-23 Ulrich Drepper <drepper@gmail.com>
29400
798be72d
UD
29401 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29402 * libio/stido.h: Likewise.
29403
8accd4dc
UD
29404 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29405 (AF_NFC): Define.
29406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29407 (AF_NFC): Define.
29408
cbff0d96
UD
29409 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29412 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29414
9191c04a
UD
29415 [BZ #13021]
29416 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29417 installed.
29418
bba33c28
UD
29419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29420 typo.
29421 (_dl_x86_64_save_sse): Likewise.
29422
90f139dd
UD
294232011-07-22 Ulrich Drepper <drepper@gmail.com>
29424
1aae088a
UD
29425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29426 OSXSAVE.
29427 (_dl_x86_64_save_sse): Likewise.
29428
8e2045f5
UD
29429 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29430
90f139dd
UD
29431 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29432
1d002f25
AS
294332011-07-21 Andreas Schwab <schwab@redhat.com>
29434
29435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29436 change.
29437 (_dl_x86_64_save_sse): Use correct AVX check.
29438
21137f89
UD
294392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29440
29441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29442 bug in strncpy/strncat.
29443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29444
a65c0b7a
UD
294452011-07-21 Ulrich Drepper <drepper@gmail.com>
29446
29447 * string/tester.c (test_strcat): Add tests for different alignments
29448 of source and destination.
29449 (test_strncat): Likewise.
29450
6986b98a
UD
294512011-07-20 Ulrich Drepper <drepper@gmail.com>
29452
90bb2039
UD
29453 [BZ #12852]
29454 * posix/glob.c (glob): Check passed in values before using them in
29455 expressions to avoid some overflows.
29456 (glob_in_dir): Likewise.
29457
5644ef54
UD
29458 [BZ #13007]
29459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29460 check for AVX enablement so that we don't crash with old kernels and
29461 new hardware.
29462 * elf/tst-audit4.c: Add same checks here.
29463 * elf/tst-audit6.c: Likewise.
29464
29465 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29466
bfc9dc9b
AS
294672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29468
29469 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29470
702e64bb
UD
294712011-07-20 Ulrich Drepper <drepper@gmail.com>
29472
29473 * po/cs.po: Update from translation team.
29474 * po/bg.po: Likewise.
29475
295e904f
MP
294762011-07-12 Marek Polacek <mpolacek@redhat.com>
29477
29478 * misc/sys/cdefs.h: Add support for const attribute.
29479 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29480 to gnu_dev_{major,minor,makedev} functions.
29481
3ff94596
MP
294822011-07-20 Marek Polacek <mpolacek@redhat.com>
29483
29484 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29485
28b59fca
AS
294862011-07-20 Andreas Schwab <schwab@redhat.com>
29487
29488 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29489 strlen results.
29490
19df733e
AK
294912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29492
29493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29494 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29495 register in order to avoid conflicts with the soft frame pointer
29496 being held in r11 when necessary.
29497 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29498 (INTERNAL_VSYSCALL_NCS): Likewise.
29499
c8835729
MP
295002011-07-14 Marek Polacek <mpolacek@redhat.com>
29501
29502 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29503 * elf/dl-fini.c (_dl_fini): Adjust caller.
29504 * elf/dl-close.c (_dl_close_worker): Likewise.
29505 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29506
b902330c
MP
295072011-07-15 Marek Polacek <mpolacek@redhat.com>
29508
8991e135
MP
29509 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29510 "aux_cache->nlibs < 0".
29511
b902330c
MP
29512 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29513 in the reload-count case.
29514
99710781
LD
295152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29516
29517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29518 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29519 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29520 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29521 * sysdeps/x86_64/multiarch/strcat.S: New file.
29522 * sysdeps/x86_64/multiarch/strncat.S: New file.
29523 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29525 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29526 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29528 (USE_AS_STRCAT): Define.
29529 Add strcat and strncat support.
29530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29531 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29532 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29533 * string/strncat.c: Update.
29534 (USE_AS_STRNCAT): Define.
29535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29536 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29537 and i7.
29538 * sysdeps/x86_64/multiarch/init-arch.h
29539 (bit_Prefer_PMINUB_for_stringop): New.
29540 (index_Prefer_PMINUB_for_stringop): Likewise.
29541 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29542 bit_Prefer_PMINUB_for_stringop.
29543
7dc6bd90
UD
295442011-07-19 Ulrich Drepper <drepper@gmail.com>
29545
29546 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29547 buffer64.
29548 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29549 of casting of buffer.
29550 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29551 buffer32 and buffer64.
29552 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29553 writes instead of casting of buffer.
29554 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29555 buffer32.
29556 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29557 casting of buffer.
29558
e0e72284
AS
295592011-07-19 Andreas Schwab <schwab@redhat.com>
29560
29561 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29562
feb1eb0b
UD
295632011-07-19 Ulrich Drepper <drepper@gmail.com>
29564
29565 * nscd/nscd.c (termination_handler): Don't do anything for a database
29566 if it has not yet been initialized.
29567
298711ff
UD
295682011-07-18 Ulrich Drepper <drepper@gmail.com>
29569
29570 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29571
295722011-07-15 Marek Polacek <mpolacek@redhat.com>
29573
29574 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29575
f9d68389
UD
295762011-07-18 Ulrich Drepper <drepper@gmail.com>
29577
29578 * po/nl.po: Update from translation team.
29579 * po/sv.po: Likewise.
29580
db290cf5
RM
295812011-07-16 Roland McGrath <roland@hack.frob.com>
29582
29583 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29584 now disallowed by GCC.
5c550700 29585
fd5e21c7
RM
29586 * configure.in (use-default-link): Default to yes if a test -shared
29587 link meets our qualifications.
29588 * configure: Regenerated.
29589
5c550700
RM
29590 * config.make.in (output-format): New variable.
29591 * configure.in: Check for ld --print-output-format support.
29592 * configure: Regenerated.
29593 * Makerules ($(common-objpfx)format.lds)
29594 [$(output-format) != unknown]: Just use $(output-format),
29595 instead of the linker-script munging.
29596
9fa2c032
RM
295972011-07-14 Roland McGrath <roland@hack.frob.com>
29598
a6928d51
RM
29599 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29600 of $(common-objpfx)shlib.lds.
29601 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29602
661607b3
RM
29603 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29604 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29605
9fa2c032
RM
29606 * configure.in (-z relro check): Adjust test code to add a large
29607 writable data section after it.
29608 * configure: Regenerated.
29609
defe9061
RM
296102011-07-11 Roland McGrath <roland@hack.frob.com>
29611
29612 * configure.in (-z relro check): Fix test code to make the variable
29613 truly const.
29614 * configure: Regenerated.
29615
319b9ad4
UD
296162011-07-11 Ulrich Drepper <drepper@gmail.com>
29617
29618 * nscd/nscd.h (struct traced_file): Define.
29619 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29620 elements. Add traced_files.
29621 (inotify_fd): Declare.
29622 (register_traced_file): Declare.
29623 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29624 (inotify_fd): Export.
29625 (resolv_conf_descr): Remove.
29626 (nscd_init): Move inotify descriptor creation to main.
29627 Don't register files for notification here.
29628 (register_traced_file): New function.
29629 (invalidate_cache): Don't use reset_res to determine whether to call
29630 res_init, go through the list of registered files.
29631 (main_loop_poll): The inotify descriptors are now stored in the
29632 structures for the traced files.
29633 (main_loop_epoll): Likewise
29634 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29635 to __nss_disable_nscd.
29636 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29637 for a database anymore. Check the records for all the registered
29638 files instead.
29639 * nss/Makefile (libnss_files-routines): Add files-init.
29640 (libnss_db-routines): Add db-init.
29641 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29642 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29643 * nss/nss_db/db-init.c: New file.
29644 * nss/nss_files/files-init.c: New file.
29645 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29646 __nss_lookup_function.
29647 (__nss_lookup_function): Call nss_load_library.
29648 (nss_load_all_libraries): New function.
29649 (__nss_disable_nscd): Take parameter with callback function for files
29650 to register. Set is_nscd. Load all the DSOs for the NSS modules
29651 used for the cached services.
29652 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29653 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29654 options for features to all the files in nscd.
29655
29656 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29657
23bee3e8
RM
296582011-07-10 Roland McGrath <roland@hack.frob.com>
29659
29660 * csu/elf-init.c (__libc_csu_init): Comment typo.
29661
46a5b7f0
UD
296622011-07-09 Ulrich Drepper <drepper@gmail.com>
29663
29664 * po/pl.po: Update from translation team.
29665 * po/ja.po: Likewise.
29666 * po/ru.po: Likewise.
29667 * po/ko.po: Likewise.
29668 * po/fr.po: Likewise.
29669
d30cf5bb
RM
296702011-07-09 Roland McGrath <roland@hack.frob.com>
29671
113ddea4
RM
29672 * configure.in (.ctors/.dtors header and trailer check):
29673 Use an empirical test on a built program.
29674 * configure: Regenerated.
29675
574920b4
RM
29676 * configure.in (-z relro check): Use an empirical test on a built DSO.
29677 Detect, but do not require, on ia64.
29678 * configure: Regenerated.
29679
d30cf5bb
RM
29680 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29681 Update tests that use readelf to use $READELF instead.
29682 * configure: Regenerated.
29683
8538fdb3
UD
296842011-07-08 Ulrich Drepper <drepper@gmail.com>
29685
29686 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29687 if the result is not used.
29688
04d08991
AJ
296892011-07-05 Andreas Jaeger <aj@suse.de>
29690
29691 [BZ#9696]
29692 * stdlib/tst-strtod.c: Add testcase.
29693
de283087
AD
296942011-07-07 Ulrich Drepper <drepper@gmail.com>
29695
4e5f31c8 29696 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29697 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29698 The latter has a higher limit. Take additional parameter to pass to
29699 the new function.
29700 (__pathconf): Pass file to __statfs_link_max.
29701 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29702 __statfs_link_max.
29703 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29704 __statfs_link_max.
29705
de283087
AD
29706 [BZ #12868]
29707 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29708 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29709 Handle Lustre.
29710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29711 (__statfs_filesize_max): Likewise.
29712 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29713
c75fa153
AJ
297142011-07-05 Andreas Jaeger <aj@suse.de>
29715
29716 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29717
1a544854
UD
297182011-07-06 Marek Polacek <mpolacek@redhat.com>
29719
29720 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29721 `status' variable.
29722 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29723 Likewise.
29724
6f0eec67
UD
297252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29726
29727 * Makefile (strop-tests): Add strncat.
29728 * string/test-strncat.c: New file.
29729
aae30307
UD
297302011-06-30 Marek Polacek <mpolacek@redhat.com>
29731
29732 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29733
c0cfb5eb
UD
297342011-06-21 Andreas Jaeger <aj@suse.de>
29735
29736 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29737 Copy rule from iconvdata/Makefile.
29738
01636b21
UD
297392011-07-06 Ulrich Drepper <drepper@gmail.com>
29740
29741 [BZ #12922]
29742 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29743 but no long options are defined, just return 'W'.
29744
9895c8bc
UD
297452011-06-22 Marek Polacek <mpolacek@redhat.com>
29746
29747 [BZ #9696]
29748 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29749
5d4cf042
UD
297502011-07-06 Ulrich Drepper <drepper@gmail.com>
29751
29752 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29753 netgroups to read.
960e5535 29754 (innetgr): Likewise.
5d4cf042 29755
751eb97e
RM
297562011-07-05 Roland McGrath <roland@hack.frob.com>
29757
29758 * config.make.in (install_root): Default to $(DESTDIR).
29759
f15f1e45
UD
297602011-07-05 Ulrich Drepper <drepper@gmail.com>
29761
29762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29763
4e34ac6a
RM
297642011-07-02 Roland McGrath <roland@hack.frob.com>
29765
5e9b6af4
RM
29766 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29767
84f9ea0f
RM
29768 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29769 containing directory rather than embedding absolute directory names.
29770
ea5ee9f7
RM
29771 * scripts/check-local-headers.sh: Rewritten using awk.
29772 Match by word, not by line. Print error messages for matches.
29773 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29774
1b74661a
RM
29775 * Makerules [shlib-lds-flags empty]:
29776 ($(common-objpfx)libc_pic.opts): New target.
29777 ($(common-objpfx)libc_pic.os.clean): New target.
29778 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29779
29780 * config.make.in (OBJCOPY): New variable.
29781 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29782 * configure: Regenerated.
29783
f781ef40
RM
29784 * config.make.in (use-default-link): New variable.
29785 * configure.in (use_default_link): Grok --with-default-link to set it.
29786 * configure: Regenerated.
29787 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29788 (shlib-lds, shlib-lds-flags): Define to empty.
29789
2d4fa81e
RM
29790 * Makerules (shlib-lds): New variable.
29791 (shlib-lds-flags): New variable.
29792 (build-shlib, build-moduile, build-module-asneeded): Use it.
29793 ($(common-objpfx)libc.so): Use $(shlib-lds).
29794 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29795 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29796
31fffa6b
RM
29797 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29798 DT_FLAGS/DT_FLAGS_1 with zero flags.
29799
4e34ac6a
RM
29800 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29801 linker script munging.
29802
fcfc776b
UD
298032011-07-02 Ulrich Drepper <drepper@gmail.com>
29804
29805 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29806 as 128-bit value.
29807 * crypt/sha512.c (sha512_process_block): Perform total addition using
29808 128-bit if possible.
29809 (__sha512_finish_ctx): Likewise.
29810 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29811 as 64-bit value.
29812 * crypt/sha256.c (SWAP64): Define.
29813 (sha256_process_block): Perform total addition using 64-bit if
29814 possible.
29815 (__sha256_finish_ctx): Likewise.
29816
99231d9a
UD
298172011-07-01 Ulrich Drepper <drepper@gmail.com>
29818
29819 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29821 * nscd/hstcache.c (cache_addhst): Likewise.
29822 * nscd/grpcache.c (cache_addgr): Likewise.
29823 * nscd/aicache.c (addhstaiX): Likewise
29824 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29825
445b4a53
TK
298262011-07-01 Thorsten Kukuk <kukuk@suse.de>
29827
29828 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29830 * nscd/hstcache.c (cache_addhst): Likewise.
29831 * nscd/grpcache.c (cache_addgr): Likewise.
29832 * nscd/aicache.c (addhstaiX): Likewise
29833
6d4d8e8e
AS
298342011-07-01 Andreas Schwab <schwab@redhat.com>
29835
29836 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29837 domain only when needed.
29838
89f654c5
AS
298392011-06-30 Andreas Schwab <schwab@redhat.com>
29840
29841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29842 is always restored.
29843
cf3b23ff
UD
298442011-06-29 Ulrich Drepper <drepper@gmail.com>
29845
29846 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29847 are re-adding the entry.
29848 * nscd/servicescache.c (cache_addserv): Likewise.
29849
751626f9
AJ
298502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29851
29852 * sysdeps/generic/dl-irel.h: fix protection against multiple
29853 inclusions.
29854 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29855
9113ea1f
UD
298562011-06-28 Ulrich Drepper <drepper@gmail.com>
29857
5c0b8d90
UD
29858 [BZ #12935]
29859 * malloc/memusage.sh: Fix quoting in message.
29860 * debug/xtrace.sh: Likewise.
29861
9113ea1f
UD
29862 * configure.in: Remove support for --experimental-malloc option, make
29863 it the default.
29864 * config.make.in: Likewise.
29865 * malloc/Makefile: Likewise.
29866
a4172181
AS
298672011-06-27 Andreas Schwab <schwab@redhat.com>
29868
29869 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29870 two-byte characters.
29871
78a7eee7
RM
298722011-06-27 Roland McGrath <roland@hack.frob.com>
29873
62bede13
RM
29874 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29875 AC_CACHE_CHECK invocation.
29876 * configure: Regenerated.
29877
78a7eee7
RM
29878 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29879
5ce33a62
UD
298802011-06-27 Ulrich Drepper <drepper@gmail.com>
29881
034807a9
UD
29882 [BZ #12350]
29883 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29884 bit from old_res_options.
29885
4902da17
UD
29886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29887
5ce33a62
UD
29888 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29889 value type for setfct.
29890
c2344f56
L
298912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29892
29893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29894 __gettimeofday instead of gettimeofday.
29895
68468076
UD
298962011-06-26 Ulrich Drepper <drepper@gmail.com>
29897
29898 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29899
acb0d739
L
299002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29901
29902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29903
29904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29905 info.
29906
8912479f
L
299072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29908
29909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29910 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29911 strcpy-sse2-unaligned strncpy-sse2-unaligned
29912 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29913 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29914 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29915 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29916 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29919 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29920 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29921 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29922 (STRCPY): Support SSE2 and SSSE3 versions.
29923
d5495a11
UD
299242011-06-24 Ulrich Drepper <drepper@gmail.com>
29925
29926 [BZ #12874]
29927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29928 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29929 kernels which artificially limit size of requests.
29930
0b1cbaae
L
299312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29932
29933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29934 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29935 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29936 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29937 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29938 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29939 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29940 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29942 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29943 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29944 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29945 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29946 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29947 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29949 Enable unaligned load optimization for Intel Core i3, i5 and i7
29950 processors.
29951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29952 Define.
29953 (index_Fast_Unaligned_Load): Define.
29954 (HAS_FAST_UNALIGNED_LOAD): Define.
29955
07f494a0
MP
299562011-06-23 Marek Polacek <mpolacek@redhat.com>
29957
29958 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29959
fa3fc0fe
UD
299602011-06-22 Ulrich Drepper <drepper@gmail.com>
29961
29962 [BZ #12907]
29963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29964 until it is clear that the information is realy needed.
29965 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29966
e12df166
AS
299672011-06-22 Andreas Schwab <schwab@redhat.com>
29968
29969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29970
852eb34d
UD
299712011-06-22 Ulrich Drepper <drepper@gmail.com>
29972
84e2a551
UD
29973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29974 /sys/devices/system/cpu/online if it is usable.
29975
852eb34d
UD
29976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29977 reading the information from the /proc filesystem to once a second.
29978
6e502e19
UD
299792011-06-21 Andreas Jaeger <aj@suse.de>
29980
29981 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29982 NULL after inclusion of kernel headers.
29983
75d39ff2
UD
299842011-06-21 Ulrich Drepper <drepper@gmail.com>
29985
51f9aa6a
UD
29986 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29987 calls to internal_setent.
29988
c0244a9d
UD
29989 [BZ #12885]
29990 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29991 addresses using gethostbyname4_r ignore IPv4 addresses.
29992
c5e3c2ae
UD
29993 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29994 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29995
75d39ff2
UD
29996 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29997
42675c6f
DM
299982011-06-20 David S. Miller <davem@davemloft.net>
29999
30000 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30001 inclusions.
30002 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30003
30004 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30005 (elf_irel): Use it.
30006 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30007 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30008 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30009 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30010 * sysdeps/x86_64/dl-irel.h: Likewise.
30011
30012 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30013 * elf/dl-sym.c: Likewise.
30014
57912a71
UD
300152011-06-15 Ulrich Drepper <drepper@gmail.com>
30016
30017 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30018 need to dereference resplen2.
30019
ee22793d
AS
300202011-06-14 Andreas Schwab <schwab@redhat.com>
30021
30022 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30023
a9e836b0
UD
300242011-06-15 Ulrich Drepper <drepper@gmail.com>
30025
77fb9117
UD
30026 * Makeconfig: Define vardbdir and inst_vardbdir.
30027 * nss/Makefile: Add rules to install db-Makefile.
30028
40c1b22c
UD
30029 * nss/nss_db/db-XXX.c: Cleanup.
30030
9f2da732
UD
30031 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30032 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30033 GLIBC_PRIVATE.
30034 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30035 * nss/makedb.c: Implement -g option to specify that value strings
30036 are generated and should not be added to table iterated over for
30037 get*ent calls.
30038 * nss/nss_db/db-initgroups.c: New file.
30039
82e9a1f7
UD
30040 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30041 interface.
30042
c41af17e
UD
30043 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30044 (internal_getgrouplist): Adjust to name change.
30045 Update use_initgroups_entry if this is not the first call.
30046 * nss/databases.def: Add initgroups entry.
30047
a9e836b0
UD
30048 * nss/makedb.c (compute_tables): Check result of multiple hash table
30049 sizes to minimize maximum chain length.
30050
2666d441
UD
300512011-06-14 Ulrich Drepper <drepper@gmail.com>
30052
30053 * Versions.def: Add entry for libnss_db.
30054 * shlib-versions: Likewise.
30055 * nss/Makefile: Add rules to build libnss_db.
30056 * nss/Versions: Add libnss_db information. Organize libnss_files
30057 entries better.
30058 * nss/db-Makefile: Add gshadow support. Change rules for the new
30059 makedb progra. Some minor improvements to generate smaller files.
30060 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30061 here from...
30062 * nss/makedb.c: ...here.
30063 Improve database format to be smaller and require less memory at
30064 runtime.
30065 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30066 db anymore.
30067 * nss/nss_db/db-netgrp.c: Likewise.
30068 * nss/nss_db/db-open.c: Likewise.
30069 * nss/nss_files/flies-XXX.x: Adjust comments.
30070 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30071 * nss/nss_files/files-grp.c: Likewise.
30072 * nss/nss_files/files-hosts.c: Likewise.
30073 * nss/nss_files/files-network.c: Likewise.
30074 * nss/nss_files/files-proto.c: Likewise.
30075 * nss/nss_files/files-pwd.c: Likewise.
30076 * nss/nss_files/files-rpc.c: Likewise.
30077 * nss/nss_files/files-service.c: Likewise.
30078 * nss/nss_files/files-sgrp.c: Likewise.
30079 * nss/nss_files/files-spwd.c: Likewise.
30080 * nss/nss_db/db-alias.c: Removed.
30081 * nss/nss_db/dummy-db.h: Removed.
30082
9ee76b5a
UD
300832011-06-02 Ulrich Drepper <drepper@gmail.com>
30084
30085 * nss/makedb.c: Rewritten to not use database library.
30086 * nss/Makefile: Update to build new makedb program.
30087
c71ca1f8
AJ
300882011-06-14 Andreas Jaeger <aj@suse.de>
30089
30090 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30091 memset declaration.
30092
3154bfb8
UD
300932011-06-10 Andreas Schwab <schwab@redhat.com>
30094
30095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30096 tmpbuf.
30097
b350afab
RM
300982011-06-10 Roland McGrath <roland@hack.frob.com>
30099
decd4e50
RM
30100 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30101 * elf/Makefile ($(objpfx)ld.so): Likewise.
30102
5615eaf2
RM
30103 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30104 Don't list ld.so twice in dependencies.
30105
30106 * posix/bug-regex31.c: Include <stdlib.h>.
30107
30108 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30109
30110 * nis/nss_compat/compat-spwd.c
30111 (getspent_next_nss_netgr): Remove unused variable.
30112 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30113
30114 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30115 nonmembers" output to use the right array.
30116
30117 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30118
30119 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30120
30121 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30122 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30123 * catgets/gencat.c (read_input_file): Likewise.
30124 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30125
30126 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30127 variable definition inside #if's controlling its use.
30128
30129 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30130
30131 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30132
30133 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30134
30135 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30136 unreachable code.
30137
30138 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30139
b68e08db
RM
30140 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30141 * configure: Regenerated.
30142
b350afab
RM
30143 * Makerules: Revert last change.
30144 * elf/Makefile: Likewise.
30145
28368601
RM
301462011-06-09 Roland McGrath <roland@hack.frob.com>
30147
30148 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30149 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30150 (reloc-link): Likewise.
30151
11988f8f
UD
301522011-06-09 Ulrich Drepper <drepper@gmail.com>
30153
30154 * elf/Makefile: Add rules to build pldd.
30155 * elf/pldd.c: New file.
30156 * elf/pldd-xx.c: New file.
30157
e80fab37
UD
301582011-06-07 Ulrich Drepper <drepper@gmail.com>
30159
30160 * version.h: Update for 2.15 development version.
30161
9b849836
DM
301622011-06-07 David S. Miller <davem@davemloft.net>
30163
30164 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30165 ifuncs.
30166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30167 elf_machine_lazy_rel): Likewise.
30168 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30170 elf_machine_lazy_rel): Likewise.
30171 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30172 dl_hwcap via passed in argument.
30173 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30174 Likewise.
30175
5a31b283
AK
301762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30177
30178 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30179
069e52f8
RM
301802011-06-06 Roland McGrath <roland@hack.frob.com>
30181
30182 [BZ #12849]
30183 * manual/fdl-1.1.texi: New file, verbatim from:
30184 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30185 * manual/lgpl-2.1.texi: New file, verbatim from:
30186 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30187 * manual/Makefile (licenses): New variable, list those new file names.
30188 (texis): Use it.
30189 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30190
30191 * manual/fdl.texi: File removed.
30192 * manual/lesser.texi: File removed.
30193 * manual/libc.texinfo (Copying, Documentation License):
30194 Use new @include file names, put @appendix directive before @include.
30195
f16846a5
JJ
301962011-06-04 Jakub Jelinek <jakub@redhat.com>
30197
30198 [BZ #12841]
30199 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30200 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30201 (mq_open): Add __NTH.
30202
3d29045b
L
302032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30204
30205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30206 Assume Intel Core i3/i5/i7 processor if AVX is available.
30207
8c297311
UD
302082011-05-31 Ulrich Drepper <drepper@gmail.com>
30209
30210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30211 typo.
30212
c8fc0c91
UD
302132011-05-31 Andreas Schwab <schwab@redhat.com>
30214
30215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30216 memory. Use alloca_account. Fix memory leak when retrying.
30217
5b27a807
UD
302182011-05-31 Ulrich Drepper <drepper@gmail.com>
30219
356f8bc6
UD
30220 * version.h (RELEASE): Bump for 2.14 release.
30221 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30222
5b27a807
UD
30223 * config.make.in (RANLIB): Remove entry.
30224
01f16ab0
UD
302252011-05-30 Ulrich Drepper <drepper@gmail.com>
30226
41fce8bd
UD
30227 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30228 (libc.pot): Work around missing support for .ksh extension in xgettext.
30229
4769ae77
UD
30230 [BZ #12684]
30231 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30232 if both request failed.
30233 (send_dg): In case of server errors clear resplen or *resplen2.
30234
6b1e7d19
UD
30235 [BZ #12454]
30236 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30237 when there are multiple maps.
30238 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30239 (_dl_fini): Remove test here.
30240
01f16ab0
UD
30241 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30242
b1ebd700
UD
302432011-05-29 Ulrich Drepper <drepper@gmail.com>
30244
7ae22829
UD
30245 [BZ #12350]
30246 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30247 bit from old_res_options.
30248 (gaih_inet): Likewise.
30249
553149f6 30250 [BZ #11099]
18a84741 30251 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30252 as signed.
30253
652ffab1
UD
30254 * resolv/res_init.c (res_setoptions): Make the code more compact.
30255
16985fd0
UD
30256 [BZ #11558]
30257 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30258 set RES_USEVC.
30259
0464f746
UD
30260 [BZ #11634]
30261 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30262
7d17596c
UD
30263 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30264
cf6bbbd7
UD
30265 [BZ #11781]
30266 * malloc/malloc.h: Declare malloc hook variables as volatile.
30267
13f1ab36
UD
30268 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30269 in last patch.
30270
b1ebd700
UD
30271 [BZ #11799]
30272 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30273 raise in the comment.
80e2212d
UD
30274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30276 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30277
ce67228d
UD
302782011-05-28 Ulrich Drepper <drepper@gmail.com>
30279
8887a920
UD
30280 [BZ #12811]
30281 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30282 grow the buffers more if it already has to be sufficient.
30283 (build_wcs_upper_buffer): Likewise.
30284 * posix/regexec.c (check_matching): Likewise.
30285 (clean_state_log_if_needed): Likewise.
30286 (extend_buffers): Don't enlarge buffers beyond size of the input
30287 buffer.
30288 Patches mostly by Emil Wojak <emil@wojak.eu>.
30289 * posix/bug-regex32.c: New file.
30290 * posix/Makefile (tests): Add bug-regex32.
30291
4f031072
UD
30292 * locale/findlocale.c (_nl_find_locale): Return right away if
30293 _nl_explode_name failed.
30294 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30295
d0478f0c
UD
30296 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30297
de81b246
UD
30298 * debug/xtrace.sh: Unify messages.
30299 * malloc/memusage.sh: Likewise.
30300
c738465a
UD
30301 [BZ #12813]
30302 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30303 time symbol from vDSO. Substitute with vsyscall if not available.
30304 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30305 __vdso_time.
30306
f1f929d7
UD
30307 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30308 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30309 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30310 Add sendmmsg and internal_sendmmsg.
30311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30312 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30313 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30314
ce67228d
UD
30315 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30316 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30318
e57420c6
UD
303192011-05-27 Ulrich Drepper <drepper@gmail.com>
30320
a8509ca5
UD
30321 [BZ #12813]
30322 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30323 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30324 available.
30325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30326 __vdso_getcpu.
30327
e57420c6
UD
30328 [BZ #12814]
30329 * iconvdata/Makefile (tests): Add bug-iconv9.
30330 * iconvdata/bug-iconv9.c: New file.
30331
4d07db15
AS
303322011-05-27 Andreas Schwab <schwab@redhat.com>
30333
30334 [BZ #12814]
30335 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30336
ea486f69
JJ
303372011-05-25 Jakub Jelinek <jakub@redhat.com>
30338
30339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30340 (struct user_regs_struct): Change intcs field back to cs.
30341
6f038433
UD
303422011-05-25 Ulrich Drepper <drepper@gmail.com>
30343
30344 * po/ja.po: Update from translation team.
30345
67f86a25
UD
303462011-05-23 Ulrich Drepper <drepper@gmail.com>
30347
30348 [BZ #12795]
30349 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30350 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30351
def7fbd6
AS
303522011-05-20 Andreas Schwab <schwab@redhat.com>
30353
30354 * stdlib/longlong.h: Update from GCC.
30355
f50ef8f1
AS
303562011-05-23 Andreas Schwab <schwab@redhat.com>
30357
30358 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30359 parameter name.
30360 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30361 Add parameter name.
30362 (__sysconf): Pass it down.
30363
de7ce8f1
UD
303642011-05-22 Ulrich Drepper <drepper@gmail.com>
30365
f2962a71
UD
30366 [BZ #12671]
30367 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30368 some situations.
30369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30370 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30371 add in in __libc_use_alloca calls. Adjust callers.
30372 (glob): Use malloc in some situations.
30373
de7ce8f1
UD
30374 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30375 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30376 pltexit.
30377
aec84f53
UD
303782011-05-21 Ulrich Drepper <drepper@gmail.com>
30379
05bb4a68
UD
30380 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30381 and CLOCK_BOOTTIME_ALARM.
30382
7ea72f99
UD
30383 [BZ #12782]
30384 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30385 is returned.
30386
7e4afad5
UD
30387 * string/_strerror.c (__strerror_r): Print negative errors as signed
30388 numbers.
30389
8e211fec
UD
30390 [BZ #12777]
30391 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30392 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30393 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30394
f7d82dc9
UD
30395 * configure.in: Fix typo in redirection and correct removal of test
30396 files in two cases.
30397
cc9e536d
UD
30398 [BZ #12788]
30399 * locale/setlocale.c (new_composite_name): Fix test to check for
30400 identical name of all categories.
30401
aec84f53
UD
30402 [BZ #12792]
30403 * libio/filedoalloc.c (local_isatty): New function.
30404 (_IO_file_doallocate): Use local_isatty.
30405 * stdio-common/perror.c (perror): In case a new stream is used
30406 forward the stream error.
30407 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30408 error flag.
30409
78e64fdc
RT
304102011-05-20 Ulrich Drepper <drepper@gmail.com>
30411
34a9094f
UD
30412 [BZ #11869]
30413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30414 alloca.
30415 * include/alloca.h (extend_alloca_account): Define.
30416
78e64fdc
RT
30417 [BZ #11857]
30418 * posix/regex.h: Fix comments with documentation of user-accessible
30419 fields after compilation and describe correct free'ing of pattern
30420 after re_compile_pattern.
30421 Patch by Reuben Thomas <rrt@sc3d.org>.
30422
457bddfc
RA
304232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30424
30425 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30426 and -mno-altivec to prevent the compiler from using Altivec and/or
30427 VSX instructions when the corresponding registers are not available.
30428
a4527b51
AS
304292011-05-19 Andreas Schwab <schwab@redhat.com>
30430
30431 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30432
ed690b2f
UD
304332011-05-19 Ulrich Drepper <drepper@gmail.com>
30434
30435 * libio/freopen.c (freopen): Use __dup2, not dup2.
30436 * libio/freopen64.c (freopen64): Likewise.
30437
8db73634
L
304382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30439
30440 [BZ #12775]
30441 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30442 * math/Makefile (tests): Add test-powl.
30443 (CFLAGS-test-powl.c): Define.
30444 * math/test-powl.c: New file.
30445
0a197a9d
L
304462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30447
30448 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30449
ee30c380
UD
304502011-05-17 Ulrich Drepper <drepper@gmail.com>
30451
30452 [BZ #11837]
30453 * iconvdata/gb18030.c: Update to GB18020-2005.
30454
6ce75379
UD
304552011-05-16 Ulrich Drepper <drepper@gmail.com>
30456
a4b89fd8
AR
30457 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30458 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30459 Patch by Aharon Robbins <arnold@skeeve.com>.
30460
ea389b12
UD
30461 [BZ #11892]
30462 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30463 on the stack.
30464
68a3f91f
UD
30465 [BZ #11895]
30466 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30467 through underflows.
30468
15cc7dd1
UD
30469 [BZ #12766]
30470 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30471 point to strings before performing equality test for error_one_per_line
30472 mode.
30473
f3799213
UD
30474 [BZ #11697]
30475 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30476
d79a9c94
UD
30477 [BZ #11820]
30478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30479 (struct user_fpregs_struct): Avoid __uint*_t types.
30480
56e5eb46
UD
30481 [BZ #6420]
30482 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30483 symbol info. Use it instead of calling _dl_addr locally.
30484 (lock_and_info): New function.
30485 (tr_freehook): Call lock_and_info and pass symbol info as additional
30486 parameter to tr_where.
30487 (tr_mallochook): Likewise.
30488 (tr_reallochook): Likewise.
30489 (tr_memalignhook): Likewise.
30490
6ce75379
UD
30491 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30492 used and couldn't be at all thread-safe.
30493
f8a3b5bf
UD
304942011-05-15 Ulrich Drepper <drepper@gmail.com>
30495
94b7cc37
UD
30496 * libio/freopen.c (freopen): Don't close old file descriptor
30497 before the new one is opened. Instead dup the new file descriptor
30498 to the old one after the new stream is created.
30499 * libio/freopen64.c (freopen64): Likewise.
30500 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30501 * libio/fileops.c (_IO_new_file_close_it): Handle new
30502 _IO_FLAGS2_NOCLOSE flag.
30503 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30504 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30505 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30506 _IO_FLAGS2_NOCLOSE flag.
30507 * include/unistd.h: Add hidden_proto for dup3.
30508 Define __have_dup3.
30509 * io/dup3.c: Define hidden symbol.
30510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30511
bd25564e
UD
30512 [BZ #7101]
30513 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30514 when an incomplete long option is used.
30515 * posix/tst-getopt_long1.c: New file.
30516 * posix/Makefile (tests): Add tst-getopt_long1.
30517
c84cfef4
UD
30518 [BZ #10138]
30519 * scripts/config.guess: Update from autoconf-2.68.
30520 * scripts/config.sub: Likewise.
30521
3b85df27
UD
30522 [BZ #10157]
30523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30524 tests into ...
30525 (has_cpuclock): ...this. New function.
30526 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30527 macro here based on has_cpuclock code.
30528
15a856b1
UD
30529 [BZ #10149]
30530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30531 First byte (not low byte) is now always NUL.
30532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30533
05f399e6
UD
30534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30535 Use non-cancelable interfaces.
30536
10a52685 30537 [BZ #9809]
94ecc67d
UD
30538 * locale/iso-639.def: Add entry for Sorani.
30539
f8a3b5bf
UD
30540 [BZ #11901]
30541 * include/stdlib.h: Move include protection to the right place.
30542 Define abort_msg_s. Declare __abort_msg with it.
30543 * stdlib/abort.c (__abort_msg): Adjust type.
30544 * assert/assert.c (__assert_fail_base): New function. Majority
30545 of code from __assert_fail. Allocate memory for __abort_msg with
30546 mmap.
30547 (__assert_fail): Now call __assert_fail_base.
30548 * assert/assert-perr.c: Remove bulk of implementation. Use
30549 __assert_fail_base.
30550 * include/assert.hL Declare __assert_fail_base.
30551 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30552 mmap.
30553 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30554
1af4e298
UD
305552011-05-14 Ulrich Drepper <drepper@gmail.com>
30556
f8a3b5bf 30557 [BZ #11952]
d26dfc60
MG
30558 [BZ #12453]
30559 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30560 until all modules are registered in the DTV.
30561 * elf/Makefile: Add rules to build and run tst-tls19.
30562 * elf/tst-tls19.c: New file.
30563 * elf/tst-tls19mod1.c: New file.
30564 * elf/tst-tls19mod2.c: New file.
30565 * elf/tst-tls19mod3.c: New file.
30566 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30567
2fc54d6f
UD
30568 [BZ #12083]
30569 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30570 correctly.
30571
98d76b46
UD
30572 [BZ #12601]
30573 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30574 two-byte sequence errors.
30575 * iconvdata/Makefile (tests): Add bug-iconv8.
30576 * iconvdata/bug-iconv8.c: New file.
30577
da3c19ef
UD
30578 [BZ #12626]
30579 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30580 buf2 definition.
30581
ca408c15
UD
30582 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30583
d6f67f7d
UD
30584 [BZ #12432]
30585 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30586 (dummy_getcfa): New function.
30587 (init): Get _Unwind_GetCFA address, use dummy if not found.
30588 (backtrace_helper): In recursion check, also check whether CFA changes.
30589 (__backtrace): Completely initialize arg.
30590
1af4e298 30591 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30592 storing incomplete byte sequence in state object. Avoid testing for
30593 guaranteed too small input if we know there is enough data available.
1af4e298 30594
da62f81b
AS
305952011-05-11 Andreas Schwab <schwab@redhat.com>
30596
30597 * Makeconfig (+link-pie): Indent.
30598 * Rules (binaries-pie): Define if $(have-fpie) and
30599 $(build-shared).
30600 (binaries-shared): Also filter out $(binaries-pie).
30601 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30602 * nscd/Makefile (others-pie): Add nscd.
30603 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30604 ($(objpfx)nscd): Remove command override.
30605 * login/Makefile (others-pie): Add pt_chown.
30606 ($(objpfx)pt_chown): Remove command override.
30607 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30608 remove command overrides.
30609
fcabc0f8
UD
306102011-05-13 Ulrich Drepper <drepper@gmail.com>
30611
20030ae6
UD
30612 * libio/tst_putwc.c: Fix error messages.
30613
fcabc0f8
UD
30614 [BZ #12724]
30615 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30616 currently writing and seek to current position when not.
30617 * libio/Makefile (tests): Add bug-fclose1.
30618 * libio/bug-fclose1.c: New file.
30619
320a5dc0
PB
306202011-05-12 Ulrich Drepper <drepper@gmail.com>
30621
30622 [BZ #12511]
30623 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30624 don't set DF_1_NODELETE here.
30625 (do_lookup_x): When entering new entry test for copy relocation
30626 and if necessary set DF_1_NODELETE flag.
30627 * elf/tst-unique4.cc: New file.
30628 * elf/tst-unique4.h: New file.
30629 * elf/tst-unique4lib.cc: New file.
30630 * elf/Makefile: Add rules to build and run tst-unique4.
30631 Patch by Piotr Bury <pbury@goahead.com>.
30632
22836f52
UD
306332011-05-11 Ulrich Drepper <drepper@gmail.com>
30634
f574184a
UD
30635 [BZ #12052]
30636 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30637
e1fb097f
UD
30638 [BZ #12625]
30639 * misc/mntent_r.c (addmntent): Flush the stream after the output
30640
22836f52
UD
30641 [BZ #12393]
30642 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30643 (is_trusted_path_normalize): Skip initial colon. Append slash
30644 to empty buffer. Duplicate is_trusted_path code but allow
30645 constructed patch to be prefix.
30646 (is_dst): Allow $ORIGIN followed by /.
30647 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30648 Correct testing of result of is_trusted_path_normalize
30649 (decompose_rpath): Fix warning.
30650
7b3b0b2a
UD
306512011-05-10 Ulrich Drepper <drepper@gmail.com>
30652
30653 [BZ #11257]
30654 * grp/initgroups.c (internal_getgrouplist): When we found the service
30655 list through the initgroups entry in nsswitch.conf do not always
30656 continue on a successful lookup. Don't always use the
eac80ce2 30657 __nss_group_database value if it is set.
7b3b0b2a
UD
30658 * nss/nsswitch.conf (initgroups): Change action for successful db
30659 lookup to continue for compatibility.
30660
2a81eaa5
UD
306612011-05-09 Ulrich Drepper <drepper@gmail.com>
30662
be97a69e
UD
30663 [BZ #11532]
30664 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30665 and CP774 modules.
30666 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30667 and CP774 modules.
30668 * iconvdata/tst-tables.sh: Likewise.
30669 * iconvdata/cp770.c: New file.
30670 * iconvdata/cp771.c: New file.
30671 * iconvdata/cp772.c: New file.
30672 * iconvdata/cp773.c: New file.
30673 * iconvdata/cp774.c: New file.
30674 * iconvdata/testdata/CP770: New file.
30675 * iconvdata/testdata/CP770..UTF8: New file.
30676 * iconvdata/testdata/CP771: New file.
30677 * iconvdata/testdata/CP771..UTF8: New file.
30678 * iconvdata/testdata/CP772: New file.
30679 * iconvdata/testdata/CP772..UTF8: New file.
30680 * iconvdata/testdata/CP773: New file.
30681 * iconvdata/testdata/CP773..UTF8: New file.
30682 * iconvdata/testdata/CP774: New file.
30683 * iconvdata/testdata/CP774..UTF8: New file.
30684
30685 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30686 END CHARMAP line.
30687 * iconvdata/gen-8bit-gap.sh: Likewise.
30688 * iconvdata/gen-8bit.sh: Likewise.
30689
c1e9e399
UD
30690 * locale/iso-639.def: Add ary entry.
30691
24c55fb3 30692 [BZ #11258]
96b4b1b0
UD
30693 * locale/C-translit.h.in: Add U20A1 transliteration.
30694
bdc2f971
KB
30695 [BZ #12178]
30696 * locale/iso-639.def: Add wae entry.
30697 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30698
2952b117
UD
30699 [BZ #12545]
30700 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30701 for n.
30702
2a81eaa5
UD
30703 [BZ #12711]
30704 * locale/C-translit.h.in: Add entry for U20B9.
30705 Patch by pravin.d.s@gmail.com.
30706
28377d1b
UD
307072011-05-08 Ulrich Drepper <drepper@gmail.com>
30708
7fb90fb8
UD
30709 [BZ #12713]
30710 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30711 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30712 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30713 in rtld. Use *stat64.
7fb90fb8 30714 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30715 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30716 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30717 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30718 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30719 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30720 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30721 __fstatat64 macros.
7fb90fb8
UD
30722 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30723 * dirent/rewinddir.c: Add libc_hidden_def.
30724 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30725 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30726
28377d1b
UD
30727 * include/dirent.h (__alloc_dir): Add flags parameter.
30728 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30729 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30730 __alloc_dir.
30731 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30732 from fdopendir if O_CLOEXEC is already set.
30733
66bdbaa4
AM
307342011-03-15 Alan Modra <amodra@gmail.com>
30735
30736 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30737 l_tls_firstbyte_offset non-zero. Save padding offset in
30738 l_tls_firstbyte_offset for later use.
30739 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30740 freeing static tls block.
30741
95721191
JN
307422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30743
30744 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30745 where #ifdef was intended. The intent is to prevent ARG_MAX from
30746 being defined by the kernel headers.
30747
f87dfb1f
UD
307482011-05-07 Ulrich Drepper <drepper@gmail.com>
30749
30750 [BZ #12734]
30751 * resolv/resolv.h: Define RES_NOTLDQUERY.
30752 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30753 no-tld-query and set RES_NOTLDQUERY.
30754 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30755 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30756 modern BIND to search name as TLD unless forbidden.
30757
47c3cd7a
UD
307582011-05-07 Petr Baudis <pasky@suse.cz>
30759 Ulrich Drepper <drepper@gmail.com>
30760
30761 [BZ #12393]
30762 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30763 (is_trusted_path): ...to here.
c1e9ea35 30764 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30765 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30766 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30767
8a35c912
PP
307682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30769
30770 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30771 __BEGIN/__END_DECLS.
30772
acd41f47
UD
307732011-05-06 Ulrich Drepper <drepper@gmail.com>
30774
30775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30776 NSS_STATUS_NOTFOUND if no record was found.
30777
597df647
AS
307782011-05-05 Andreas Schwab <schwab@redhat.com>
30779
30780 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30781 (headers-not-in-tirpc): Remove rpc/netdb.h
30782 * resolv/netdb.h: Revert last change.
30783
b9af1301
PP
307842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30785
30786 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30787 circular dependency between libgcc.a and libc.a.
30788
4e34d5f5
AS
307892011-05-05 Andreas Schwab <schwab@redhat.com>
30790
30791 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30792 * nis/Makefile: Don't install rpcsvc/*.
30793 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30794 instead of <rpc/types.h>.
30795 (MAXHOSTNAMELEN): Define.
30796
00ee369c
AS
307972011-05-03 Andreas Schwab <schwab@redhat.com>
30798
30799 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30800
0b592a30
MB
308012011-04-28 Maciej Babinski <mbabinski@google.com>
30802
30803 [BZ #12714]
30804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30805 gethostbyname4_r when IPv6 results are possible.
30806
6e04cbbe
UD
308072011-05-02 Ulrich Drepper <drepper@gmail.com>
30808
30809 [BZ #12723]
30810 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30811 _PC_PIPE_BUF handling.
30812
e4ecafe0
BH
308132011-04-30 Bruno Haible <bruno@clisp.org>
30814
30815 [BZ #12717]
30816 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30817 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30818 to 'int'.
30819 * inet/getnameinfo.c (getnameinfo): Likewise.
30820
125ee683
UD
308212011-04-29 Ulrich Drepper <drepper@gmail.com>
30822
30823 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30824 to groups setting in database lookup.
30825 * nss/nsswitch.conf: Add initgroups entry.
30826
b722481a
EB
308272011-04-22 Ulrich Drepper <drepper@gmail.com>
30828
30829 [BZ #12685]
30830 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30831 mode string.
30832 Patch by Eric Blake <eblake@redhat.com>.
30833
4df46dbd
L
308342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30835
30836 * sunrpc/Makefile (need-export-routines): Add svc_run.
30837 (routines): Remove svc_run.
30838 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30839 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30840 * sunrpc/svc_run.c (svc_run): Likewise.
30841 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30842
e84142d2
UD
308432011-04-21 Ulrich Drepper <drepper@gmail.com>
30844
30845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30846 problem in reallocation in last patch.
30847
877175d8
UD
308482011-04-20 Ulrich Drepper <drepper@gmail.com>
30849
30850 * sunrpc/Makefile: Move inclusion of Rules.
30851
ab8eed78
UD
308522011-04-19 Ulrich Drepper <drepper@gmail.com>
30853
30854 * nss/nss_files/files-initgroups.c: New file.
30855 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30856 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30857 _nss_files_initgroups_dyn.
30858
e3d8f584
RS
308592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30860
30861 * elf/elf.h (R_ARM_IRELATIVE): Define.
30862
af190f45
UD
308632011-04-19 Ulrich Drepper <drepper@gmail.com>
30864
30865 * po/ru.po: Update from translation team.
30866
53cf59ef
UD
308672011-04-17 Ulrich Drepper <drepper@gmail.com>
30868
30869 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30870 dependencies.
30871
4c559bcd
MF
308722011-02-06 Mike Frysinger <vapier@gentoo.org>
30873
30874 [BZ #12653]
30875 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30876 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30880
4420675c
AS
308812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30882
30883 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30884 differing bytes.
30885 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30887 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30888
75ea32ab
UD
308892011-04-17 Ulrich Drepper <drepper@gmail.com>
30890
30891 [BZ #12420]
30892 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30893 storing it.
30894 * stdlib/bug-getcontext.c: New file.
30895 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30896
27390476
AK
308972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30898
30899 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30900 instructions into .machine "z9-109".
30901 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30902 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30903
10442705
AK
309042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30905
30906 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30907 between environment variables and auxiliary vector.
30908
7b57bfe5
UD
309092011-04-16 Ulrich Drepper <drepper@gmail.com>
30910
30911 * Makefile: Add rules to build linkobj/libc.so.
30912 * include/libc-symbols.h: Define libc_hidden_nolink.
30913 * include/rpc/auth.h: Mark functions which are to be hidden.
30914 * include/rpc/auth_des.h: Likewise.
30915 * include/rpc/auth_unix.h: Likewise.
30916 * include/rpc/clnt.h: Likewise.
30917 * include/rpc/des_crypt.h: Likewise.
30918 * include/rpc/key_prot.h: Likewise.
30919 * include/rpc/pmap_clnt.h: Likewise.
30920 * include/rpc/pmap_prot.h: Likewise.
30921 * include/rpc/pmap_rmt.h: Likewise.
30922 * include/rpc/rpc_msg.h: Likewise.
30923 * include/rpc/svc.h: Likewise.
30924 * include/rpc/svc_auth.h: Likewise.
30925 * include/rpc/xdr.h: Likewise.
30926 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30927 * nss/Makefile: Likewise.
30928 * sunrpc/Makefile: Don't install headers. Build library with normal
30929 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30930 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30931 for the compat linking library. Remove use of INTDEF/INTUSE.
30932 * sunrpc/auth_none.c: Likewise.
30933 * sunrpc/auth_unix.c: Likewise.
30934 * sunrpc/authdes_prot.c: Likewise.
30935 * sunrpc/authuxprot.c: Likewise.
30936 * sunrpc/clnt_gen.c: Likewise.
30937 * sunrpc/clnt_perr.c: Likewise.
30938 * sunrpc/clnt_raw.c: Likewise.
30939 * sunrpc/clnt_simp.c: Likewise.
30940 * sunrpc/clnt_tcp.c: Likewise.
30941 * sunrpc/clnt_udp.c: Likewise.
30942 * sunrpc/clnt_unix.c: Likewise.
30943 * sunrpc/des_crypt.c: Likewise.
30944 * sunrpc/des_soft.c: Likewise.
30945 * sunrpc/get_myaddr.c: Likewise.
30946 * sunrpc/key_call.c: Likewise.
30947 * sunrpc/key_prot.c: Likewise.
30948 * sunrpc/netname.c: Likewise.
30949 * sunrpc/pm_getmaps.c: Likewise.
30950 * sunrpc/pm_getport.c: Likewise.
30951 * sunrpc/pmap_clnt.c: Likewise.
30952 * sunrpc/pmap_prot.c: Likewise.
30953 * sunrpc/pmap_prot2.c: Likewise.
30954 * sunrpc/pmap_rmt.c: Likewise.
30955 * sunrpc/publickey.c: Likewise.
30956 * sunrpc/rpc_cmsg.c: Likewise.
30957 * sunrpc/rpc_common.c: Likewise.
30958 * sunrpc/rpc_dtable.c: Likewise.
30959 * sunrpc/rpc_prot.c: Likewise.
30960 * sunrpc/rpc_thread.c: Likewise.
30961 * sunrpc/rtime.c: Likewise.
30962 * sunrpc/svc.c: Likewise.
30963 * sunrpc/svc_auth.c: Likewise.
30964 * sunrpc/svc_authux.c: Likewise.
30965 * sunrpc/svc_raw.c: Likewise.
30966 * sunrpc/svc_run.c: Likewise.
30967 * sunrpc/svc_simple.c: Likewise.
30968 * sunrpc/svc_tcp.c: Likewise.
30969 * sunrpc/svc_udp.c: Likewise.
30970 * sunrpc/svc_unix.c: Likewise.
30971 * sunrpc/svcauth_des.c: Likewise.
30972 * sunrpc/xcrypt.c: Likewise.
30973 * sunrpc/xdr.c: Likewise.
30974 * sunrpc/xdr_array.c: Likewise.
30975 * sunrpc/xdr_float.c: Likewise.
30976 * sunrpc/xdr_intXX_t.c: Likewise.
30977 * sunrpc/xdr_mem.c: Likewise.
30978 * sunrpc/xdr_rec.c: Likewise.
30979 * sunrpc/xdr_ref.c: Likewise.
30980 * sunrpc/xdr_sizeof.c: Likewise.
30981 * sunrpc/xdr_stdio.c: Likewise.
30982
e6c61494
UD
309832011-04-10 Ulrich Drepper <drepper@gmail.com>
30984
30985 [BZ #12650]
30986 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30987 * sysdeps/ia64/dl-tls.h: Likewise.
30988 * sysdeps/powerpc/dl-tls.h: Likewise.
30989 * sysdeps/s390/dl-tls.h: Likewise.
30990 * sysdeps/sh/dl-tls.h: Likewise.
30991 * sysdeps/sparc/dl-tls.h: Likewise.
30992 * sysdeps/x86_64/dl-tls.h: Likewise.
30993 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30994
34fe483e
AS
309952011-03-14 Andreas Schwab <schwab@redhat.com>
30996
30997 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30998 rpath element also skip the following colon.
30999 (expand_dynamic_string_token): Add is_path parameter and pass
31000 down to DL_DST_REQUIRED and _dl_dst_substitute.
31001 (decompose_rpath): Call expand_dynamic_string_token with
31002 non-zero is_path. Ignore empty rpaths.
31003 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31004 with zero is_path.
31005
f12a32e6
AS
310062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31007
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31009 Make cancelable.
31010
38a7d692
UD
310112011-04-09 Ulrich Drepper <drepper@gmail.com>
31012
31013 [BZ #12655]
31014 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31015 Patch by Filipe David Manana <fdmanana@apache.org>.
31016
e451d22b
AS
310172011-04-07 Andreas Schwab <schwab@redhat.com>
31018
31019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31020 Maintain aligned stack.
31021 (CHECK_RSP): Remove unused macro.
31022
dedc7c7b
UD
310232011-04-03 Ulrich Drepper <drepper@gmail.com>
31024
31025 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31027
94521213
UD
310282011-04-02 Ulrich Drepper <drepper@gmail.com>
31029
31030 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31031
8cb700c0 31032 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31033
0354e355
L
310342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31035
31036 [BZ #12518]
31037 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31038 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31039 * sysdeps/x86_64/memmove.c: New file.
31040 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31041 (memcpy): Renamed to ...
31042 (__new_memcpy): This.
31043 (memcpy): Provide GLIBC_2_14 memcpy.
31044 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31045 (memcpy): Provide GLIBC_2_2_5 memcpy.
31046
8593482f
UD
310472011-04-01 Ulrich Drepper <drepper@gmail.com>
31048
31049 [BZ #12631]
31050 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31051
81a5726b
AS
310522011-03-30 Andreas Schwab <schwab@redhat.com>
31053
31054 * misc/syncfs.c: New file.
31055 * misc/Makefile (routines): Add syncfs.
31056 * posix/unistd.h: Declare syncfs.
31057 * sysdeps/unix/syscalls.list: Add syncfs.
31058
00e5419f
AS
310592011-04-01 Andreas Schwab <schwab@redhat.com>
31060
31061 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31062 open_by_handle_at.
31063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31068 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31070
748876bf
UD
310712011-04-01 Ulrich Drepper <drepper@gmail.com>
31072
658e451d
UD
31073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31077 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31080
748876bf
UD
31081 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31082 sync_file_range.c with -fexceptions.
31083 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31084 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31085 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31086 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31087 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31088 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31090 sync_file_range as cancellation point
31091 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31092 now a wrapper around __call_sync_file_range with cancellation handling.
31093 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31094 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31095 function name to __call_sync_file_range.
31096 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31097 Add call_sync_file_range.
748876bf 31098
6e63d5e1
AS
310992011-04-01 Andreas Schwab <schwab@redhat.com>
31100
31101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31102 bits/timex.h.
6e63d5e1 31103
46998f74
UD
311042011-04-01 Ulrich Drepper <drepper@gmail.com>
31105
4c1423ed
UD
31106 * iconv/iconv.h: Fix typo in comment.
31107 * io/fcntl.h: Likewise.
31108 * libio/stdio.h: Likewise.
31109 * posix/spawn.h: Likewise.
31110 * posix/unistd.h: Likewise.
31111 * stdlib/stdlib.h: Likewise.
31112 * time/time.h: Likewise.
31113 * wcsmbs/wchar.h: Likewise.
31114
158648c0
UD
31115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31116 open_by_handle): Add.
31117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31118 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31119 Augment a few comments.
31120 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31125 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31126 open_by_handle.
31127
46998f74
UD
31128 * io/fcntl.h (AT_EMPTY_PATH): Define.
31129
83fe108b
UD
311302011-03-30 Ulrich Drepper <drepper@gmail.com>
31131
31132 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31133 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31134 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31135 to...
31136 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31137 * Versions.def: Add GLIBC_2.14.
31138 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31139 Export.
83fe108b 31140
bb242059
UD
311412011-03-22 Ulrich Drepper <drepper@gmail.com>
31142
31143 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31144 round counter.
31145 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31146
c97a1282
L
311472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31148
31149 [BZ #12597]
31150 * string/test-strncmp.c (do_page_test): New function.
31151 (check2): Likewise.
31152 (test_main): Call check2.
31153 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31154
2a115601
UD
311552011-03-20 Ulrich Drepper <drepper@gmail.com>
31156
31157 [BZ #12587]
31158 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31159 Handle cache information in CPU leaf 4.
31160 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31161
8126d904
UD
311622011-03-18 Ulrich Drepper <drepper@gmail.com>
31163
042c49c6 31164 [BZ #12583]
8126d904
UD
31165 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31166 character representation.
31167 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31168
ccfe366e
RA
311692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31170
31171 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31172 END(__isnan) to END(__isnanf) to match function entry point/label
31173 EALIGN(__isnanf,...).
31174
c6e13027
JJ
311752011-03-10 Jakub Jelinek <jakub@redhat.com>
31176
31177 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31178
33f85a3f
UD
311792011-03-10 Ulrich Drepper <drepper@gmail.com>
31180
028478fa
UD
31181 [BZ #12510]
31182 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31183 copy from the symbol referenced in the relocation to initialize the
31184 used variable.
31185 Patch by Piotr Bury <pbury@goahead.com>.
31186 * elf/Makefile: Add rules to build and tst-unique3.
31187 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31188 * elf/tst-unique3.cc: New file.
31189 * elf/tst-unique3.h: New file.
31190 * elf/tst-unique3lib.cc: New file.
31191 * elf/tst-unique3lib2.cc: New file.
31192
33f85a3f
UD
31193 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31194
03592fc7
MF
311952011-03-10 Mike Frysinger <vapier@gentoo.org>
31196
31197 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31198 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31199 to _start.
03592fc7 31200
6a5ee102
UD
312012011-03-06 Ulrich Drepper <drepper@gmail.com>
31202
31203 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31204 to-be-loaded object along a path to loader is ld.so.
31205
7e4ba49c
HJ
312062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31207 Ulrich Drepper <drepper@gmail.com>
31208
31209 * sysdeps/x86_64/memset.S: After aligning destination, code
31210 branches to different locations depending on the value of
31211 misalignment, when multiarch is enabled. Fix this.
31212
312132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31214
31215 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31216 Set _x86_64_preferred_memory_instruction for AMD processsors.
31217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31218 Set bit_Prefer_SSE_for_memop for AMD processors.
31219
13a804de
UD
312202011-03-04 Ulrich Drepper <drepper@gmail.com>
31221
31222 * libio/fmemopen.c (fmemopen): Optimize a bit.
31223
9d25c392
AS
312242011-03-03 Andreas Schwab <schwab@redhat.com>
31225
31226 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31227
a5543c6a
RM
312282011-03-03 Roland McGrath <roland@redhat.com>
31229
31230 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31231
012d35f7
DM
312322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31233
7e4ba49c 31234 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31235 __bzero_ultra1 instead of __memset_ultra1.
31236
4bff6e01
AS
312372011-02-23 Andreas Schwab <schwab@redhat.com>
31238 Ulrich Drepper <drepper@gmail.com>
31239
31240 [BZ #12509]
31241 * include/link.h (struct link_map): Add l_orig_initfini.
31242 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31243 returning unsuccessfully.
31244 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31245 close of a file loaded at startup, restore the original l_initfini
31246 list.
31247 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31248 list, store the pointer.
31249 * elf/Makefile ($(objpfx)noload-mem): New rule.
31250 (noload-ENV): Define.
31251 (tests): Add $(objpfx)noload-mem.
31252 * elf/noload.c: Include <memcheck.h>.
31253 (main): Call mtrace. Close all opened handles.
31254
f2092faf
AS
312552011-02-17 Andreas Schwab <schwab@redhat.com>
31256
31257 [BZ #12454]
31258 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31259 dependencies are missing.
31260
6c8a2e88
ST
312612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31262
f2092faf 31263 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31264 Hurd needs munmap.
31265 * sysdeps/mach/hurd/ifreq.h: New file.
31266
84a42118
PB
312672011-01-27 Petr Baudis <pasky@suse.cz>
31268 Ulrich Drepper <drepper@gmail.com>
31269
071f805e 31270 [BZ 12445]#
84a42118
PB
31271 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31272 to extend_alloca().
31273 * stdio-common/bug23.c: New file.
31274 * stdio-common/Makefile (tests): Add bug23.
31275
e23fe25b
AS
312762010-09-28 Andreas Schwab <schwab@redhat.com>
31277 Ulrich Drepper <drepper@gmail.com>
31278
31279 [BZ #12489]
31280 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31281 before performing relro protection. At old place add assertion
31282 to make sure nothing changed.
31283
d3f02e10
NS
312842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31285 Glauber de Oliveira Costa <glommer@gmail.com>
31286
31287 * elf/elf.h: Add new ARM TLS relocs.
31288
d55fd7a5
RA
312892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31290
31291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31292 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31293 cast from r3.
31294 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31295 'tests' variable.
31296 * sysdeps/wordsize-64/tst-writev.c: New file.
31297
2206397e
RA
312982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31299
31300 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31301 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31302 insns in _dl_start to prevent a TOC reference before relocs are
31303 resolved.
31304
e9433893
UD
313052011-02-15 Ulrich Drepper <drepper@gmail.com>
31306
31307 [BZ #12469]
31308 * Makeconfig: Remove RANLIB definition.
31309 * Makerules: Don't use RANLIB.
31310 * aclocal.m4: Remove ranlib test.
31311 * configure.in: No need to check for ranlib.
31312 * elf/rtld-Rules: Don't use RANLIB.
31313
f75286c6
ST
313142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31315
8e31c82d
ST
31316 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31317 protection macro.
31318 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31319 inclusion protection macro.
31320
f75286c6
ST
31321 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31322 SIGRTMIN and SIGRTMAX and print information in that case only when
31323 SIGRTMIN is defined.
31324
c1d0e639
JJ
313252011-02-11 Jakub Jelinek <jakub@redhat.com>
31326
31327 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31328 arginfo fn returning -1.
31329
31330 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31331 and thousands string is zero terminated.
31332
edf9294e
AS
313332011-02-03 Andreas Schwab <schwab@redhat.com>
31334
31335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31336 sysdeps/unix/sysv/linux/bits/socket.h.
31337
2b7e92df
ST
313382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31339
edf9294e
AS
31340 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31341 (__CPU_COUNT): Remove old macros.
31342 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31343 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31344 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31345 (__sched_cpualloc, __sched_cpufree): Add declarations.
31346
a4c7ea7b
UD
313472011-02-05 Ulrich Drepper <drepper@gmail.com>
31348
31349 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31350 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31351 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31352 (readdhstai): Return value of addhstaiX call.
31353 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31354 (addgrbyX): Return value returned by cache_addgr.
31355 (readdgrbyname): Return value returned by addgrbyX.
31356 (readdgrbygid): Likewise.
31357 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31358 (addpwbyX): Return value returned by cache_addpw.
31359 (readdpwbyname): Return value returned by addhstbyX.
31360 (readdpwbyuid): Likewise.
31361 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31362 (addservbyX): Return value returned by cache_addserv.
31363 (readdservbyname): Return value returned by addservbyX:
31364 (readdservbyport): Likewise.
31365 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31366 (addhstbyX): Return value returned by cache_addhst.
31367 (readdhstbyname): Return value returned by addhstbyX.
31368 (readdhstbyaddr): Likewise.
31369 (readdhstbynamev6): Likewise.
31370 (readdhstbyaddrv6): Likewise.
31371 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31372 (readdinitgroups): Return value returned by addinitgroupsX.
31373 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31374 (prune_cache): Keep track of timeout value of re-added entries.
31375 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31376 * nscd/nscd.h: Adjust prototypes of readd* functions.
31377
a0bf67cc
RM
313782011-02-04 Roland McGrath <roland@redhat.com>
31379
31380 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31381 (nis_stats): Likewise.
31382 * nis/nis_modify.c (nis_modify): Likewise.
31383 * nis/nis_remove.c (nis_remove): Likewise.
31384 * nis/nis_add.c (nis_add): Likewise.
31385
31386 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31387
31388 * posix/fnmatch_loop.c: Add some consts.
31389
31390 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31391
435b95eb
L
313922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31393
31394 [BZ #12460]
31395 * config.make.in (config-cflags-novzeroupper): Define.
31396 * configure.in: Substitute libc_cv_cc_novzeroupper.
31397 * elf/Makefile (AVX-CFLAGS): Define.
31398 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31399 (CFLAGS-tst-auditmod4a.c): Likewise.
31400 (CFLAGS-tst-auditmod4b.c): Likewise.
31401 (CFLAGS-tst-auditmod6b.c): Likewise.
31402 (CFLAGS-tst-auditmod6c.c): Likewise.
31403 (CFLAGS-tst-auditmod7b.c): Likewise.
31404 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31405
8517b15e
UD
314062011-02-02 Ulrich Drepper <drepper@gmail.com>
31407
31408 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31409 function to the callback.
31410 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31411
10a656fe
AS
314122011-02-02 Andreas Schwab <schwab@redhat.com>
31413
31414 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31415 of errno.
31416
968dad0a
UD
314172011-01-19 Ulrich Drepper <drepper@gmail.com>
31418
9f94d2ea 31419 [BZ #11724]
968dad0a
UD
31420 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31421 of constructors.
31422 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31423 of destructors.
31424 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31425
31426 [BZ #11724]
31427 * elf/Makefile: Add rules to build and run new test.
31428 * elf/tst-initorder.c: New file.
31429 * elf/tst-initorder.exp: New file.
31430 * elf/tst-initordera1.c: New file.
31431 * elf/tst-initordera2.c: New file.
31432 * elf/tst-initordera3.c: New file.
31433 * elf/tst-initordera4.c: New file.
31434 * elf/tst-initorderb1.c: New file.
31435 * elf/tst-initorderb2.c: New file.
31436 * elf/tst-order-a1.c: New file.
31437 * elf/tst-order-a2.c: New file.
31438 * elf/tst-order-a3.c: New file.
31439 * elf/tst-order-a4.c: New file.
31440 * elf/tst-order-b1.c: New file.
31441 * elf/tst-order-b2.c: New file.
31442 * elf/tst-order-main.c: New file.
31443 New test case by George Gensure <werkt0@gmail.com>.
31444
86e92359
UD
314452010-10-01 Andreas Schwab <schwab@redhat.com>
31446
31447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31448 decoding ACE if AI_CANONIDN.
31449
5d5732b0
UD
314502011-01-18 Ulrich Drepper <drepper@gmail.com>
31451
31452 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31453
a77e8cbc
UD
314542011-01-17 Ulrich Drepper <drepper@gmail.com>
31455
6392473f
UD
31456 * version.h (RELEASE): Bump for 2.13 release.
31457 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31458
620a0529
UD
31459 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31460
18ba70a5
UD
31461 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31462 MADV_NOHUGEPAGE.
32465c3e
UD
31463 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31465 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31466 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31467 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31469
c0dafcf1
UD
31470 * posix/getconf.c: Update copyright year.
31471 * catgets/gencat.c: Likewise.
31472 * csu/version.c: Likewise.
31473 * debug/catchsegv.sh: Likewise.
31474 * debug/xtrace.sh: Likewise.
31475 * elf/ldconfig.c: Likewise.
31476 * elf/ldd.bash.in: Likewise.
31477 * elf/sprof.c (print_version): Likewise.
31478 * iconv/iconv_prog.c: Likewise.
31479 * iconv/iconvconfig.c: Likewise.
31480 * locale/programs/locale.c: Likewise.
31481 * locale/programs/localedef.c: Likewise.
31482 * malloc/memusage.sh: Likewise.
31483 * malloc/mtrace.pl: Likewise.
31484 * nscd/nscd.c (print_version): Likewise.
31485 * nss/getent.c: Likewise.
31486
a77e8cbc
UD
31487 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31488 PF_CAIF, and PF_ALG.
31489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31490
77e8bddf
AS
314912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31492
1f20b93a
AS
31493 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31494 (modules-names): Use them.
31495 (ifunc-test-modules, ifunc-pie-tests): Define.
31496 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31497 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31498 (test-extras): Likewise.
31499 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31500 $(compile-command.c).
31501 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31502 (all-built-dso): Define.
31503 (check-textrel.out, check-execstack.out): Depend on it.
31504
77e8bddf
AS
31505 * configure.in: Don't override --enable-multi-arch.
31506
bc425b33
UD
315072011-01-15 Ulrich Drepper <drepper@gmail.com>
31508
31509 [BZ #6812]
31510 * nscd/hstcache.c (tryagain): Define.
31511 (cache_addhst): Return tryagain not notfound for temporary errors.
31512 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31513 failed.
31514
794c3ad3
UD
315152011-01-14 Ulrich Drepper <drepper@gmail.com>
31516
70181fdd
UD
31517 [BZ #10563]
31518 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31519 to make the syscall.
31520 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31521
794c3ad3
UD
31522 [BZ #12378]
31523 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31524 and fall back to matching as normal character if the string ends before
31525 the matching ']' is found. This is what POSIX requires.
31526 * posix/testfnm.c: Adjust test result.
31527 * posix/globtest.sh: Adjust test result. Add new test.
31528 * posix/tst-fnmatch.input: Likewise.
31529 * posix/tst-fnmatch2.c: Add new test.
31530
68dc9497
AS
315312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31532
31533 * elf/Makefile (check-execstack): Revert last change. Depend on
31534 check-execstack.h.
31535 (check-execstack.h): New target.
31536 (generated): Add check-execstack.h.
31537 * elf/check-execstack.c: Include "check-execstack.h".
31538 (main): Revert last change.
31539 (handle_file): Return zero if GNU_STACK is absent and
31540 DEFAULT_STACK_PERMS doesn't include PF_X.
31541
451f001b
UD
315422011-01-13 Ulrich Drepper <drepper@gmail.com>
31543
cfa28e56
UD
31544 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31545 in child fails because the descriptor is already closed.
8cf8ce17
UD
31546 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31547 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31548 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31549
1086d70d
UD
31550 [BZ #12397]
31551 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31552 syscall.
31553
451f001b
UD
31554 [BZ #10484]
31555 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31556 temporary buffer used to handle multi lookups locally.
a85b5cb4 31557 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31558
08769175
UD
315592011-01-12 Ulrich Drepper <drepper@gmail.com>
31560
31561 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31562 loader is ld.so.
31563
5e49c52e
UD
315642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31565
31566 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31567 alignment for SSE2.
31568
60522a5f
UD
315692011-01-12 Ulrich Drepper <drepper@gmail.com>
31570
31571 [BZ #12394]
31572 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31573 characters. When rounding increased number of integer digits recompute
31574 number of groups.
31575 * stdio-common/tst-grouping.c: New file.
31576 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31577
f257bbd7
UD
315782011-01-09 Ulrich Drepper <drepper@gmail.com>
31579
31580 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31581 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31582
31583 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31584 void.
31585 * bits/select.h: Likewise.
31586
fa9c15cb
UD
315872011-01-08 Ulrich Drepper <drepper@gmail.com>
31588
31589 * po/ja.po: Update from translation team.
31590
16c2895f
DM
315912011-01-04 David S. Miller <davem@sunset.davemloft.net>
31592
31593 [BZ #11155]
31594 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31595 implementation just like for lxstat, fxstatat, et al.
31596
2543fef2
JM
315972010-12-27 Jim Meyering <meyering@redhat.com>
31598
31599 [BZ #12348]
31600 * posix/regexec.c (build_trtable): Return failure indication upon
31601 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31602
98727dbe
UD
316032010-12-25 Ulrich Drepper <drepper@gmail.com>
31604
5bd6dc5c
UD
31605 [BZ #12201]
31606 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31607 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31608 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31609 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31610
97983464
UD
31611 [BZ #12207]
31612 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31613
98727dbe
UD
31614 [BZ #12204]
31615 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31616 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31617
4a531bb0
L
316182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31619
31620 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31621 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31622 script has SORT_BY_INIT_PRIORITY.
31623 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31624 NO_CTORS_DTORS_SECTIONS is defined.
31625 * elf/soinit.c: Likewise.
31626 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31627 NO_CTORS_DTORS_SECTIONS is defined.
31628 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31629 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31630 * sysdeps/sh/init-first.c: Likewise.
31631 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31632
07eb4b71
UD
316332010-12-24 Ulrich Drepper <drepper@gmail.com>
31634
31635 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31636 always use the slow path.
31637
30950a5f
RA
316382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31639
31640 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31641 similar rule which adds the sysdep directories to the header search in
31642 order to pick up the correct platform stackinfo.h.
31643 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31644 perform test if it is, otherwise return successfully without testing.
31645 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31646 DEFAULT_STACK_PERMS define in stackinfo.h.
31647 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31648 defined in stackinfo.h.
31649 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31650 DEFAULT_STACK_PERMS defined in stackinfo.h.
31651 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31652 * sysdeps/ia64/stackinfo.h: Likewise.
31653 * sysdeps/s390/stackinfo.h: Likewise.
31654 * sysdeps/sh/stackinfo.h: Likewise.
31655 * sysdeps/sparc/stackinfo.h: Likewise.
31656 * sysdeps/x86_64/stackinfo.h: Likewise.
31657 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31658 PF_X for powerpc64. Retain PF_X for powerpc32.
31659
db753e2c
UD
316602010-12-19 Ulrich Drepper <drepper@gmail.com>
31661
14b697f7
UD
31662 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31663 accurately.
db753e2c
UD
31664 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31665 GETDENTS_64BIT_ALIGNED.
31666
28300719
UD
316672010-12-14 Ulrich Drepper <dreper@gmail.com>
31668
14b697f7 31669 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31670
4f197237
AS
316712010-12-10 Andreas Schwab <schwab@redhat.com>
31672
dbb0472f
AS
31673 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31674 _GNU_SOURCE.
31675
4f197237
AS
31676 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31677 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31678 Remove __restrict.
31679 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31680 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31681
fb88ac72
UD
316822010-12-09 Ulrich Drepper <drepper@gmail.com>
31683
31684 [BZ #11655]
31685 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31686 are initialized.
31687
42acbb92
JJ
316882010-12-09 Jakub Jelinek <jakub@redhat.com>
31689
31690 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31691
c038d98d
UD
316922010-12-03 Ulrich Drepper <drepper@gmail.com>
31693
31694 * po/it.po: Update from translation team.
31695
3a4a2499
L
316962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31697
31698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31699 unused codes.
31700
1e24cf6e
UD
317012010-11-30 Ulrich Drepper <drepper@gmail.com>
31702
31703 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31704
a7690819
AS
317052010-11-24 Andreas Schwab <schwab@redhat.com>
31706
31707 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31708 specially.
31709 (gaih_getanswer_slice): Likewise.
31710
3bf8d1b1
JJ
317112010-10-20 Jakub Jelinek <jakub@redhat.com>
31712
31713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31714
6db52fbb
PB
317152010-05-31 Petr Baudis <pasky@suse.cz>
31716
31717 [BZ #11149]
31718 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31719 silently even in the chroot mode.
31720
eaca7569
UD
317212010-11-22 Ulrich Drepper <drepper@gmail.com>
31722
31723 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31724 last patch a bit. Pretty printing
31725
3056dcdb
UD
317262010-05-31 Petr Baudis <pasky@suse.cz>
31727
31728 [BZ #10085]
31729 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31730 initialization of skip_initgroups_dyn.
31731
cf7c9078
UD
317322010-11-19 Ulrich Drepper <drepper@gmail.com>
31733
31734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31736
a1fb5e3e
UD
317372010-11-16 Ulrich Drepper <drepper@gmail.com>
31738
31739 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31740
3540d66b
AS
317412010-11-11 Andreas Schwab <schwab@redhat.com>
31742
31743 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31744 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31745 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31746 ($(objpfx)tst-fnmatch-mem): New rule.
31747 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31748 * posix/tst-fnmatch.c (main): Call mtrace.
31749
13b69574
L
317502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31751
31752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31753 Support Intel processor model 6 and model 0x2c.
31754
da93d214
LM
317552010-11-10 Luis Machado <luisgpm@br.ibm.com>
31756
31757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31758 signed comparison.
31759
8ca52c6e
L
317602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31761
31762 [BZ #12205]
31763 * string/test-strncasecmp.c (check_result): New function.
31764 (do_one_test): Use it.
31765 (check1): New function.
31766 (test_main): Use it.
31767 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31768 Support strcasecmp and strncasecmp.
31769
69da074d
UD
317702010-11-08 Ulrich Drepper <drepper@gmail.com>
31771
31772 [BZ #12194]
31773 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31775
ff02d528
L
317762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31777
31778 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31779 IFUNC support.
31780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31781 memset-x86-64.
31782 * sysdeps/x86_64/multiarch/bzero.S: New file.
31783 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31784 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31785 * sysdeps/x86_64/multiarch/memset.S: New file.
31786 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31788 Set bit_Prefer_SSE_for_memop for Intel processors.
31789 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31790 Define.
31791 (index_Prefer_SSE_for_memop): Define.
31792 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31793
344d0b54
LM
317942010-11-04 Luis Machado <luisgpm@br.ibm.com>
31795
31796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31798
c0dde15b
UD
317992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31800
31801 [BZ #12191]
31802 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31803 (__x86_64_raw_data_cache_size_half): Likewise.
31804 (__x86_64_raw_shared_cache_size): Likewise.
31805 (__x86_64_raw_shared_cache_size_half): Likewise.
31806
31807 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31808 (__x86_64_raw_data_cache_size_half): Likewise.
31809 (__x86_64_raw_shared_cache_size): Likewise.
31810 (__x86_64_raw_shared_cache_size_half): Likewise.
31811 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31812 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31813 and __x86_64_raw_shared_cache_size_half. Round
31814 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31815 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31816 to multiple of 256 bytes.
31817
0e516e0e
MS
318182010-11-03 Ulrich Drepper <drepper@gmail.com>
31819
31820 [BZ #12167]
31821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31822 of inacessible symlinks. Verify result of symlink before returning it.
31823 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31824 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31825
0e012e87
ER
318262010-10-28 Erich Ritz <erichritz@gmail.com>
31827
31828 * math/math.h (isinf): Fix typo in comment.
31829
de0ff7bc
UD
318302010-11-01 Ulrich Drepper <drepper@gmail.com>
31831
31832 * po/da.po: Update from translation team.
31833
fa41c84d
UD
318342010-10-26 Ulrich Drepper <drepper@gmail.com>
31835
31836 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31837 is added to the list.
31838
f0967738
AK
318392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31840 Ulrich Drepper <drepper@gmail.com>
31841
31842 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31843 the global list here. Move code to...
31844 (_dl_add_to_namespace_list): ...here. New function.
31845 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31846 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31847 * elf/dl-load.c (lose): Don't remove the element from the list.
31848 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31849 (_dl_map_object): Likewise.
31850
318512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31852
31853 [BZ #12159]
31854 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31855 into all bytes of SSE register.
31856 Patch by Richard Li <richardpku@gmail.com>.
31857
f0967738 318582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31859
31860 [BZ #12140]
31861 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31862 perturbing.
31863
d0b9e94f
MB
318642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31865
31866 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31867 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31868 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31869 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31871 submachine.
31872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31873
8e9f92e9
AS
318742010-10-22 Andreas Schwab <schwab@redhat.com>
31875
31876 * include/dlfcn.h (__RTLD_SECURE): Define.
31877 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31878 mode & __RTLD_SECURE instead.
31879 (open_path): Rename preloaded parameter to secure.
31880 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31881 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31882 * elf/dl-deps.c (openaux): Likewise.
31883 * elf/rtld.c (struct map_args): Remove is_preloaded.
31884 (map_doit): Don't use it.
31885 (dl_main): Likewise.
31886 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31887 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31888
bc96fbda
AS
318892010-09-09 Andreas Schwab <schwab@redhat.com>
31890
31891 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31892 (sysd-rules-targets): Remove duplicates.
31893 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31894 rtld-%.$o dependency.
31895
22cd1c9b
AS
318962010-10-18 Andreas Schwab <schwab@redhat.com>
31897
31898 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31899 _dl_map_object do it.
31900
18edac48
UD
319012010-10-19 Ulrich Drepper <drepper@gmail.com>
31902
31903 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31904 fast fma builtins, define the macros in the C99 standard.
31905 (FP_FAST_FMAF): Likewise.
31906 (FP_FAST_FMAL): Likewise.
31907 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31908
31909 * bits/mathdef.h: Update copyright year.
31910 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31911
d2050124
MM
319122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31913
31914 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31915 builtins, define the macros in the C99 standard.
31916 (FP_FAST_FMAF): Likewise.
31917 (FP_FAST_FMAL): Likewise.
31918 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31919 multiply/add.
31920 (FP_FAST_FMAF): Likewise.
31921
475facd1
JJ
319222010-10-15 Jakub Jelinek <jakub@redhat.com>
31923
31924 [BZ #3268]
31925 * math/libm-test.inc (fma_test): Some new testcases.
31926 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31927 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31928 y and infinite z. Do multiplication by C already in long double.
31929 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31931 y and infinite z. Do bitwise or of inexact bit into u.d.
31932 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31933 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31934 * sysdeps/i386/fpu/s_fma.S: Removed.
31935 * sysdeps/i386/fpu/s_fmal.S: Removed.
31936
7c08a05c
JJ
319372010-10-16 Jakub Jelinek <jakub@redhat.com>
31938
31939 [BZ #3268]
31940 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31942 computation is not scheduled after fetestexcept. Fix value
31943 of minimum denormal long double.
31944
f3f7372d
JJ
319452010-10-14 Jakub Jelinek <jakub@redhat.com>
31946
31947 [BZ #3268]
31948 * math/libm-test.inc (fma_test): Add some more tests.
31949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31950 correctly.
31951
14d43591
AS
319522010-10-15 Andreas Schwab <schwab@redhat.com>
31953
31954 * scripts/data/localplt-s390-linux-gnu.data: New file.
31955 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31956
5e908464
JJ
319572010-10-13 Jakub Jelinek <jakub@redhat.com>
31958
31959 [BZ #3268]
31960 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31961 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31962 instead of dbl-64.
31963 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31964 inlines.
31965 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31967 if one of x and y is very large and the other is subnormal.
31968 * sysdeps/s390/fpu/s_fmaf.c: New file.
31969 * sysdeps/s390/fpu/s_fma.c: New file.
31970 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31971 * sysdeps/powerpc/fpu/s_fma.S: New file.
31972 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31973 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31974 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31975
319762010-10-12 Jakub Jelinek <jakub@redhat.com>
31977
31978 [BZ #3268]
31979 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31980 fma tests.
31981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31982 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31983 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31984 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31985 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31986 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31988
b833d51f
UD
319892010-10-12 Ulrich Drepper <drepper@redhat.com>
31990
31991 [BZ #12078]
31992 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31993 * posix/bug-regex31.input: Add test case.
31994
1751705d
UD
319952010-10-11 Ulrich Drepper <drepper@gmail.com>
31996
e9b9cbf5
UD
31997 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31998 * posix/bug-regex31.input: New file.
31999
32000 [BZ #12078]
32001 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32002 (parse_sub_exp): Fix last change, use postorder.
32003
ef06edbe
UD
32004 * posix/bug-regex31.c: New file.
32005 * posix/Makefile: Add rules to build and run bug-regex31.
32006
a129c80d
UD
32007 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32008
32009 [BZ #12078]
32010 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32011
b76b818e
UD
32012 [BZ #12108]
32013 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32014 to have entries in sys_siglist.
32015
1751705d
UD
32016 [BZ #12093]
32017 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32018 be NULL.
32019
9ff8d36f
JJ
320202010-10-07 Jakub Jelinek <jakub@redhat.com>
32021
32022 [BZ #3268]
32023 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32024 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32025 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32026 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32027 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32028 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32029 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32030 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32031 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32032 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32033 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32034 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32035 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32036 * math/ftestexcept.c (fetestexcept): Likewise.
32037 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32038 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32039 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32040 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32041 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32042 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32044
af325969
UD
320452010-10-11 Ulrich Drepper <drepper@gmail.com>
32046
c579b202 32047 [BZ #12107]
af325969
UD
32048 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32049 newline.
32050
67a67b95
UD
320512010-10-06 Ulrich Drepper <drepper@gmail.com>
32052
32053 * string/bug-strstr1.c: New file.
32054 * string/Makefile: Add rules to build and run bug-strstr1.
32055
5fb308bc
EB
320562010-10-05 Eric Blake <eblake@redhat.com>
32057
32058 [BZ #12092]
32059 * string/str-two-way.h (two_way_long_needle): Always clear memory
32060 when skipping input due to the shift table.
32061
45db99c7
UD
320622010-10-03 Ulrich Drepper <drepper@gmail.com>
32063
3b111893
UD
32064 [BZ #12005]
32065 * malloc/mcheck.c: Handle large requests.
32066
45db99c7
UD
32067 [BZ #12077]
32068 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32069 for strncmp and strncasecmp.
32070 * string/stratcliff.c: Add tests for strcmp and strncmp.
32071 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32072
cf7a1eb8
NI
320732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32074
32075 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32076 __set_fpscr.
32077
6484ba5e
AJ
320782010-09-30 Andreas Jaeger <aj@suse.de>
32079
32080 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32081 (CGROUP_SUPER_MAGIC): Define.
32082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32083 Handle btrfs and cgroup file systems.
32084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32085 Likewise.
32086
91c42559
LM
320872010-09-27 Luis Machado <luisgpm@br.ibm.com>
32088
32089 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32090 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32091
87a97932
AK
320922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32093
32094 [BZ #12067]
32095 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32096 trying to locate the ELF header.
32097
c21cc9bc
AS
320982010-09-27 Andreas Schwab <schwab@redhat.com>
32099
32100 [BZ #11611]
32101 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32102 Mask out sign-bit copies when constructing f_fsid.
32103
315970f6
PB
321042010-09-24 Petr Baudis <pasky@suse.cz>
32105
32106 * debug/stack_chk_fail_local.c: Add missing licence exception.
32107 * debug/warning-nop.c: Likewise.
32108
1ac7a2c7
JM
321092010-09-15 Joseph Myers <joseph@codesourcery.com>
32110
32111 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32112 implementing getdents64 using getdents syscall, set d_type if
32113 __ASSUME_GETDENTS32_D_TYPE.
32114
56801c50
AS
321152010-09-16 Andreas Schwab <schwab@redhat.com>
32116
32117 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32118 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32119
dda51327
UD
321202010-09-21 Ulrich Drepper <drepper@redhat.com>
32121
32122 [BZ #12037]
32123 * posix/unistd.h: Undo change of feature selection for ftruncate from
32124 2010-01-11.
32125
8ffcee4a
UD
321262010-09-20 Ulrich Drepper <drepper@redhat.com>
32127
a545ecd9 32128 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32129 detection.
32130
e24f0a8b
AS
321312010-09-20 Andreas Schwab <schwab@redhat.com>
32132
32133 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32134 fanotify_mark.
32135 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32136
7291c56f
AS
321372010-09-14 Andreas Schwab <schwab@redhat.com>
32138
32139 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32140 variables after CHECK_SP call.
32141 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32142
bc5fb037
AS
321432010-09-13 Andreas Schwab <schwab@redhat.com>
32144 Ulrich Drepper <drepper@redhat.com>
32145
32146 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32147 re-relocationg ld.so.
32148 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32149 _dl_init_paths call.
32150 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32151 here anymore.
32152
e66e7419
UD
321532010-09-14 Ulrich Drepper <drepper@redhat.com>
32154
32155 * resolv/res_init.c (__res_vinit): Count the default server we added.
32156
c044aa75
CLT
321572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32158 Ulrich Drepper <drepper@redhat.com>
32159
32160 [BZ #11968]
32161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32162 (____longjmp_chk): Use %ebx for saving value across system call.
32163 Add unwind info.
32164
32cf4069
AS
321652010-09-06 Andreas Schwab <schwab@redhat.com>
32166
32167 * manual/Makefile: Don't mix pattern rules with normal rules.
32168
817328ee
AS
321692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32170
32171 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32172 operation.
32173 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32174 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32175 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32176 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32178 Likewise.
32179
29fddf61
UD
321802010-09-04 Ulrich Drepper <drepper@redhat.com>
32181
32182 [BZ #11979]
32183 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32184 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32185
0959ffc9
UD
321862010-09-02 Ulrich Drepper <drepper@redhat.com>
32187
32188 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32189 * sysdeps/x86_64/addmul_1.S: Likewise.
32190 * sysdeps/x86_64/lshift.S: Likewise.
32191 * sysdeps/x86_64/mul_1.S: Likewise.
32192 * sysdeps/x86_64/rshift.S: Likewise.
32193 * sysdeps/x86_64/sub_n.S: Likewise.
32194 * sysdeps/x86_64/submul_1.S: Likewise.
32195
ece29840
ST
321962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32197
0959ffc9
UD
32198 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32199 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32200 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32201 * bits/sched.h [__need_schedparam]
ece29840 32202 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32203 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32204 (__defined_schedparam): Define to 1.
ece29840
ST
32205 (__sched_param): New structure, identical to sched_param.
32206 (__need_schedparam): Undefine.
32207
e53a31fe
MF
322082010-08-31 Mike Frysinger <vapier@gentoo.org>
32209
fdc0c10d
MF
32210 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32211 (epoll_create1): Declare.
32212
e53a31fe
MF
32213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32214
a726d796
AS
322152010-08-31 Andreas Schwab <schwab@redhat.com>
32216
32217 [BZ #7066]
32218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32219 shifting retval into place.
32220
2f3e3dc7
UD
322212010-09-01 Ulrich Drepper <drepper@redhat.com>
32222
f2933da9
UD
32223 * nis/rpcsvc/nis.h: Update copyright notice.
32224 * nis/rpcsvc/nis.x: Likewise.
32225 * nis/rpcsvc/nis_callback.h: Likewise.
32226 * nis/rpcsvc/nis_callback.x: Likewise.
32227 * nis/rpcsvc/nis_object.x: Likewise.
32228 * nis/rpcsvc/nis_tags.h: Likewise.
32229 * nis/rpcsvc/yp.h: Likewise.
32230 * nis/rpcsvc/yp.x: Likewise.
32231 * nis/rpcsvc/ypupd.h: Likewise.
32232 * nis/yp_xdr.c: Likewise.
32233 * nis/ypupdate_xdr.c: Likewise.
32234
2f3e3dc7
UD
32235 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32236 mainly the body of pmap_getport. Add parameters to specify timeouts.
32237 (pmap_getport): Use __libc_rpc_getport.
32238 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32239 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32240 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32241
f3dcc2f9
AS
322422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32243
32244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32245 fanotify_mark.
32246
6d34eb5b
RM
322472010-08-27 Roland McGrath <roland@redhat.com>
32248
32249 * sysdeps/i386/i686/multiarch/Makefile
32250 (CFLAGS-varshift.c): New variable.
32251
9ea3de11
UD
322522010-08-27 Ulrich Drepper <drepper@redhat.com>
32253
c96d23fc
UD
32254 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32255 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32256
9ea3de11
UD
32257 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32258
32259 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32260
623aac7f
L
322612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32262
32263 * sysdeps/x86_64/strlen.S: Unroll the loop.
32264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32265 strlen-sse2 strlen-sse2-bsf.
32266 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32267 __strlen_no_bsf if bit_Slow_BSF is set.
32268 (__strlen_sse42): Removed.
32269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32270 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32271
8b2b7715
RM
322722010-08-25 Roland McGrath <roland@redhat.com>
32273
32274 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32275 * sysdeps/x86_64/multiarch/varshift.c: New file.
32276 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32277 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32278 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32279 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32280
e73015f2
L
322812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32282
32283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32284 strlen-sse2 strlen-sse2-bsf.
32285 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32286 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32287 (__strlen_sse2): Removed.
32288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32291 bit_Slow_BSF for Atom.
32292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32293 (index_Slow_BSF): Define.
32294 (HAS_SLOW_BSF): Define.
32295
df24a73e
UD
322962010-08-25 Ulrich Drepper <drepper@redhat.com>
32297
32298 [BZ #10851]
32299 * resolv/res_init.c (__res_vinit): When no server address at all
32300 is given default to loopback.
32301
f2ac4868
RM
323022010-08-24 Roland McGrath <roland@redhat.com>
32303
09055553
RM
32304 * configure.in: Remove config-name.h generation.
32305 * configure: Regenerated.
32306 * config-name.in: File removed.
32307 * scripts/config-uname.sh: New file.
32308 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32309 ($(objdir)config-name.h): New target.
32310
f2ac4868
RM
32311 * sunrpc/rpc_parse.h: Avoid nested comment.
32312
73f27d5e
RH
323132010-08-24 Richard Henderson <rth@redhat.com>
32314 Ulrich Drepper <drepper@redhat.com>
32315 H.J. Lu <hongjiu.lu@intel.com>
32316
32317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32319 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32320 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32321 _mm_alignr_epi8 with _mm_loadu_si128.
32322 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32323 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32324 (__m128i_shift_right): Removed.
32325 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32326 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32327 * sysdeps/x86_64/multiarch/varshift.h: New file.
32328 * sysdeps/x86_64/multiarch/varshift.S: New file.
32329
84b9230c
MF
323302010-08-21 Mike Frysinger <vapier@gentoo.org>
32331
32332 * configure.in: Move assembler checks to before sysdep dir checking.
32333
9bbd0ddc
PB
323342010-08-20 Petr Baudis <pasky@suse.cz>
32335
32336 * LICENSES: Sync the sunrpc license.
32337
9da4bb31
UD
323382010-08-19 Ulrich Drepper <drepper@redhat.com>
32339
a7ab6ec8
UD
32340 * sunrpc/auth_des.c: Update copyright notice once again.
32341 * sunrpc/auth_none.c: Likewise.
32342 * sunrpc/auth_unix.c: Likewise.
32343 * sunrpc/authdes_prot.c: Likewise.
32344 * sunrpc/authuxprot.c: Likewise.
32345 * sunrpc/bindrsvprt.c: Likewise.
32346 * sunrpc/clnt_gen.c: Likewise.
32347 * sunrpc/clnt_perr.c: Likewise.
32348 * sunrpc/clnt_raw.c: Likewise.
32349 * sunrpc/clnt_simp.c: Likewise.
32350 * sunrpc/clnt_tcp.c: Likewise.
32351 * sunrpc/clnt_udp.c: Likewise.
32352 * sunrpc/clnt_unix.c: Likewise.
32353 * sunrpc/des_crypt.c: Likewise.
32354 * sunrpc/des_soft.c: Likewise.
32355 * sunrpc/get_myaddr.c: Likewise.
32356 * sunrpc/getrpcport.c: Likewise.
32357 * sunrpc/key_call.c: Likewise.
32358 * sunrpc/key_prot.c: Likewise.
32359 * sunrpc/openchild.c: Likewise.
32360 * sunrpc/pm_getmaps.c: Likewise.
32361 * sunrpc/pm_getport.c: Likewise.
32362 * sunrpc/pmap_clnt.c: Likewise.
32363 * sunrpc/pmap_prot.c: Likewise.
32364 * sunrpc/pmap_prot2.c: Likewise.
32365 * sunrpc/pmap_rmt.c: Likewise.
32366 * sunrpc/rpc/auth.h: Likewise.
32367 * sunrpc/rpc/auth_unix.h: Likewise.
32368 * sunrpc/rpc/clnt.h: Likewise.
32369 * sunrpc/rpc/des_crypt.h: Likewise.
32370 * sunrpc/rpc/key_prot.h: Likewise.
32371 * sunrpc/rpc/netdb.h: Likewise.
32372 * sunrpc/rpc/pmap_clnt.h: Likewise.
32373 * sunrpc/rpc/pmap_prot.h: Likewise.
32374 * sunrpc/rpc/pmap_rmt.h: Likewise.
32375 * sunrpc/rpc/rpc.h: Likewise.
32376 * sunrpc/rpc/rpc_des.h: Likewise.
32377 * sunrpc/rpc/rpc_msg.h: Likewise.
32378 * sunrpc/rpc/svc.h: Likewise.
32379 * sunrpc/rpc/svc_auth.h: Likewise.
32380 * sunrpc/rpc/types.h: Likewise.
32381 * sunrpc/rpc/xdr.h: Likewise.
32382 * sunrpc/rpc_clntout.c: Likewise.
32383 * sunrpc/rpc_cmsg.c: Likewise.
32384 * sunrpc/rpc_common.c: Likewise.
32385 * sunrpc/rpc_cout.c: Likewise.
32386 * sunrpc/rpc_dtable.c: Likewise.
32387 * sunrpc/rpc_hout.c: Likewise.
32388 * sunrpc/rpc_main.c: Likewise.
32389 * sunrpc/rpc_parse.c: Likewise.
32390 * sunrpc/rpc_parse.h: Likewise.
32391 * sunrpc/rpc_prot.c: Likewise.
32392 * sunrpc/rpc_sample.c: Likewise.
32393 * sunrpc/rpc_scan.c: Likewise.
32394 * sunrpc/rpc_scan.h: Likewise.
32395 * sunrpc/rpc_svcout.c: Likewise.
32396 * sunrpc/rpc_tblout.c: Likewise.
32397 * sunrpc/rpc_util.c: Likewise.
32398 * sunrpc/rpc_util.h: Likewise.
32399 * sunrpc/rpcinfo.c: Likewise.
32400 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32401 * sunrpc/rpcsvc/key_prot.x: Likewise.
32402 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32403 * sunrpc/rpcsvc/mount.x: Likewise.
32404 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32405 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32406 * sunrpc/rpcsvc/rex.x: Likewise.
32407 * sunrpc/rpcsvc/rstat.x: Likewise.
32408 * sunrpc/rpcsvc/rusers.x: Likewise.
32409 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32410 * sunrpc/rpcsvc/spray.x: Likewise.
32411 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32412 * sunrpc/rtime.c: Likewise.
32413 * sunrpc/svc.c: Likewise.
32414 * sunrpc/svc_auth.c: Likewise.
32415 * sunrpc/svc_authux.c: Likewise.
32416 * sunrpc/svc_raw.c: Likewise.
32417 * sunrpc/svc_run.c: Likewise.
32418 * sunrpc/svc_simple.c: Likewise.
32419 * sunrpc/svc_tcp.c: Likewise.
32420 * sunrpc/svc_udp.c: Likewise.
32421 * sunrpc/svc_unix.c: Likewise.
32422 * sunrpc/svcauth_des.c: Likewise.
32423 * sunrpc/xcrypt.c: Likewise.
32424 * sunrpc/xdr.c: Likewise.
32425 * sunrpc/xdr_array.c: Likewise.
32426 * sunrpc/xdr_float.c: Likewise.
32427 * sunrpc/xdr_mem.c: Likewise.
32428 * sunrpc/xdr_rec.c: Likewise.
32429 * sunrpc/xdr_ref.c: Likewise.
32430 * sunrpc/xdr_sizeof.c: Likewise.
32431 * sunrpc/xdr_stdio.c: Likewise.
32432
9da4bb31
UD
32433 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32434 handling.
32435
bdaa77bc
AS
324362010-08-19 Andreas Schwab <schwab@redhat.com>
32437
32438 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32439
fe2f79db
LM
324402010-08-19 Luis Machado <luisgpm@br.ibm.com>
32441
32442 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32443 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32444 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32445 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32447 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32448 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32449 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32451 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32452 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32453 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32454 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32455 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32456
b9b42ee0
AB
324572010-07-26 Anton Blanchard <anton@samba.org>
32458
32459 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32460 * malloc/arena.c (heap_trim): Likewise.
32461
1c06ba31
UD
324622010-08-16 Ulrich Drepper <drepper@redhat.com>
32463
32464 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32465 here. Not...
32466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32467 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32468
f8392f40
L
324692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32470
32471 * sysdeps/i386/elf/Makefile: New file.
32472
3162f12e
AS
324732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32474
32475 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32476 from fanotify_init.
32477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32479
28c90b2c
UD
324802010-08-15 Ulrich Drepper <drepper@redhat.com>
32481
32482 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32483 of strncasecmp_l.
1feccb6c 32484 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32485
ca6bb004
UD
324862010-08-14 Ulrich Drepper <drepper@redhat.com>
32487
e9f82e0d
UD
32488 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32489 strncase_l-nonascii.
32490 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32491 Add strncase_l-ssse3.
32492 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32493 * sysdeps/x86_64/strcmp.S: Likewise.
32494 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32495 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32496 * sysdeps/x86_64/strncase.S: New file.
32497 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32498 * sysdeps/x86_64/strncase_l.S: New file.
32499 * string/Makefile (strop-tests): Add strncasecmp.
32500 * string/test-strncasecmp.c: New file.
32501
32502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32503 warning.
32504
ca6bb004
UD
32505 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32506 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32507
052fa7b3
AS
325082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32509
32510 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32511
962dba78
UD
325122010-08-12 Ulrich Drepper <drepper@redhat.com>
32513
32514 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32515 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32516 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32517
bebff237
AM
325182010-05-01 Alan Modra <amodra@gmail.com>
32519
32520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32521 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32522 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32523 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32524 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32525 tidying. Don't tail-call __sigjmp_save for static lib.
32526 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32527 save location.
32528 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32529 (CALL_MCOUNT): Add eh info, and nop after bl.
32530 (TAIL_CALL_SYSCALL_ERROR): New macro.
32531 (PSEUDO_RET): Use it.
32532 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32533 Correct save location of integer regs and cr.
32534 (_dl_profile_resolve): Correct cr save location. Delete nops
32535 after bl when SHARED. Reduce cfi size a little by better
32536 placement of cfi directives.
32537 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32538 make a stack frame. Instead use parm save area as a temp.
32539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32540 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32542 Don't make a stack frame for parent, use parm save area.
32543 Increase child stack frame to 112 bytes. Don't save unused reg,
32544 and adjust reg usage. Set up cfi on error recovery and
32545 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32547 (__makecontext): Add dummy nop after jump to exit.
32548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32549 Use correct parm save area and cr save, reduce stack frame.
32550 Correct cfi for possible PSEUDO_RET frame setup.
32551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32552 Branch to local label emitted by PSEUDO_RET rather than
32553 __syscall_error.
32554
02637374
AS
325552010-08-12 Andreas Schwab <schwab@redhat.com>
32556
32557 [BZ #11904]
32558 * locale/programs/locale.c (print_assignment): New function.
32559 (show_locale_vars): Use it.
32560
c3e2f19b
UD
325612010-08-11 Ulrich Drepper <drepper@redhat.com>
32562
3cdaa6ad
UD
32563 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32564 field.
32565 (struct statfs64): Likewise.
32566 (_STATFS_F_FLAGS): Define.
32567 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32569 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32570 (ST_VALID): Define locally.
32571 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32572 __statvfs_getflags, use the provided value.
32573 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32574 __ASSUME_STATFS_F_FLAGS.
32575
754f7da3
UD
32576 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32577
10b3bedc
UD
32578 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32579 Add sys/fanotify.h.
32580 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32581 fanotify_mask for GLIBC_2.13.
32582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32583 fanotify_init and fanotify_mark.
32584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32585 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32586
c08fb0d7
UD
32587 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32588 Add prlimit.
32589 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32590 prlimit64 for GLIBC_2.13.
32591 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32592 prlimit64.
32593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32594 syscall.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32597 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32598 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32600 add prlimit alias.
32601 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32602
15bac72b
UD
32603 [BZ #11903]
32604 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32605 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32606
c3e2f19b
UD
32607 * nss/Makefile: Add rules to build and run tst-nss-test1.
32608 * shlib-versions: Add entry for libnss_test1.
32609 * nss/nss_test1.c: New file.
32610 * nss/tst-nss-test1.c: New file.
32611
32612 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32613 (__nss_configure_lookup): Set appropriate entry in
32614 __nss_configure_lookup to true.
32615 * nss/nsswitch.h: Define enum with indeces of databases in
32616 databases and __nss_database_custom arrays. Declare
32617 __nss_database_custom.
32618 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32619 to avoid using nscd when custom rules are installed.
32620 * nss/getXXbyYY_r.c: Likewise.
32621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32622
32623 * nss/nss_files/files-parse.c: Whitespace fixes.
32624
f15ce4d8
UD
326252010-08-09 Ulrich Drepper <drepper@redhat.com>
32626
32627 [BZ #11883]
32628 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32629 * posix/fnmatch_loop.c: Likewise.
32630
d22e4cc9
AK
326312010-07-17 Andi Kleen <ak@linux.intel.com>
32632
32633 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32634 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32635 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32636 * Versions.def [GLIBC_2.13]: Add.
32637
805bc17d
UD
326382010-08-06 Ulrich Drepper <drepper@redhat.com>
32639
32640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32641 Also fail if tpwd after pwuid call is NULL.
32642
5a42321d
ST
326432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32644
32645 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32646 when converting to ms.
32647
fd3ebeda
ST
326482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32649
32650 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32651 EOPNOTSUPP errors with ENOTTY.
32652 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32653 EOPNOTSUPP errors with ENOTTY.
32654
73507d3a
UD
326552010-07-31 Ulrich Drepper <drepper@redhat.com>
32656
32657 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32658 Add strcasecmp_l-ssse3.
32659 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32660 strcasecmp.
32661 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32662 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32663 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32664
fe36dd02
UD
326652010-07-30 Ulrich Drepper <drepper@redhat.com>
32666
66f6765a
UD
32667 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32668
42e08a54
UD
32669 * string/Makefile (strop-tests): Add strcasecmp.
32670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32671 strcasecmp_l-nonascii.
32672 (gen-as-const-headers): Add locale-defines.sym.
32673 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32674 * sysdeps/x86_64/strcasecmp.S: New file.
32675 * sysdeps/x86_64/strcasecmp_l.S: New file.
32676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32677 * sysdeps/x86_64/locale-defines.sym: New file.
32678 * string/test-strcasecmp.c: New file.
32679
fe36dd02
UD
32680 * string/test-strcasestr.c: Test both ends of the range of characters.
32681 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32682
48cbc0d6
RM
326832010-07-29 Roland McGrath <roland@redhat.com>
32684
76e6d6bc 32685 [BZ #11856]
48cbc0d6
RM
32686 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32687
880113d9
UD
326882010-07-27 Ulrich Drepper <drepper@redhat.com>
32689
32690 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32691 for ld.so.
32692
deb9cabb
AS
326932010-07-27 Andreas Schwab <schwab@redhat.com>
32694
32695 * manual/memory.texi (Malloc Tunable Parameters): Document
32696 M_PERTURB.
32697
1c7570ff
RM
326982010-07-26 Roland McGrath <roland@redhat.com>
32699
32700 [BZ #11840]
32701 * configure.in (-fgnu89-inline check): Set and substitute
32702 gnu89_inline, not libc_cv_gnu89_inline.
32703 * configure: Regenerated.
32704 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32705
24fb0f88
UD
327062010-07-26 Ulrich Drepper <drepper@redhat.com>
32707
32708 * string/test-strnlen.c: New file.
32709 * string/Makefile (strop-tests): Add strnlen.
32710 * string/tester.c (test_strnlen): Add a few more test cases.
32711 * string/tst-strlen.c: Better error reporting.
32712
32713 * sysdeps/x86_64/strnlen.S: New file.
32714
8e96b93a
UD
327152010-07-24 Ulrich Drepper <drepper@redhat.com>
32716
32717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32718 lower-latency instructions.
32719
dbc676d4
UD
327202010-07-23 Ulrich Drepper <drepper@redhat.com>
32721
32722 * string/test-strcasestr.c: New file.
32723 * string/test-strstr.c: New file.
32724 * string/Makefile (strop-tests): Add strstr and strcasestr.
32725 * string/str-two-way.h: Don't undefine MAX.
32726 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32727
f6a31e0e
AS
327282010-07-21 Andreas Schwab <schwab@redhat.com>
32729
32730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32731 strcasestr-nonascii.
32732 (CFLAGS-strcasestr-nonascii.c): Define.
32733 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32734 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32735 Remove unused attribute.
32736
5dbc3b6c
RM
327372010-07-20 Roland McGrath <roland@redhat.com>
32738
32739 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32740 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32741 ld.so.cache was broken. With it, there is no way to disable dsocaps
32742 like LD_HWCAP_MASK can disable hwcaps.
32743
23d101d8
EPM
327442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32745
32746 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32747
cc9f2e47
UD
327482010-07-16 Ulrich Drepper <drepper@redhat.com>
32749
32750 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32751 call in strcasestr.
32752 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32753 __strcasestr_sse42_nonascii.
32754 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32755 strcasestr-nonascii.c.
32756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32757
77c1b069
LM
327582010-06-15 Luis Machado <luisgpm@br.ibm.com>
32759
32760 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32762 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32764
440566c3
UD
327652010-07-09 Ulrich Drepper <drepper@redhat.com>
32766
32767 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32768 fcntl.
32769
5be9d05d
AS
327702010-07-06 Andreas Schwab <schwab@redhat.com>
32771
c30b7ee2 32772 [BZ #11577]
5be9d05d
AS
32773 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32774 dl_signal_cerror.
32775
8a492a67
UD
327762010-07-06 Ulrich Drepper <drepper@redhat.com>
32777
32778 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32779 _PC_PIPE_BUF using F_GETPIPE_SZ.
32780
713df3d5
RM
327812010-07-05 Roland McGrath <roland@redhat.com>
32782
32783 * manual/arith.texi (Rounding Functions): Fix rint description
32784 implicit in round description.
32785
702e8f14
UD
327862010-07-02 Ulrich Drepper <drepper@redhat.com>
32787
32788 * elf/Makefile: Fix linking for a few tests to make recent linker
32789 happy.
32790
52ed8be9
AS
327912010-06-30 Andreas Schwab <schwab@redhat.com>
32792
32793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32794 $(common-objpfx)libc_nonshared.a.
32795
f47c9a11
LM
327962010-06-21 Luis Machado <luisgpm@br.ibm.com>
32797
32798 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32799 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32800 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32801 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32802 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32803 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32804 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32805 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32820 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32821 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32822 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32823 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32824 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32825 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32826 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32827 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32828 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32829 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32830 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32831 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32846
6fb8cbcb
L
328472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32848
32849 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32850 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32851 * string/memmove.c (memmove): Renamed to ...
32852 (MEMMOVE): ...this. Default to memmove.
32853 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32854 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32855 (END_CHK): Define.
32856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32857 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32858 mempcpy-ssse3-back memmove-ssse3-back.
32859 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32862 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32863 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32864 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32865 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32866 * sysdeps/x86_64/multiarch/memmove.c: New file.
32867 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32868 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32869 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32870 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32871 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32873 Define.
32874 (index_Fast_Copy_Backward): Define.
32875 (HAS_ARCH_FEATURE): Define.
32876 (HAS_FAST_REP_STRING): Define.
32877 (HAS_FAST_COPY_BACKWARD): Define.
32878
4e733bac 328792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32880
32881 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32882 Restore proper fallback handling.
32883
63c4ed22
UD
328842010-06-19 Ulrich Drepper <drepper@redhat.com>
32885
ac2b484c
UD
32886 [BZ #11701]
32887 * posix/group_member.c (__group_member): Correct checking loop.
32888
63c4ed22
UD
32889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32890 OOM in getpwuid_r correctly. Return error number when the caller
32891 should return, otherwise -1.
32892 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32893 call returning > 0 value.
32894 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32895
765ade4b
AS
328962010-06-07 Andreas Schwab <schwab@redhat.com>
32897
32898 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32899 libc_nonshared.a from targets in modules-names.
32900
80da2e09
KS
329012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32902
32903 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32904 requires it.
32905
158db122
LM
329062010-06-10 Luis Machado <luisgpm@br.ibm.com>
32907
32908 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32909 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32911 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32912
caa78cf8
AS
329132010-06-02 Andreas Schwab <schwab@redhat.com>
32914
32915 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32916
b2ef2c01
UD
329172010-06-14 Ulrich Drepper <drepper@redhat.com>
32918
32919 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32920 and F_GETPIPE_SZ.
32921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32927
fbd643b6
RM
329282010-06-14 Roland McGrath <roland@redhat.com>
32929
32930 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32931
f32f2869
JJ
329322010-06-07 Jakub Jelinek <jakub@redhat.com>
32933
32934 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32935 __REDIRECT followed by __THROW.
32936 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32937 * posix/getopt.h (getopt): Likewise.
32938
2a50c078
EPM
329392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32940
32941 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32942 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32943 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32944 in AT_FLAGS.
32945 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32946 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32947
eb5ad2eb
LM
329482010-05-28 Luis Machado <luisgpm@br.ibm.com>
32949
32950 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32951
3c88fe1e
L
329522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32953
32954 [BZ #11640]
32955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32956 Properly check family and model.
32957
d2f73151
TY
329582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32959
32960 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32961
ebd2e13d
LM
329622010-05-24 Luis Machado <luisgpm@br.ibm.com>
32963
32964 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32965
b32b8b45
UD
329662010-05-21 Ulrich Drepper <drepper@redhat.com>
32967
32968 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32969 symbol reference.
32970
9acbe24d
AS
329712010-05-19 Andreas Schwab <schwab@redhat.com>
32972
32973 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32974 symbol reference.
32975
f0ccf6ea
AS
329762010-05-21 Andreas Schwab <schwab@redhat.com>
32977
3d04ff3a
AS
32978 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32979 and internal_recvmmsg.
32980 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32981 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32982 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32983 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32984
f0ccf6ea
AS
32985 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32986 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32987 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32988
5b08ac57
AS
329892010-05-20 Andreas Schwab <schwab@redhat.com>
32990
32991 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32992
4828935d
LM
329932010-05-17 Luis Machado <luisgpm@br.ibm.com>
32994
32995 POWER7 optimizations.
32996 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32997 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32998
373d545e
UD
329992010-05-19 Ulrich Drepper <drepper@redhat.com>
33000
33001 * version.h: Update for 2.13 development version.
33002
21a2b1ae
AS
330032010-05-12 Andrew Stubbs <ams@codesourcery.com>
33004
33005 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33006 exceptions. Return 0.
33007
3f7dcb2b
RM
330082010-05-07 Roland McGrath <roland@redhat.com>
33009
33010 * elf/ldconfig.c (main): Add a const.
33011
5f24d53a 330122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33013
a160f8d8
UD
33014 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33015 (args_options): Add no-idn option.
33016 (ahosts_keys_int): Add idn_flags to ai_flags.
33017 (parse_option): Handle 'i' option to clear idn_flags.
33018
5f24d53a
UD
33019 * malloc/malloc.c (_int_free): Possible race in the most recently
33020 added check. Only act on the data if no current modification
33021 happened.
265bb1ce
UD
33022
33023See ChangeLog.17 for earlier changes.
This page took 4.504411 seconds and 5 git commands to generate.