]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add probes for malloc retries.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3ea5be54
AO
12013-09-20 Alexandre Oliva <aoliva@redhat.com>
2
35fed6f1
AO
3 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4 (__libc_realloc): Add memory_realloc_retry probe.
5 (__libc_memalign): Add memory_memalign_retry probe.
6 (__libc_valloc): Add memory_valloc_retry probe.
7 (__libc_pvalloc): Add memory_pvalloc_retry probe.
8 (__libc_calloc): Add memory_calloc_retry probe.
9 * manual/probes.texi: Document them.
10
6999d38c
AO
11 * malloc/arena.c (get_free_list): Add probe
12 memory_arena_reuse_free_list.
13 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14 and memory_arena_reuse.
15 (arena_get2) [!PER_THREAD]: Likewise.
16 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17 memory_arena_reuse_realloc.
18 * manual/probes.texi: Document them.
19
0653427f
AO
20 * malloc/malloc.c (__libc_free): Add
21 memory_mallopt_free_dyn_thresholds probe.
22 (__libc_mallopt): Add multiple memory_mallopt probes.
23 * manual/probes.texi: Document them.
24
3ea5be54
AO
25 * malloc/malloc.c: Include stap-probe.h.
26 (__libc_mallopt): Add memory_mallopt probe.
27 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28 * manual/probes.texi: New.
29 * manual/Makefile (chapters): Add probes.
30 * manual/threads.texi: Set next node.
31
e35696c3 322013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 33
e35696c3
CL
34 [BZ #15963, #13985]
35 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
36 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37 Add `Chinese' to `nan' entry name.
38
4aafb73c
SP
392013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40
41 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42 (POLYNOMIAL): Likewise.
43 (TAYLOR_SINCOS): Likewise.
44 (TAYLOR_SLOW): Likewise.
45 (__sin): Use TAYLOR_SINCOS.
46 (__cos): Likewise.
47 (slow): Use TAYLOR_SLOW.
48 (sloww): Likewise.
49 (bsloww): Likewise.
50 (csloww): Likewise.
51
d84f25c7
LD
522013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53
54 * stdlib/strtod_l.c: Fix buffer overrun.
55
5eea0404
SP
562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
57
7849ff93
SP
58 * benchtests/Makefile (bench): Add sincos.
59 * benchtests/bench-sincos.c: New file.
60
cfa3c886
SP
61 * math/libm-test.inc (cos_test_data): New test inputs.
62 (sin_test_data): Likewise.
63
b348e1e3
SP
64 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
65 macro.
66 (__sin): Use it.
67 (__cos): Likewise.
68 (slow1): Likewise.
69 (slow2): Likewise.
70 (sloww1): Likewise.
71 (sloww2): Likewise.
72 (bsloww1): Likewise.
73 (bsloww2): Likewise.
74 (cslow2): Likewise.
75 (csloww1): Likewise.
76 (csloww2): Likewise.
77
6cce25f8
SP
78 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
79 function.
80 (__sin): Use it.
81 (__cos): Likewise.
82
5eea0404
SP
83 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
84 gotos.
85 (__cos): Likewise.
86
9c21573c
MR
872013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
88
89 * config.h.in (HAVE_MIPS_NAN2008): New macro.
90 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
91 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
92 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
93 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
94 * elf/cache.c (print_entry): Handle the new cache flags.
95
24d22e65
JM
962013-09-18 Joseph Myers <joseph@codesourcery.com>
97 Aldy Hernandez <aldyh@redhat.com>
98
99 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
100 Change condition to [_SOFT_FLOAT].
101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
113 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
116 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
117 declaration.
118
d13ef066
JM
1192013-09-18 Joseph Myers <joseph@codesourcery.com>
120
2e071de0
JM
121 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
122 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
123 (__longjmp): Use LOAD_GP to load saved GPRs.
124 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
125 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
126 (__sigsetjmp): Use SAVE_GP to save GPRs.
127
d13ef066
JM
128 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
129 Do not append -msoft-float.
130 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
131
97a0650b
SP
1322013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
133
134 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
135
11ca09e9
JM
1362013-09-17 Joseph Myers <joseph@codesourcery.com>
137
138 [BZ #15966]
139 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
140 (_FPU_GETCW): Use initial "__" on variable and field names but not
141 on macro parameter name.
142 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
143 parentheses around reference to macro parameter.
144
08ffcf34
RS
1452013-09-13 Richard Sandiford <richard@codesourcery.com>
146
147 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
148 prototype.
149 (ctype_startup): Use uint32_t in cast and sizeof for
150 ctype->charnames.
151
ae7080d3
JL
1522013-09-11 Jia Liu <proljc@gmail.com>
153
154 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
155 __daddr_t_defined.
156 [__FreeBSD__]: Likewise.
157
5905e7b3
OB
1582013-09-11 Ondřej Bílka <neleai@seznam.cz>
159
160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
161 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
162 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
163 (strchr): Remove __strchr_sse42 ifunc selection.
164 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
165 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
166
b987c776
WN
1672013-09-11 Will Newton <will.newton@linaro.org>
168
169 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
170 parameter to RES. Remove hardcoded 1000 value.
171 * benchtests/bench-skeleton.c (main): Pass RES parameter
172 to TIMING_INIT and multiply result by 1000.
173
ddf985af
AZ
1742013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175
176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
177
ffdd3181
AS
1782013-09-11 Andreas Schwab <schwab@suse.de>
179
180 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
181 if not defined.
182 (O_TMPFILE) [__USE_GNU]: Define.
183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
184 Define.
185
b73ed247
WN
1862013-09-11 Will Newton <will.newton@linaro.org>
187
188 [BZ #15857]
189 * malloc/malloc.c (__libc_memalign): Check the value of bytes
190 does not overflow.
191
55e17aad
WN
1922013-09-11 Will Newton <will.newton@linaro.org>
193
194 [BZ #15856]
195 * malloc/malloc.c (__libc_valloc): Check the value of bytes
196 does not overflow.
197
1159a193
WN
1982013-09-11 Will Newton <will.newton@linaro.org>
199
200 [BZ #15855]
201 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
202 does not overflow.
203
5905e7b3 2042013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
205
206 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
207 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
208 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
209 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
211
cdfc721b
AM
2122013-09-10 Allan McRae <allan@archlinux.org>
213
aa04af00
AM
214 [BZ #15748]
215 * manual/arith.texi (Parsing of Floats): Clarify
216 cross-reference.
217
cdfc721b
AM
218 [BZ #15849]
219 * manual/install.texi (Running make install): Mention
220 --enable-pt-chown.
221 * INSTALL: Regenerated.
222
95e7cf29
MR
2232013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
224
225 * csu/init-first.c (_init): Remove the !SHARED condition around
226 FPU control word initialization.
227 * elf/dl-support.c (_dl_fpu_control): New variable.
228 (_dl_aux_init) <AT_FPUCW>: Initialize it.
229 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
230 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
231 * math/test-fpucw-static.c: New file.
232 * math/test-fpucw-ieee.c: New file.
233 * math/test-fpucw-ieee-static.c: New file.
234 * math/Makefile (tests): Add `test-fpucw-ieee' and
235 `$(tests-static)'.
236 (tests-static): New variable.
237 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
238 dependency to...
239 [($(build-shared),yes)]
240 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
241 ... this.
242 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
243 New dependency.
244
83e43bf0
AM
2452013-09-09 Allan McRae <allan@archlinux.org>
246
a9f5ce09
AM
247 [BZ #15939]
248 * manual/string.texi (Collation Functions): Fix typo in
249 strcoll example.
250 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
251
34829bc2
AM
252 [BZ #15893]
253 * stdlib/isomac.c (get_null_defines): Fix memory leak.
254
3932737d
AM
255 [BZ #15892]
256 * libio/memstream.c (open_memstream): Fix memory leak.
257 * libio/wmemstream.c (open_wmemstream): Likewise.
258
83e43bf0
AM
259 [BZ #15895]
260 * nscd/netgroupcache.c: Fix nesting of ifdefs.
261
0c66b8e9
WN
2622013-09-09 Will Newton <will.newton@linaro.org>
263
264 * malloc/Makefile: Add tst-realloc to tests.
265 * malloc/tst-realloc.c: New file.
266
f6b00fd1
AM
2672013-09-09 Allan McRae <allan@archlinux.org>
268
269 [BZ #15844]
270 * COPYING: Update from GNU website to fix FSF address.
271 * COPYING.LIB: Likewise.
272
eec55e16
DM
2732013-09-06 David S. Miller <davem@davemloft.net>
274
275 * po/zh_TW.po: Update Chinese (traditional) translation from
276 translation project.
277
1ecbb381
RS
2782013-09-06 Richard Sandiford <richard@codesourcery.com>
279 Joseph Myers <joseph@codesourcery.com>
280
281 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
282 "localeinfo.h".
283 (obstack_chunk_alloc): New macro.
284 (obstack_chunk_free): Likewise.
285 (record_offset): New function.
286 (init_locale_data): Likewise.
287 (align_locale_data): Likewise.
288 (add_locale_empty): Likewise.
289 (add_locale_raw_data): Likewise.
290 (add_locale_raw_obstack): Likewise.
291 (add_locale_string): Likewise.
292 (add_locale_wstring): Likewise.
293 (add_locale_uint32): Likewise.
294 (add_locale_uint32_array): Likewise.
295 (add_locale_char): Likewise.
296 (start_locale_structure): Likewise.
297 (end_locale_structure): Likewise.
298 (start_locale_prelude): Likewise.
299 (end_locale_prelude): Likewise.
300 (write_locale_data): Take locale_file structure rather than an
301 iovec.
302 * locale/programs/locfile.h: Include "obstack.h".
303 (struct locale_file): Change to store locale file contents instead
304 of header.
305 (init_locale_data): New prototype.
306 (align_locale_data): Likewise.
307 (add_locale_empty): Likewise.
308 (add_locale_raw_data): Likewise.
309 (add_locale_raw_obstack): Likewise.
310 (add_locale_string): Likewise.
311 (add_locale_wstring): Likewise.
312 (add_locale_uint32): Likewise.
313 (add_locale_uint32_array): Likewise.
314 (add_locale_char): Likewise.
315 (start_locale_structure): Likewise.
316 (end_locale_structure): Likewise.
317 (start_locale_prelude): Likewise.
318 (end_locale_prelude): Likewise.
319 (write_locale_data): Update prototype.
320 * locale/programs/3level.h (struct TABLE): Remove result field.
321 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
322 Use new locale_file interface.
323 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
324 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
325 * locale/programs/ld-address.c (address_output): Use new
326 locale_file interface.
327 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
328 NO_ADD_LOCALE.
329 (collate_finish): Don't call collseq_table_finalize.
330 (collate_output): Use new locale_file interface.
331 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
332 in file.
333 (NO_FINALIZE): Change to NO_ADD_LOCALE.
334 (TABLE): Move defines earlier in file.
335 (ELEMENT): Likewise.
336 (DEFAULT): Likewise.
337 (wctrans_table_add): Move macro and inline function earlier in
338 file.
339 (struct wctype_table): Move type earlier in file.
340 (add_locale_wctype_table): New static prototype.
341 (struct locale_ctype_t): Use logical types instead of struct iovec
342 pointers for members.
343 (ctype_output): Use new locale_file interface.
344 (wctype_table_finalize): Change to add_locale_wctype_table. Use
345 new locale_file interface.
346 (allocate_arrays): Update for use of new locale_file interface.
347 * locale/programs/ld-identification.c (identification_output): Use
348 new locale_file interface.
349 * locale/programs/ld-measurement.c (measurement_output): Likewise.
350 * locale/programs/ld-messages.c (messages_output): Likewise.
351 * locale/programs/ld-monetary.c (monetary_output): Likewise.
352 * locale/programs/ld-name.c (name_output): Likewise.
353 * locale/programs/ld-numeric.c (numeric_output): Likewise.
354 * locale/programs/ld-paper.c (paper_output): Likewise.
355 * locale/programs/ld-telephone.c (telephone_output): Likewise.
356 * locale/programs/ld-time.c (time_output): Likewise.
357
e029e2e5
AZ
3582013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
359
360 * benchtests/Makefile: Add memrchr benchmark.
361 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
362 benchmark as memrchr.
363 * benchtests/bench-memrchr-ifunc.c: New file.
364 * benchtests/bench-memrchr.c: New file.
365
bbf6e8e4
WN
3662013-09-06 Will Newton <will.newton@linaro.org>
367
368 * benchtests/Makefile (string-bench): Add memcpy.
369
6c82a2f8
CD
3702013-09-05 Carlos O'Donell <carlos@redhat.com>
371 Cong Wang <amwang@redhat.com>
372
373 * sysdeps/unix/sysv/linux/bits/in.h
374 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
375 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
376 before __USE_KERNEL_IPV6_DEFS uses.
377 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
378 IPPROTO_BEETPH.
379 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
380 sockaddr_in6, or ipv6_mreq.
381
5430fc65
AZ
3822013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
383
384 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
385 memory access for final bytes in some large inputs.
386 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
387
4660856c
AZ
3882013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
389
390 * string/test-memrchr.c: New file.
391 * string/test-memrchr-ifunc.c: New file.
392 * string/Makefile: Add new memrchr testcase.
393
bb8ea713
MF
3942013-09-05 Mike Frysinger <vapier@gentoo.org>
395
396 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
397 fanotify_init returns EPERM.
398
b92a20b5
JM
3992013-09-04 Joseph Myers <joseph@codesourcery.com>
400
401 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
402 errors.
403 (top level): Treat second token from macro or constant entries for
404 allowed headers as allowed.
405 * include/complex.h: Condition internal declarations on
406 [!_ISOMAC].
407 * include/fenv.h: Condition include of <stdbool.h> and internal
408 declarations on [!_ISOMAC].
7447ccd9
CL
409
4102013-09-04 Chris Leonard <cjl@sugarlabs,.org>
411
3e181dda 412 [BZ #15923]
7447ccd9
CL
413 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
414
3f2e46a4
JM
4152013-09-04 Joseph Myers <joseph@codesourcery.com>
416
417 * configure.in (--enable-versioning): Remove configure option.
418 (libc_cv_asm_symver_directive): Remove configure test.
419 (libc_cv_ld_version_script_option): Likewise.
420 (VERSIONING): Remove variable and AC_SUBST.
421 (DO_VERSIONING): Remove AC_DEFINE.
422 * configure: Regenerated.
423 * config.h.in (DO_VERSIONING): Remove macro.
424 * Makerules [$(versioning) = yes]: Change conditionals to
425 [$(build-shared) = yes].
426 * config.make.in (versioning): Remove variable.
427 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
428 [$(build-shared) = yes].
429 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
430 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
431 * elf/Makefile [$(versioning) = yes]: Change conditionals to
432 [$(build-shared) = yes].
433 * extra-lib.mk [$(versioning) = yes]: Likewise.
434 * hurd/Makefile [$(versioning) = yes]: Likewise.
435 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
436 [SHARED].
437 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
438 [SHARED].
439 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
440 [SHARED && !NO_HIDDEN].
441 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
442 [SHARED].
443 [SHARED && DO_VERSIONING]: Likewise..
444 * libio/Makefile [$(versioning) = yes]: Change conditionals to
445 [$(build-shared) = yes].
446 * manual/install.texi (--disable-versioning): Remove
447 documentation.
448 * INSTALL: Regenerated.
449 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
450 to [SHARED].
451 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
452 [$(build-shared) = yes].
453 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
454 * sysdeps/i386/i686/multiarch/strstr-c.c
455 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
456 [SHARED && !NO_HIDDEN].
457 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
458 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
459 * sysdeps/powerpc/powerpc32/dl-machine.c
460 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
461 * sysdeps/powerpc/powerpc32/sysdep.h
462 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
463 to [SHARED && PIC && !NO_HIDDEN].
464 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
465 conditional to [SHARED].
466
44558701
WN
4672013-09-04 Will Newton <will.newton@linaro.org>
468
469 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
470 * benchtests/bench-string.h: Include bench-timing.h instead
471 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
472 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
473 call to HP_TIMING_DIFF_INIT.
474 * benchtests/bench-memccpy.c: Use bench-timing.h macros
475 instead of hp-timing.h macros.
476 * benchtests/bench-memchr.c: Likewise.
477 * benchtests/bench-memcmp.c: Likewise.
478 * benchtests/bench-memcpy.c: Likewise.
479 * benchtests/bench-memmem.c: Likewise.
480 * benchtests/bench-memmove.c: Likewise.
481 * benchtests/bench-memset.c: Likewise.
482 * benchtests/bench-rawmemchr.c: Likewise.
483 * benchtests/bench-strcasecmp.c: Likewise.
484 * benchtests/bench-strcasestr.c: Likewise.
485 * benchtests/bench-strcat.c: Likewise.
486 * benchtests/bench-strchr.c: Likewise.
487 * benchtests/bench-strcmp.c: Likewise.
488 * benchtests/bench-strcpy.c: Likewise.
489 * benchtests/bench-strcpy_chk.c: Likewise.
490 * benchtests/bench-strlen.c: Likewise.
491 * benchtests/bench-strncasecmp.c: Likewise.
492 * benchtests/bench-strncat.c: Likewise.
493 * benchtests/bench-strncmp.c: Likewise.
494 * benchtests/bench-strncpy.c: Likewise.
495 * benchtests/bench-strnlen.c: Likewise.
496 * benchtests/bench-strpbrk.c: Likewise.
497 * benchtests/bench-strrchr.c: Likewise.
498 * benchtests/bench-strspn.c: Likewise.
499 * benchtests/bench-strstr.c: Likewise.
500
cae16d66
WN
5012013-09-04 Will Newton <will.newton@linaro.org>
502
503 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
504
ffa3cd7f
JM
5052013-09-03 Joseph Myers <joseph@codesourcery.com>
506
507 [BZ #15427]
508 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
509 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
510 * math/libm-test.inc (lgamma_test_data): Add more tests.
511 * sysdeps/i386/fpu/libm-test-ulps: Update.
512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
513
8f02859f
OB
5142013-09-03 Ondřej Bílka <neleai@seznam.cz>
515
516 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
517 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
518 Add ifunc.
519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
520 Add strcmp-sse2-unaligned
521 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
522
18d43716
MF
5232013-09-02 Mike Frysinger <vapier@gentoo.org>
524
525 * Versions.def (libc): Add GLIBC_2.19.
526
ac444012
MF
5272013-09-02 Mike Frysinger <vapier@gentoo.org>
528
529 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
530 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
531
b7835e32
JM
5322013-09-02 Joseph Myers <joseph@codesourcery.com>
533
534 [BZ #14155]
535 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
536 intermediate calculations in recurrence.
537 (__ieee754_ynf): Likewise.
538 * math/libm-test.inc (jn_test_data): Do not allow spurious
539 underflow exception. Add more tests.
540 (yn_test_data): Add more tests.
541 * sysdeps/i386/fpu/libm-test-ulps: Update.
542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
543
8220f4f0
OB
5442013-09-02 Ondřej Bílka <neleai@seznam.cz>
545
546 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
547
f24a6d08
OB
5482013-08-30 Ondřej Bílka <neleai@seznam.cz>
549
550 * csu/init-first.c: Fix then/than typos.
551 * locale/programs/ld-collate.c: Likewise.
552 * locale/programs/linereader.h: Likewise.
553 * manual/charset.texi: Likewise.
554 * manual/filesys.texi: Likewise.
555 * manual/stdio.texi: Likewise.
556 * manual/string.texi: Likewise.
557 * stdlib/fmtmsg.c: Likewise.
558 * sysdeps/i386/stpncpy.S: Likewise.
559 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
560 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
561 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
562 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
563
382466e0
OB
5642013-08-30 Ondřej Bílka <neleai@seznam.cz>
565
566 * elf/dl-open.c: Fix typos.
567 * iconvdata/gbbig5.c: Likewise.
568 * iconvdata/iso-2022-jp.c: Likewise.
569 * iconv/gconv_int.h: Likewise.
570 * iconv/loop.c: Likewise.
571 * nis/rpcsvc/nis.h: Likewise.
572 * resolv/ns_name.c: Likewise.
573 * stdio-common/vfscanf.c: Likewise.
574 * streams/stropts.h: Likewise.
575 * sunrpc/rpc_thread.c: Likewise.
576 * sysdeps/i386/strpbrk.S: Likewise.
577 * sysdeps/ieee754/k_standard.c: Likewise.
578 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
579 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
580 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
581 * sysdeps/mach/hurd/profil.c: Likewise.
582 * sysdeps/s390/dl-procinfo.h: Likewise.
583 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
584 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
585 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
586 * sysdeps/x86_64/dl-trampoline.S: Likewise.
587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
588
0186c6e9
OB
5892013-08-30 Ondřej Bílka <neleai@seznam.cz>
590
591 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
593
d4e16af1
OB
5942013-08-29 Ondřej Bílka <neleai@seznam.cz>
595
596 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
597 aix specific files.
598 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
599 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
600 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
601 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
602 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
603 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
604 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
605 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
606
88335980
TS
6072013-08-29 Thomas Schwinge <thomas@codesourcery.com>
608 Roland McGrath <roland@hack.frob.com>
609
610 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
611 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
612
ed479b02
ST
6132013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
614
615 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
616 __executable_start symbol instead of _start.
617
f1cc4c86
TS
6182013-08-29 Thomas Schwinge <thomas@codesourcery.com>
619
d821f07c
TS
620 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
621 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
622 Move macros to...
623 * sysdeps/gnu/ldsodefs.h: ... this new file.
624
c54290cf
TS
625 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
626 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
627 instead of ELFOSABI_LINUX.
628
0007fc9b 629 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
630 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
631 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
632 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
633 Likewise.
634 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
635 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
636 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
637 Likewise.
638 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
639 (ibm_extended_long_double): Add ieee_nan member.
640 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
641 (do_test): New function.
642
f1cc4c86
TS
643 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
644 TEST_TRUNC.
645 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
646 functions, renamed from truncdfsf_test, trunctfsf_test,
647 trunctfdf_test.
648 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
649 functions.
650 (do_test): Run all these.
651
6f65e668
OB
6522013-08-29 Ondřej Bílka <neleai@seznam.cz>
653
654 * argp/argp-help.c: Fix typos.
655 * argp/argp-parse.c: Likewise.
656 * debug/backtracesyms.c: Likewise.
657 * elf/elf.h: Likewise.
658 * malloc/malloc.c: Likewise.
659 * nis/nis_print.c: Likewise.
660 * resolv/res_comp.c: Likewise.
661 * stdlib/stdlib.h: Likewise.
662 * sunrpc/clnt_tcp.c: Likewise.
663 * sunrpc/clnt_udp.c: Likewise.
664 * sunrpc/clnt_unix.c: Likewise.
665 * sysdeps/unix/bsd/ptsname.c: Likewise.
666 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
667 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
669 Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
671 Likewise.
672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
673 Likewise.
6f65e668
OB
674 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
675
3a309239
SP
6762013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
677
678 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
680
3b813b29
MF
6812013-08-27 Mike Frysinger <vapier@gentoo.org>
682
683 [BZ #15897]
684 * dlfcn/Makefile (tests): Add bug-dl-leaf.
685 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
686 ($(objpfx)bug-dl-leaf): New rule.
687 ($(objpfx)bug-dl-leaf.so): Likewise.
688 ($(objpfx)bug-dl-leaf.out): Likewise.
689 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
690 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
691 * dlfcn/bug-dl-leaf.c: New test.
692 * dlfcn/bug-dl-leaf-lib.c: Likewise.
693 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
694 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
695 (dlclose): Likewise.
696 (dlmopen): Likewise.
697
8cc3269f
RM
6982013-08-27 Roland McGrath <roland@hack.frob.com>
699
7f9d0034
RM
700 * include/netdb.h [!_ISOMAC]:
701 Don't include <tls.h>.
702 (h_errno, __libc_h_errno): Move declaration and macros out of
703 [_LIBC_REENTRANT].
704
fb431262
RM
705 * include/resolv.h [_RESOLV_H_]:
706 Don't include <tls.h>.
707 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
708 * resolv/res_libc.c: Don't include <tls.h>.
709 (_res): Use __attribute__ ((nocommon)) in place of
710 __attribute__ ((section (".bss"))).
711
bd81123a
RM
712 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
713 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
714
c4e42566
RM
715 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
716
f890a59b
RM
717 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
718 only under [SIOCGIFCONF && SIOCGIFNETMASK].
719
720 * resolv/res_mkquery.c: Include <sys/time.h>.
721
5d1f0a09
RM
722 * inet/ifreq.c: Moved to ...
723 * sysdeps/unix/ifreq.c: ... here.
724 * inet/ifreq.c: New file, true stub version.
725
6fcf28b3
RM
726 * socket/sa_len.c: New file.
727 * socket/Makefile (aux): Add it.
728 * sysdeps/unix/sysv/linux/Makefile
729 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
730 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
731 and #include <socket/sa_len.c>.
732 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
733 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
734
e041fb8b
RM
735 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
736 * bits/socket.h: ... here.
737
8cc3269f
RM
738 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
739 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
740 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
741
5d228a43
AS
7422013-08-27 Andreas Schwab <schwab@suse.de>
743
45b8accc
AS
744 [BZ #15736]
745 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
746 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
747 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
748 * string/test-strcasecmp.c (test_main): Run tests in several
749 locales.
750 * string/test-strncasecmp.c (test_main): Likewise.
751
5d228a43
AS
752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
753 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
754 to __strcasecmp_nonascii and __strncasecmp_nonascii.
755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
756 (__strncasecmp_ssse3) [PIC]: Likewise.
757
59d112a4
RM
7582013-08-26 Roland McGrath <roland@hack.frob.com>
759
53234cc3
RM
760 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
761
59d112a4
RM
762 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
763 instead of explicitly declaring xdecrypt.
764 * nis/nss_nis/nis-publickey.c: Likewise.
765
595aba70
SP
7662013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
767
768 [BZ #15890]
769 * nscd/aicache.c: Include res_hconf.h.
770 (addhstaiX): Initialize res_hconf.
771
ffabd393
AS
7722013-08-26 Andreas Schwab <schwab@suse.de>
773
774 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
775 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
776
e0a69f5c
SP
7772013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
778
779 * nscd/aicache.c (addhstaiX): Fix indentation.
780
8c12f01d
MF
7812013-08-25 Mike Frysinger <vapier@gentoo.org>
782
783 * configure.ac: Quote $build_pt_chown test.
784 * configure: Regenerated.
785
8fe89494
JM
7862013-08-23 Joseph Myers <joseph@codesourcery.com>
787
788 [BZ #15532]
789 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
790 * math/s_cexpf.c (__cexpf): Likewise.
791 * math/s_cexpl.c (__cexpl): Likewise.
792 * math/libm-test.inc (cexp_test_data): Correct expected return
793 value for NaN + i0. Add another test.
794
75b181d6
DM
7952013-08-22 David S. Miller <davem@davemloft.net>
796
797 * po/ca.po: Update Catalan translation from translation project.
936241e4 798 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 799
acd06bb1
JM
8002013-08-21 Joseph Myers <joseph@codesourcery.com>
801
802 [BZ #15797]
803 * math/s_fdim.c (__fdim): Check for infinite arguments if result
804 is infinite, not alongside NaN test.
805 * math/s_fdimf.c (__fdimf): Likewise.
806 * math/s_fdiml.c (__fdiml): Likewise.
807 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
808 errno is unchanged.
809
c0c3f78a
OB
8102013-08-21 Ondřej Bílka <neleai@seznam.cz>
811
812 * argp/argp-help.c: Fix typos.
813 * crypt/speeds.c: Likewise.
814 * csu/check_fds.c: Likewise.
815 * elf/dl-load.c: Likewise.
816 * elf/dl-open.c: Likewise.
817 * elf/reldep3.c: Likewise.
818 * elf/reldep.c: Likewise.
819 * elf/sprof.c: Likewise.
820 * iconv/iconv_charmap.c: Likewise.
821 * iconv/skeleton.c: Likewise.
822 * iconv/strtab.c: Likewise.
823 * io/lockf64.c: Likewise.
824 * libio/libioP.h: Likewise.
825 * resolv/gai_notify.c: Likewise.
826 * resolv/ns_name.c: Likewise.
827 * resolv/ns_samedomain.c: Likewise.
828 * resolv/res_send.c: Likewise.
829 * stdlib/random.c: Likewise.
830 * sunrpc/rpc/xdr.h: Likewise.
831 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
832 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
833 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
834 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
835 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
836 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
838 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
839 * sysdeps/mach/hurd/check_fds.c: Likewise.
840 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
841 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
842 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
843 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
844 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
845 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
846 * sysdeps/pthread/aio_notify.c: Likewise.
847 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
848 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
849 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
850 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
851 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
852
46ed1038
LD
8532013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
854
855 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
856 version if bit_Slow_SSE4_2 is set.
857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
858 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
859
d400dcac
AZ
8602013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
861
862 [BZ #15867]
863 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
864 trampoline stack frame information.
865 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
867 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
868 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
869 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
870 * sysdeps/unix/sysv/linux/powerpc/init-first.c
871 (_libc_vdso_platform_setup): Initialize the signal trampolines.
872 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
873 sa_flags value.
874 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
875 interrupting a syscall and set with option SA_SIGINFO.
876
42c8fdd8
JM
8772013-08-20 Joseph Myers <joseph@codesourcery.com>
878
c980f2f4
JM
879 [BZ #15531]
880 * math/s_cproj.c (__cproj): Only return an infinity if one part of
881 argument is infinite.
882 * math/s_cprojf.c (__cprojf): Likewise.
883 * math/s_cprojl.c (__cprojl): Likewise.
884 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
885 * math/libm-test.inc (cproj_test_data): Add more tests.
886
0716c4fc
JM
887 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
888
42c8fdd8
JM
889 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
890 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
891 size. Use __ffs to determine corresponding shift.
892
b31469d0
JM
8932013-08-20 Joseph Myers <joseph@codesourcery.com>
894 Roland McGrath <roland@hack.frob.com>
895
896 * Makefile (INSTALL): Remove trailing blank lines from output of
897 makeinfo.
898
4e39af6e
AK
8992013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
900
901 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
902 Align 32 bit compat elf_greg to 8 bytes.
903
f315524e
AA
9042013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
905
906 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
907
1326ba1a
SP
9082013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
909
910 * string/strcoll_l.c (coll_seq): New structure.
911 (get_next_seq_cached): New function.
912 (get_next_seq): New function.
913 (do_compare): New function.
914 (STRCOLL): Use GNU style definition. Simplify implementation
915 by using get_next_seq, get_next_seq_cached and do_compare.
916
91ce4085
FW
9172013-08-16 Florian Weimer <fweimer@redhat.com>
918
919 [BZ #14699]
920 CVE-2013-4237
921 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
922 member.
923 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
924 member.
925 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
926 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
927 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
928 conditional.
929 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
930 GETDENTS_64BIT_ALIGNED.
931 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
932 * manual/filesys.texi (Reading/Closing Directory): Document
933 ENAMETOOLONG return value of readdir_r. Recommend readdir more
934 strongly.
935 * manual/conf.texi (Limits for Files): Add portability note to
936 NAME_MAX, PATH_MAX.
937 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
938
ca0a6bc4
AS
9392013-08-13 Andreas Schwab <schwab@suse.de>
940
941 [BZ #15749]
942 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
943 of fabs.
944 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
945 LDBL_MAX_EXP >= 16384]: Add tests for it.
946
6c1fd795
DM
9472013-08-12 David S. Miller <davem@davemloft.net>
948
949 * version.h (RELEASE): Set to "development".
950 (VERSION): Set to "2.18.90".
951 * NEWS: Add 2.19 section.
952
31ad488d
DM
9532013-08-03 David S. Miller <davem@davemloft.net>
954
955 * po/ko.po: Update Korean translation from translation project.
956
db24e684
DM
9572013-08-01 David S. Miller <davem@davemloft.net>
958
959 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
960 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
961 Bilka.
962
f723285b
DM
9632013-07-30 David S. Miller <davem@davemloft.net>
964
965 * po/fr.po: Update French translation from translation project.
966
3cbc52db
DM
9672013-07-28 David S. Miller <davem@davemloft.net>
968
30bbc0cc
DM
969 * po/cs.po: Update Czech translation from translation project.
970
3cbc52db
DM
971 * po/sv.po: Update Swedish translation from translation project.
972
d492e6d0
DM
9732013-07-27 David S. Miller <davem@davemloft.net>
974
f1a7f492
DM
975 * po/eo.po: Update Esperanto translation from translation project.
976
90e62a4a
DM
977 * po/vi.po: Update Vietnamese translation from translation project.
978
d492e6d0
DM
979 * po/de.po: Update German translation from translation project.
980
d4baa62d
DM
9812013-07-26 David S. Miller <davem@davemloft.net>
982
641aa7b4
DM
983 * po/bg.po: Update Bulgarian translation from translation project.
984
d4baa62d
DM
985 * po/nl.po: Update Dutch translation from translation project.
986 * po/pl.po: Update Polish translation from translation project.
987 * po/ru.po: Update Russian translation from translation project.
988
61a9dcb9
DM
9892013-07-24 David S. Miller <davem@davemloft.net>
990
991 * po/libc.pot: Update.
992
7b1f8b58
AZ
9932013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
994
995 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
996 variable page size.
997 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
998 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
999 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1000
a8fc7a03
AK
10012013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1002
1003 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1004
e4608715
CD
10052013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1006 Andreas Schwab <schwab@suse.de>
1007 Roland McGrath <roland@hack.frob.com>
1008 Joseph Myers <joseph@codesourcery.com>
1009 Carlos O'Donell <carlos@redhat.com>
1010
1011 [BZ #15755]
1012 * config.h.in: Define HAVE_PT_CHOWN.
1013 * config.make.in (build-pt-chown): New variable.
1014 * configure.in (--enable-pt_chown): New configure option.
1015 * configure: Regenerate.
1016 * login/Makefile: Include Makeconfig. Build pt_chown only if
1017 build-pt-chown is enabled.
1018 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1019 pt_chown to fix pty ownership.
1020 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1021 CLOSE_ALL_FDS.
1022 * manual/install.texi (Configuring and compiling): Mention
1023 --enable-pt_chown. Add @findex for grantpt.
1024 * INSTALL: Regenerate.
1025
da2d62df
DM
10262013-07-20 David S. Miller <davem@davemloft.net>
1027
1028 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1029 difference between 32-bit and 64-bit.
1030
d7e06450
CD
10312013-07-15 Carlos O'Donell <carlos@redhat.com>
1032
1033 [BZ #15711]
1034 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1035 Avoid system header dependency with -ffreestanding.
1036 ($(objpfx)bits/syscall%d): Likewise.
1037
f959cfd7
DM
10382013-07-13 David S. Miller <davem@davemloft.net>
1039
1040 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1041 underflows from atanl/atan2l due to bug 15319.
1042 (casinh_test_data): Likewise.
1043
c61f8513
DM
10442013-07-07 David S. Miller <davem@davemloft.net>
1045
1046 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1047
72c90ed0
JA
10482013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1049
1050 * sysdeps/i386/fpu/libm-test-ulps: Update.
1051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1052
52dfbe13
SP
10532013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1054
1055 * configure.in (--enable-lock-elision): Fix message text.
1056 * INSTALL: Regenerate.
1057 * configure: Regenerate.
1058
3f169543
AZ
10592013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1060
1061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1062
521c6785
AJ
10632013-07-03 Andreas Jaeger <aj@suse.de>
1064
1065 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1066 define.
1067 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1068 (ptrace_peeksiginfo_args): Add.
1069 (__ptrace_peeksiginfo_flags): Add.
1070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1071 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1073
d2cc15cb
AM
10742013-07-03 Allan McRae <allan@archlinux.org>
1075
1076 * sysdeps/i386/fpu/libm-test-ulps: Update.
1077
3aaeeca7
DM
10782013-07-02 David S. Miller <davem@davemloft.net>
1079
1080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1081
5314ed1a
MT
10822013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1083
1084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1085
67338156
JM
10862013-07-02 Joseph Myers <joseph@codesourcery.com>
1087
1088 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1090
1717da59
AK
10912013-07-02 Andi Kleen <ak@linux.intel.com>
1092
1093 * config.h.in (ENABLE_LOCK_ELISION): Add.
1094 * configure.in (--enable-lock-elision): Add option.
1095 * manual/install.texi: Document --enable lock elision.
1096 * configure: Regenerate
1097 * INSTALL: Regenerate.
1098
1c81621c
L
10992013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1100
1101 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1102 SSE4.2 strcasecmp for libc.a.
1103 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1104
77f01ab5
JM
11052013-07-02 Joseph Myers <joseph@codesourcery.com>
1106
1107 [BZ #13304]
1108 * soft-fp/op-common.h (_FP_FMA): New macro.
1109 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1110 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1111 (_FP_MUL_MEAT_1_imm): ... here.
1112 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1113 (_FP_MUL_MEAT_1_wide): ... here.
1114 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1115 (_FP_MUL_MEAT_1_hard): ... here.
1116 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1117 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1118 (_FP_MUL_MEAT_2_wide): ... here.
1119 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1120 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1121 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1122 (_FP_MUL_MEAT_2_gmp): ... here.
1123 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1124 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1125 (_FP_MUL_MEAT_4_wide): ... here.
1126 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1127 (_FP_MUL_MEAT_4_gmp): ... here.
1128 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1129 (_FP_WFRACBITS_DW_S): Likewise.
1130 (_FP_WFRACXBITS_DW_S): Likewise.
1131 (_FP_HIGHBIT_DW_S): Likewise.
1132 (FP_FMA_S): Likewise.
1133 (_FP_FRAC_HIGH_DW_S): Likewise.
1134 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1135 (_FP_WFRACBITS_DW_D): Likewise.
1136 (_FP_WFRACXBITS_DW_D): Likewise.
1137 (_FP_HIGHBIT_DW_D): Likewise.
1138 (FP_FMA_D): Likewise.
1139 (_FP_FRAC_HIGH_DW_D): Likewise.
1140 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1141 (_FP_WFRACBITS_DW_E): Likewise.
1142 (_FP_WFRACXBITS_DW_E): Likewise.
1143 (_FP_HIGHBIT_DW_E): Likewise.
1144 (FP_FMA_E): Likewise.
1145 (_FP_FRAC_HIGH_DW_E): Likewise.
1146 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1147 (_FP_WFRACBITS_DW_Q): Likewise.
1148 (_FP_WFRACXBITS_DW_Q): Likewise.
1149 (_FP_HIGHBIT_DW_Q): Likewise.
1150 (FP_FMA_Q): Likewise.
1151 (_FP_FRAC_HIGH_DW_Q): Likewise.
1152 * soft-fp/fmasf4.c: New file.
1153 * soft-fp/fmadf4.c: Likewise.
1154 * soft-fp/fmatf4.c: Likewise.
1155
6308fd9a
LD
11562013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1157
1158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1159 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1160 Silvermont.
1161 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1162 macro.
1163 (index_Slow_SSE4_2): Likewise.
1164 (index_Prefer_PMINUB_for_stringop): Likewise.
1165 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1166 bit_Slow_SSE4_2 is set.
1167 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1168 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1169
89cd9569
RA
11702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1171
1172 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1173 rtld_global._dl_hwcap2.
1174 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1175 POWER8.
1176 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1177 POWER8 feature descriptions defined in _dl_hwcap2.
1178 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1179 string handling for POWER8 feature bits.
1180 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1181 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1182 _dl_powerpc_cap_flags.
1183 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1184 * sysdeps/powerpc/rtld-global-offsets.sym
1185 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1186 _dl_hwcap2 in the rtld_global_ro structure.
1187
1ae8bfe0
RA
11882013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1189
1190 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1191 hardware capabilities in support of AT_HWCAP2.
1192 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1193 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1194 GLRO(dl_hwcap2).
1195 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1196 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1197 explicitly the unknown a_type display mechanism is used.
1198 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1199 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1200 struct member.
1201 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1202 to macro prototype for AT_HWCAP2 support.
1203 * sysdeps/i386/dl-procinfo.h: Likewise.
1204 * sysdeps/s390/dl-procinfo.h: Likewise.
1205 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1206 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1207 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1208 return -1 for unknown a_type display fallback.
1209 * sysdeps/sparc/dl-procinfo.h: Likewise.
1210 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1211 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1212
8fbec010
JM
12132013-06-28 Joseph Myers <joseph@codesourcery.com>
1214
1215 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1216 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1217
0432680e
PY
12182013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1219
1220 [BZ #12492]
1221 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1222 mprotect making __stack_prot writable.
1223
ce61a2ad
NF
12242013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1225 Joseph Myers <joseph@codesourcery.com>
1226
1227 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1228 as being properly aligned.
1229
f91f1c0f
MR
12302013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1231
3d0f5d0c
MR
1232 * dlfcn/modstatic5.c: New file.
1233 * dlfcn/tststatic5.c: New file.
1234 * dlfcn/Makefile (tests): Add tststatic5.
1235 (tests-static): Likewise.
1236 (modules-names): Add modstatic5.
1237 (tststatic5-ENV): New variable.
1238 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1239
f91f1c0f
MR
1240 [BZ #15022]
1241 * elf/dl-support.c (_dl_main_map): New variable.
1242 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1243 (_dl_nns, _dl_load_adds): Set to 1.
1244 (_dl_initial_searchlist): Refer to _dl_main_map.
1245 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1246 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1247 call to _dl_get_origin.
1248 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1249 around call_map.
1250 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1251 * dlfcn/modstatic3.c: New file.
1252 * dlfcn/tststatic3.c: New file.
1253 * dlfcn/tststatic4.c: New file.
1254 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1255 (tests-static): Likewise.
1256 (modules-names): Add modstatic3.
1257 (tststatic3-ENV, tststatic4-ENV): New variables.
1258 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1259 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1260
cbe7d24b
JM
12612013-06-26 Joseph Myers <joseph@codesourcery.com>
1262
1263 * configure.in (CC): Require GCC version 4.4 or later.
1264 * configure: Regenerated.
1265 * manual/install.texi (Tools for Compilation): Update GCC version
1266 requirement.
1267 * INSTALL: Regenerated.
1268
11b8a0e1
LD
12692013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1270
1271 [BZ #15674]
bb5bb87c
L
1272 * string/test-memcmp.c (check2): New.
1273 (main): Call check2.
1274
11b8a0e1
LD
1275 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1276
b0037103
MR
12772013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1278
1279 [BZ #15022]
1280 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1281 over to...
1282 (dl_open_worker) [!SHARED]: ... here.
1283
c18c701d
RA
12842013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1285
1286 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1287
1d17fa5f
RH
12882013-06-25 Richard Henderson <rth@redhat.com>
1289
1290 * locale/programs/locarchive.c: Include <libc-internal.h>
1291
8fcb833a
JM
12922013-06-25 Joseph Myers <joseph@codesourcery.com>
1293
1294 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1295 trailing whitespace removed.
1296
17db6e8d
MF
12972013-06-24 Mike Frysinger <vapier@gentoo.org>
1298
1299 [BZ #10283]
17db6e8d
MF
1300 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1301 * locale/programs/locarchive.c: Include libc-mmap.h.
1302 (prepare_address_space): Take two new outputs (the mmap base and len).
1303 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1304 values.
1305 (create_archive): Declare new mmap base and len values for
1306 prepare_address_space, and store the result in ah.
1307 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1308 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1309 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1310 Declare new mmap base and len values for
1311 prepare_address_space, and store the result in new_ah.
1312 (open_archive): Declare new mmap base and len values for
1313 prepare_address_space, and store the result in ah.
1314 (close_archive): If ah->mmap_base is not NULL, use that and
1315 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1316 * sysdeps/generic/libc-mmap.h: New file.
1317
d605071e
MF
13182013-06-24 Mike Frysinger <vapier@gentoo.org>
1319
1320 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1321 (ALIGN_UP): Likewise.
1322 (PTR_ALIGN_DOWN): Likewise.
1323 (PTR_ALIGN_UP): Likewise.
1324
2f063a6e
RA
13252013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1326
1327 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1328 entry mapped to PPC_PLATFORM_POWER8.
1329 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1330 POWER8.
1331 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1332 (_dl_string_platform): Add case for exporting platform position for
1333 POWER8.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1335 search path to sysdeps/powerpc/powerpc32/power8 directory.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1337 search path to sysdeps/powerpc/powerpc64/power8 directory.
1338 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1339 power7 directories.
1340 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1341 power7 directories.
1342
a31ee4b3
SP
13432013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1344
a74ca98f
SP
1345 * INSTALL: Regenerate.
1346
a31ee4b3
SP
1347 * nscd/connections.c (nscd_init): Fix comment.
1348
695c378f
JM
13492013-06-22 Joseph Myers <joseph@codesourcery.com>
1350
d8412221
JM
1351 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1352
695c378f
JM
1353 [BZ #15667]
1354 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1355 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1356
d1d54715
MR
13572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1358
1359 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1360 DL_DST_REQ_STATIC.
1361 (DL_DST_REQ_STATIC): Remove macro.
1362
8fdda7af
JM
13632013-06-21 Joseph Myers <joseph@codesourcery.com>
1364
1365 [BZ #7006]
1366 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1367 with a shift of 0 bits.
1368
f3bc5e5a
MR
13692013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1370
1371 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1372 $(tststatic-ENV).
1373
be09e8c9
KK
13742013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1375
1376 [BZ #15655]
1377 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1378
85c2e611
AZ
13792013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1380
1381 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1382 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1383 accepts -fno-tree-loop-distribute-patterns.
1384 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1385 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1386 recursive call.
1387 * string/memset.c (memset): Likewise.
1388 * string/test-memmove.c (simple_memmove): Disable loop transformation
1389 to library calls.
1390 * string/test-memset.c (simple_memset): Likewise.
1391 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1392 * benchtests/bench-memset.c (simple_memset): Likewise.
1393 * configure: Regenerated.
1394
c91e0825
JM
13952013-06-20 Joseph Myers <joseph@codesourcery.com>
1396
b8c792af
JM
1397 * math/test-misc.c (main): Ignore fesetround failure when failures
1398 of subsequent rounding tests would be ignored.
1399
c91e0825
JM
1400 [BZ #15654]
1401 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1402 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1403 * math/fegetenv.c (__fegetenv): Return 0.
1404 * math/fegetexcept.c (fegetexcept): Return 0.
1405 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1406 FE_TONEAREST.
1407 * math/feholdexcpt.c (feholdexcept): Return 0.
1408 * math/fesetenv.c (__fesetenv): Return 0.
1409 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1410 argument FE_TONEAREST.
1411 * math/feupdateenv.c (__feupdateenv): Return 0.
1412 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1413
bfcacbde
RM
14142013-06-18 Roland McGrath <roland@hack.frob.com>
1415
1416 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1417 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1418 ($(objpfx)rtld-%.os rules): Use them.
1419
e55a9b25
AZ
14202013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421
1422 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1423 fields.
1424
346d65b3
RM
14252013-06-17 Roland McGrath <roland@hack.frob.com>
1426
12086fb4
RM
1427 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1428 length of target pattern, then descending length of dependency pattern.
1429 * configure.in (AWK): Require gawk 3.1.2 or newer.
1430 * manual/install.texi (Tools for Compilation): Say that we do.
1431 * configure: Regenerated.
1432
346d65b3
RM
1433 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1434 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1435 * scripts/sysd-rules.awk: ... this new script.
1436 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1437 than a glob-style pattern.
1438
1a846317
JM
14392013-06-17 Joseph Myers <joseph@codesourcery.com>
1440
1441 * math/test-misc.c (main): Do not treat incorrectly rounded
1442 conversions as failure unless ROUNDING_TESTS passes.
1443
8fc75e6f
JM
14442013-06-15 Joseph Myers <joseph@codesourcery.com>
1445
3711a167
JM
1446 [BZ #15631]
1447 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1448 restore exception state around main square root computation, then
1449 check for inexactness explicitly.
1450
8fc75e6f
JM
1451 * math/libm-test.inc (fma_test_data): Add another test.
1452
61dd6208
SP
14532013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1454
adf23d2c
SP
1455 * manual/threads.texi (Non-POSIX Extensions): New document
1456 node. Document pthread_getattr_default_np and
1457 pthread_setattr_default_np.
1458
61dd6208
SP
1459 * Versions.def (libpthread): Add GLIBC_2.18.
1460 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1462 Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1464 Likewise.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1466 Likewise.
1467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1468 Likewise.
1469 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1470 Likewise.
1471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1472 Likewise.
1473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1474 Likewise.
1475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1476 Likewise.
1477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1478 Likewise.
1479
d086fc7b
LD
14802013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1481
1482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1483 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1484
747ef469
SP
14852013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1486 H.J. Lu <hjl.tools@gmail.com>
1487
1488 [BZ #15627]
1489 * sysdeps/x86_64/rtld-memset.c: Remove file.
1490 * sysdeps/x86_64/rtld-memset.S: New file.
1491
1b2feed2
JM
14922013-06-14 Joseph Myers <joseph@codesourcery.com>
1493
1494 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1495 (test_in_one_mode): Take arguments for whether the rounding mode
1496 is supported for each floating-point type.
1497 (do_test): Pass new arguments to test_in_one_mode using
1498 ROUNDING_TESTS.
1499
a58ad3f8
RM
15002013-06-13 Roland McGrath <roland@hack.frob.com>
1501
1502 * posix/tst-waitid.c (do_test): Distinguish different instances of
1503 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1504 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1505 before entering the kernel for waitpid.
1506
c204ab28
SP
15072013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1508
1509 * NEWS: Fix note on clock function precision. Text by Roland
1510 McGrath.
1511
f4a29fba
RM
15122013-06-13 Roland McGrath <roland@hack.frob.com>
1513
1514 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1515 it into place only when and if the sanity check passes.
1516
1f24b9ad
JM
15172013-06-13 Joseph Myers <joseph@codesourcery.com>
1518
1519 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1520 output for whether conversion result is exact. Take argument
1521 indicating whether type is IBM long double.
1522 (round_for_all): Change need_exact field to ibm_ld.
1523 * stdlib/tst-strtod-round.c (struct exactness): New type.
1524 (struct test): Change bool ld_ok field to struct exactness exact.
1525 (TEST): Update all definitions for change to field.
1526 (tests): Regenerate array contents.
1527 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1528 field value. Check for IBM long double here.
1529 (do_test): Update calls to test_in_one_mode.
1530
58206c68
SP
15312013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1532
1533 [BZ #12515]
1534 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1535 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1536
2d6f4c5b 15372013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1538
1539 [BZ #15605]
1540 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1541 generated by the compiler on loop optimizations.
1542 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1543 general definitions.
1544
94f2c076
JM
15452013-06-12 Joseph Myers <joseph@codesourcery.com>
1546
1547 * math/bug-nextafter.c: Include <math-tests.h>.
1548 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1549 the relevant type.
1550 * math/bug-nexttoward.c: Include <math-tests.h>.
1551 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1552 the relevant type.
1553 * math/test-misc.c: Include <math-tests.h>.
1554 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1555 the relevant type.
1556
e0e50a0a
AJ
15572013-06-12 Andreas Jaeger <aj@suse.de>
1558
1559 * po/ia.po: Update Interlingua translation from translation
1560 project.
1561
25061094
SP
15622013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1563
1564 * include/fenv.h: Include stdbool.h.
1565 (struct rm_ctx): New structure.
1566 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1567 Define macro.
1568 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1569 (SET_RESTORE_ROUNDF): Likewise.
1570 (SET_RESTORE_ROUNDL): Likewise.
1571 (SET_RESTORE_ROUND_NOEX): Likewise.
1572 (SET_RESTORE_ROUND_NOEXF): Likewise.
1573 (SET_RESTORE_ROUND_NOEXL): Likewise.
1574 (SET_RESTORE_ROUND_53BIT): Likewise.
1575 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1576 (libc_feresetround_noexf_ctx): Likewise.
1577 (libc_feresetround_noexl_ctx): Likewise.
1578 (libc_feholdsetround_53bit_ctx): Likewise.
1579 (libc_feresetround_53bit_ctx): Likewise.
1580 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1581 (libc_feholdexcept_setround_sse_ctx): New function.
1582 (libc_fesetenv_sse_ctx): Likewise.
1583 (libc_feupdateenv_sse_ctx): Likewise.
1584 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1585 (libc_feholdexcept_setround_387_ctx): Likewise.
1586 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1587 (libc_feholdsetround_387_prec_ctx): Likewise.
1588 (libc_feholdsetround_387_ctx): Likewise.
1589 (libc_feholdsetround_387_53bit_ctx): Likewise.
1590 (libc_feholdsetround_sse_ctx): Likewise.
1591 (libc_feresetround_sse_ctx): Likewise.
1592 (libc_feresetround_387_ctx): Likewise.
1593 (libc_feupdateenv_387_ctx): Likewise.
1594 (libc_feholdexcept_setroundf_ctx): Define macro.
1595 (libc_fesetenvf_ctx): Likewise.
1596 (libc_feupdateenvf_ctx): Likewise.
1597 (libc_feholdsetroundf_ctx): Likewise.
1598 (libc_feresetroundf_ctx): Likewise.
1599 (libc_feholdexcept_setround_ctx): Likewise.
1600 (libc_fesetenv_ctx): Likewise.
1601 (libc_feupdateenv_ctx): Likewise.
1602 (libc_feholdsetround_ctx): Likewise.
1603 (libc_feresetround_ctx): Likewise.
1604 (libc_feholdexcept_setroundl_ctx): Likewise.
1605 (libc_feupdateenvl_ctx): Likewise.
1606 (libc_feholdsetroundl_ctx): Likewise.
1607 (libc_feresetroundl_ctx): Likewise.
1608 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1609 (libc_feresetround_53bit_ctx): Likewise.
1610
59b30555
SP
16112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1612
1613 * locale/iso-639.def: Convert to UTF-8.
1614
f1d73d30
JM
16152013-06-11 Joseph Myers <joseph@codesourcery.com>
1616
1617 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1618 (EXCEPTION_TESTS_double): Likewise.
1619 (EXCEPTION_TESTS_long_double): Likewise.
1620 (EXCEPTION_TESTS): Likewise.
1621 * math/libm-test.inc (test_exceptions): Only test exceptions if
1622 EXCEPTION_TESTS (FLOAT).
1623
94aca5e7
SP
16242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1625
1626 * benchtests/Makefile (string-bench): Add strcpy_chk and
1627 stpcpy_chk.
1628 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1629 * benchtests/bench-stpcpy_chk.c: New file.
1630 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1631 * benchtests/bench-strcpy_chk.c: New file.
1632 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1633 code.
1634 (do_test): Likewise.
1635
fac0c5f2
RA
16362013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1637
1638 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1639 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1640 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1641 with tabs where appropriate.
1642 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1643 dl-procinfo.h.
1644 [PPC_PLATFORM_PPC440]: Likewise.
1645 [PPC_PLATFORM_PPC464]: Likewise.
1646 [PPC_PLATFORM_PPC476]: Likewise.
1647 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1648 ppc464, and ppc476 platform strings merging from ports/
1649 dl-procinfo.h.
1650
f22bc486
AS
16512013-06-11 Andreas Schwab <schwab@suse.de>
1652
1653 [BZ #14991]
1654 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1655 (from_ucs4_idx): Regenerate.
1656 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1657 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1658 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1659 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1660 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1661 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1662 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1663 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1664 from FROM_LOOP and TO_LOOP specific macros.
1665 (BODY): Handle combining characters.
1666 * iconvdata/BIG5HKSCS.irreversible: Update.
1667 * iconvdata/BIG5HKSCS.precomposed: New file.
1668 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1669 characters.
1670 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1671
c1f75dc3
SP
16722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1673
4eacded2
SP
1674 * include/sys/time.h: Fix indentation and add copyright header.
1675
fec799f8
SP
1676 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1677 (do_test): Likewise.
1678 * string/test-memchr.c (do_one_test): Likewise.
1679 (do_test): Likewise.
1680 * string/test-memcmp.c (do_one_test): Likewise.
1681 (do_test): Likewise.
1682 * string/test-memcpy.c (do_one_test): Likewise.
1683 (do_test): Likewise.
1684 * string/test-memmem.c (do_one_test): Likewise.
1685 (do_test): Likewise.
1686 (do_random_tests): Likewise.
1687 * string/test-memmove.c (do_one_test): Likewise.
1688 (do_test): Likewise.
1689 * string/test-memset.c (do_one_test): Likewise.
1690 (do_test): Likewise.
1691 * string/test-rawmemchr.c (do_one_test): Likewise.
1692 (do_test): Likewise.
1693 * string/test-strcasecmp.c (do_one_test): Likewise.
1694 (do_test): Likewise.
1695 * string/test-strcasestr.c (do_one_test): Likewise.
1696 (do_test): Likewise.
1697 * string/test-strcat.c (do_one_test): Likewise.
1698 (do_test): Likewise.
1699 * string/test-strchr.c (do_one_test): Likewise.
1700 (do_test): Likewise.
1701 * string/test-strcmp.c (do_one_test): Likewise.
1702 (do_test): Likewise.
1703 * string/test-strcpy.c (do_one_test): Likewise.
1704 (do_test): Likewise.
1705 * string/test-string.h: Likewise.
1706 (test_init): Likewise.
1707 * string/test-strlen.c (do_one_test): Likewise.
1708 (do_test): Likewise.
1709 * string/test-strncasecmp.c (do_one_test): Likewise.
1710 (do_test): Likewise.
1711 * string/test-strncat.c (do_one_test): Likewise.
1712 (do_test): Likewise.
1713 * string/test-strncmp.c (do_one_test): Likewise.
1714 (do_test_limit): Likewise.
1715 (do_test): Likewise.
1716 * string/test-strncpy.c (do_one_test): Likewise.
1717 (do_test): Likewise.
1718 * string/test-strnlen.c (do_one_test): Likewise.
1719 (do_test): Likewise.
1720 * string/test-strpbrk.c (do_one_test): Likewise.
1721 (do_test): Likewise.
1722 * string/test-strrchr.c (do_one_test): Likewise.
1723 (do_test): Likewise.
1724 * string/test-strspn.c (do_one_test): Likewise.
1725 (do_test): Likewise.
1726 * string/test-strstr.c (do_one_test): Likewise.
1727 (do_test): Likewise.
1728
97020474
SP
1729 * benchtests/Makefile (string-bench): Add string benchmarks.
1730 * benchtests/bench-bcopy-ifunc.c: New file.
1731 * benchtests/bench-bcopy.c: New file.
1732 * benchtests/bench-bzero-ifunc.c: New file.
1733 * benchtests/bench-bzero.c: New file.
1734 * benchtests/bench-memccpy-ifunc.c: New file.
1735 * benchtests/bench-memccpy.c: New file.
1736 * benchtests/bench-memchr-ifunc.c: New file.
1737 * benchtests/bench-memchr.c: New file.
1738 * benchtests/bench-memcmp-ifunc.c: New file.
1739 * benchtests/bench-memcmp.c: New file.
1740 * benchtests/bench-memmem-ifunc.c: New file.
1741 * benchtests/bench-memmem.c: New file.
1742 * benchtests/bench-memmove-ifunc.c: New file.
1743 * benchtests/bench-memmove.c: New file.
1744 * benchtests/bench-mempcpy-ifunc.c: New file.
1745 * benchtests/bench-mempcpy.c: New file.
1746 * benchtests/bench-memset-ifunc.c: New file.
1747 * benchtests/bench-memset.c: New file.
1748 * benchtests/bench-rawmemchr-ifunc.c: New file.
1749 * benchtests/bench-rawmemchr.c: New file.
1750 * benchtests/bench-stpcpy-ifunc.c: New file.
1751 * benchtests/bench-stpcpy.c: New file.
1752 * benchtests/bench-stpncpy-ifunc.c: New file.
1753 * benchtests/bench-stpncpy.c: New file.
1754 * benchtests/bench-strcasecmp-ifunc.c: New file.
1755 * benchtests/bench-strcasecmp.c: New file.
1756 * benchtests/bench-strcasestr-ifunc.c: New file.
1757 * benchtests/bench-strcasestr.c: New file.
1758 * benchtests/bench-strcat-ifunc.c: New file.
1759 * benchtests/bench-strcat.c: New file.
1760 * benchtests/bench-strchr-ifunc.c: New file.
1761 * benchtests/bench-strchr.c: New file.
1762 * benchtests/bench-strchrnul-ifunc.c: New file.
1763 * benchtests/bench-strchrnul.c: New file.
1764 * benchtests/bench-strcmp-ifunc.c: New file.
1765 * benchtests/bench-strcmp.c: New file.
1766 * benchtests/bench-strcpy-ifunc.c: New file.
1767 * benchtests/bench-strcpy.c: New file.
1768 * benchtests/bench-strcspn-ifunc.c: New file.
1769 * benchtests/bench-strcspn.c: New file.
1770 * benchtests/bench-strlen-ifunc.c: New file.
1771 * benchtests/bench-strlen.c: New file.
1772 * benchtests/bench-strncasecmp-ifunc.c: New file.
1773 * benchtests/bench-strncasecmp.c: New file.
1774 * benchtests/bench-strncat-ifunc.c: New file.
1775 * benchtests/bench-strncat.c: New file.
1776 * benchtests/bench-strncmp-ifunc.c: New file.
1777 * benchtests/bench-strncmp.c: New file.
1778 * benchtests/bench-strncpy-ifunc.c: New file.
1779 * benchtests/bench-strncpy.c: New file.
1780 * benchtests/bench-strnlen-ifunc.c: New file.
1781 * benchtests/bench-strnlen.c: New file.
1782 * benchtests/bench-strpbrk-ifunc.c: New file.
1783 * benchtests/bench-strpbrk.c: New file.
1784 * benchtests/bench-strrchr-ifunc.c: New file.
1785 * benchtests/bench-strrchr.c: New file.
1786 * benchtests/bench-strspn-ifunc.c: New file.
1787 * benchtests/bench-strspn.c: New file.
1788 * benchtests/bench-strstr-ifunc.c: New file.
1789 * benchtests/bench-strstr.c: New file.
1790
c1f75dc3
SP
1791 * benchtests/Makefile: Disable parallel execution of targets.
1792 (string-bench): Add memcpy.
1793 (benchset): New variable to store a list of benchmark sets.
1794 (bench-func): Renamed from bench.
1795 (bench-set): New target.
1796 (bench): Depend on bench-func and bench-set.
1797 * benchtests/README: Add section on benchmark sets.
1798 * benchtests/bench-memcpy-ifunc.c: New file.
1799 * benchtests/bench-memcpy.c: New file.
1800 * benchtests/bench-string.h: New file.
1801
50fd745b
AS
18022013-06-11 Andreas Schwab <schwab@suse.de>
1803
1804 [BZ #15577]
1805 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1806 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1807 values in the triple.
1808 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1809 terminator in the group key.
1810
3ee7e9fe
AJ
18112013-06-11 Andreas Jaeger <aj@suse.de>
1812
1813 * po/zh_TW.po: Update Chinese (traditional) translation from
1814 translation project.
1815
89fb6835
SP
18162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1817
1818 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1819 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1820 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1821 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1822 (clock_getcpuclockid): Likewise.
1823 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1824 Add weak_alias and libc_hidden_def.
1825 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1826 * rt/clock_gettime.c (clock_gettime): Rename to
1827 __clock_gettime. Add weak_alias and libc_hidden_def.
1828 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1829 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1830 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1831 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1832 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1833 Likewise.
1834 * rt/clock_settime.c (clock_settime): Rename to
1835 __clock_settime. Add weak_alias and libc_hidden_def.
1836 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1837
0efa6f8b
JM
18382013-06-10 Joseph Myers <joseph@codesourcery.com>
1839
b8c61b4b
JM
1840 * mach/err_boot.sub: Remove trailing whitespace.
1841 * mach/err_ipc.sub: Likewise.
1842 * mach/err_mach.sub: Likewise.
1843
0efa6f8b
JM
1844 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1845 (ROUNDING_TESTS_double): Likewise.
1846 (ROUNDING_TESTS_long_double): Likewise.
1847 (ROUNDING_TESTS): Likewise.
1848 * math/libm-test.inc: Include <math-tests.h>.
1849 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1850 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1851 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1852 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1853
50b818bf
SP
18542013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1855
1856 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1857 of assigning.
1858
60d2f8f3
JM
18592013-06-08 Joseph Myers <joseph@codesourcery.com>
1860
4902d2c3
JM
1861 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1862 otherwise empty TRANS lines.
1863 * sysdeps/gnu/errlist.c: Regenerated.
1864
60d2f8f3
JM
1865 * catgets/gencat.c (error_print): Use (void) in function
1866 definition.
1867 * crypt/crypt_util.c (__init_des): Likewise.
1868 * crypt/speeds.c (Stop): Likewise.
1869 (main): Likewise.
1870 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1871 * inet/ruserpass.c (token): Likewise.
1872 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1873 * intl/localealias.c (extend_alias_table): Likewise.
1874 * intl/plural-exp.c (init_germanic_plural): Likewise.
1875 * libio/fcloseall.c (__fcloseall): Likewise.
1876 * libio/genops.c (_IO_flush_all): Likewise.
1877 (_IO_flush_all_linebuffered): Likewise.
1878 (_IO_cleanup): Likewise.
1879 (_IO_iter_begin): Likewise.
1880 (_IO_iter_end): Likewise.
1881 (_IO_list_lock): Likewise.
1882 (_IO_list_unlock): Likewise.
1883 (_IO_list_resetlock): Likewise.
1884 * libio/getchar.c (getchar): Likewise.
1885 * libio/getchar_u.c (getchar_unlocked): Likewise.
1886 * libio/getwchar.c (getwchar): Likewise.
1887 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1888 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1889 * login/getpt.c (__getpt): Likewise.
1890 * login/tst-utmp.c (main): Likewise.
1891 * malloc/hooks.c (__malloc_check_init): Likewise.
1892 * malloc/malloc.c (__malloc_stats): Likewise.
1893 * malloc/mtrace.c (tr_break): Likewise.
1894 (mtrace): Likewise.
1895 (muntrace): Likewise.
1896 * misc/fstab.c (endfsent): Likewise.
1897 * misc/getclktck.c (__getclktck): Likewise.
1898 * misc/getdtsz.c (__getdtablesize): Likewise.
1899 * misc/gethostid.c (gethostid): Likewise.
1900 * misc/getpagesize.c (__getpagesize): Likewise.
1901 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1902 (__get_nprocs): Likewise.
1903 (__get_phys_pages): Likewise.
1904 (__get_avphys_pages): Likewise.
1905 * misc/getttyent.c (getttyent): Likewise.
1906 (setttyent): Likewise.
1907 (endttyent): Likewise.
1908 * misc/getusershell.c (getusershell): Likewise.
1909 (endusershell): Likewise.
1910 (setusershell): Likewise.
1911 (initshells): Likewise.
1912 * misc/hsearch.c (__hdestroy): Likewise.
1913 * misc/sync.c (sync): Likewise.
1914 * misc/syslog.c (closelog_internal): Likewise.
1915 (closelog): Likewise.
1916 * misc/ttyslot.c (ttyslot): Likewise.
1917 * misc/vhangup.c (vhangup): Likewise.
1918 * posix/fork.c (__fork): Likewise.
1919 * posix/getegid.c (__getegid): Likewise.
1920 * posix/geteuid.c (__geteuid): Likewise.
1921 * posix/getgid.c (__getgid): Likewise.
1922 * posix/getpid.c (__getpid): Likewise.
1923 * posix/getppid.c (__getppid): Likewise.
1924 * posix/getuid.c (__getuid): Likewise.
1925 * posix/pause.c (pause): Likewise.
1926 * posix/setpgrp.c (setpgrp): Likewise.
1927 * posix/setsid.c (__setsid): Likewise.
1928 * posix/test-vfork.c (noop): Likewise.
1929 * resolv/gethnamaddr.c (_endhtent): Likewise.
1930 (_gethtent): Likewise.
1931 (ht_endhostent): Likewise.
1932 (gethostent): Likewise.
1933 (dns_service): Likewise.
1934 * stdlib/drand48.c (drand48): Likewise.
1935 * stdlib/lrand48.c (lrand48): Likewise.
1936 * stdlib/mrand48.c (mrand48): Likewise.
1937 * stdlib/rand.c (rand): Likewise.
1938 * stdlib/random.c (__random): Likewise.
1939 * stdlib/setenv.c (clearenv): Likewise.
1940 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1941 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1942 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1943 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1944 (__get_nprocs): Likewise.
1945 (__get_phys_pages): Likewise.
1946 (__get_avphys_pages): Likewise.
1947 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1948 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1949 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1950 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1951 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1952 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1953 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1954 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1955 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1956 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1957 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1958 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1959 * sysdeps/posix/clock.c (clock): Likewise.
1960 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1961 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1962 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1963 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1964 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1965 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1966 (__get_nprocs_conf): Likewise.
1967 (__get_phys_pages): Likewise.
1968 (__get_avphys_pages): Likewise.
1969 * time/clock.c (clock): Likewise.
1970 * time/tzset.c (__tzname_max): Likewise.
1971
2e09a79a
JM
19722013-06-07 Joseph Myers <joseph@codesourcery.com>
1973
1974 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1975 (__bswap_32): Do not use "register".
1976 * crypt/crypt.c (_ufc_doit_r): Likewise.
1977 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1978 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1979 * gmon/gmon.c (__monstartup): Likewise.
1980 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1981 * hurd/hurdmalloc.c (more_memory): Likewise.
1982 (malloc): Likewise.
1983 (free): Likewise.
1984 (realloc): Likewise.
1985 (malloc_fork_prepare): Likewise.
1986 (malloc_fork_parent): Likewise.
1987 (malloc_fork_child): Likewise.
1988 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1989 (_svcauth_des): Likewise.
1990 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1991 * inet/inet_net.c (inet_network): Likewise.
1992 * inet/inet_netof.c (inet_netof): Likewise.
1993 * inet/rcmd.c (__validuser2_sa): Likewise.
1994 * io/fts.c (fts_open): Likewise.
1995 (fts_load): Likewise.
1996 (fts_close): Likewise.
1997 (fts_read): Likewise.
1998 (fts_children): Likewise.
1999 (fts_build): Likewise.
2000 (fts_stat): Likewise.
2001 (fts_sort): Likewise.
2002 (fts_alloc): Likewise.
2003 (fts_lfree): Likewise.
2004 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2005 (_IO_file_xsgetn): Likewise.
2006 (_IO_file_xsgetn_mmap): Likewise.
2007 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2008 (_IO_cookie_write): Likewise.
2009 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2010 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2011 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2012 * malloc/obstack.c (_obstack_begin): Likewise.
2013 (_obstack_begin_1): Likewise.
2014 (_obstack_newchunk): Likewise.
2015 (_obstack_allocated_p): Likewise.
2016 (obstack_free): Likewise.
2017 (_obstack_memory_used): Likewise.
2018 * misc/getttyent.c (getttynam): Likewise.
2019 (getttyent): Likewise.
2020 (skip): Likewise.
2021 (value): Likewise.
2022 * misc/getusershell.c (initshells): Likewise.
2023 * misc/syslog.c (__vsyslog_chk): Likewise.
2024 * misc/ttyslot.c (ttyslot): Likewise.
2025 * nis/nis_hash.c (__nis_hash): Likewise.
2026 * posix/fnmatch_loop.c (FCT): Likewise.
2027 * posix/getconf.c (print_all): Likewise.
2028 (main): Likewise.
2029 * posix/getopt.c (exchange): Likewise.
2030 * posix/glob.c (globfree): Likewise.
2031 (prefix_array): Likewise.
2032 (__glob_pattern_type): Likewise.
2033 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2034 (NS_GET32): Likewise.
2035 (NS_PUT16): Likewise.
2036 (NS_PUT32): Likewise.
2037 * resolv/gethnamaddr.c (getanswer): Likewise.
2038 (gethostbyname2): Likewise.
2039 (gethostbyaddr): Likewise.
2040 (_gethtent): Likewise.
2041 (_gethtbyname2): Likewise.
2042 (_gethtbyaddr): Likewise.
2043 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2044 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2045 * resolv/res_init.c (__res_vinit): Likewise.
2046 (net_mask): Likewise.
2047 * resolv/res_mkquery.c (outchar): Likewise.
2048 (PRINT): Likewise.
2049 * stdio-common/printf_fp.c (outchar): Likewise.
2050 (PRINT): Likewise.
2051 * stdio-common/printf_fphex.c (outchar): Likewise.
2052 (PRINT): Likewise.
2053 * stdio-common/printf_size.c (outchar): Likewise.
2054 (PRINT): Likewise.
2055 * stdio-common/test_rdwr.c (main): Likewise.
2056 * stdio-common/tfformat.c (matches): Likewise.
2057 * stdio-common/vfprintf.c (outchar): Likewise.
2058 (printf_unknown): Likewise.
2059 (buffered_vfprintf): Likewise.
2060 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2061 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2062 (ReadFile): Likewise.
2063 * stdlib/qsort.c (SWAP): Likewise.
2064 (_quicksort): Likewise.
2065 * stdlib/setenv.c (__add_to_environ): Likewise.
2066 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2067 * stdlib/strtol_l.c (__strtol_l): Likewise.
2068 * stdlib/tst-strtod.c (main): Likewise.
2069 * stdlib/tst-strtol.c (main): Likewise.
2070 * stdlib/tst-strtoll.c (main): Likewise.
2071 * string/bits/string2.h (__strcmp_cc): Likewise.
2072 (__strcmp_cg): Likewise.
2073 (__strcspn_c1): Likewise.
2074 (__strcspn_c2): Likewise.
2075 (__strcspn_c3): Likewise.
2076 (__strspn_c1): Likewise.
2077 (__strspn_c2): Likewise.
2078 (__strspn_c3): Likewise.
2079 (__strsep_1c): Likewise.
2080 (__strsep_2c): Likewise.
2081 (__strsep_3c): Likewise.
2082 * string/memccpy.c (__memccpy): Likewise.
2083 * string/stpcpy.c (__stpcpy): Likewise.
2084 * string/strcmp.c (strcmp): Likewise.
2085 * string/strrchr.c (strrchr): Likewise.
2086 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2087 Likewise.
2088 * sysdeps/mach/hurd/getcwd.c
2089 (_hurd_canonicalize_directory_name_internal): Likewise.
2090 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2091 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2092 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2093 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2094 Likewise, in both definitions.
2095 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2096 definitions.
2097 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2098 64] (__bswap_64): Likewise.
2099 * time/test_time.c (main): Likewise.
2100 * time/tzfile.c (__tzfile_read): Likewise.
2101 (__tzfile_compute): Likewise.
2102 * time/tzset.c (__tzset_parse_tz): Likewise.
2103 (tzset_internal): Likewise.
2104 (compute_change): Likewise.
2105 * wcsmbs/wcscat.c (__wcscat): Likewise.
2106 * wcsmbs/wcschr.c (wcschr): Likewise.
2107 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2108 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2109 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2110 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2111 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2112 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2113 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2114 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2115 * wcsmbs/wmemset.c (wmemset): Likewise.
2116
9e54314b
JM
21172013-06-06 Joseph Myers <joseph@codesourcery.com>
2118
2119 * scripts/config.guess: Update to version 2013-05-16.
2120 * scripts/config.sub: Update to version 2013-04-24.
2121 * scripts/install-sh: Update to version 2011-11-20.07.
2122 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2123 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2124
350635a5
OB
21252013-06-06 Ondřej Bílka <neleai@seznam.cz>
2126
2127 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2128 * elf/sln.c: Likewise.
2129 * hurd/hurd/ioctl.h: Likewise.
2130 * hurd/hurdmalloc.c: Likewise.
2131 * hurd/xattr.c: Likewise.
2132 * include/shlib-compat.h: Likewise.
2133 * inet/ruserpass.c: Likewise.
2134 * libio/iofgets_u.c: Likewise.
2135 * libio/iofgetws_u.c: Likewise.
2136 * locale/programs/ld-identification.c: Likewise.
2137 * locale/programs/ld-time.c: Likewise.
2138 * mach/msg-destroy.c: Likewise.
2139 * nss/nss_files/files-netgrp.c: Likewise.
2140 * resolv/res_data.c: Likewise.
2141 * soft-fp/op-1.h: Likewise.
2142 * soft-fp/op-2.h: Likewise.
2143 * soft-fp/op-4.h: Likewise.
2144 * soft-fp/op-common.h: Likewise.
2145 * stdio-common/printf_fphex.c: Likewise.
2146 * stdlib/strtod_l.c: Likewise.
2147 * sunrpc/rpc/clnt.h: Likewise.
2148 * sysdeps/generic/framestate.c: Likewise.
2149 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2150 * sysdeps/i386/bsd-setjmp.S: Likewise.
2151 * sysdeps/i386/__longjmp.S: Likewise.
2152 * sysdeps/i386/setjmp.S: Likewise.
2153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2154 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2159 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2171 * sysdeps/ieee754/support.c: Likewise.
2172 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2173 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2174 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2175 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2176 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2177 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2178 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2179 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2180 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2181 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2182 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2183 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2184 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2185 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2186 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2187 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2188 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2190
44a988af
OB
21912013-06-05 Ondřej Bílka <neleai@seznam.cz>
2192
25506f09 2193 * posix/transbug.c: Remove executable mode.
44a988af 2194
9c84384c
JM
21952013-06-05 Joseph Myers <joseph@codesourcery.com>
2196
2197 * crypt/speeds.c: Remove trailing whitespace.
2198 * dlfcn/default.c: Likewise.
2199 * elf/ifuncdep2.c: Likewise.
2200 * elf/ifuncmain1.c: Likewise.
2201 * elf/ifuncmain1vis.c: Likewise.
2202 * elf/testobj.h: Likewise.
2203 * elf/tst-stackguard1.c: Likewise.
2204 * gmon/sys/gmon.h: Likewise.
2205 * hurd/hurdmsg.c: Likewise.
2206 * hurd/new-fd.c: Likewise.
2207 * hurd/ports-get.c: Likewise.
2208 * iconvdata/ibm1008_420.c: Likewise.
2209 * inet/tst-getni1.c: Likewise.
2210 * inet/tst-getni2.c: Likewise.
2211 * libio/ioungetc.c: Likewise.
2212 * libio/wfiledoalloc.c: Likewise.
2213 * manual/libm-err-tab.pl: Likewise.
2214 * math/w_dremf.c: Likewise.
2215 * misc/ftruncate.c: Likewise.
2216 * posix/bug-glob2.c: Likewise.
2217 * posix/tst-pcre.c: Likewise.
2218 * posix/wait4.c: Likewise.
2219 * resolv/README: Likewise.
2220 * resolv/res_debug.h: Likewise.
2221 * resolv/tst-inet_ntop.c: Likewise.
2222 * setjmp/bug269-setjmp.c: Likewise.
2223 * soft-fp/extended.h: Likewise.
2224 * soft-fp/op-1.h: Likewise.
2225 * soft-fp/op-2.h: Likewise.
2226 * soft-fp/op-4.h: Likewise.
2227 * soft-fp/op-8.h: Likewise.
2228 * soft-fp/testit.c: Likewise.
2229 * stdio-common/bug16.c: Likewise.
2230 * stdlib/random.c: Likewise.
2231 * sunrpc/rpcsvc/rquota.x: Likewise.
2232 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2233 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2234 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2235 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2236 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2237 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2238 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2239 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2240 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2241 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2242 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2261 * sysdeps/ieee754/s_lib_version.c: Likewise.
2262 * sysdeps/mach/hurd/check_fds.c: Likewise.
2263 * sysdeps/mach/hurd/getsockname.c: Likewise.
2264 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2265 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2266 * sysdeps/powerpc/bits/link.h: Likewise.
2267 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2268 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2269 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2270 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2271 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2272 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2273 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2274 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2275 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2276 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2277 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2278 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2279 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2280 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2281 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2282 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2283 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2284 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2285 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2287 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2288 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2289 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2290 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2291 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2293 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2294 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2295 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2296 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2298 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2299 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2300 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2301 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2302 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2303 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2304 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2305 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2306 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2307 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2308 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2309 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2310 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2311 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2312 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2313 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2314 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2315 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2316 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2318 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2319 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2320 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2321 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2322 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2323 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2324 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2325 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2326 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2327 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2328 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2329 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2330 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2331 * sysdeps/powerpc/sysdep.h: Likewise.
2332 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2333 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2334 * sysdeps/sh/dl-trampoline.S: Likewise.
2335 * sysdeps/sh/memset.S: Likewise.
2336 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2337 * sysdeps/sh/strlen.S: Likewise.
2338 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2339 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2340 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2341 * sysdeps/sparc/sparc32/rem.S: Likewise.
2342 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2343 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2344 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2345 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2346 * sysdeps/sparc/sparc32/urem.S: Likewise.
2347 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2348 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2349 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2350 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2351 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2352 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2353 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2354 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2355 * sysdeps/unix/bsd/times.c: Likewise.
2356 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2357 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2361 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2362 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2363 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2364 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2365 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2366 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2367 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2368 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2369 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2370 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2371 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2372 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2373 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2374 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2375 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2376 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2377 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2378 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2379 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2380 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2381 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2382 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2383 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2384 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2385 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2386 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2387 * sysdeps/x86_64/strcspn.S: Likewise.
2388
869378a5
RA
23892013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2390
2391 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2392 generated file. Regenerate properly from gen-translit.pl.
2393 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2394 locale/C-translit.h.
2395
840e2943
AS
23962013-06-05 Andreas Schwab <schwab@suse.de>
2397
2398 [BZ #15100]
2399 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2400 week as 6 instead of -1.
2401 * time/tst-strptime.c (day_tests): Add test case.
2402
4c60cb0c
SP
24032013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2404
2405 * sysdeps/generic/math_private.h
2406 (libc_feholdexcept_setround_53bit): Replace with
2407 libc_feholdsetround_53bit.
2408 (libc_feupdateenv_53bit): Replace with
2409 libc_feresetround_53bit.
2410 (SET_RESTORE_ROUND_53BIT): Adjust.
2411
d180203e
SP
24122013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2413
96df079a
SP
2414 * string/test-strchrnul.c: Add copyright header.
2415
d180203e
SP
2416 * posix/tst-getaddrinfo4.c: Increase test timeout.
2417
8b0ccb2d
CD
24182013-06-03 Carlos O'Donell <carlos@redhat.com>
2419
2420 [BZ #15536]
2421 * math/libm-test.inc (MAX_EXP): Remove
2422 (MIN_EXP): Define.
2423 (ulp): Use MIN_EXP - MANT_DIG.
2424 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2425
3b3c4d40
CD
24262013-05-31 Carlos O'Donell <carlos@redhat.com>
2427
2428 * po/be.po: Revert last change.
2429 * po/zh_CN.po: Likewise.
2430 * po/header.pot: Likewise.
2431
fab7ce3f
JM
24322013-05-31 Joseph Myers <joseph@codesourcery.com>
2433
2434 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2435 link-libc-deps to empty as target-specific variable.
2436 * Makerules (link-libc-args): New variable.
2437 (libc-for-link): Likewise.
2438 (link-libc-deps): Likewise.
2439 (lib%.so): Depend on $(link-libc-deps). Link with
2440 $(link-libc-args).
2441 (build-module): Link with $(link-libc-args).
2442 (build-module-asneeded): Likewise.
2443 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2444 list of objects.
2445 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2446 target-specific variable.
2447 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2448 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2449 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2450 libc.
2451 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2452 libc and ld.so.
2453 ($(objpfx)libpcprofile.so): Likewise.
2454 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2455 libc_nonshared.a.
2456 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2457 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2458 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2459 $(link-libc-deps).
2460 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2461 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2462 * login/Makefile ($(objpfx)libutil.so): Likewise.
2463 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2464 * math/Makefile ($(objpfx)libm.so): Likewise.
2465 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2466 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2467 variable instead of depending directly on libc.
2468 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2469 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2470 $(link-libc-deps).
2471 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2472 libc.
2473 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2474 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2475 ($(objpfx)libanl.so): Likewise.
2476 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2477 ld.so.
2478 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2479 $(link-libc-deps).
2480 * sysdeps/i386/fpu/Makefile: Remove file.
2481 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2482 ($(objpfx)libm.so): Remove dependency on ld.so.
2483
eca5920c
PF
24842013-05-30 Patsy Franklin <pfrankli@redhat.com>
2485
2486 [BZ # 15553]
2487 * nis/yp_xdr.c (XDRMAXNAME): Define.
2488 (XDRMAXRECORD): Define.
2489 (xdr_domainname): Use XDRMAXNAME.
2490 (xdr_mapname): Likewise.
2491 (xdr_peername): Likewise.
2492 (xdr_keydat): Use XDRMAXRECORD.
2493 (xdr_valdat): Likewise.
2494
24952013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2496
2497 [BZ #14256]
2498 * manual/errno.texi (ESTALE): Update to account for more than
2499 just NFS file systems.
2500 * sysdeps/gnu/errlist.c: Regenerated.
2501
b9375348
SP
25022013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2503
2504 [BZ #15465]
2505 * elf/Makefile (tests): Add tst-null-argv.
2506 (modules-names): Add tst-null-argv-lib.
2507 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2508 (tst-null-argv-ENV): Set environment for tst-null-argv.
2509 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2510 (RTLD_PROGNAME): New macro.
2511 * elf/tst-null-argv.c: New test case.
2512 * elf/tst-null-argv-lib.c: Library for test case.
2513 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2514 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2515 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2516 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2517 * elf/dl-init.c (call_init): Likewise.
2518 (_dl_init): Likewise.
2519 * elf/dl-load.c (print_search_path): Likewise.
2520 (_dl_map_object): Likewise.
2521 * elf/dl-lookup.c (do_lookup_x): Likewise.
2522 (add_dependency): Likewise.
2523 (_dl_lookup_symbol_x): Likewise.
2524 (_dl_debug_bindings): Likewise.
2525 * elf/dl-open.c (_dl_show_scope): Likewise.
2526 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2527 * elf/dl-version.c (match_symbol): Likewise.
2528 (_dl_check_map_versions): Likewise.
2529 * elf/rtld.c (dl_main): Likewise.
2530 (print_unresolved): Use RTLD_PROGNAME.
2531 (print_missing_version): Likewise.
2532 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2533 (elf_machine_rela): Likewise.
2534 * sysdeps/powerpc/powerpc32/dl-machine.c
2535 (__process_machine_rela): Likewise.
2536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2537 Likewise.
2538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2539 Likewise.
2540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2541 Likewise.
2542 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2543 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2544 Likewise.
2545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2546 Likewise.
2547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2548
8a9f20c8
CD
25492013-05-28 Carlos O'Donell <carlos@redhat.com>
2550
2551 * po/be.po: Add descriptive title.
2552 * po/zh_CN.po: Likewise.
2553 * po/header.pot: Likewise.
2554
0e60d68e
MF
25552013-05-28 Mike Frysinger <vapier@gentoo.org>
2556
2557 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2558 error message.
2559 (enlarge_archive): Likewise.
2560
56b672e9
BN
25612013-05-28 Ben North <ben@redfrontdoor.org>
2562
2563 * manual/arith.texi (frexp): It is the magnitude of the return
2564 value which lies in [0.5, 1), not the return value itself.
2565
5e056687
AZ
25662013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2567
2568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2569
2b66ef5d
TS
25702013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2571
528c2405
TS
2572 * stdio-common/bug26.c (main): Correct fscanf template.
2573
07b4c13d
TS
2574 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2575 declare _dl_skip_args.
2576
ec9dd97c
TS
2577 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2578 Don't declare.
2579
2b66ef5d
TS
2580 * manual/platform.texi: Add missing @end deftypefun.
2581
4f8dfe27
JM
25822013-05-24 Joseph Myers <joseph@codesourcery.com>
2583
0323d086
JM
2584 [BZ #15529]
2585 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2586 bit of mantissa of 2^16382.
2587 * math/libm-test.inc (hypot_test_data): Add more tests.
2588
dd4259b9
JM
2589 * math/libm-test.inc: Add drem and pow10 to list of tested
2590 functions.
2591 (pow10_test): New function.
2592 (drem_test): Likewise.
2593 (drem_test_tonearest): Likewise.
2594 (drem_test_towardzero): Likewise.
2595 (drem_test_downward): Likewise.
2596 (drem_test_upward): Likewise.
2597 (main): Call the new functions.
2598
4f8dfe27
JM
2599 * math/libm-test.inc (finite_test_data): Remove.
2600 (finite_test): Run tests from isfinite_test_data.
2601 (gamma_test_data): Remove.
2602 (gamma_test): Run tests from lgamma_test_data.
2603 * sysdeps/i386/fpu/libm-test-ulps: Update.
2604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2605
d116b7c4
AZ
26062013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2607
2608 * manual/platform.texi: Add PowerPC PPR function set documentation.
2609 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2610 implementation.
2611
e96e3767
CD
26122013-05-24 Carlos O'Donell <carlos@redhat.com>
2613
2614 * math/libm-test.inc (MAX_EXP): Define.
2615 (ULPDIFF): Define.
2616 (ulp): New function.
2617 (check_float_internal): Use ULPDIFF.
2618 (cpow_test): Disable failing test.
2619 (check_ulp): Test ulp() implemetnation.
2620 (main): Call check_ulp before starting tests.
2621
b679a606
JM
26222013-05-24 Joseph Myers <joseph@codesourcery.com>
2623
e8bdba36
JM
2624 * math/gen-libm-test.pl (generate_testfile): Do not handle
2625 START_DATA and END_DATA.
2626 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2627 END_DATA.
2628 (acos_tonearest_test_data): Likewise.
2629 (acos_towardzero_test_data): Likewise.
2630 (acos_downward_test_data): Likewise.
2631 (acos_upward_test_data): Likewise.
2632 (acosh_test_data): Likewise.
2633 (asin_test_data): Likewise.
2634 (asin_tonearest_test_data): Likewise.
2635 (asin_towardzero_test_data): Likewise.
2636 (asin_downward_test_data): Likewise.
2637 (asin_upward_test_data): Likewise.
2638 (asinh_test_data): Likewise.
2639 (atan_test_data): Likewise.
2640 (atanh_test_data): Likewise.
2641 (atan2_test_data): Likewise.
2642 (cabs_test_data): Likewise.
2643 (cacos_test_data): Likewise.
2644 (cacosh_test_data): Likewise.
2645 (carg_test_data): Likewise.
2646 (casin_test_data): Likewise.
2647 (casinh_test_data): Likewise.
2648 (catan_test_data): Likewise.
2649 (catanh_test_data): Likewise.
2650 (cbrt_test_data): Likewise.
2651 (ccos_test_data): Likewise.
2652 (ccosh_test_data): Likewise.
2653 (ceil_test_data): Likewise.
2654 (cexp_test_data): Likewise.
2655 (cimag_test_data): Likewise.
2656 (clog_test_data): Likewise.
2657 (clog10_test_data): Likewise.
2658 (conj_test_data): Likewise.
2659 (copysign_test_data): Likewise.
2660 (cos_test_data): Likewise.
2661 (cos_tonearest_test_data): Likewise.
2662 (cos_towardzero_test_data): Likewise.
2663 (cos_downward_test_data): Likewise.
2664 (cos_upward_test_data): Likewise.
2665 (cosh_test_data): Likewise.
2666 (cosh_tonearest_test_data): Likewise.
2667 (cosh_towardzero_test_data): Likewise.
2668 (cosh_downward_test_data): Likewise.
2669 (cosh_upward_test_data): Likewise.
2670 (cpow_test_data): Likewise.
2671 (cproj_test_data): Likewise.
2672 (creal_test_data): Likewise.
2673 (csin_test_data): Likewise.
2674 (csinh_test_data): Likewise.
2675 (csqrt_test_data): Likewise.
2676 (ctan_test_data): Likewise.
2677 (ctan_tonearest_test_data): Likewise.
2678 (ctan_towardzero_test_data): Likewise.
2679 (ctan_downward_test_data): Likewise.
2680 (ctan_upward_test_data): Likewise.
2681 (ctanh_test_data): Likewise.
2682 (ctanh_tonearest_test_data): Likewise.
2683 (ctanh_towardzero_test_data): Likewise.
2684 (ctanh_downward_test_data): Likewise.
2685 (ctanh_upward_test_data): Likewise.
2686 (erf_test_data): Likewise.
2687 (erfc_test_data): Likewise.
2688 (exp_test_data): Likewise.
2689 (exp_tonearest_test_data): Likewise.
2690 (exp_towardzero_test_data): Likewise.
2691 (exp_downward_test_data): Likewise.
2692 (exp_upward_test_data): Likewise.
2693 (exp10_test_data): Likewise.
2694 (exp2_test_data): Likewise.
2695 (expm1_test_data): Likewise.
2696 (fabs_test_data): Likewise.
2697 (fdim_test_data): Likewise.
2698 (finite_test_data): Likewise.
2699 (floor_test_data): Likewise.
2700 (fma_test_data): Likewise.
2701 (fma_towardzero_test_data): Likewise.
2702 (fma_downward_test_data): Likewise.
2703 (fma_upward_test_data): Likewise.
2704 (fmax_test_data): Likewise.
2705 (fmin_test_data): Likewise.
2706 (fmod_test_data): Likewise.
2707 (fpclassify_test_data): Likewise.
2708 (frexp_test_data): Likewise.
2709 (gamma_test_data): Likewise.
2710 (hypot_test_data): Likewise.
2711 (ilogb_test_data): Likewise.
2712 (isfinite_test_data): Likewise.
2713 (isgreater_test_data): Likewise.
2714 (isgreaterequal_test_data): Likewise.
2715 (isinf_test_data): Likewise.
2716 (isless_test_data): Likewise.
2717 (islessequal_test_data): Likewise.
2718 (islessgreater_test_data): Likewise.
2719 (isnan_test_data): Likewise.
2720 (isnormal_test_data): Likewise.
2721 (issignaling_test_data): Likewise.
2722 (isunordered_test_data): Likewise.
2723 (j0_test_data): Likewise.
2724 (j1_test_data): Likewise.
2725 (jn_test_data): Likewise.
2726 (ldexp_test_data): Likewise.
2727 (lgamma_test_data): Likewise.
2728 (lrint_test_data): Likewise.
2729 (lrint_tonearest_test_data): Likewise.
2730 (lrint_towardzero_test_data): Likewise.
2731 (lrint_downward_test_data): Likewise.
2732 (lrint_upward_test_data): Likewise.
2733 (llrint_test_data): Likewise.
2734 (llrint_tonearest_test_data): Likewise.
2735 (llrint_towardzero_test_data): Likewise.
2736 (llrint_downward_test_data): Likewise.
2737 (llrint_upward_test_data): Likewise.
2738 (log_test_data): Likewise.
2739 (log10_test_data): Likewise.
2740 (log1p_test_data): Likewise.
2741 (log2_test_data): Likewise.
2742 (logb_test_data): Likewise.
2743 (logb_downward_test_data): Likewise.
2744 (lround_test_data): Likewise.
2745 (llround_test_data): Likewise.
2746 (modf_test_data): Likewise.
2747 (nearbyint_test_data): Likewise.
2748 (nextafter_test_data): Likewise.
2749 (nexttoward_test_data): Likewise.
2750 (pow_test_data): Likewise.
2751 (pow_tonearest_test_data): Likewise.
2752 (pow_towardzero_test_data): Likewise.
2753 (pow_downward_test_data): Likewise.
2754 (pow_upward_test_data): Likewise.
2755 (remainder_test_data): Likewise.
2756 (remainder_tonearest_test_data): Likewise.
2757 (remainder_towardzero_test_data): Likewise.
2758 (remainder_downward_test_data): Likewise.
2759 (remainder_upward_test_data): Likewise.
2760 (remquo_test_data): Likewise.
2761 (rint_test_data): Likewise.
2762 (rint_tonearest_test_data): Likewise.
2763 (rint_towardzero_test_data): Likewise.
2764 (rint_downward_test_data): Likewise.
2765 (rint_upward_test_data): Likewise.
2766 (round_test_data): Likewise.
2767 (scalb_test_data): Likewise.
2768 (scalbn_test_data): Likewise.
2769 (scalbln_test_data): Likewise.
2770 (signbit_test_data): Likewise.
2771 (sin_test_data): Likewise.
2772 (sin_tonearest_test_data): Likewise.
2773 (sin_towardzero_test_data): Likewise.
2774 (sin_downward_test_data): Likewise.
2775 (sin_upward_test_data): Likewise.
2776 (sincos_test_data): Likewise.
2777 (sinh_test_data): Likewise.
2778 (sinh_tonearest_test_data): Likewise.
2779 (sinh_towardzero_test_data): Likewise.
2780 (sinh_downward_test_data): Likewise.
2781 (sinh_upward_test_data): Likewise.
2782 (sqrt_test_data): Likewise.
2783 (tan_test_data): Likewise.
2784 (tan_tonearest_test_data): Likewise.
2785 (tan_towardzero_test_data): Likewise.
2786 (tan_downward_test_data): Likewise.
2787 (tan_upward_test_data): Likewise.
2788 (tanh_test_data): Likewise.
2789 (tgamma_test_data): Likewise.
2790 (trunc_test_data): Likewise.
2791 (y0_test_data): Likewise.
2792 (y1_test_data): Likewise.
2793 (yn_test_data): Likewise.
2794 (significand_test_data): Likewise.
2795
b679a606
JM
2796 * math/gen-libm-test.pl (@functions): Remove variable.
2797 (generate_testfile): Don't handle START and END lines.
2798 * math/libm-test.inc (START): New macro.
2799 (END): Likewise.
2800 (END_COMPLEX): Likewise.
2801 (acos_test): Use END macro without arguments.
2802 (acos_test_tonearest): Likewise.
2803 (acos_test_towardzero): Likewise.
2804 (acos_test_downward): Likewise.
2805 (acos_test_upward): Likewise.
2806 (acosh_test): Likewise.
2807 (asin_test): Likewise.
2808 (asin_test_tonearest): Likewise.
2809 (asin_test_towardzero): Likewise.
2810 (asin_test_downward): Likewise.
2811 (asin_test_upward): Likewise.
2812 (asinh_test): Likewise.
2813 (atan_test): Likewise.
2814 (atanh_test): Likewise.
2815 (atan2_test): Likewise.
2816 (cabs_test): Likewise.
2817 (cacos_test): Use END_COMPLEX macro without arguments.
2818 (cacosh_test): Likewise.
2819 (carg_test): Use END macro without arguments.
2820 (casin_test): Use END_COMPLEX macro without arguments.
2821 (casinh_test): Likewise.
2822 (catan_test): Likewise.
2823 (catanh_test): Likewise.
2824 (cbrt_test): Use END macro without arguments.
2825 (ccos_test): Use END_COMPLEX macro without arguments.
2826 (ccosh_test): Likewise.
2827 (ceil_test): Use END macro without arguments.
2828 (cexp_test): Use END_COMPLEX macro without arguments.
2829 (cimag_test): Use END macro without arguments.
2830 (clog_test): Use END_COMPLEX macro without arguments.
2831 (clog10_test): Likewise.
2832 (conj_test): Likewise.
2833 (copysign_test): Use END macro without arguments.
2834 (cos_test): Likewise.
2835 (cos_test_tonearest): Likewise.
2836 (cos_test_towardzero): Likewise.
2837 (cos_test_downward): Likewise.
2838 (cos_test_upward): Likewise.
2839 (cosh_test): Likewise.
2840 (cosh_test_tonearest): Likewise.
2841 (cosh_test_towardzero): Likewise.
2842 (cosh_test_downward): Likewise.
2843 (cosh_test_upward): Likewise.
2844 (cpow_test): Use END_COMPLEX macro without arguments.
2845 (cproj_test): Likewise.
2846 (creal_test): Use END macro without arguments.
2847 (csin_test): Use END_COMPLEX macro without arguments.
2848 (csinh_test): Likewise.
2849 (csqrt_test): Likewise.
2850 (ctan_test): Likewise.
2851 (ctan_test_tonearest): Likewise.
2852 (ctan_test_towardzero): Likewise.
2853 (ctan_test_downward): Likewise.
2854 (ctan_test_upward): Likewise.
2855 (ctanh_test): Likewise.
2856 (ctanh_test_tonearest): Likewise.
2857 (ctanh_test_towardzero): Likewise.
2858 (ctanh_test_downward): Likewise.
2859 (ctanh_test_upward): Likewise.
2860 (erf_test): Use END macro without arguments.
2861 (erfc_test): Likewise.
2862 (exp_test): Likewise.
2863 (exp_test_tonearest): Likewise.
2864 (exp_test_towardzero): Likewise.
2865 (exp_test_downward): Likewise.
2866 (exp_test_upward): Likewise.
2867 (exp10_test): Likewise.
2868 (exp2_test): Likewise.
2869 (expm1_test): Likewise.
2870 (fabs_test): Likewise.
2871 (fdim_test): Likewise.
2872 (finite_test): Likewise.
2873 (floor_test): Likewise.
2874 (fma_test): Likewise.
2875 (fma_test_towardzero): Likewise.
2876 (fma_test_downward): Likewise.
2877 (fma_test_upward): Likewise.
2878 (fmax_test): Likewise.
2879 (fmin_test): Likewise.
2880 (fmod_test): Likewise.
2881 (fpclassify_test): Likewise.
2882 (frexp_test): Likewise.
2883 (gamma_test): Likewise.
2884 (hypot_test): Likewise.
2885 (ilogb_test): Likewise.
2886 (isfinite_test): Likewise.
2887 (isgreater_test): Likewise.
2888 (isgreaterequal_test): Likewise.
2889 (isinf_test): Likewise.
2890 (isless_test): Likewise.
2891 (islessequal_test): Likewise.
2892 (islessgreater_test): Likewise.
2893 (isnan_test): Likewise.
2894 (isnormal_test): Likewise.
2895 (issignaling_test): Likewise.
2896 (isunordered_test): Likewise.
2897 (j0_test): Likewise.
2898 (j1_test): Likewise.
2899 (jn_test): Likewise.
2900 (ldexp_test): Likewise.
2901 (lgamma_test): Likewise.
2902 (lrint_test): Likewise.
2903 (lrint_test_tonearest): Likewise.
2904 (lrint_test_towardzero): Likewise.
2905 (lrint_test_downward): Likewise.
2906 (lrint_test_upward): Likewise.
2907 (llrint_test): Likewise.
2908 (llrint_test_tonearest): Likewise.
2909 (llrint_test_towardzero): Likewise.
2910 (llrint_test_downward): Likewise.
2911 (llrint_test_upward): Likewise.
2912 (log_test): Likewise.
2913 (log10_test): Likewise.
2914 (log1p_test): Likewise.
2915 (log2_test): Likewise.
2916 (logb_test): Likewise.
2917 (logb_test_downward): Likewise.
2918 (lround_test): Likewise.
2919 (llround_test): Likewise.
2920 (modf_test): Likewise.
2921 (nearbyint_test): Likewise.
2922 (nextafter_test): Likewise.
2923 (nexttoward_test): Likewise.
2924 (pow_test): Likewise.
2925 (pow_test_tonearest): Likewise.
2926 (pow_test_towardzero): Likewise.
2927 (pow_test_downward): Likewise.
2928 (pow_test_upward): Likewise.
2929 (remainder_test): Likewise.
2930 (remainder_test_tonearest): Likewise.
2931 (remainder_test_towardzero): Likewise.
2932 (remainder_test_downward): Likewise.
2933 (remainder_test_upward): Likewise.
2934 (remquo_test): Likewise.
2935 (rint_test): Likewise.
2936 (rint_test_tonearest): Likewise.
2937 (rint_test_towardzero): Likewise.
2938 (rint_test_downward): Likewise.
2939 (rint_test_upward): Likewise.
2940 (round_test): Likewise.
2941 (scalb_test): Likewise.
2942 (scalbn_test): Likewise.
2943 (scalbln_test): Likewise.
2944 (signbit_test): Likewise.
2945 (sin_test): Likewise.
2946 (sin_test_tonearest): Likewise.
2947 (sin_test_towardzero): Likewise.
2948 (sin_test_downward): Likewise.
2949 (sin_test_upward): Likewise.
2950 (sincos_test): Likewise.
2951 (sinh_test): Likewise.
2952 (sinh_test_tonearest): Likewise.
2953 (sinh_test_towardzero): Likewise.
2954 (sinh_test_downward): Likewise.
2955 (sinh_test_upward): Likewise.
2956 (sqrt_test): Likewise.
2957 (tan_test): Likewise.
2958 (tan_test_tonearest): Likewise.
2959 (tan_test_towardzero): Likewise.
2960 (tan_test_downward): Likewise.
2961 (tan_test_upward): Likewise.
2962 (tanh_test): Likewise.
2963 (tgamma_test): Likewise.
2964 (trunc_test): Likewise.
2965 (y0_test): Likewise.
2966 (y1_test): Likewise.
2967 (yn_test): Likewise.
2968 (significand_test): Likewise.
2969
bae143d2
OB
29702013-05-24 Ondřej Bílka <neleai@seznam.cz>
2971
2972 [BZ #15381]
2973 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2974
9323d39b
EM
29752013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2976
d4ea44a0 2977 [BZ #14894]
9323d39b
EM
2978 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2979 __ppc_mdoio and __ppc_mdoom.
2980 * manual/platform.texi: Document new functions __ppc_yield,
2981 __ppc_mdoio and __ppc_mdoom.
2982
13e23af7
CD
29832013-05-22 Carlos O'Donell <carlos@redhat.com>
2984
2985 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2986 (main): Mention "tls" pseudo-hwcap is legacy.
2987 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2988
351fe550
JM
29892013-05-22 Joseph Myers <joseph@codesourcery.com>
2990
2991 * math/gen-libm-test.pl (parse_args): Output only string of
2992 arguments as text for test name, not full call or descriptions of
2993 tests for extra outputs.
2994 (generate_testfile): Do not pass function name to parse_args.
2995 Generate this_func variable from START.
2996 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2997 field to arg_str.
2998 (struct test_ff_f_data): Likewise.
2999 (test_ff_f_data_nexttoward): Likewise.
3000 (struct test_fi_f_data): Likewise.
3001 (struct test_fl_f_data): Likewise.
3002 (struct test_if_f_data): Likewise.
3003 (struct test_fff_f_data): Likewise.
3004 (struct test_c_f_data): Likewise.
3005 (struct test_f_f1_data): Likewise. Remove field extra_name.
3006 (struct test_fF_f1_data): Likewise.
3007 (struct test_ffI_f1_data): Likewise.
3008 (struct test_c_c_data): Rename test_name field to arg_str.
3009 (struct test_cc_c_data): Likewise.
3010 (struct test_f_i_data): Likewise.
3011 (struct test_ff_i_data): Likewise.
3012 (struct test_f_l_data): Likewise.
3013 (struct test_f_L_data): Likewise.
3014 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3015 and extra2_name.
3016 (COMMON_TEST_SETUP): New macro.
3017 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3018 (COMMON_TEST_CLEANUP): Likewise.
3019 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3020 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3021 macros.
3022 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3023 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3024 macros.
3025 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3026 (RUN_TEST_fff_f): Take argument string. Call new setup and
3027 cleanup macros.
3028 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3029 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3030 macros.
3031 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3032 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3033 macros.
3034 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3035 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3036 cleanup macros.
3037 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3038 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3039 cleanup macros.
3040 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3041 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3042 cleanup macros.
3043 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3044 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3045 macros.
3046 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3047 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3048 macros.
3049 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3050 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3051 macros.
3052 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3053 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3054 cleanup macros.
3055 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3056 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3057 cleanup macros.
3058 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3059 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3060 macros.
3061 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3062 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3063 cleanup macros.
3064 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3065 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3066 macros.
3067 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3068 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3069 macros.
3070 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3071 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3072 cleanup macros.
3073 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3074
85118d4d
EBM
30752013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3076
3077 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3078 to _sifields.sigfault.
3079 (si_addr_lsb): Define new macro.
3080 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3082 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3083
7a44c18f
CD
30842013-05-03 Carlos O'Donell <carlos at redhat.com>
3085
3086 [BZ #15441]
3087 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3088 returns -1.
3089 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3090 null return -1.
3091 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3092 loading the domain.
3093
b50a7181
JM
30942013-05-22 Joseph Myers <joseph@codesourcery.com>
3095
3096 * math/gen-libm-test.pl (parse_args): Do not include expected
3097 result in test name.
3098 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3099 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3100 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3101 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3102 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3104
051063c8
SP
31052013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3106
3ce9e010
SP
3107 * benchtests/Makefile: Sort function entries.
3108
051063c8
SP
3109 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3110 tanh, asinh, acosh, atanh.
3111 * benchtests/acos-inputs: New file.
3112 * benchtests/acosh-inputs: New file.
3113 * benchtests/asin-inputs: New file.
3114 * benchtests/asinh-inputs: New file.
3115 * benchtests/atanh-inputs: New file.
3116 * benchtests/cosh-inputs: New file.
3117 * benchtests/log-inputs: New file.
3118 * benchtests/sinh-inputs: New file.
3119 * benchtests/tanh-inputs: New file.
3120
47c22455
DL
31212013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3122
3123 [BZ #15339]
3124 * posix/tst-getaddrinfo4.c: New test.
3125 * posix/Makefile (tests): Add it.
3126
3d04f5db
SP
31272013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3128
3129 [BZ #15339]
3130 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3131 when no services were used.
3132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3133 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3134
d5dd6189
AS
31352013-05-21 Andreas Schwab <schwab@suse.de>
3136
3137 [BZ #15014]
3138 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3139 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3140 successful.
3141 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3142 redundant variable declarations and reallocation of buffer when
3143 parsing as IPv6 address. Always set NSS status when called from
3144 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3145 buffer too small. Correct computation of needed size.
3146 * nss/Makefile (tests): Add test-digits-dots.
3147 * nss/test-digits-dots.c: New test.
3148
fef94eab
SP
31492013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3150
3151 * benchtests/Makefile: Remove instructions for adding
3152 benchmark tests.
3153 * benchtests/README: New file to explain how to execute and
3154 enhance the benchmark tests.
3155
e39adf43
AS
31562013-05-21 Andreas Schwab <schwab@suse.de>
3157
3158 [BZ #15493]
3159 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3160 * setjmp/tst-sigsetjmp.c: New test.
3161
b2b671b6
OB
31622013-05-20 Ondřej Bílka <neleai@seznam.cz>
3163
3164 * sysdeps/x86_64/memset.S (memset): New implementation.
3165 (__bzero): Likewise.
3166 (__memset_tail): New function.
3167
2d48b41c
OB
31682013-05-20 Ondřej Bílka <neleai@seznam.cz>
3169
3170 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3171 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3172 __memcpy_sse2_unaligned ifunc selection.
3173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3174 Add memcpy-sse2-unaligned.S.
3175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3176 Add: __memcpy_sse2_unaligned.
3177
f16cc3eb
JM
31782013-05-19 Joseph Myers <joseph@codesourcery.com>
3179
3e694268
JM
3180 [BZ #15490]
3181 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3182 math_force_eval before restoring floating-point envrionment.
3183 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3184 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3185 Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3187 <math_private.h>.
3188 (__nearbyintl): Use math_force_eval before restoring
3189 floating-point environment.
3190 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3191
db62a907
JM
3192 * math/gen-libm-test.pl (special_functions): Remove.
3193 (parse_args): Don't handle TEST_extra. Handle functions with no
3194 return value.
3195 * math/libm-test.inc (struct test_sincos_data): Replace with
3196 struct test_fFF_11_data.
3197 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3198 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3199 (sincos_test_data): Change element type to struct
3200 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3201 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3202 RUN_TEST_LOOP_sincos.
3203 * math/README.libm-test: Don't mention special handling of
3204 individual functions.
3205 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3206 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3207 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3208 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3209 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3211
f16cc3eb
JM
3212 * math/gen-libm-test.pl (get_variable): Remove function.
3213 (parse_args): Don't show pointer parameters to call in test
3214 names. Use "extra output N" in test names for extra outputs
3215 rather than naming variables.
3216
3779b5b6
JM
32172013-05-18 Joseph Myers <joseph@codesourcery.com>
3218
2ee094ff
JM
3219 [BZ #15488]
3220 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3221 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3222 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3223 double tests.
3224 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3225 disable.
3226 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3227 check_long_double.
3228
3779b5b6
JM
3229 * math/gen-libm-test.pl (@tests): Remove variable.
3230 ($count): Likewise.
3231 (new_test): Remove function.
3232 (show_exceptions): New function.
3233 (special_functions): Use show_exceptions instead of new_test.
3234 (parse_args): Likewise.
3235 (generate_testfile): Pass only function name in generated call to
3236 print_max_error or print_complex_max_error.
3237 (get_ulps): Do not handle complex tests specially.
3238 (output_test): Rename to ...
3239 (get_all_ulps_for_test): ... this. Return a string rather than
3240 printing to a file. Require ulps to be present.
3241 (output_ulps): Generate arrays rather than #defines.
3242 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3243 (struct ulp_data): New type.
3244 (BUILD_COMPLEX_ULP): Remove macro.
3245 (compare_ulp_data): New function.
3246 (find_ulps): Likewise.
3247 (find_test_ulps): Likewise.
3248 (find_function_ulps): Likewise.
3249 (find_complex_function_ulps): Likewise.
3250 (print_max_error): Determine allowed ulps using
3251 find_function_ulps.
3252 (print_complex_max_error): Determine allowed ulps using
3253 find_complex_function_ulps.
3254 (check_float_internal): Determine max ulps using find_test_ulps.
3255 (check_float): Do not take max_ulp parameter. Update call to
3256 check_float_internal.
3257 (check_complex): Likewise.
3258 (check_int): Do not take max_ulp parameter.
3259 (check_long): Likewise.
3260 (check_bool): Likewise.
3261 (check_longlong): Likewise.
3262 (struct test_f_f_data): Remove max_ulp field.
3263 (struct test_ff_f_data): Likewise.
3264 (struct test_ff_f_data_nexttoward): Likewise.
3265 (struct test_fi_f_data): Likewise.
3266 (struct test_fl_f_data): Likewise.
3267 (struct test_if_f_data): Likewise.
3268 (struct test_fff_f_data): Likewise.
3269 (struct test_c_f_data): Likewise.
3270 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3271 (struct test_fF_f1_data): Likewise.
3272 (struct test_ffI_f1_data): Likewise.
3273 (struct test_c_c_data): Remove max_ulp field.
3274 (struct test_cc_c_data): Likewise.
3275 (struct test_f_i_data): Likewise.
3276 (struct test_ff_i_data): Likewise.
3277 (struct test_f_l_data): Likewise.
3278 (struct test_f_L_data): Likewise.
3279 (struct test_sincos_data): Likewise.
3280 (RUN_TEST_f_f): Do not handle ulps.
3281 (RUN_TEST_LOOP_f_f): Likewise.
3282 (RUN_TEST_2_f): Likewise.
3283 (RUN_TEST_LOOP_2_f): Likewise.
3284 (RUN_TEST_fff_f): Likewise.
3285 (RUN_TEST_LOOP_fff_f): Likewise.
3286 (RUN_TEST_c_f): Likewise.
3287 (RUN_TEST_LOOP_c_f): Likewise.
3288 (RUN_TEST_f_f1): Likewise.
3289 (RUN_TEST_LOOP_f_f1): Likewise.
3290 (RUN_TEST_fF_f1): Likewise.
3291 (RUN_TEST_LOOP_fF_f1): Likewise.
3292 (RUN_TEST_fI_f1): Likewise.
3293 (RUN_TEST_LOOP_fI_f1): Likewise.
3294 (RUN_TEST_ffI_f1): Likewise.
3295 (RUN_TEST_LOOP_ffI_f1): Likewise.
3296 (RUN_TEST_c_c): Likewise.
3297 (RUN_TEST_LOOP_c_c): Likewise.
3298 (RUN_TEST_cc_c): Likewise.
3299 (RUN_TEST_LOOP_cc_c): Likewise.
3300 (RUN_TEST_f_i): Likewise.
3301 (RUN_TEST_LOOP_f_i): Likewise.
3302 (RUN_TEST_f_i_tg): Likewise.
3303 (RUN_TEST_LOOP_f_i_tg): Likewise.
3304 (RUN_TEST_ff_i_tg): Likewise.
3305 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3306 (RUN_TEST_f_b): Likewise.
3307 (RUN_TEST_LOOP_f_b): Likewise.
3308 (RUN_TEST_f_b_tg): Likewise.
3309 (RUN_TEST_LOOP_f_b_tg): Likewise.
3310 (RUN_TEST_f_l): Likewise.
3311 (RUN_TEST_LOOP_f_l): Likewise.
3312 (RUN_TEST_f_L): Likewise.
3313 (RUN_TEST_LOOP_f_L): Likewise.
3314 (RUN_TEST_sincos): Likewise.
3315 (RUN_TEST_LOOP_sincos): Likewise.
3316
8269107f
JM
33172013-05-17 Joseph Myers <joseph@codesourcery.com>
3318
bb38759d
JM
3319 [BZ #15480]
3320 [BZ #15485]
3321 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3322 main case of finite arguments, set rounding mode to FE_TONEAREST
3323 and discard exceptions.
3324 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3325 exceptions.
3326 (remainder_tonearest_test_data): New variable.
3327 (remainder_test_tonearest): New function.
3328 (remainder_towardzero_test_data): New variable.
3329 (remainder_test_towardzero): New function.
3330 (remainder_downward_test_data): New variable.
3331 (remainder_test_downward): New function.
3332 (remainder_upward_test_data): New variable.
3333 (remainder_test_upward): New function.
3334 (main): Call the new test functions.
3335
a00bdcf0
JM
3336 * math/libm-test.inc (struct test_f_f1_data): Remove field
3337 extra_init.
3338 (struct test_fF_f1_data): Likewise.
3339 (struct test_ffI_f1_data): Likewise.
3340 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3341 based on value of EXTRA_EXPECTED.
3342 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3343 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3344 EXTRA_VAR based on value of EXTRA_EXPECTED.
3345 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3346 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3347 EXTRA_VAR based on value of EXTRA_EXPECTED.
3348 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3349 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3350 EXTRA_VAR based on value of EXTRA_EXPECTED.
3351 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3352 * math/gen-libm-test.pl (parse_args): Don't output initializers
3353 for extra output values.
3354
de407f79
JM
3355 * math/libm-test.inc (check_int): Expect result to be exactly
3356 equal to expected value and do not handle ulps.
3357 (check_long): Likewise.
3358 (check_longlong): Likewise.
3359
8269107f
JM
3360 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3361 exceptions.
3362 (cimag_test_data): Likewise.
3363 (conj_test_data): Likewise.
3364 (copysign_test_data): Likewise.
3365 (cproj_test_data): Likewise.
3366 (creal_test_data): Likewise.
3367 (fabs_test_data): Likewise.
3368 (fdim_test_data): Likewise.
3369 (finite_test_data): Likewise.
3370 (floor_test_data): Likewise.
3371 (fmax_test_data): Likewise.
3372 (fmin_test_data): Likewise.
3373 (fmod_test_data): Likewise.
3374 (fpclassify_test_data): Likewise.
3375 (frexp_test_data): Likewise.
3376 (ilogb_test_data): Likewise.
3377 (isfinite_test_data): Likewise.
3378 (isgreater_test_data): Likewise.
3379 (isgreaterequal_test_data): Likewise.
3380 (isinf_test_data): Likewise.
3381 (isless_test_data): Likewise.
3382 (islessequal_test_data): Likewise.
3383 (islessgreater_test_data): Likewise.
3384 (isnan_test_data): Likewise.
3385 (isnormal_test_data): Likewise.
3386 (issignaling_test_data): Likewise.
3387 (isunordered_test_data): Likewise.
3388 (ldexp_test_data): Likewise.
3389 (lrint_test_data): Likewise.
3390 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3391 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3392 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3393 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3394 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3395 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3396 test input.
3397 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3398 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3399 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3400 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3401 that test input.
3402 (lrint_downward_test_data): Test for "inexact" exceptions.
3403 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3404 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3405 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3406 test input.
3407 (lrint_upward_test_data): Test for "inexact" exceptions.
3408 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3409 test input.
3410 (llrint_test_data): Test for "inexact" exceptions.
3411 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3412 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3413 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3414 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3415 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3416 (llrint_downward_test_data): Test for "inexact" exceptions.
3417 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3418 (llrint_upward_test_data): Test for "inexact" exceptions.
3419 (logb_test_data): Likewise.
3420 (logb_downward_test_data): Likewise.
3421 (nextafter_test_data): Likewise.
3422 (nexttoward_test_data): Likewise.
3423 (remainder_test_data): Likewise.
3424 (remquo_test_data): Likewise.
3425 (scalbn_test_data): Likewise.
3426 (scalbln_test_data): Likewise.
3427 (signbit_test_data): Likewise.
3428 (sqrt_test_data): Likewise.
3429 (significand_test_data): Likewise.
3430
48a18de1
SP
34312013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3432
3433 [BZ #15424]
3434 * benchtests/bench-modf.c (struct args): Mark arg0 as
3435 volatile.
3436 * scripts/bench.pl: Mark members of struct args as volatile.
3437
13d3b41a
AZ
34382013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3439
68191c1d 3440 [BZ # 15497]
13d3b41a
AZ
3441 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3442 negative infinity on POWER6 or lower.
3443 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3444
2848b105
MR
34452013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3446
3447 [BZ #15442]
3448 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3449 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3450 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3451 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3452 (_FP_SETQNAN): New macro.
3453 (_FP_SETQNAN_SEMIRAW): Likewise.
3454 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3455 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3456 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3457 (FP_EXTEND): Use _FP_FRAC_SNANP.
3458 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3459 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3460 into account.
3461 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3462 New macro.
3463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3464 Likewise.
3465
323e5cb7
JM
34662013-05-16 Joseph Myers <joseph@codesourcery.com>
3467
c58b274f
JM
3468 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3469 with DIVIDE_BY_ZERO_EXCEPTION.
3470 (gamma_test_data): Likewise.
3471 (lgamma_test_data): Likewise.
3472 (log_test_data): Likewise.
3473 (log10_test_data): Likewise.
3474 (log2_test_data): Likewise.
3475 (tgamma_test_data): Likewise.
3476
0ab34904
JM
3477 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3478 (acos_test_tonearest): Likewise.
3479 (acos_test_towardzero): Likewise.
3480 (acos_test_downward): Likewise.
3481 (acos_test_upward): Likewise.
3482 (acosh_test): Likewise.
3483 (asin_test): Likewise.
3484 (asin_test_tonearest): Likewise.
3485 (asin_test_towardzero): Likewise.
3486 (asin_test_downward): Likewise.
3487 (asin_test_upward): Likewise.
3488 (asinh_test): Likewise.
3489 (atan_test): Likewise.
3490 (atanh_test): Likewise.
3491 (atan2_test): Likewise.
3492 (cabs_test): Likewise.
3493 (cacos_test): Likewise.
3494 (cacosh_test): Likewise.
3495 (casin_test): Likewise.
3496 (casinh_test): Likewise.
3497 (catan_test): Likewise.
3498 (catanh_test): Likewise.
3499 (cbrt_test): Likewise.
3500 (ccos_test): Likewise.
3501 (ccosh_test): Likewise.
3502 (cexp_test): Likewise.
3503 (clog_test): Likewise.
3504 (clog10_test): Likewise.
3505 (cos_test): Likewise.
3506 (cos_test_tonearest): Likewise.
3507 (cos_test_towardzero): Likewise.
3508 (cos_test_downward): Likewise.
3509 (cos_test_upward): Likewise.
3510 (cosh_test): Likewise.
3511 (cosh_test_tonearest): Likewise.
3512 (cosh_test_towardzero): Likewise.
3513 (cosh_test_downward): Likewise.
3514 (cosh_test_upward): Likewise.
3515 (cpow_test): Likewise.
3516 (csin_test): Likewise.
3517 (csinh_test): Likewise.
3518 (csqrt_test): Likewise.
3519 (ctan_test): Likewise.
3520 (ctan_test_tonearest): Likewise.
3521 (ctan_test_towardzero): Likewise.
3522 (ctan_test_downward): Likewise.
3523 (ctan_test_upward): Likewise.
3524 (ctanh_test): Likewise.
3525 (ctanh_test_tonearest): Likewise.
3526 (ctanh_test_towardzero): Likewise.
3527 (ctanh_test_downward): Likewise.
3528 (ctanh_test_upward): Likewise.
3529 (erf_test): Likewise.
3530 (erfc_test): Likewise.
3531 (exp_test): Likewise.
3532 (exp_test_tonearest): Likewise.
3533 (exp_test_towardzero): Likewise.
3534 (exp_test_downward): Likewise.
3535 (exp_test_upward): Likewise.
3536 (exp10_test): Likewise.
3537 (exp2_test): Likewise.
3538 (expm1_test): Likewise.
3539 (fmod_test): Likewise.
3540 (gamma_test): Likewise.
3541 (hypot_test): Likewise.
3542 (j0_test): Likewise.
3543 (j1_test): Likewise.
3544 (jn_test): Likewise.
3545 (lgamma_test): Likewise.
3546 (log_test): Likewise.
3547 (log10_test): Likewise.
3548 (log1p_test): Likewise.
3549 (log2_test): Likewise.
3550 (logb_test_downward): Likewise.
3551 (pow_test): Likewise.
3552 (pow_test_tonearest): Likewise.
3553 (pow_test_towardzero): Likewise.
3554 (pow_test_downward): Likewise.
3555 (pow_test_upward): Likewise.
3556 (remainder_test): Likewise.
3557 (remquo_test): Likewise.
3558 (sin_test): Likewise.
3559 (sin_test_tonearest): Likewise.
3560 (sin_test_towardzero): Likewise.
3561 (sin_test_downward): Likewise.
3562 (sin_test_upward): Likewise.
3563 (sincos_test): Likewise.
3564 (sinh_test): Likewise.
3565 (sinh_test_tonearest): Likewise.
3566 (sinh_test_towardzero): Likewise.
3567 (sinh_test_downward): Likewise.
3568 (sinh_test_upward): Likewise.
3569 (sqrt_test): Likewise.
3570 (tan_test): Likewise.
3571 (tan_test_tonearest): Likewise.
3572 (tan_test_towardzero): Likewise.
3573 (tan_test_downward): Likewise.
3574 (tan_test_upward): Likewise.
3575 (tanh_test): Likewise.
3576 (tgamma_test): Likewise.
3577 (y0_test): Likewise.
3578 (y1_test): Likewise.
3579 (yn_test): Likewise.
3580
323e5cb7
JM
3581 * math/gen-libm-test.pl (adjust_arg): Remove function.
3582 (special_function): Remove argument $in_func. Only handle
3583 generating output for tables of tests, not inside functions.
3584 (parse_args): Likewise.
3585 (generate_testfile): Remove variable $in_func. Update call to
3586 parse_args.
3587 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3588 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3589 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3590 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3591 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3592 (MAX_VALUE_INIT): Rename macro to max_value.
3593 (MIN_VALUE_INIT): Rename macro to min_value.
3594 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3595 (plus_zero): Remove variable.
3596 (minus_zero): Likewise.
3597 (plus_infty): Likewise.
3598 (minus_infty): Likewise.
3599 (qnan_value): Likewise.
3600 (max_value): Likewise.
3601 (min_value): Likewise.
3602 (min_subnorm_value): Likewise.
3603
e054f494
RA
36042013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3605
3606 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3607 uint64_t or uint32_t usage.
3608 * crypt/sha256-block.c: Likewise.
3609 * crypt/sha256-crypt.c: Likewise.
3610 * crypt/sha256.c: Likewise.
3611 * crypt/sha512-block.c: Likewise.
3612 * crypt/sha512-crypt.c: Likewise.
3613 * crypt/sha512.c: Likewise.
3614 * debug/backtrace-tst.c: Likewise.
3615 * debug/pcprofiledump.c: Likewise.
3616 * elf/cache.c: Likewise.
3617 * elf/dl-cache.c: Likewise.
3618 * elf/dl-misc.c: Likewise.
3619 * elf/dl-profile.c: Likewise.
3620 * elf/dl-support.c: Likewise.
3621 * elf/ldconfig.c: Likewise.
3622 * elf/sprof.c: Likewise.
3623 * iconv/dummy-repertoire.c: Likewise.
3624 * iconv/iconv_charmap.c: Likewise.
3625 * iconv/skeleton.c: Likewise.
3626 * iconvdata/8bit-generic.c: Likewise.
3627 * iconvdata/cp737.h: Likewise.
3628 * iconvdata/cp775.h: Likewise.
3629 * iconvdata/ibm1008.h: Likewise.
3630 * iconvdata/ibm1025.h: Likewise.
3631 * iconvdata/ibm1046.h: Likewise.
3632 * iconvdata/ibm1097.h: Likewise.
3633 * iconvdata/ibm1112.h: Likewise.
3634 * iconvdata/ibm1122.h: Likewise.
3635 * iconvdata/ibm1123.h: Likewise.
3636 * iconvdata/ibm1124.h: Likewise.
3637 * iconvdata/ibm1129.h: Likewise.
3638 * iconvdata/ibm1130.h: Likewise.
3639 * iconvdata/ibm1132.h: Likewise.
3640 * iconvdata/ibm1133.h: Likewise.
3641 * iconvdata/ibm1137.h: Likewise.
3642 * iconvdata/ibm1140.h: Likewise.
3643 * iconvdata/ibm1141.h: Likewise.
3644 * iconvdata/ibm1142.h: Likewise.
3645 * iconvdata/ibm1143.h: Likewise.
3646 * iconvdata/ibm1144.h: Likewise.
3647 * iconvdata/ibm1145.h: Likewise.
3648 * iconvdata/ibm1146.h: Likewise.
3649 * iconvdata/ibm1147.h: Likewise.
3650 * iconvdata/ibm1148.h: Likewise.
3651 * iconvdata/ibm1149.h: Likewise.
3652 * iconvdata/ibm1153.h: Likewise.
3653 * iconvdata/ibm1154.h: Likewise.
3654 * iconvdata/ibm1155.h: Likewise.
3655 * iconvdata/ibm1156.h: Likewise.
3656 * iconvdata/ibm1157.h: Likewise.
3657 * iconvdata/ibm1158.h: Likewise.
3658 * iconvdata/ibm1160.h: Likewise.
3659 * iconvdata/ibm1161.h: Likewise.
3660 * iconvdata/ibm1162.h: Likewise.
3661 * iconvdata/ibm1163.h: Likewise.
3662 * iconvdata/ibm1164.h: Likewise.
3663 * iconvdata/ibm1166.h: Likewise.
3664 * iconvdata/ibm1167.h: Likewise.
3665 * iconvdata/ibm12712.h: Likewise.
3666 * iconvdata/ibm1390.h: Likewise.
3667 * iconvdata/ibm1399.h: Likewise.
3668 * iconvdata/ibm16804.h: Likewise.
3669 * iconvdata/ibm4517.h: Likewise.
3670 * iconvdata/ibm4899.h: Likewise.
3671 * iconvdata/ibm4909.h: Likewise.
3672 * iconvdata/ibm4971.h: Likewise.
3673 * iconvdata/ibm5347.h: Likewise.
3674 * iconvdata/ibm803.h: Likewise.
3675 * iconvdata/ibm856.h: Likewise.
3676 * iconvdata/ibm901.h: Likewise.
3677 * iconvdata/ibm902.h: Likewise.
3678 * iconvdata/ibm9030.h: Likewise.
3679 * iconvdata/ibm9066.h: Likewise.
3680 * iconvdata/ibm921.h: Likewise.
3681 * iconvdata/ibm922.h: Likewise.
3682 * iconvdata/ibm9448.h: Likewise.
3683 * iconvdata/isiri-3342.h: Likewise.
3684 * iconvdata/jis0201.h: Likewise.
3685 * include/link.h: Likewise.
3686 * include/netdb.h: Likewise.
3687 * inet/check_native.c: Likewise.
3688 * inet/check_pf.c: Likewise.
3689 * inet/getipv4sourcefilter.c: Likewise.
3690 * inet/getnameinfo.c: Likewise.
3691 * inet/getsourcefilter.c: Likewise.
3692 * inet/htonl.c: Likewise.
3693 * inet/setipv4sourcefilter.c: Likewise.
3694 * inet/setsourcefilter.c: Likewise.
3695 * inet/test-inet6_opt.c: Likewise.
3696 * inet/tst-network.c: Likewise.
3697 * locale/C-collate.c: Likewise.
3698 * locale/C-ctype.c: Likewise.
3699 * locale/C-time.c: Likewise.
3700 * locale/C-translit.h: Likewise.
3701 * locale/loadarchive.c: Likewise.
3702 * locale/programs/3level.h: Likewise.
3703 * locale/programs/charmap.c: Likewise.
3704 * locale/programs/charmap.h: Likewise.
3705 * locale/programs/ld-address.c: Likewise.
3706 * locale/programs/ld-collate.c: Likewise.
3707 * locale/programs/ld-ctype.c: Likewise.
3708 * locale/programs/ld-identification.c: Likewise.
3709 * locale/programs/ld-measurement.c: Likewise.
3710 * locale/programs/ld-messages.c: Likewise.
3711 * locale/programs/ld-monetary.c: Likewise.
3712 * locale/programs/ld-name.c: Likewise.
3713 * locale/programs/ld-numeric.c: Likewise.
3714 * locale/programs/ld-paper.c: Likewise.
3715 * locale/programs/ld-telephone.c: Likewise.
3716 * locale/programs/ld-time.c: Likewise.
3717 * locale/programs/linereader.c: Likewise.
3718 * locale/programs/locale.c: Likewise.
3719 * locale/programs/locarchive.c: Likewise.
3720 * locale/programs/locfile.h: Likewise.
3721 * locale/programs/repertoire.c: Likewise.
3722 * locale/programs/simple-hash.c: Likewise.
3723 * locale/programs/simple-hash.h: Likewise.
3724 * malloc/memusage.c: Likewise.
3725 * malloc/memusagestat.c: Likewise.
3726 * nis/nis_defaults.c: Likewise.
3727 * nis/nis_hash.c: Likewise.
3728 * nis/nis_print.c: Likewise.
3729 * nis/nis_xdr.c: Likewise.
3730 * nscd/connections.c: Likewise.
3731 * nscd/hstcache.c: Likewise.
3732 * nscd/nscd_gethst_r.c: Likewise.
3733 * nscd/nscd_getserv_r.c: Likewise.
3734 * nscd/nscd_helper.c: Likewise.
3735 * nscd/servicescache.c: Likewise.
3736 * nss/makedb.c: Likewise.
3737 * nss/nss_db/db-XXX.c: Likewise.
3738 * nss/nss_db/db-initgroups.c: Likewise.
3739 * nss/nss_db/db-netgrp.c: Likewise.
3740 * nss/nss_files/files-network.c: Likewise.
3741 * nss/nss_files/files-parse.c: Likewise.
3742 * posix/bug-regex5.c: Likewise.
3743 * posix/fnmatch_loop.c: Likewise.
3744 * posix/regcomp.c: Likewise.
3745 * posix/regexec.c: Likewise.
3746 * posix/tst-rfc3484-2.c: Likewise.
3747 * posix/tst-rfc3484-3.c: Likewise.
3748 * posix/tst-rfc3484.c: Likewise.
3749 * resolv/nss_dns/dns-canon.c: Likewise.
3750 * resolv/nss_dns/dns-network.c: Likewise.
3751 * resolv/res_init.c: Likewise.
3752 * resolv/res_mkquery.c: Likewise.
3753 * resolv/tst-aton.c: Likewise.
3754 * stdlib/cxa_atexit.c: Likewise.
3755 * stdlib/cxa_finalize.c: Likewise.
3756 * stdlib/gen-fpioconst.c: Likewise.
3757 * stdlib/strtol_l.c: Likewise.
3758 * string/tst-endian.c: Likewise.
3759 * sunrpc/auth_des.c: Likewise.
3760 * sunrpc/clnt_udp.c: Likewise.
3761 * sunrpc/rtime.c: Likewise.
3762 * sunrpc/svcauth_des.c: Likewise.
3763 * sunrpc/xdr.c: Likewise.
3764 * sunrpc/xdr_intXX_t.c: Likewise.
3765 * sunrpc/xdr_rec.c: Likewise.
3766 * sysdeps/generic/ldconfig.h: Likewise.
3767 * sysdeps/generic/ldsodefs.h: Likewise.
3768 * sysdeps/generic/memusage.h: Likewise.
3769 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3772 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3779 * sysdeps/posix/getaddrinfo.c: Likewise.
3780 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3781 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3782 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3783 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3784 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3785 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3786 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3787 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3788 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3789 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3790 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3791 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3792 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3793 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3795 * sysdeps/x86_64/dl-tls.h: Likewise.
3796 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3797 * time/alt_digit.c: Likewise.
3798 * time/era.c: Likewise.
3799 * wcsmbs/tst-c16c32-1.c: Likewise.
3800
8c75f674
JM
38012013-05-16 Joseph Myers <joseph@codesourcery.com>
3802
3803 * math/libm-test.inc (struct test_sincos_data): New type.
3804 (RUN_TEST_LOOP_sincos): New macro.
3805 (sincos_test_data): New variable.
3806 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3807
e6e49e59
RH
38082013-05-16 Richard Henderson <rth@redhat.com>
3809
3810 * math/atest-exp2.c (LIMB64): New macro.
3811 (CONSTSZ): New macro.
3812 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3813 (hexdig): Move ...
3814 (print_mpn_fp): ... to function scope.
3815 (read_mpn_hex): Remove.
3816 (get_log2): Remove.
3817 (exp2_mpn): Use mp_log2.
3818 (main): Use mp_exp1.
3819
15c7c18d
JM
38202013-05-16 Joseph Myers <joseph@codesourcery.com>
3821
105a07df
JM
3822 * math/libm-test.inc: Remove comment about not testing "inexact"
3823 exceptions.
3824 (INEXACT_EXCEPTION): New macro.
3825 (NO_INEXACT_EXCEPTION): Likewise.
3826 (INVALID_EXCEPTION_OK): Update value.
3827 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3828 (OVERFLOW_EXCEPTION_OK): Likewise.
3829 (UNDERFLOW_EXCEPTION_OK): Likewise.
3830 (IGNORE_ZERO_INF_SIGN): Likewise.
3831 (ERRNO_UNCHANGED): Likewise.
3832 (ERRNO_EDOM): Likewise.
3833 (ERRNO_ERANGE): Likewise.
3834 (test_exceptions): Handle testing "inexact" exceptions.
3835 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3836 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3837 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3838 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3839 INEXACT_EXCEPTION.
3840 (rint_towardzero_test_data): Likewise.
3841 (rint_downward_test_data): Likewise.
3842 (rint_upward_test_data): Likewise.
3843
e9eee333
JM
3844 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3845 with OVERFLOW_EXCEPTION.
3846 (exp10_test_data): Likewise.
3847 (exp2_test_data): Likewise.
3848 (expm1_test_data): Likewise.
3849 (lgamma_test_data): Likewise.
3850 (pow_test_data): Likewise.
3851 (tgamma_test_data): Likewise.
3852 (yn_test_data): Remove duplicate test of overflow.
3853
1c38ff73
JM
3854 * math/libm-test.inc (struct test_cc_c_data): New type.
3855 (RUN_TEST_LOOP_cc_c): New macro.
3856 (cpow_test_data): New variable.
3857 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3858
15c7c18d
JM
3859 * math/libm-test.inc (struct test_f_L_data): New type.
3860 (RUN_TEST_LOOP_f_L): New macro.
3861 (llrint_test_data): New variable.
3862 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3863 (llrint_tonearest_test_data): New variable.
3864 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3865 (llrint_towardzero_test_data): New variable.
3866 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3867 (llrint_downward_test_data): New variable.
3868 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3869 (llrint_upward_test_data): New variable.
3870 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3871 (llround_test_data): New variable.
3872 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3873
f137ff13
PC
38742013-05-13 Peter Collingbourne <pcc@google.com>
3875
3876 * math/atest-exp2.c (get_log2): Remove const attribute.
3877
3608cb24
JM
38782013-05-15 Joseph Myers <joseph@codesourcery.com>
3879
3880 * math/libm-test.inc (struct test_f_l_data): New type.
3881 (RUN_TEST_LOOP_f_l): New macro.
3882 (lrint_test_data): New variable.
3883 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3884 (lrint_tonearest_test_data): New variable.
3885 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3886 (lrint_towardzero_test_data): New variable.
3887 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3888 (lrint_downward_test_data): New variable.
3889 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3890 (lrint_upward_test_data): New variable.
3891 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3892 (lround_test_data): New variable.
3893 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3894
39b1f617
PC
38952013-05-15 Peter Collingbourne <pcc@google.com>
3896
1deff3dc
PC
3897 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3898 (EXTRACT_WORDS64) Use where appropriate.
3899 (INSERT_WORDS64) Likewise.
3900
791f3ba0
PC
3901 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3902 constraints with x constraints.
3903 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3904
39b1f617
PC
3905 * malloc/obstack.c (_obstack_compat): Add initializer.
3906
12fba011
EM
39072013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3908
3909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3910 si_trapno and add si_addr_lsb to _sifields.sigfault.
3911 (si_trapno): Remove macro.
3912 (si_addr_lsb): Define new macro.
3913 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3914
d369f531
JM
39152013-05-15 Joseph Myers <joseph@codesourcery.com>
3916
b861c6c4
JM
3917 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3918 instead of TEST_f_l.
3919 (llrint_test_tonearest): Likewise.
3920 (llrint_test_towardzero): Likewise.
3921 (llrint_test_downward): Likewise.
3922 (llrint_test_upward): Likewise.
3923 (llround_test): Likewise.
3924
7abeee12
JM
3925 * math/libm-test.inc (struct test_f_i_data): Add comment.
3926 (RUN_TEST_LOOP_f_b): New macro.
3927 (RUN_TEST_LOOP_f_b_tg): Likewise.
3928 (finite_test_data): New variable.
3929 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3930 (isfinite_test_data): New variable.
3931 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3932 (isinf_test_data): New variable.
3933 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3934 (isnan_test_data): New variable.
3935 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3936 (isnormal_test_data): New variable.
3937 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3938 (issignaling_test_data): New variable.
3939 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3940 (signbit_test_data): New variable.
3941 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3942
cbe8c4d3
JM
3943 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3944 with INVALID_EXCEPTION.
3945 (acosh_test_data): Likewise.
3946 (asin_test_data): Likewise.
3947 (atanh_test_data): Likewise.
3948 (fmod_test_data): Likewise.
3949 (log_test_data): Likewise.
3950 (log10_test_data): Likewise.
3951 (log2_test_data): Likewise.
3952 (pow_test_data): Likewise.
3953 (sqrt_test_data): Likewise.
3954 (y0_test_data): Likewise.
3955 (y1_test_data): Likewise.
3956 (yn_test_data): Likewise.
3957
5575c0e5
JM
3958 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3959 function contents.
3960
d369f531
JM
3961 * math/libm-test.inc (struct test_ff_i_data): New type.
3962 (RUN_TEST_LOOP_ff_i_tg): New macro.
3963 (isgreater_test_data): New variable.
3964 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3965 (isgreaterequal_test_data): New variable.
3966 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3967 (isless_test_data): New variable.
3968 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3969 (islessequal_test_data): New variable.
3970 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3971 (islessgreater_test_data): New variable.
3972 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3973 (isunordered_test_data): New variable.
3974 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3975
781fd748
DM
39762013-05-14 David S. Miller <davem@davemloft.net>
3977
3978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3979
87aa21df
JM
39802013-05-14 Joseph Myers <joseph@codesourcery.com>
3981
5e908270
JM
3982 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3983
f71172e5
JM
3984 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3985 extra_test to int.
3986 (struct test_f_i_data): Change type of max_ulp to int.
3987
8cfa635a
JM
3988 * math/libm-test.inc (test_ffI_f1_data): New type.
3989 (RUN_TEST_LOOP_ffI_f1): New macro.
3990 (remquo_test_data): New variable.
3991 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3992
2bcb36b2
JM
3993 * setjmp/tst-setjmp-fp.c: New file.
3994 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3995 (link-libm): New variable.
3996 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3997
acbd839a
JM
3998 * math/libm-test.inc (struct test_f_i_data): New type.
3999 (RUN_TEST_LOOP_f_i): New macro.
4000 (RUN_TEST_LOOP_f_i_tg): Likewise.
4001 (fpclassify_test_data): New variable.
4002 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4003 (ilogb_test_data): New variable.
4004 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4005
e414d745
JM
4006 * math/libm-test.inc (scalbln_test): Correct function name in END
4007 call.
4008
d9c2a0fd
JM
4009 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4010 (RUN_TEST_LOOP_fI_f1): New macro.
4011 (frexp_test_data): New variable.
4012 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4013
9dc9095d
JM
4014 * math/libm-test.inc (struct test_fF_f1_data): New type.
4015 (RUN_TEST_LOOP_fF_f1): New macro.
4016 (modf_test_data): New variable.
4017 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4018
87aa21df
JM
4019 * math/libm-test.inc (struct test_f_f1_data): New type.
4020 (RUN_TEST_LOOP_f_f1): New macro.
4021 (gamma_test_data): New variable.
4022 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4023 (lgamma_test_data): New variable.
4024 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4025
141af660
CD
40262013-05-13 Carlos O'Donell <carlos@redhat.com>
4027
4028 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4029 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4030 (main): Comment "tls" pseudo-hwcap.
4031
6d33265c
JM
40322013-05-13 Joseph Myers <joseph@codesourcery.com>
4033
68fc074c
JM
4034 * math/libm-test.inc (struct test_fl_f_data): New type.
4035 (RUN_TEST_LOOP_fl_f): New variable.
4036 (scalbln_test_data): New variable.
4037 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4038
243216e1
JM
4039 * math/libm-test.inc (struct test_fi_f_data): New type.
4040 (RUN_TEST_LOOP_fi_f): New macro.
4041 (ldexp_test_data): New variable.
4042 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4043 (scalbn_test_data): New variable.
4044 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4045
6a1992e2
JM
4046 * math/libm-test.inc (struct test_c_f_data): New type.
4047 (RUN_TEST_LOOP_c_f): New macro.
4048 (cabs_test_data): New variable.
4049 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4050 (carg_test_data): New variable.
4051 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4052 (cimag_test_data): New variable.
4053 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4054 (creal_test_data): New variable.
4055 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4056
0e400df5
JM
4057 * math/libm-test.inc (struct test_if_f_data): New type.
4058 (RUN_TEST_LOOP_if_f): New macro.
4059 (jn_test_data): New variable.
4060 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4061 (yn_test_data): New variable.
4062 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4063
6d33265c
JM
4064 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4065
f98ece5f
AZ
40662013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4067
4068 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4069 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4070
0f7d347b
SP
40712013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4072
43fe811b
SP
4073 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4074 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4075 (bench-deps): Add bench-timing.h.
4076 * benchtests-bench-skeleton.c: Include bench-timing.h.
4077 (main): Use TIMING_* macros instead of clock_gettime.
4078 * benchtests/bench-timing.h: New file.
4079
0f7d347b
SP
4080 [BZ #14582]
4081 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4082 Renamed from _LIB_VERSION.
4083 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4084
601a3a5f
JM
40852013-05-12 Joseph Myers <joseph@codesourcery.com>
4086
4f184d30
JM
4087 * math/libm-test.inc (struct test_fff_f_data): New type.
4088 (RUN_TEST_LOOP_fff_f): New macro.
4089 (fma_test_data): New variable.
4090 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4091 (fma_towardzero_test_data): New variable.
4092 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4093 (fma_downward_test_data): New variable.
4094 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4095 (fma_upward_test_data): New variable.
4096 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4097
08198877
JM
4098 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4099 (struct test_c_c_data): New type.
4100 (RUN_TEST_LOOP_c_c): New macro.
4101 (cacos_test_data): New variable.
4102 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4103 (cacosh_test_data): New variable.
4104 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4105 (casin_test_data): New variable.
4106 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4107 (casinh_test_data): New variable.
4108 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4109 (catan_test_data): New variable.
4110 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4111 (catanh_test_data): New variable.
4112 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4113 (ccos_test_data): New variable.
4114 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4115 (ccosh_test_data): New variable.
4116 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4117 (cexp_test_data): New variable.
4118 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4119 (clog_test_data): New variable.
4120 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4121 (clog10_test_data): New variable.
4122 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4123 (conj_test_data): New variable.
4124 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4125 (cproj_test_data): New variable.
4126 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4127 (csin_test_data): New variable.
4128 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4129 (csinh_test_data): New variable.
4130 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4131 (csqrt_test_data): New variable.
4132 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4133 (ctan_test_data): New variable.
4134 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4135 (ctan_tonearest_test_data): New variable.
4136 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4137 (ctan_towardzero_test_data): New variable.
4138 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4139 (ctan_downward_test_data): New variable.
4140 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4141 (ctan_upward_test_data): New variable.
4142 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4143 (ctanh_test_data): New variable.
4144 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4145 (ctanh_tonearest_test_data): New variable.
4146 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4147 (ctanh_towardzero_test_data): New variable.
4148 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4149 (ctanh_downward_test_data): New variable.
4150 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4151 (ctanh_upward_test_data): New variable.
4152 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4153 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4154 of BUILD_COMPLEX.
4155
601a3a5f
JM
4156 * math/libm-test.inc (struct test_ff_f_data): New type.
4157 (struct test_ff_f_data_nexttoward): Likewise.
4158 (RUN_TEST_LOOP_2_f): New macro.
4159 (RUN_TEST_LOOP_ff_f): Likewise.
4160 (atan2_test_data): New variable.
4161 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4162 (copysign_test_data): New variable.
4163 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4164 (fdim_test_data): New variable.
4165 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4166 (fmax_test_data): New variable.
4167 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4168 (fmin_test_data): New variable.
4169 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4170 (fmod_test_data): New variable.
4171 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4172 (hypot_test_data): New variable.
4173 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4174 (nextafter_test_data): New variable.
4175 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4176 (nexttoward_test_data): New variable.
4177 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4178 (pow_test_data): New variable.
4179 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4180 (pow_tonearest_test_data): New variable.
4181 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4182 (pow_towardzero_test_data): New variable.
4183 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4184 (pow_downward_test_data): New variable.
4185 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4186 (pow_upward_test_data): New variable.
4187 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4188 (remainder_test_data): New variable.
4189 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4190 (scalb_test_data): New variable.
4191 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4192 * sysdeps/i386/fpu/libm-test-ulps: Update.
4193
74c57478
JM
41942013-05-11 Joseph Myers <joseph@codesourcery.com>
4195
8329e4da
JM
4196 * math/libm-test.inc (fma_test): Use max_value instead of local
4197 variable fltmax.
4198 (nextafter_test): Likewise.
4199
74c57478
JM
4200 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4201 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4202 (acos_downward_test_data): New variable.
4203 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4204 (acos_upward_test_data): New variable.
4205 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4206 (acosh_test_data): New variable.
4207 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4208 (asin_test_data): New variable.
4209 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4210 (asin_tonearest_test_data): New variable.
4211 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4212 (asin_towardzero_test_data): New variable.
4213 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4214 (asin_downward_test_data): New variable.
4215 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4216 (asin_upward_test_data): New variable.
4217 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4218 (asinh_test_data): New variable.
4219 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4220 (atan_test_data): New variable.
4221 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4222 (atanh_test_data): New variable.
4223 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4224 (cbrt_test_data): New variable.
4225 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4226 (ceil_test_data): New variable.
4227 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4228 (cos_test_data): New variable.
4229 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4230 (cos_tonearest_test_data): New variable.
4231 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4232 (cos_towardzero_test_data): New variable.
4233 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4234 (cos_downward_test_data): New variable.
4235 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4236 (cos_upward_test_data): New variable.
4237 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4238 (cosh_test_data): New variable.
4239 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4240 (cosh_tonearest_test_data): New variable.
4241 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4242 (cosh_towardzero_test_data): New variable.
4243 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4244 (cosh_downward_test_data): New variable.
4245 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4246 (cosh_upward_test_data): New variable.
4247 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4248 (erf_test_data): New variable.
4249 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4250 (erfc_test_data): New variable.
4251 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4252 (exp_test_data): New variable.
4253 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4254 (exp_tonearest_test_data): New variable.
4255 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4256 (exp_towardzero_test_data): New variable.
4257 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4258 (exp_downward_test_data): New variable.
4259 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4260 (exp_upward_test_data): New variable.
4261 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4262 (exp10_test_data): New variable.
4263 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4264 (exp2_test_data): New variable.
4265 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4266 (expm1_test_data): New variable.
4267 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4268 (fabs_test_data): New variable.
4269 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4270 (floor_test_data): New variable.
4271 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4272 (j0_test_data): New variable.
4273 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4274 (j1_test_data): New variable.
4275 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4276 (log_test_data): New variable.
4277 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4278 (log10_test_data): New variable.
4279 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4280 (log1p_test_data): New variable.
4281 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4282 (log2_test_data): New variable.
4283 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4284 (logb_test_data): New variable.
4285 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4286 (logb_downward_test_data): New variable.
4287 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4288 (nearbyint_test_data): New variable.
4289 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4290 (rint_test_data): New variable.
4291 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4292 (rint_tonearest_test_data): New variable.
4293 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4294 (rint_towardzero_test_data): New variable.
4295 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4296 (rint_downward_test_data): New variable.
4297 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4298 (rint_upward_test_data): New variable.
4299 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4300 (round_test_data): New variable.
4301 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4302 (sin_test_data): New variable.
4303 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4304 (sin_tonearest_test_data): New variable.
4305 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4306 (sin_towardzero_test_data): New variable.
4307 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4308 (sin_downward_test_data): New variable.
4309 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4310 (sin_upward_test_data): New variable.
4311 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4312 (sinh_test_data): New variable.
4313 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4314 (sinh_tonearest_test_data): New variable.
4315 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4316 (sinh_towardzero_test_data): New variable.
4317 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4318 (sinh_downward_test_data): New variable.
4319 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4320 (sinh_upward_test_data): New variable.
4321 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4322 (sqrt_test_data): New variable.
4323 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4324 (tan_test_data): New variable.
4325 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4326 (tan_tonearest_test_data): New variable.
4327 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4328 (tan_towardzero_test_data): New variable.
4329 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4330 (tan_downward_test_data): New variable.
4331 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4332 (tan_upward_test_data): New variable.
4333 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4334 (tanh_test_data): New variable.
4335 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4336 (tgamma_test_data): New variable.
4337 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4338 (trunc_test_data): New variable.
4339 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4340 (y0_test_data): New variable.
4341 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4342 (y1_test_data): New variable.
4343 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4344 (significand_test_data): New variable.
4345 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4346
7187d844
CG
43472013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4348
4349 [BZ #12387]
4350 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4351
f63fae73
PT
43522013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4353
4354 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4355
8a67a4b3
AJ
43562013-05-10 Andreas Jaeger <aj@suse.de>
4357
4358 [BZ #15448]
4359 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4360 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4361
51df539d
JM
43622013-05-10 Joseph Myers <joseph@codesourcery.com>
4363
4364 * math/gen-libm-test.pl (adjust_arg): New function.
4365 (special_functions): Handle generating output in both functions
4366 and arrays.
4367 (parse_args): Likewise.
4368 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4369 $in_func argument to parse_args.
4370 * math/libm-test.inc (struct test_f_f_data): New type.
4371 (IF_ROUND_INIT_): New macro.
4372 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4373 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4374 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4375 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4376 (ROUND_RESTORE_): Likewise.
4377 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4378 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4379 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4380 (ROUND_RESTORE_FE_UPWARD): Likewise.
4381 (RUN_TEST_LOOP_f_f): New macro.
4382 (acos_test_data): New variable.
4383 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4384 (acos_tonearest_test_data): New variable.
4385 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4386
5c637fe5
SP
43872013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4388
4389 * benchtests/bench-skeleton.c (startup): Fix coding style.
4390
ab2b9461
JM
43912013-05-10 Joseph Myers <joseph@codesourcery.com>
4392
4393 [BZ #6809]
4394 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4395 negative infinity argument.
4396 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4397 negative infinity argument.
4398 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4399 negative infinity argument.
4400 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4401 domain errors.
4402
4c0fe6fe
FW
44032013-05-10 Florian Weimer <fweimer@redhat.com>
4404
4405 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4406 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4407 * iconv/iconv_prog.c (main): Likewise.
4408 * locale/programs/charmap-dir.c (charmap_readdir)
4409 (fopen_uncompressed): Likewise.
4410 * locale/programs/locfile.c (siblings_uncached)
4411 (write_locale_data): Use lstat64 instead of lstat.
4412 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4413 stat.
4414
a3375d29
AJ
44152013-05-10 Andreas Jaeger <aj@suse.de>
4416
4417 [BZ #15395]
4418 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4419 localization.
4420 Include <locale.h>.
4421
36129722
CD
44222013-05-09 Carlos O'Donell <carlos@redhat.com>
4423
4424 * elf/dl-close.c (_dl_close_worker): Add comments.
4425
faa7f811
JM
44262013-05-09 Joseph Myers <joseph@codesourcery.com>
4427
ed41ffef
JM
4428 [BZ #15359]
4429 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4430 high part of pi/2.
4431 (__ieee754_rem_pio2l): Update comments.
4432
d0213cd0
JM
4433 [BZ #15429]
4434 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4435 high part of pi/2.
4436 (__ieee754_rem_pio2l): Update comments.
4437
0d3e777a
JM
4438 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4439 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4440
24f56066
JM
4441 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4442 M_PI_4l.
4443
faa7f811
JM
4444 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4445 (M_PI_34_LOG10El): Likewise.
4446 (M_PI2_LOG10El): Likewise.
4447 (M_PI4_LOG10El): Likewise.
4448 (M_PI_LOG10El): Likewise.
4449
e9a5e0fd
AZ
44502013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4451
4452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4453
d8cd06db
JM
44542013-05-08 Joseph Myers <joseph@codesourcery.com>
4455
a0d9f9d7
JM
4456 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4457 (MINUS_ZERO_INIT): Likewise.
4458 (PLUS_INFTY_INIT): Likewise.
4459 (MINUS_INFTY_INIT): Likewise.
4460 (QNAN_VALUE_INIT): Likewise.
4461 (MAX_VALUE_INIT): Likewise.
4462 (MIN_VALUE_INIT): Likewise.
4463 (MIN_SUBNORM_VALUE_INIT): Likewise.
4464 (plus_zero): Initialize with PLUS_ZERO_INIT.
4465 (minus_zero): Initialize with MINUS_ZERO_INIT.
4466 (plus_infty): Initialize with PLUS_INFTY_INIT.
4467 (minus_infty): Initialize with MINUS_INFTY_INIT.
4468 (qnan_value): Initialize with QNAN_VALUE_INIT.
4469 (max_value): Initialize with MAX_VALUE_INIT.
4470 (min_value): Initialize with MIN_VALUE_INIT.
4471 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4472
ae08db3b
JM
4473 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4474 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4475 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4476 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4477
f44bf14a
JM
4478 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4479 (RUN_TEST_2_f): Likewise.
4480 (RUN_TEST_ff_f): Likewise.
4481 (RUN_TEST_fi_f): Likewise.
4482 (RUN_TEST_fl_f): Likewise.
4483 (RUN_TEST_fff_f): Likewise.
4484 (RUN_TEST_c_f): Likewise.
4485 (RUN_TEST_f_f1): Likewise.
4486 (RUN_TEST_fF_f1): Likewise.
4487 (RUN_TEST_fI_f1): Likewise.
4488 (RUN_TEST_ffI_f1): Likewise.
4489 (RUN_TEST_c_c): Likewise.
4490 (RUN_TEST_cc_c): Likewise.
4491 (RUN_TEST_f_i): Likewise.
4492 (RUN_TEST_f_i_tg): Likewise.
4493 (RUN_TEST_ff_i_tg): Likewise.
4494 (RUN_TEST_f_b): Likewise.
4495 (RUN_TEST_f_b_tg): Likewise.
4496 (RUN_TEST_f_l): Likewise.
4497 (RUN_TEST_f_L): Likewise.
4498 (RUN_TEST_sincos): Likewise.
4499 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4500 whether to show exceptions. Do not include ");\n" in return
4501 value.
4502 (special_functions): Output call to RUN_TEST_sincos instead of
4503 check_float calls. Update calls to new_test.
4504 (parse_args): Output call to single RUN_TEST_* macro instead of
4505 check_* calls and other assignments. Update calls to new_test.
4506
d8cd06db
JM
4507 [BZ #2546]
4508 [BZ #2560]
4509 [BZ #5159]
4510 [BZ #15426]
4511 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4512 input to result for tgamma overflow.
4513 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4514 (gamma_coeff): New variable.
4515 (NCOEFF): New macro.
4516 (gamma_positive): New function.
4517 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4518 underflow here. Use gamma_positive instead of exp (lgamma) for
4519 other arguments.
4520 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4521 (gamma_coeff): New variable.
4522 (NCOEFF): New macro.
4523 (gammaf_positive): New function.
4524 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4525 underflow here. Use gamma_positive instead of exp (lgamma) for
4526 other arguments.
4527 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4528 (gamma_coeff): New variable.
4529 (NCOEFF): New macro.
4530 (gammal_positive): New function.
4531 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4532 underflow here. Use gamma_positive instead of exp (lgamma) for
4533 other arguments.
4534 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4535 (gamma_coeff): New variable.
4536 (NCOEFF): New macro.
4537 (gammal_positive): New function.
4538 (__ieee754_gammal_r): Handle positive infinity, overflow and
4539 underflow here. Handle NaN the same as positive infinity. Remove
4540 check x < 0xffffffff for negative integers. Use gamma_positive
4541 instead of exp (lgamma) for other arguments.
4542 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4543 (gamma_coeff): New variable.
4544 (NCOEFF): New macro.
4545 (gammal_positive): New function.
4546 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4547 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4548 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4549 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4550 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4551 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4552 * sysdeps/generic/math_private.h (__gamma_productf): New
4553 prototype.
4554 (__gamma_product): Likewise.
4555 (__gamma_productl): Likewise.
4556 * math/Makefile (libm-calls): Add gamma_product.
4557 * math/libm-test.inc (tgamma_test): Add more tests.
4558 * sysdeps/i386/fpu/libm-test-ulps: Update.
4559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4560
bb7cf681
OB
45612013-05-08 Ondřej Bílka <neleai@seznam.cz>
4562
4563 * benchtests/bench-skeleton.c (main): Preheat CPU.
4564
ba853947
AJ
45652013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4566
4567 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4568
8347c74c
RM
45692013-05-07 Roland McGrath <roland@hack.frob.com>
4570
4571 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4572 and _dl_skip_args_internal.
4573
e8dd4791
CD
45742013-05-07 Carlos O'Donell <carlos@redhat.com>
4575
4576 * manual/message.texi (Message Translation): Talk about users.
4577 Message to key mapping impacts design.
4578
c7405830
RM
45792013-05-06 Roland McGrath <roland@hack.frob.com>
4580
a9173057
RM
4581 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4582
976e2f03
RM
4583 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4584
9723ffc5
RM
4585 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4586 * sysdeps/wordsize-64/glob64.c: ... here.
4587
962e6658
RM
4588 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4589 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4590 New macros.
4591
ee586a6d
RM
4592 * debug/getlogin_r_chk.c: Moved to ...
4593 * login/getlogin_r_chk.c: ... here.
4594 * debug/Makefile (routines): Move getlogin_r_chk to ...
4595 * login/Makefile (routines): ... here.
4596 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4597 * login/Versions (libc: GLIBC_2.4): ... here.
4598
355f9165
RM
4599 * io/poll.c (__poll): Renamed from poll.
4600 Add libc_hidden_def.
4601 (poll): Define as weak alias.
4602
bd9ffde6
RM
4603 * debug/ptsname_r_chk.c: Moved to ...
4604 * login/ptsname_r_chk.c: ... here.
4605 * debug/Makefile (routines): Move ptsname_r_chk to ...
4606 * login/Makefile (routines): ... here.
4607 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4608 * login/Versions (libc: GLIBC_2.4): ... here.
4609
8fb16a04
RM
4610 * posix/getlogin.c: Moved to ...
4611 * login/getlogin.c: ... here.
4612 * posix/getlogin_r.c: Moved to ...
4613 * login/getlogin_r.c: ... here.
4614 * posix/getlogin_r.c: Moved to ...
4615 * login/getlogin_r.c: ... here.
4616 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4617 * login/Makefile (routines): ... here.
4618 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4619 * login/Versions (libc: GLIBC_2.0): ... here.
4620
b99b892f
RM
4621 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4622 (setrlimit): Define as weak alias.
4623
c7405830
RM
4624 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4625 Call __ names for open, ftruncate, and close.
4626 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4627 (truncate): Define as weak alias.
4628
5bf96de5
JM
46292013-05-06 Joseph Myers <joseph@codesourcery.com>
4630
9ea3513c
JM
4631 * math/gen-libm-test.pl (parse_args): Initialize x before each
4632 test of frexp, modf and remquo.
4633
5bf96de5
JM
4634 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4635 test signgam value.
4636
16e616a7
AZ
46372013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4638
4639 [BZ #15418]
4640 [BZ #15419]
4641 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4642 internal tests.
4643 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4644
d5e82754
RM
46452013-05-06 Roland McGrath <roland@hack.frob.com>
4646
4647 * elf/dl-writev.h: New file.
4648 * elf/dl-misc.c: Include it.
4649 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4650 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4651
a7548d41
JM
46522013-05-04 Joseph Myers <joseph@codesourcery.com>
4653
b7dab1e4
JM
4654 * math/libm-test.inc (noXFails): Remove variable.
4655 (noXPasses): Likewise.
4656 (BUILD_COMPLEX_INT): Remove macro.
4657 (print_screen): Remove xfail argument.
4658 (print_screen_max_error): Likewise.
4659 (update_stats): Likewise.
4660 (print_max_error): Likewise. Update calls to other affected
4661 functions.
4662 (print_complex_max_error): Likewise.
4663 (test_single_exception): Update calls to print_screen.
4664 (test_single_errno): Likewise.
4665 (check_float_internal): Remove xfail argument. Update calls to
4666 other affected functions.
4667 (check_float): Likewise.
4668 (check_complex): Likewise.
4669 (check_int): Likewise.
4670 (check_long): Likewise.
4671 (check_bool): Likewise.
4672 (check_longlong): Likewise.
4673 (main): Don't print noXFails and noXPasses.
4674 * math/gen-libm-test.pl (top level): Don't mention expected
4675 failure handling in comment.
4676 (new_test): Don't handle expected failures.
4677 (parse_args): Don't mention expected failure handling in comment.
4678 (generate_testfile): Don't handle expected failures.
4679 (parse_ulps): Likewise.
4680 (print_ulps_file): Likewise.
4681 (get_failure): Remove function.
4682 (output_test): Don't handle expected failures.
4683 * make/README.libm-test: Don't mention expected failure handling.
4684
a7548d41
JM
4685 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4686 (minus_zero): Likewise.
4687 (plus_infty): Likewise.
4688 (minus_infty): Likewise.
4689 (qnan_value): Likewise.
4690 (max_value): Likewise.
4691 (min_value): Likewise.
4692 (min_subnorm_value): Likewise.
4693 (initialize): Do not initialize those variables dynamically.
4694
60bfd54c
RM
46952013-05-03 Roland McGrath <roland@hack.frob.com>
4696
cc0e6ed8
RM
4697 * io/open.c (__open_2): Moved to ...
4698 * io/open_2.c: ... this new file.
4699 * io/open64.c (__open64_2): Moved to ...
4700 * io/open64_2.c: ... this new file.
4701 * io/openat.c (__openat_2): Moved to ...
4702 * io/openat_2.c: ... this new file.
4703 * io/openat64.c (__openat64_2): Moved to ...
4704 * io/openat64_2.c: ... this new file.
4705 * io/Makefile (routines): Add them.
4706 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4707 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4708 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4709 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4710 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4711 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4712 (__openat64): Add hidden_ver.
4713 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4714 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4715
60bfd54c
RM
4716 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4717 Separately conditionalize setting of GLRO(dl_sysinfo) so
4718 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4719 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4720
83e7640f
AZ
47212013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4722
4723 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4724 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4725 definition.
4726 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4727 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4728 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4729 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4730 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4731
d5dc2af3
JM
47322013-05-03 Joseph Myers <joseph@codesourcery.com>
4733
c31a5b1e
JM
4734 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4735 test signgam value.
4736
d5dc2af3
JM
4737 * math/libm-test.inc (hypot_test): Do not use
4738 IGNORE_ZERO_INF_SIGN.
4739
164fd39d
AJ
47402013-05-03 Andreas Jaeger <aj@suse.de>
4741
4742 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4743 Linux 3.9.
4744 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4745 (PF_MAX): Adjust for VSOCK change.
4746
8237f48c
AZ
47472013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4748
4749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4750
9df02941
CD
47512013-05-02 Carlos O'Donell <carlos@redhat.com>
4752
4753 [BZ #15264]
4754 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4755 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4756 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4757
d422395e
DM
47582013-05-02 David S. Miller <davem@davemloft.net>
4759
4760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4761
a07c5731
OB
47622013-05-01 Ondřej Bílka <neleai@seznam.cz>
4763
4764 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4765
1324e37f
RM
47662013-05-01 Roland McGrath <roland@hack.frob.com>
4767
4768 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4769
0695940b
RS
47702013-05-01 Richard Smith <richard@metafoo.co.uk>
4771
bb5f27ad 4772 [BZ #14952]
0695940b
RS
4773 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4774 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4775 Use __attribute__ ((__gnu_inline__)).
4776 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4777 Don't use __attribute__ ((__gnu_inline__)).
4778
10de07f5
JM
47792013-05-01 Joseph Myers <joseph@codesourcery.com>
4780
4781 [BZ #15423]
4782 * math/s_catan.c (__catan): Handle small real or imaginary part of
4783 input specially to avoid spurious underflow.
4784 * math/s_catanf.c (__catanf): Likewise.
4785 * math/s_catanh.c (__catanh): Likewise.
4786 * math/s_catanhf.c (__catanhf): Likewise.
4787 * math/s_catanhl.c (__catanhl): Likewise.
4788 * math/s_catanl.c (__catanl): Likewise.
4789 * math/libm-test.inc (catan_test): Add more tests.
4790 (catanh_test): Likewise.
4791 * sysdeps/i386/fpu/libm-test-ulps: Update.
4792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4793
cb4d5414
AZ
47942013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795
4796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4797
caf84319
JM
47982013-04-30 Joseph Myers <joseph@codesourcery.com>
4799
4800 [BZ #15416]
4801 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4802 accurately for denominator in atan2.
4803 * math/s_catanf.c (__catanf): Likewise.
4804 * math/s_catanh.c (__catanh): Likewise.
4805 * math/s_catanhf.c (__catanhf): Likewise.
4806 * math/s_catanhl.c (__catanhl): Likewise.
4807 * math/s_catanl.c (__catanl): Likewise.
4808 * math/libm-test.inc (catan_test): Add more tests.
4809 (catanh_test): Likewise.
4810 * sysdeps/i386/fpu/libm-test-ulps: Update.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4812
d569c6ee
SP
48132013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4814
6dbe713d
SP
4815 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4816
f0ee064b
SP
4817 * benchtests/Makefile (bench): Remove slow benchmarks.
4818 * benchtests/atan-inputs: Add slow benchmark inputs.
4819 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4820 (BENCH_FUNC): Accept variant offset.
4821 (VARIANT): Define.
4822 * benchtests/bench-skeleton.c (main): Run benchmark for each
4823 variant.
4824 * benchtests/cos-inputs: Add slow benchmark inputs.
4825 * benchtests/exp-inputs: Likewise.
4826 * benchtests/pow-inputs: Likewise.
4827 * benchtests/sin-inputs: Likewise.
4828 * benchtests/slowatan-inputs: Remove.
4829 * benchtests/slowatan.c: Remove.
4830 * benchtests/slowcos-inputs: Remove.
4831 * benchtests/slowcos.c: Remove.
4832 * benchtests/slowexp-inputs: Remove.
4833 * benchtests/slowexp.c: Remove.
4834 * benchtests/slowpow-inputs: Remove.
4835 * benchtests/slowpow.c: Remove.
4836 * benchtests/slowsin-inputs: Remove.
4837 * benchtests/slowsin.c: Remove.
4838 * benchtests/slowtan-inputs: Remove.
4839 * benchtests/slowtan.c: Remove.
4840 * benchtests/tan-inputs: Add slow benchmark inputs.
4841 * scripts/bench.pl: Parse comments and directives.
4842
d569c6ee
SP
4843 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4844 in CPPFLAGS.
4845 ($(objpfx)bench-%.c): Remove *-ITER.
4846 * benchtests/bench-modf.c: Remove definition of ITER.
4847 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4848 (main): Loop for DURATION seconds instead of fixed number of
4849 iterations.
4850 * scripts/bench.pl: Don't expect iterations in parameters.
4851
a6a242fe
RM
48522013-04-29 Roland McGrath <roland@hack.frob.com>
4853
4854 * io/fchdir.c (__fchdir): Renamed from fchdir.
4855 (fchdir): Define as weak alias.
4856
f2da7793
JM
48572013-04-29 Joseph Myers <joseph@codesourcery.com>
4858
4859 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4860 (ERRNO_EDOM): Likewise.
4861 (ERRNO_ERANGE): Likewise.
4862 (noErrnoTests): New variable.
4863 (init_max_error): Set errno to 0.
4864 (test_single_errno): New function.
4865 (test_errno): Likewise.
4866 (check_float_internal): Call test_errno. Set errno to 0.
4867 (check_complex): Refer to errno tests in comment.
4868 (check_int): Call test_errno. Set errno to 0.
4869 (check_long): Likewise.
4870 (check_bool): Likewise.
4871 (check_longlong): Likewise.
4872 (cos_test): Use ERRNO_* flags for errno tests instead of
4873 check_int.
4874 (expm1_test): Likewise.
4875 (fmod_test): Likewise.
4876 (ilogb_test): Likewise.
4877 (lgamma_test): Likewise.
4878 (pow_test): Likewise.
4879 (remainder_test): Likewise.
4880 (sin_test): Likewise.
4881 (tan_test): Likewise.
4882 (yn_test): Likewise.
4883 (initialize): Set errno to 0.
4884 (main): Print number of errno tests.
4885 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4886
b1a36ceb
AJ
48872013-04-29 Andreas Jaeger <aj@suse.de>
4888
c3ed8088
AJ
4889 [BZ #15084]
4890 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4891 and RES_USEVC.
4892
f1a24198
AJ
4893 [BZ #15085]
4894 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4895 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4896 unimplemented.
4897
9ce3b2cb
AJ
4898 [BZ #15380]
4899 * stdlib/random.c (__initstate): Return NULL if
4900 __initstate fails.
4901
f1a24198 4902 [BZ #15086]
b1a36ceb
AJ
4903 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4904 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4905 RES_SNGLKUPREOP.
4906
7e7b6f36
AZ
49072013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4908
4909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4910
4d14f449
JM
49112013-04-29 Joseph Myers <joseph@codesourcery.com>
4912
4913 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4914 of individual tests.
4915 (casin_test): Likewise.
4916 (casinh_test): Likewise.
4917
5b4217d7
JM
49182013-04-27 Joseph Myers <joseph@codesourcery.com>
4919
4920 [BZ #15409]
4921 * math/s_catan.c (__catan): Handle arguments with large real or
4922 imaginary part separately without squaring.
4923 * math/s_catanf.c (__catanf): Likewise.
4924 * math/s_catanh.c (__catanh): Likewise.
4925 * math/s_catanhf.c (__catanhf): Likewise.
4926 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4927 and redefine.
4928 (__catanhl): Handle arguments with large real or imaginary part
4929 separately without squaring.
4930 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4931 and redefine.
4932 (__catanl): Handle arguments with large real or imaginary part
4933 separately without squaring.
4934 * math/libm-test.inc (catan_test): Add more tests.
4935 (catanh_test): Likewise.
4936 * sysdeps/i386/fpu/libm-test-ulps: Update.
4937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4938
4220c3ef
AJ
49392013-04-27 Andreas Jaeger <aj@suse.de>
4940
4941 [BZ #15007]
4942 * stdlib/stdlib.h: Update guards for qecvt.
4943 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4944 <stdlib.h>.
4945
4721b2d1
AM
49462013-04-27 Allan McRae <allan@archlinux.org>
4947
4948 * sysdeps/i386/fpu/libm-test-ulps: Update.
4949
f0302940
JM
49502013-04-26 Joseph Myers <joseph@codesourcery.com>
4951
9457fd95
JM
4952 [BZ #15406]
4953 * math/s_catan.c: Include <float.h>.
4954 (__catan): Ensure underflow exception occurs for underflowed
4955 result.
4956 * math/s_catanf.c: Include <float.h>.
4957 (__catanf): Ensure underflow exception occurs for underflowed
4958 result.
4959 * math/s_catanh.c: Include <float.h>.
4960 (__catanh): Ensure underflow exception occurs for underflowed
4961 result.
4962 * math/s_catanhf.c: Include <float.h>.
4963 (__catanhf): Ensure underflow exception occurs for underflowed
4964 result.
4965 * math/s_catanhl.c: Include <float.h>.
4966 (__catanhl): Ensure underflow exception occurs for underflowed
4967 result.
4968 * math/s_catanl.c: Include <float.h>.
4969 (__catanl): Ensure underflow exception occurs for underflowed
4970 result.
4971 * math/libm-test.inc (catan_test): Add more tests.
4972 (catanh_test): Likewise.
4973
f0302940
JM
4974 [BZ #15405]
4975 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4976 underflowed result.
4977 * math/s_ccoshf.c (__ccoshf): Likewise.
4978 * math/s_ccoshl.c (__ccoshl): Likewise.
4979 * math/s_csin.c (__csin): Likewise.
4980 * math/s_csinf.c (__csinf): Likewise.
4981 * math/s_csinh.c (__csinh): Likewise.
4982 * math/s_csinhf.c (__csinhf): Likewise.
4983 * math/s_csinhl.c (__csinhl): Likewise.
4984 * math/s_csinl.c (__csinl): Likewise.
4985 * math/libm-test.inc (ccos_test): Add more tests.
4986 (ccosh_test): Likewise.
4987 (csin_test): Likewise.
4988 (csinh_test): Likewise.
4989
aa630f59
AZ
49902013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4991
4992 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4993 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4994 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4995 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4996 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4997 powerpc/power5+/fpu folders.
4998 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4999
5000
1b835983
MT
50012013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5002
5003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5004
73709b26
JM
50052013-04-25 Joseph Myers <joseph@codesourcery.com>
5006
5007 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5008 additions to variable.
5009 [$(config-machine) = x86_64] (modules-names): Likewise.
5010 ($(objpfx)tst-audit3): Remove dependency.
5011 ($(objpfx)tst-audit3.out): Likewise.
5012 ($(objpfx)tst-audit4): Likewise.
5013 ($(objpfx)tst-audit4.out): Likewise.
5014 ($(objpfx)tst-audit5): Likewise.
5015 ($(objpfx)tst-audit5.out): Likewise.
5016 ($(objpfx)tst-audit6): Likewise.
5017 ($(objpfx)tst-audit6.out): Likewise.
5018 ($(objpfx)tst-audit7): Likewise.
5019 ($(objpfx)tst-audit7.out): Likewise.
5020 (tst-audit3-ENV): Remove variable.
5021 (tst-audit4-ENV): Likewise.
5022 (tst-audit5-ENV): Likewise.
5023 (tst-audit6-ENV): Likewise.
5024 (tst-audit7-ENV): Likewise.
5025 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5026 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5027 addition to variable.
5028 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5029 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5030 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5031 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5032 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5033 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5034 tst-audit3, tst-audit4 and tst-audit5.
5035 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5036 tst-audit6 and tst-audit7.
5037 [$(subdir) = elf] (modules-names): Add audit modules for those
5038 tests.
5039 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5040 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5041 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5042 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5043 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5044 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5045 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5046 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5047 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5048 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5049 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5050 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5051 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5052 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5053 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5054 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5055 Likewise.
5056 [$(subdir) = elf && $(config-cflags-avx) = yes]
5057 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5058 [$(subdir) = elf && $(config-cflags-avx) = yes]
5059 (CFLAGS-tst-auditmod4a.c): Likewise.
5060 [$(subdir) = elf && $(config-cflags-avx) = yes]
5061 (CFLAGS-tst-auditmod4b.c): Likewise.
5062 [$(subdir) = elf && $(config-cflags-avx) = yes]
5063 (CFLAGS-tst-auditmod6b.c): Likewise.
5064 [$(subdir) = elf && $(config-cflags-avx) = yes]
5065 (CFLAGS-tst-auditmod6c.c): Likewise.
5066 [$(subdir) = elf && $(config-cflags-avx) = yes]
5067 (CFLAGS-tst-auditmod7b.c): Likewise.
5068 * elf/tst-audit3.c: Move to ...
5069 * sysdeps/x86_64/tst-audit3.c: ... here.
5070 * elf/tst-audit4.c: Move to ...
5071 * sysdeps/x86_64/tst-audit4.c: ... here.
5072 * elf/tst-audit5.c: Move to ...
5073 * sysdeps/x86_64/tst-audit5.c: ... here.
5074 * elf/tst-audit6.c: Move to ...
5075 * sysdeps/x86_64/tst-audit6.c: ... here.
5076 * elf/tst-audit7.c: Move to ...
5077 * sysdeps/x86_64/tst-audit7.c: ... here.
5078 * elf/tst-auditmod3a.c: Move to ...
5079 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5080 * elf/tst-auditmod3b.c: Move to ...
5081 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5082 * elf/tst-auditmod4a.c: Move to ...
5083 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5084 * elf/tst-auditmod4b.c: Move to ...
5085 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5086 * elf/tst-auditmod5a.c: Move to ...
5087 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5088 * elf/tst-auditmod5b.c: Move to ...
5089 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5090 * elf/tst-auditmod6a.c: Move to ...
5091 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5092 * elf/tst-auditmod6b.c: Move to ...
5093 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5094 * elf/tst-auditmod6c.c: Move to ...
5095 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5096 * elf/tst-auditmod7a.c: Move to ...
5097 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5098 * elf/tst-auditmod7b.c: Move to ...
5099 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5100
1ef74943
PP
51012013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5102
5103 [BZ #15366]
5104 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5105 define unconditionally.
5106 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5107 define unconditionally.
5108 (INT8_C, INT16_C, etc.): Likewise.
5109
93fd48c5
MR
51102013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5111
ae9552cf
MR
5112 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5113 __ehdr_start with hidden visibility.
5114
93fd48c5
MR
5115 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5116
418601aa
CD
51172013-04-24 Carlos O'Donell <carlos@redhat.com>
5118
5119 * math/libm-test.inc (cos_test): Use accurate hex constants.
5120 (sincost_test): Likewise.
5121
2f38fbfe
JM
51222013-04-24 Joseph Myers <joseph@codesourcery.com>
5123
5e221800
JM
5124 * math/libm-test.inc (catan_test): Add more tests.
5125 (catanh_test): Likewise.
5126
77f143fd
JM
5127 * math/s_catanf.c (__catanf): Use suffixed floating-point
5128 constants.
5129 * math/s_catanhf.c (__catanhf): Likewise.
5130 * math/s_catanhl.c (__catanhl): Likewise.
5131 * math/s_catanl.c (__catanl): Likewise.
5132
2f38fbfe
JM
5133 [BZ #15394]
5134 * math/s_catan.c (__catan): Calculate imaginary part of result
5135 with log1p not log unless computing log of number close to 0.
5136 * math/s_catanf.c (__catanf): Likewise.
5137 * math/s_catanl.c (__catanl): Likewise.
5138 * math/s_catanh.c (__catanh): Calculate real part of result with
5139 log1p not log unless computing log of number close to 0.
5140 * math/s_catanhf.c (__catanhf): Likewise.
5141 * math/s_catanhl.c (__catanhl): Likewise.
5142 * math/libm-test.inc (catan_test): Add more tests.
5143 (catanh_test): Likewise.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5146
45d69176
SP
51472013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5148
5149 * benchtests/Makefile: Mention files in which fast and slow
5150 paths of math functions are implemented.
5151
87f51853
RM
51522013-04-23 Roland McGrath <roland@hack.frob.com>
5153
5154 * sysdeps/posix/timespec_get.c: New file.
5155
3c026539
AZ
51562013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5157
5158 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5159 POWER.
5160 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5161 for POWER.
5162 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5163 powerpc/power5/fpu folders.
5164 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5165 * benchtests/Makefile: Add modf testcase.
5166 * benchtests/bench-modf.c: New file: Benchmark test for mo
5167
ff491d14
SP
51682013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5169
5170 [BZ #14888]
5171 * time/Makefile (tests): Add tst-strptime-whitespace.
5172 * time/strptime_l.c (get_number): Use ISSPACE.
5173 (__strptime_internal): Likewise.
5174 * time/tst-strptime-whitespace.c: New test case.
5175
7ed3f4e8
AS
51762013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5177
5178 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5179 member.
5180 (_nss_files_init): Set it here.
5181
5c95f7b6
HC
51822013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5183
5184 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5185 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5186 unsigned.
5187
d34c9158
JBG
51882013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5189
5190 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5191
2169712d
SP
51922013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5193
5194 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5195 size just once.
5196
29c5de99
DM
51972013-04-21 David S. Miller <davem@davemloft.net>
5198
5199 * po/ru.po: Update Russion translation from translation project.
5200
ccdad15d
AC
52012013-04-17 Adam Conrad <adconrad@0c3.net>
5202
5203 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5204 and setfsgid.
5205
0f122b8d
CD
52062013-04-17 Carlos O'Donell <carlos@redhat.com>
5207
5c5b07da 5208 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5209 * configure: Regenerate.
5c5b07da 5210 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5211 Add example to error message.
5212 * sysdeps/i386/configure: Regenerate.
5213
037714dd
SP
52142013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5215
5216 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5217 slowtan.
5218 * benchtests/cos-inputs: New file.
5219 * benchtests/slowcos-inputs: New file.
5220 * benchtests/slowcos.c: New file.
5221 * benchtests/slowtan-inputs: New file.
5222 * benchtests/slowtan.c: New file.
5223 * benchtests/tan-inputs: New file.
5224
e913141d
RM
52252013-04-16 Roland McGrath <roland@hack.frob.com>
5226
5227 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5228 considered kosher.
5229
a2964074
SP
52302013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
4856bcd2
SP
5232 * benchtests/Makefile: Include cppflags-iterator.mk to add
5233 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5234
a2964074
SP
5235 * Makefile.in (bench-clean): New target.
5236 * benchtests/Makefile (bench-clean): Likewise.
5237
9fbf9aca
DH
52382013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5239
5240 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5241
207d1e2a
TS
52422013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5243
5244 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5245
306dfba9
AS
52462013-04-15 Andreas Schwab <schwab@suse.de>
5247
5248 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5249 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5250 * nscd/pwdcache.c (cache_addpw): Likewise.
5251 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5252 more than recsize.
5253
206a6699
SP
52542013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5255
5256 * benchtests/Makefile (bench): Write all output to
5257 bench-out.tmp together.
5258
0582f6b3
AS
52592013-04-15 Andreas Schwab <schwab@suse.de>
5260
5261 * nscd/nscd.c (main): Don't fork again after closing files.
5262
acb4325f
SP
52632013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5264
5cb26d0a
SP
5265 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5266
acb4325f
SP
5267 * benchtests/Rules (bench-deps): Collect dependencies into a
5268 single variable. Add Makefile to dependencies.
5269 ($(objpfx)bench-%.c): Depend on bench-deps.
5270
47792506
RM
52712013-04-12 Roland McGrath <roland@hack.frob.com>
5272 Xavier Roche <roche+kml2@exalead.com>
5273
5274 [BZ #15361]
5275 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5276 just that it's a file descriptor.
5277 * manual/llio.texi (Synchronizing AIO Operations): Update description
5278 for EBADF error from aio_fsync.
5279
8fc1bee5
SP
52802013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5281
5282 * Rules (bench): Move target definition...
5283 * benchtests/Makefile: ... here.
5284
aba5e333
CD
52852013-04-11 Carlos O'Donell <carlos@redhat.com>
5286
5287 * math/libm-test.inc (cos_test): Fix PI/2 test.
5288 (sincos_test): Likewise.
5289 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5290 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5291
273cdee8
AS
52922013-04-11 Andreas Schwab <schwab@suse.de>
5293
6ecec3b6
AS
5294 [BZ #13988]
5295 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5296 accept exponent character only when digits were seen.
5297 * stdio-common/Makefile (tests): Add bug26.
5298 * stdio-common/bug26.c: New file.
5299
273cdee8
AS
5300 [BZ #14293]
5301 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5302 non-freeable.
5303
8da491f5
SP
53042013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5305
01dc6df9
SP
5306 * Makeconfig (rtld-prefix): Define built linker prefix.
5307 * Rules (run-bench): Use it.
5308 * math/Makefile (run-regen-ulps): Likewise.
5309
8da491f5
SP
5310 * Rules (bench): Remove eval.
5311
abe7f530
SP
53122013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5313 Roland McGrath <roland@hack.frob.com>
5314 Ondrej Bilka <neleai@seznam.cz>
5315
5316 [BZ #15346]
5317 * time/getdate.c: Include ctype.h and alloca.h.
5318 (__getdate_r): Trim leading and trailing spaces of input.
5319 * time/tst-getdate.c (tests): Add tests with leading and
5320 trailing spaces.
5321
61c23e62
RM
53222013-04-08 Roland McGrath <roland@hack.frob.com>
5323
5324 [BZ #14280]
5325 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5326 when computing value.
5327
7208a313
CD
53282013-04-06 Carlos O'Donell <carlos@redhat.com>
5329
085b2d41
CD
5330 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5331 Use testrun.sh to run libm tests.
5332
7208a313
CD
5333 [BZ #15309]
5334 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5335
872c0acd
MM
53362013-04-06 Marko Myllynen <myllynen@redhat.com>
5337
5338 [BZ #15264]
5339 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5340
26510bdd
CD
53412013-04-06 Carlos O'Donell <carlos@redhat.com>
5342
5343 * Makefile.in (regen-ulps): New target.
5344 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5345 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5346 [ifneq (no,$(PERL)] (regen-ulps): New target.
5347 [ifeq (no,$(PERL)] (regen-ulps): New target.
5348 * math/libm-test.inc (ulps_file_name): Define.
5349 (output_dir): New variable.
5350 (options): Add "output-dir" option.
5351 (parse_opt): Handle 'o' case.
5352 (main): If output_dir is non-NULL use it as a prefix
5353 otherwise use "".
5354 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5355
a01f19c8
CD
53562013-04-06 Carlos O'Donell <carlos@redhat.com>
5357
5358 [BZ #10060, #10062]
5359 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5360 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5361 fail configure if __sync_val_compare_and_swap is not inlined.
5362 * sysdeps/i386/configure: Regenerate.
5363 * configure.in: Build for i686 when configured for i386.
5364 * configure: Regenerate.
5365 * README: Remove i386 reference.
5366
b7a329a5
CD
53672013-04-06 Carlos O'Donell <carlos@redhat.com>
5368
5369 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5371
bf0f50df
TS
53722013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5373
ee091edf
TS
5374 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5375 (lmsnanval): New variables.
5376 (F): Add conversion tests.
5377 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5378 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5379
a8b792d6
TS
5380 * stdio-common/tstdiomisc.c (F): Properly collect individual
5381 tests' results.
5382
a1cbf437
TS
5383 [BZ #14686, #15336]
5384 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5385 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5386 Instead, use input NaN values or generate a qNaN by arithmetic
5387 operation. Also fix bugs to comply with the standard.
5388 * math/libm-test.inc (remainder_test): Add more tests.
5389
8b43a0c9
TS
5390 [BZ #15335, #15342]
5391 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5393 input NaN values or generate a qNaN by arithmetic operation.
5394
d91da4ce
TS
5395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5396 unreachable code.
5397
bf0f50df
TS
5398 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5399 definitions.
5400
05e166c8
JM
54012013-04-03 Joseph Myers <joseph@codesourcery.com>
5402
5403 [BZ #14478]
5404 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5405 underflowed result.
5406 * math/s_cexpf.c (__cexpf): Likewise.
5407 * math/s_cexpl.c (__cexpl): Likewise.
5408 * math/libm-test.inc (cexp_test): Add more tests.
5409
1cef1b19
AS
54102013-04-03 Andreas Schwab <schwab@suse.de>
5411
5412 [BZ #15330]
5413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5414 order arrays from heap if bigger than alloca cutoff.
5415
74d87055
TS
54162013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5417
5418 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5419 (SNAN_TESTS_double): Refer to GCC PR56831.
5420 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5421 GCC PR56828.
5422
d755bba4
SP
54232013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5424
90d5d5bb
SP
5425 * Rules (bench): Move bench.out after the run is complete.
5426
73e0cd5d
SP
5427 * Rules (bench): Echo currently running benchmark.
5428
64aabd4b
SP
5429 * benchtests/Makefile (bench): Add atan and slowatan.
5430 * benchtests/atan-inputs: New file.
5431 * benchtests/slowatan-inputs: New file.
5432 * benchtests/slowatan.c: New file.
5433
c871eccd
SP
5434 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5436 its value.
5437
d755bba4
SP
5438 [BZ #15305]
5439 * sysdeps/unix/sysv/linux/kernel-features.h
5440 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5441 __ASSUME_XFS_RESTRICTED_CHOWN.
5442 * sysdeps/unix/sysv/linux/pathconf.c
5443 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5444 Save and restore errno.
5445
52ce4860
JM
54462013-04-02 Joseph Myers <joseph@codesourcery.com>
5447
5448 [BZ #15327]
5449 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5450 arguments using __kernel_casinh.
5451 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5452 arguments using __kernel_casinhf.
5453 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5454 arguments using __kernel_casinhl.
5455 * math/libm-test.inc (cacosh_test): Add more tests.
5456 * sysdeps/i386/fpu/libm-test-ulps: Update.
5457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5458
81f311c2
SP
54592013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5460
e7906a47
SP
5461 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5463
92e3664b
SP
5464 * bench/Makefile (bench): Add sin and slowsin.
5465 * benchtests/sin-inputs: New file.
5466 * benchtests/slowsin-inputs: New file.
5467 * benchtests/slowsin.c: New file.
5468
81f311c2
SP
5469 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5470 (bench): Add slowexp and slowpow.
5471 (exp-ITER): Increase iterations.
5472 (pow-ITER): Likewise.
5473 * benchtests/exp-inputs: Change input.
5474 * benchtests/pow-inputs: Likewise.
5475 * benchtests/slowexp-inputs: New file.
5476 * benchtests/slowexp.c: New file.
5477 * benchtests/slowpow-inputs: New file.
5478 * benchtests/slowpow.c: New file.
5479
ab0f1aa9
AZ
54802013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5483 instructions.
5484 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5485 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5486 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5487 * benchtests/Makefile: Add rint benchtest.
5488 * benchtests/rint-inputs: Input for rint benchtest.
5489
57267616
TS
54902013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5491
5492 * Versions.def (libm): Add GLIBC_2.18.
5493 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5494 hidden libm prototypes.
5495 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5496 * math/Makefile (libm-calls): Add s_issignaling.
5497 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5498 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5499 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5500 declaration.
5501 * math/math.h [__USE_GNU] (issignaling): New macro.
5502 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5503 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5508 * manual/arith.texi (issignaling): New section.
5509 * manual/libm-err-tab.pl (@all_functions): Update comment.
5510 * math/gen-libm-test.pl (parse_args): Apply special handling for
5511 issignaling.
5512 * math/libm-test.inc (print_float, issignaling_test): New
5513 functions.
5514 (check_float_internal): Add issignaling checks.
5515 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5516 default definition.
5517 * sysdeps/powerpc/math-tests.h: New file.
5518 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5519 tests.
5520 * math/test-snan.c (TEST_FUNC): Likewise.
5521
6142896d
DM
55222013-03-30 David S. Miller <davem@davemloft.net>
5523
5524 * po/de.po: Update from translation team.
5525
ccc8cadf
JM
55262013-03-30 Joseph Myers <joseph@codesourcery.com>
5527
5528 [BZ #10357]
5529 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5530 imaginary part less than 1.0 and real part less than 0.5
5531 specially.
5532 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5533 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5534 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5535 (cacos_test): Add more tests.
5536 (casin_test): Likewise.
5537 (casinh_test): Likewise.
5538 * sysdeps/i386/fpu/libm-test-ulps: Update.
5539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5540
0f6a8d4b
SP
55412013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5542
0d1029de
SP
5543 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5544 ONE with its value.
5545
c2d94018
SP
5546 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5547 (__pow_mp): Replace ONE and MONE with their values.
5548 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5549 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5550 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5551 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5552 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5553 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5554
27ec37f1
SP
5555 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5556
a64d7e0e
SP
5557 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5558 (__pow_mp): Replace ZERO and MZERO with their values.
5559 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5560 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5561 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5563 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5564 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5565 (__sqr): Likewise.
5566
d26dd3eb
SP
5567 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5568
0f6a8d4b
SP
5569 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5570
e57b0c61
RM
55712013-03-28 Roland McGrath <roland@hack.frob.com>
5572
5573 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5574 Declare with __attribute__ ((weak)).
5575 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5576 Call __call_tls_dtors only if it's not NULL.
5577
356b3480
RM
55782013-03-28 Roland McGrath <roland@hack.frob.com>
5579
288f7d79
RM
5580 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5581 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5582 magic __ehdr_start linker symbol if it's defined.
5583 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5584 them up here if it was already done.
5585
dc0a0263
RM
5586 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5587 (_dl_aux_init): Use const in cast when setting it.
5588 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5589 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5590 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5591
3d3436ae
RM
5592 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5593 Declare them here.
5594 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5595 * csu/libc-tls.c: Nor here.
5596 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5597
356b3480
RM
5598 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5599 (__libc_message): Never call vsyslog.
5600
b0f1246a
AM
56012013-03-28 Alan Modra <amodra@gmail.com>
5602
5603 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5604 Define as empty.
5605 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5606 Likewise.
5607
fbbe2b9a
AZ
56082013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609
5610 [BZ #15214]
5611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5612 underflow.
5613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5614
1728ab37
SP
56152013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5616
7a86be6e
SP
5617 [BZ #15304]
5618 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5619 Don't add gid passed as argument.
5620
1728ab37
SP
5621 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5622
3a7182a1
JM
56232013-03-27 Joseph Myers <joseph@codesourcery.com>
5624
5625 [BZ #15307]
5626 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5627 imaginary part between 1.0 and 1.5 and real part less than 0.5
5628 specially.
5629 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5630 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5631 * math/libm-test.inc (cacos_test): Add more tests.
5632 (casin_test): Likewise.
5633 (casinh_test): Likewise.
5634 * sysdeps/i386/fpu/libm-test-ulps: Update.
5635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5636
6f2e90e7
SP
56372013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5638
5739f705
SP
5639 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5640 constants.
5641 (norm): Likewise.
5642 (denorm): Likewise.
5643 (__dbl_mp): Likewise.
5644 (add_magnitudes): Likewise.
5645 (sub_magnitudes): Likewise.
5646 (__add): Likewise.
5647 (__sub): Likewise.
5648 (__mul): Likewise.
5649 (__sqr): Likewise.
5650 (__inv): Likewise.
5651 (__dvd): Likewise.
5652
e375e83d
SP
5653 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5654 commented code.
5655 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5656 (__dubcos): Likewise.
5657 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5658 (__ieee754_acos): Likewise.
5659 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5661 (__exp1): Likewise.
5662 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5664 (log1): Likewise.
5665 (my_log2): Likewise.
5666 (checkint): Likewise.
5667 * sysdeps/ieee754/dbl-64/e_remainder.c
5668 (__ieee754_remainder): Likewise.
5669 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5670 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5671 (bsloww): Likewise.
5672 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5673
6f2e90e7
SP
5674 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5676 MANTISSA_STORE_T to store computations on mantissa. Use
5677 macros for rounding and division.
5678 (denorm): Likewise.
5679 (__dbl_mp): Likewise.
5680 (add_magnitudes): Likewise.
5681 (sub_magnitudes): Likewise.
5682 (__mul): Likewise.
5683 (__sqr): Likewise.
5684 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5685 powers of two in terms of TWOPOW macro.
5686 (mp_no): Make type of mantissa as MANTISSA_T.
5687 [!RADIXI]: Define RADIXI.
5688 [!TWO52]: Define TWO52.
5689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5690
fce14d4e
AZ
56912013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5692
5693 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5694 llroundl symbol when building for PPC32.
5695
9ad027fb
MW
56962013-03-24 Mark H Weaver <mhw@netris.org>
5697
5698 * manual/arith.texi (Normalization Functions): Fix prototypes for
5699 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5700
e42a38dd
AZ
57012013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5702
5703 [BZ #13889]
5704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5705 high value to check if expl overflow.
5706 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5707 to check for underflow and overflow.
5708 * math/libm-test.inc: Add exp test.
5709
2e0fb521
DL
57102013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5711
5712 [BZ #11120]
5713 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5714 with NOT_IN_libc.
5715
b5784d95
AZ
57162013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5717
5718 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5719 symbol.
5720
5aa4a1a1
TS
57212013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5722
bdef0be7
TS
5723 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5724 wrap blocks consisting of several statements.
5725
5aa4a1a1
TS
5726 * sysdeps/generic/math-tests.h: New file.
5727 * sysdeps/i386/fpu/math-tests.h: Likewise.
5728 * math/test-snan.c: Include it.
5729 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5730
98c48fe5
JM
57312013-03-21 Joseph Myers <joseph@codesourcery.com>
5732
5733 [BZ #15285]
5734 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5735 (__ieee754_j0l): Do not improve calculations using cos of twice
5736 input for inputs above LDBL_MAX / 2.0L.
5737 (__ieee754_y0l): Likewise.
5738 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5739 (__ieee754_j1l): Do not improve calculations using cos of twice
5740 input for inputs above LDBL_MAX / 2.0L.
5741 (__ieee754_y1l): Likewise.
5742 * math/libm-test.inc (j0_test): Add another test.
5743 (j1_test): Likewise.
5744 (y0_test): Likewise.
5745 (y1_test): Likewise.
5746 * sysdeps/i386/fpu/libm-test-ulps: Update.
5747
3775a8bc
SP
57482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5749
5750 * Rules ($(objpfx)bench-%.c): Include code from a C source
5751 file.
5752
0a1b2ae6
JM
57532013-03-21 Joseph Myers <joseph@codesourcery.com>
5754
5755 [BZ #15287]
5756 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5757 imaginary part 1.0 and real part less than 0.5 specially.
5758 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5759 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5760 * math/libm-test.inc (cacos_test): Add more tests.
5761 (casin_test): Likewise.
5762 (casinh_test): Likewise.
5763 * sysdeps/i386/fpu/libm-test-ulps: Update.
5764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5765
b33d4ce4
SP
57662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5767
5768 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5769 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5770
bef0b507
JM
57712013-03-20 Joseph Myers <joseph@codesourcery.com>
5772
5773 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5774 * config.make.in (config-cflags-sse4): Remove variable.
5775 (config-cflags-avx): Likewise.
5776 (config-cflags-sse2avx): Likewise.
5777 (config-cflags-novzeroupper): Likewise.
5778 (config-asflags-i686): Likewise.
5779 (have-mfma4): Likewise.
5780 (have-as-vis3): Likewise.
5781 (MIG): Likewise.
5782 * configure.in (MIG): Do not AC_SUBST.
5783 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5784 (libc_cv_cc_sse4): Do not AC_SUBST.
5785 (libc_cv_cc_avx): Likewise.
5786 (libc_cv_cc_sse2avx): Likewise.
5787 (libc_cv_cc_novzeroupper): Likewise.
5788 (libc_cv_cc_fma4): Likewise.
5789 (libc_cv_as_i686): Likewise.
5790 (libc_cv_sparc_as_vis3): Likewise.
5791 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5792 LIBC_CONFIG_VAR.
5793 (config-asflags-i686): Likewise.
5794 (config-cflags-avx): Likewise.
5795 (config-cflags-sse2avx): Likewise.
5796 (have-mfma4): Likewise.
5797 (config-cflags-novzeroupper): Likewise.
5798 * sysdeps/mach/configure.in (MIG): Likewise.
5799 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5800 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5801 LIBC_CONFIG_VAR.
5802 (config-cflags-avx): Likewise.
5803 (config-cflags-sse2avx): Likewise.
5804 (have-mfma4): Likewise.
5805 (config-cflags-novzeroupper): Likewise.
5806 * configure: Regenerated.
5807 * sysdeps/i386/configure: Likewise.
5808 * sysdeps/mach/configure: Likewise.
5809 * sysdeps/sparc/configure: Likewise.
5810 * sysdeps/x86_64/configure: Likewise.
5811
912cc4b3
RM
58122013-03-20 Roland McGrath <roland@hack.frob.com>
5813
5814 [BZ #14812]
5815 * locale/programs/localedef.c (options): Put N_ translation marker
5816 on argument names, not just descriptions.
5817
04eed2b0
MS
58182013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5819
5820 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5821
a065ceff
OB
58222013-03-20 Ondřej Bílka <neleai@seznam.cz>
5823
9bb2a810 5824 [BZ #14176]
a065ceff
OB
5825 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5826
a600e5ce
RM
58272013-03-19 Roland McGrath <roland@hack.frob.com>
5828
5829 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5830 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5831 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5832 [!BEFORE_ABORT] (before_abort): New function.
5833 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5834 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5835 (writev_for_fatal): New function.
5836 (WRITEV_FOR_FATAL): New macro; call that.
5837 (backtrace_and_maps): New function.
5838 (BEFORE_ABORT): New macro; call that.
5839 (struct str_list): Type removed.
5840 (__libc_message, __libc_fatal): Functions removed.
5841 Include <sysdeps/posix/libc_fatal.c> instead.
5842
6b18bea6
JM
58432013-03-19 Joseph Myers <joseph@codesourcery.com>
5844
5845 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5846 constants.
5847 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5848 double constants.
5849
aaa8cb4b
AS
58502013-03-19 Andreas Schwab <schwab@suse.de>
5851
44673770
AS
5852 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5853 * sysdeps/gnu/configure: Regenerate.
5854
aaa8cb4b
AS
5855 * configure.in: Substitute libc_cv_rtlddir.
5856 * configure: Regenerate.
5857 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5858 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5859 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5860 * elf/Makefile (install-others, CFLAGS-interp.c)
5861 (ldso_install, common-ldd-rewrite): Likewise.
5862 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5863 $(inst_slibdir)/$(rtld-installed-name).
5864 * scripts/rellns-sh: Add -p option.
5865 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5866 for source.
5867
d3cfc668
SP
58682013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5869
5870 * manual/nptl.texi: Renamed to ...
5871 * manual/threads.texi: ... this.
5872 * manual/Makefile (chapters): Update.
5873
0e2b9cdd
RM
58742013-03-18 Roland McGrath <roland@hack.frob.com>
5875
5876 [BZ #14812]
5877 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5878 on argument names, not just descriptions.
0e2b9cdd
RM
5879 * malloc/memusagestat.c (options): Likewise.
5880 * nss/getent.c (options): Likewise.
63270c24
RM
5881
58822013-03-18 Benno Schulenberg <bensberg@justemail.net>
5883
5884 [BZ #14812]
5885 * iconv/iconv_prog.c (options): Put N_ translation marker
5886 on argument names, not just descriptions.
5887 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5888
b2e1393c
OB
58892013-03-18 Ondrej Bilka <neleai@seznam.cz>
5890
5891 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5892 implementation which is faster on all x86_64 architectures.
5893 Tested on AMD, Intel Nehalem, SNB, IVB.
5894 * sysdeps/x86_64/strnlen.S: Likewise.
5895
5896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5897 Remove all multiarch strlen and strnlen versions.
5898 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5899 Remove strlen and strnlen related parts.
5900
5901 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5902 Inline strlen part.
5903 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5904
5905 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5906 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5907 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5908 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5909 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5910 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5911
ec4ff04d
CD
59122013-03-17 Carlos O'Donell <carlos@redhat.com>
5913
5914 * manual/memory.texi (Malloc Tunable Parameters):
5915 Sort parameters alphabetically. Add comments for missing entries.
5916
cd18e90a
DM
59172013-03-17 David S. Miller <davem@davemloft.net>
5918
5919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5920
2a185d32
JM
59212013-03-16 Joseph Myers <joseph@codesourcery.com>
5922
d2f9799e
JM
5923 [BZ #15283]
5924 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5925 for arguments at most half maximum finite value.
5926 * math/libm-test.inc (j0_test): Add more tests.
5927 (j1_test): Likewise.
5928 (y0_test): Likewise.
5929 (y1_test): Likewise.
5930 * sysdeps/i386/fpu/libm-test-ulps: Update.
5931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5932
2a185d32
JM
5933 [BZ #14155]
5934 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5935 1 / x and functions P and Q for arguments above 0x1p256L.
5936 (__ieee754_y0l): Likewise.
5937 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5938 (__ieee754_y1l): Likewise.
5939 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5940 (j1_test): Likewise.
5941 (y0_test): Likewise.
5942 (y1_test): Likewise.
5943
6cbec759
TS
59442013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5945
5946 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5947 variable.
5948
bc16e260
RM
59492013-03-15 Roland McGrath <roland@hack.frob.com>
5950
aefc9b8c
RM
5951 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5952 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5953 zero since it's initialized to EXEC_PAGESIZE.
5954
bc16e260
RM
5955 * sysdeps/unix/sysv/linux/ldsodefs.h
5956 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5957 * sysdeps/generic/ldsodefs.h: ... here.
5958
a57da955
TS
59592013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5960
af00a34d
TS
5961 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5962
495ded2c
TS
5963 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5964 math/test-snan.c.
5965 * math/test-snan.c: Renamed from
5966 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5967 * math/Makefile (tests): Add test-snan.
5968 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5969 test-powerpc-snan.
5970
777b0332
TS
5971 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5972 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5973 functions.
5974 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5975 __builtin_nan family of functions.
5976 * math/libm-test.inc (initialize): Initialize qnan_value with
5977 __builtin_nan family of functions.
5978 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5979 Remove variables.
5980 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5981 Remove functions.
5982 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5983 storage class. Initialize qNaN_var and sNaN_var with
5984 __builtin_nan and __builtin_nans families of functions,
5985 respectively.
5986
64d063b8
TS
5987 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5988 (sqrt_test): Remove duplicate test with qNaN input.
5989 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5990 (round_test, signbit_test, significand_test): Note missing +/-Inf
5991 as well as qNaN tests.
5992
67e971f1
TS
5993 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5994 qNaN_var. Fix a few strings, too.
5995 * math/libm-test.inc (nan_value): Rename to qnan_value.
5996 * math/gen-libm-test.pl (%beautify): Adjust to that.
5997 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5998 * math/test-misc.c (main): Likewise.
5999 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6000 to __qnan_bytes, and __qnan_union, respectively.
6001 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6002 Likewise.
6003 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6004 and lqnanval, respectively.
6005 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6006 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6007 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6008 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6009
64487e12
TS
6010 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6011 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6012 doubles.
6013
e015e27b
TS
6014 * math/test-misc.c (main): Fix copy'n'pastos.
6015 * misc/tst-efgcvt.c (special): Likewise.
6016
a57da955
TS
6017 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6018 Remove declarations.
6019
1e380345
SP
60202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6021
6022 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6023 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6024 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6025 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6026
ef26eece
AZ
60272013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6028
6029 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6030 macro to return vdso values correctly in IFUNC implementations.
6031 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6032 Optimization by using IFUNC.
6033
8cfdb7e0
SP
60342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6035 Richard Henderson <rth@redhat.com>
6036 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6037
6038 * Makefile.in (bench): New target.
6039 * NEWS: Mention the benchmark framework.
6040 * Rules (bench): Likewise.
6041 (binaries-bench): Generate binaries for functions to
6042 benchmark.
6043 * benchtests/Makefile: New makefile for benchmark tests.
6044 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6045 programs.
6046 * benchtests/exp-inputs: New input file for EXP function.
6047 * benchtests/pow-inputs: New input file for POW function.
6048 * scripts/bench.pl: New script to generate source files for
6049 benchmark programs.
6050
bcda9880
SP
60512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6052
d22ca8cd
SP
6053 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6054 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6055 computations on mantissa. Use macros for rounding and
6056 division.
6057 (denorm): Likewise.
6058 (__dbl_mp): Likewise.
6059 (add_magnitudes): Likewise.
6060 (sub_magnitudes): Likewise.
6061 (__mul): Likewise.
6062 (__sqr): Likewise.
6063 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6064 powers of two in terms of TWOPOW macro.
6065 (mp_no): Make type of mantissa as MANTISSA_T.
6066 [!RADIXI]: Define RADIXI.
6067 [!TWO52]: Define TWO52.
6068 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6069
bcda9880
SP
6070 * manual/nptl.texi (cindex): Modify threads to pthreads.
6071
06d5adfb
JM
60722013-03-15 Joseph Myers <joseph@codesourcery.com>
6073
6074 * sysdeps/x86_64/preconfigure: Regenerated.
6075
41c7328e
JM
60762013-03-14 Joseph Myers <joseph@codesourcery.com>
6077
6078 [BZ #14155]
6079 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6080 0x1p28 and above.
6081 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6082 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6083 0x1p28 and above.
6084 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6085 * math/libm-test.inc (j0_test): Do not allow one spurious
6086 underflow exception.
6087 (y1_test): Likewise.
6088
e25cfa60
SP
60892013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6090
0409959c
SP
6091 * manual/Makefile (chapters): Add nptl.
6092 * manual/debug.texi (Debugging Support): Add link to Threads
6093 chapter.
6094 * manual/nptl.texi: New file.
6095
e25cfa60
SP
6096 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6097
58a1335e
PB
60982013-03-14 Petr Baudis <pasky@ucw.cz>
6099
6100 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6101 for non-NULL pointer before the memory validity test. Pointed
6102 out by Holger Brunck <holger.brunck@keymile.com>.
6103
9dc7c64f
AS
61042013-03-13 Andreas Schwab <schwab@suse.de>
6105
6106 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6107 instead of .os.
6108
54206aa6
JM
61092013-03-13 Joseph Myers <joseph@codesourcery.com>
6110
6111 * timezone/zic.c: Update from tzcode 2013b.
6112
e98cdb38
CD
61132013-03-12 Carlos O'Donell <carlos@redhat.com>
6114
6115 * manual/install.texi (Configuring and compiling):
6116 Mention i686 and i586.
6117 * INSTALL: Regenerate.
6118
9967e003
RM
61192013-03-12 Roland McGrath <roland@hack.frob.com>
6120
6121 * sysdeps/init_array/elf-init.c: New file.
6122 * csu/elf-init.c
6123 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6124 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6125
6126 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6127 __gmon_start__ as global, but as static with a .preinit_array pointer.
6128 * sysdeps/init_array/gmon-start.c: New file. Use that.
6129 * sysdeps/init_array/crti.S: New file, empty except for comments.
6130 * sysdeps/init_array/crtn.S: Likewise.
6131
e6b5a293 61322013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6133
6134 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6135 definining bcopy.
80f844c9
OB
6136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6137 Remove Prefer_SSE_for_memop.
6138 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6139 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6140 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6142 memset-x86-64.
80f844c9 6143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6144 Remove bzero, memset ifunc support.
80f844c9
OB
6145 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6146 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6147 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6148 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6149
fb6b0fcb
AS
61502013-03-11 Andreas Schwab <schwab@suse.de>
6151
6152 [BZ #15234]
6153 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6154 by SHLIB_COMPAT.
6155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6156 (GLIBC_2.16): Remove pthread_atfork.
6157
3e6bd4b1
PP
61582013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6159
6160 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6161 (ptestcases.h): Likewise.
6162
222d7f00
RM
61632013-03-08 Roland McGrath <roland@hack.frob.com>
6164
6165 * Makeconfig ($(common-objpfx)config.status): Depend on
6166 sysdeps/*/preconfigure{,.in} too.
6167
1ba4f030
JM
61682013-03-08 Joseph Myers <joseph@codesourcery.com>
6169
a222d91a
JM
6170 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6171 (__free_hook): Use void * instead of __malloc_ptr_t.
6172 (__malloc_hook): Likewise.
6173 (__realloc_hook): Likewise.
6174 (__memalign_hook): Likewise.
6175 (__after_morecore_hook): Likewise.
6176 * malloc/arena.c (save_malloc_hook): Likewise.
6177 (save_free_hook): Likewise.
6178 * malloc/hooks.c (malloc_hook_ini): Likewise.
6179 (realloc_hook_ini): Likewise.
6180 (memalign_hook_ini): Likewise.
6181 * malloc/malloc.c (malloc_hook_ini): Likewise.
6182 (realloc_hook_ini): Likewise.
6183 (memalign_hook_ini): Likewise.
6184 (__free_hook): Likewise.
6185 (__malloc_hook): Likewise.
6186 (__realloc_hook): Likewise.
6187 (__memalign_hook): Likewise.
6188 (__libc_malloc): Likewise.
6189 (__libc_free): Likewise.
6190 (__libc_realloc): Likewise.
6191 (__libc_memalign): Likewise.
6192 (__libc_valloc): Likewise.
6193 (__libc_pvalloc): Likewise.
6194 (__libc_calloc): Likewise.
6195 (__posix_memalign): Likewise.
6196 * malloc/morecore.c (__sbrk): Likewise.
6197 (__default_morecore): Likewise.
6198
5cc45e10
JM
6199 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6200
dd54b864
JM
6201 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6202 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6203 __malloc_ptrdiff_t.
6204
1ba4f030
JM
6205 * malloc/malloc.h (__malloc_size_t): Remove macro.
6206 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6207 __malloc_size_t.
6208 (old_memalign_hook): Likewise.
6209 (old_realloc_hook): Likewise.
6210 (struct hdr): Likewise.
6211 (flood): Likewise.
6212 (mallochook): Likewise.
6213 (memalignhook): Likewise.
6214 (reallochook): Likewise.
6215 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6216 (tr_old_realloc_hook): Likewise.
6217 (tr_old_memalign_hook): Likewise.
6218 (tr_mallochook): Likewise.
6219 (tr_reallochook): Likewise.
6220 (tr_memalignhook): Likewise.
6221
edf66e57
AZ
62222013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6223
6224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6225 default_ldbl_pack and using as default implementation.
6226 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6227 implementation.
6228 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6229 redundant definition.
6230 (ldbl_insert_mantissa): Likewise.
6231 (ldbl_canonicalize): Likewise.
6232 (ldbl_nearbyint): Likewise.
6233 (ldbl_pack): Rename to ldbl_pack_ppc.
6234 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6235 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6236 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6237
6d9145d8
SP
62382013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6239
6240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6241 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6242 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6243 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6245 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6246 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6247 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6248
4dd4e157
AJ
62492013-03-07 Andreas Jaeger <aj@suse.de>
6250
6251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6252 bits/mman-linux.h.
6253
adbb8027
SP
62542013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6255
ce544b5b
SP
6256 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6257 Include mpa.h and declare __MPEXP.
6258 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6259 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6260 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6261 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6263 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6264 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6265
4cc149fd
SP
6266 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6267 (__slowpow): Use long double EXPL and LOGL functions to
6268 compute POW.
6269 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6270 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6272 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6273 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6274 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6275
e6ebd4a7
SP
6276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6277 intermediate variable to calculate exponent.
6278 (__sqr): Likewise.
6279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6280 Likewise.
6281 (__sqr): Likewise.
6282
82a9811d
SP
6283 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6284 [!NO__SQR]: Define __sqr.
6285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6286 and NO__SQR. Remove all code except __mul and __sqr. Include
6287 sysdeps/ieee754/dbl-64/mpa.c.
6288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6289
adbb8027
SP
6290 [BZ #12723]
6291 * posix/Makefile (tests): Add tst-pathconf.
6292 * posix/tst-pathconf.c: New test case.
6293 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6294 _PC_PIPE_BUF.
6295 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6296
39120df9
PF
62972013-03-06 Patsy Franklin <pfrankli@redhat.com>
6298
6299 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6300
67525cb8
AJ
63012013-03-06 Andreas Jaeger <aj@suse.de>
6302
664a9ce4
AJ
6303 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6304 definition via __MAP_ANONYMOUS.
6305
8e39047d
AJ
6306 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6307 it's not part of Linux headers.
6308
67525cb8
AJ
6309 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6310 (MAP_HUGE_MASK): Define.
6311
6312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6313 Define.
6314 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6316 Define.
6317 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6318 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6319 Define.
6320 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6321 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6322 Define.
6323 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6324
6325 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6326 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6327 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6328 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6329 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6330 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6331
6332 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6333 Handle f2fs.
6334
6335 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6336 Handle f2fs and efivarfs.
6337
6338 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6339 f2fs.
6340
6341 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6342 (EFIVARFS_MAGIC): Add.
6343 (F2FS_LINK_MAX): Add.
6344
e1b42695
PP
63452013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6346
6347 * stdio-common/vfprintf.c: Replace __builtin_expect with
6348 __glibc_unlikely.
6349
2d67d91a
JM
63502013-03-06 Joseph Myers <joseph@codesourcery.com>
6351
6352 [BZ #13550]
6353 * sysdeps/generic/bp-sym.h: Remove file.
6354 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6355 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6356 <bp-sym.h> and <bp-asm.h>.
6357 (__longjmp): Don't use BP_SYM.
6358 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6359 and <bp-asm.h>.
6360 (memcpy): Don't use BP_SYM.
6361 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6362 <bp-sym.h> and <bp-asm.h>.
6363 (memcpy): Don't use BP_SYM.
6364 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6365 <bp-asm.h>.
6366 (memcpy): Don't use BP_SYM.
6367 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6368 <bp-asm.h>.
6369 (memset): Don't use BP_SYM.
6370 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6371 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6372 (__bzero): Don't use BP_SYM.
6373 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6374 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6375 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6376 <bp-sym.h> and <bp-asm.h>.
6377 (memcmp): Don't use BP_SYM. Remove comment about bounded
6378 pointers.
6379 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6380 <bp-sym.h> and <bp-asm.h>.
6381 (memcpy): Don't use BP_SYM.
6382 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6383 <bp-sym.h> and <bp-asm.h>.
6384 (memset): Don't use BP_SYM.
6385 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6386 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6387 (__bzero): Don't use BP_SYM.
6388 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6389 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6390 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6391 <bp-sym.h> and <bp-asm.h>.
6392 (strncmp): Don't use BP_SYM. Remove comment about bounded
6393 pointers.
6394 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6395 <bp-sym.h> and <bp-asm.h>.
6396 (memcpy): Don't use BP_SYM.
6397 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6398 <bp-sym.h> and <bp-asm.h>.
6399 (memset): Don't use BP_SYM.
6400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6402 (__bzero): Don't use BP_SYM.
6403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6405 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6406 <bp-sym.h> and <bp-asm.h>.
6407 (__memchr): Don't use BP_SYM.
6408 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6409 <bp-sym.h> and <bp-asm.h>.
6410 (memcmp): Don't use BP_SYM. Remove comment about bounded
6411 pointers.
6412 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6413 <bp-sym.h> and <bp-asm.h>.
6414 (memcpy): Don't use BP_SYM.
6415 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6416 <bp-sym.h> and <bp-asm.h>.
6417 (__mempcpy): Don't use BP_SYM.
6418 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6419 <bp-sym.h> and <bp-asm.h>.
6420 (__memrchr): Don't use BP_SYM.
6421 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6422 <bp-sym.h> and <bp-asm.h>.
6423 (memset): Don't use BP_SYM.
6424 (__bzero): Likewise.
6425 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6426 <bp-sym.h> and <bp-asm.h>.
6427 (__rawmemchr): Don't use BP_SYM.
6428 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6429 <bp-sym.h> and <bp-asm.h>.
6430 (__STRCMP): Don't use BP_SYM.
6431 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6432 <bp-sym.h> and <bp-asm.h>.
6433 (strchr): Don't use BP_SYM.
6434 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6435 <bp-sym.h> and <bp-asm.h>.
6436 (__strchrnul): Don't use BP_SYM.
6437 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6438 <bp-sym.h> and <bp-asm.h>.
6439 (strlen): Don't use BP_SYM.
6440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6441 <bp-sym.h> and <bp-asm.h>.
6442 (strncmp): Don't use BP_SYM. Remove comment about bounded
6443 pointers.
6444 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (__strnlen): Don't use BP_SYM.
6447 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6448 <bp-sym.h> and <bp-asm.h>.
6449 (__GI__setjmp): Don't use BP_SYM.
6450 (_setjmp): Likewise.
6451 (__sigsetjmp): Likewise.
6452 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6453 (L(start_addresses)): Don't use BP_SYM.
6454 (_start): Likewise.
6455 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6456 <bp-asm.h>.
6457 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6458 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6459 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6460 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6461 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6462 <bp-asm.h>.
6463 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6464 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6465 about bounded pointers.
6466 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6467 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6468 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6469 <bp-asm.h>.
6470 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6471 about bounded pointers. Remove GKM FIXME comments.
6472 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6473 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6474 <bp-asm.h>.
6475 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6476 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6477 Remove GKM FIXME comments.
6478 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6479 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6480 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6481 <bp-asm.h>.
6482 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6483 about bounded pointers. Remove GKM FIXME comment.
6484 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6485 and <bp-asm.h>.
6486 (strncmp): Don't use BP_SYM. Remove comment about bounded
6487 pointers.
6488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6489 <bp-sym.h> and <bp-asm.h>.
6490 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6492 <bp-sym.h> and <bp-asm.h>.
6493 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6494 comment.
6495
cdcf361f
PP
64962013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6497
6498 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6499 call free(NULL).
6500
3c4a2b15
DM
65012013-03-05 David S. Miller <davem@davemloft.net>
6502
6503 * po/es.po: Update from translation team.
6504
cdcf361f 65052013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6506
6507 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6508 <bits/mman-linux.h>.
6509 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6510 is fine.
6511 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6512 <bits/mman-linux.h> to end of file.
6513 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6514 is fine.
6515 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6516 <bits/mman-linux.h> to end of file.
6517 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6518 is fine.
6519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6520 <bits/mman-linux.h> to end of file.
6521
6522 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6523 (MCL_CURRENT, MCL_FUTURE): Define here.
6524
5f67c04f
AK
65252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6526
8a4473cc 6527 [BZ #15232]
5f67c04f
AK
6528 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6529 attribute_hidden.
6530 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6531
c3e94a95
AK
65322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6533
6534 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6535 fourth parameter needed for rt_sigprocmask syscall.
6536 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6537 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6538 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6539 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6540 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6541 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6542
cfb6382a
JM
65432013-03-04 Joseph Myers <joseph@codesourcery.com>
6544
6545 [BZ #13550]
6546 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6547 comment about bounded pointers.
6548 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6549 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6550
539d8e01
AJ
65512013-03-04 Andreas Jaeger <aj@suse.de>
6552
6553 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6554 common definitions.
6555
6556 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6557 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6558 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6559 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6560 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6562
2e167a70 65632013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6564
6565 [BZ #15055]
6566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6567 __ieee754_sqrl instead of __sqrl.
6568
68508633
JM
65692013-03-01 Joseph Myers <joseph@codesourcery.com>
6570
6571 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6572 * sysdeps/powerpc/fpu_control.h: ... here.
6573 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6574 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6575 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6576 * sysdeps/powerpc/bits/mathinline.h: ... here.
6577
7775448e
RM
65782013-03-01 Roland McGrath <roland@hack.frob.com>
6579
6580 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6581 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6582 to just [NEED_DL_SYSINFO_DSO].
6583 * elf/dl-support.c: Likewise.
6584 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6585 * elf/rtld.c (dl_main): Likewise.
6586 * elf/setup-vdso.h (setup_vdso): Likewise.
6587 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6588 * sysdeps/unix/sysv/linux/dl-sysdep.c
6589 (_dl_discover_osversion): Likewise.
6590
4e9b5995
CD
65912013-03-01 Carlos O'Donell <carlos@redhat.com>
6592
6593 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6594 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6595
e23872c8
SP
65962013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6597
e5c74c63
SP
6598 * NEWS: Mention libm performance improvements and non-x86 PI
6599 futex support.
6600
e23872c8
SP
6601 * csu/libc-start.c (__pthread_initialize_minimal): Change
6602 function arguments.
6603 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6604
b5510883
JM
66052013-02-28 Joseph Myers <joseph@codesourcery.com>
6606
6607 [BZ #13550]
6608 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6609 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6610 <bp-sym.h> and <bp-asm.h>.
6611 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6612 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6613 and <bp-asm.h>.
6614 (memcpy): Don't use BP_SYM.
6615 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6616 <bp-asm.h>.
6617 (__mpn_add_n): Don't use BP_SYM.
6618 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6619 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6620 and <bp-asm.h>.
6621 (__mpn_addmul_1): Don't use BP_SYM.
6622 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6623 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6624 <bp-sym.h>.
6625 (_setjmp): Don't use BP_SYM.
6626 (__novmx_setjmp): Likewise.
6627 (__GI__setjmp): Likewise.
6628 (__vmx_setjmp): Likewise.
6629 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6630 <bp-sym.h>.
6631 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6632 (__bzero): Don't use BP_SYM.
6633 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6634 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6635 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6636 <bp-sym.h> and <bp-asm.h>.
6637 (memcpy): Don't use BP_SYM.
6638 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6639 <bp-sym.h> and <bp-asm.h>.
6640 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6641 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6642 <bp-sym.h> and <bp-asm.h>.
6643 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6644 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6645 <bp-asm.h>.
6646 (__mpn_lshift): Don't use BP_SYM.
6647 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6648 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6649 <bp-asm.h>.
6650 (memset): Don't use BP_SYM.
6651 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6652 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6653 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6654 <bp-asm.h>.
6655 (__mpn_mul_1): Don't use BP_SYM.
6656 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6657 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6658 <bp-sym.h> and <bp-asm.h>.
6659 (memcmp): Don't use BP_SYM.
6660 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6661 <bp-sym.h> and <bp-asm.h>.
6662 (memcpy): Don't use BP_SYM.
6663 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6664 <bp-sym.h> and <bp-asm.h>.
6665 (memset): Don't use BP_SYM.
6666 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6667 <bp-sym.h> and <bp-asm.h>.
6668 (strncmp): Don't use BP_SYM.
6669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6670 <bp-sym.h> and <bp-asm.h>.
6671 (memcpy): Don't use BP_SYM.
6672 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6673 <bp-sym.h> and <bp-asm.h>.
6674 (memset): Don't use BP_SYM.
6675 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6676 <bp-sym.h> and <bp-asm.h>.
6677 (__memchr): Don't use BP_SYM.
6678 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6679 <bp-sym.h> and <bp-asm.h>.
6680 (memcmp): Don't use BP_SYM.
6681 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6682 <bp-sym.h> and <bp-asm.h>.
6683 (memcpy): Don't use BP_SYM.
6684 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6685 <bp-sym.h> and <bp-asm.h>.
6686 (__mempcpy): Don't use BP_SYM.
6687 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6688 <bp-sym.h> and <bp-asm.h>.
6689 (__memrchr): Don't use BP_SYM.
6690 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6691 <bp-sym.h> and <bp-asm.h>.
6692 (memset): Don't use BP_SYM.
6693 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6694 <bp-sym.h> and <bp-asm.h>.
6695 (__rawmemchr): Don't use BP_SYM.
6696 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6697 <bp-sym.h> and <bp-asm.h>.
6698 (__STRCMP): Don't use BP_SYM.
6699 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6700 <bp-sym.h> and <bp-asm.h>.
6701 (strchr): Don't use BP_SYM.
6702 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6703 <bp-sym.h> and <bp-asm.h>.
6704 (__strchrnul): Don't use BP_SYM.
6705 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6706 <bp-sym.h> and <bp-asm.h>.
6707 (strlen): Don't use BP_SYM.
6708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6709 <bp-sym.h> and <bp-asm.h>.
6710 (strncmp): Don't use BP_SYM.
6711 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6712 <bp-sym.h> and <bp-asm.h>.
6713 (__strnlen): Don't use BP_SYM.
6714 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6715 <bp-asm.h>.
6716 (__mpn_rshift): Don't use BP_SYM.
6717 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6718 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6719 <bp-sym.h> and <bp-asm.h>.
6720 (__sigsetjmp): Don't use BP_SYM.
6721 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6722 (L(start_addresses)): Don't use BP_SYM.
6723 (_start): Likewise.
6724 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6725 <bp-asm.h>.
6726 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6727 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6728 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6729 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6730 <bp-asm.h>.
6731 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6732 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6733 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6734 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6735 <bp-asm.h>.
6736 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6737 comments.
6738 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6739 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6740 <bp-asm.h>.
6741 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6742 FIXME comments.
6743 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6744 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6745 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6746 <bp-asm.h>.
6747 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6748 comment.
6749 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6750 and <bp-asm.h>.
6751 (strncmp): Don't use BP_SYM,
6752 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6753 <bp-asm.h>.
6754 (__mpn_sub_n): Don't use BP_SYM.
6755 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6756 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6757 and <bp-asm.h>.
6758 (__mpn_submul_1): Don't use BP_SYM.
6759 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6761 <bp-sym.h> and <bp-asm.h>.
6762 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6764 <bp-sym.h> and <bp-asm.h>.
6765 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6766 comment.
6767
8d19fe64
SP
67682013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6769
6770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6771 Use ZK to minimize writes to Z.
6772 (sub_magnitudes): Simplify code a bit.
6773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6774 Use ZK to minimize writes to Z.
6775 (sub_magnitudes): Simplify code a bit.
6776
85bd816a
RM
67772013-02-27 Roland McGrath <roland@hack.frob.com>
6778
6779 * csu/gmon-start.c: Add special exception to license text.
6780
b5977bf2
RH
67812013-02-27 Richard Henderson <rth@redhat.com>
6782
6783 * scripts/config.guess: Update from config.git.
6784 * scripts/config.sub: Likewise.
6785
11d6e2f2
SP
67862013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6787
09c14ed2
SP
6788 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6789
a688864e
SP
6790 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6791
6295157a
SP
6792 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6793
b8de2202
SP
6794 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6795
11d6e2f2
SP
6796 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6797
7e80ddb8
RM
67982013-02-26 Roland McGrath <roland@hack.frob.com>
6799
6800 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6801 [$(build-shared = yes].
7e80ddb8 6802
7da6d9ed
SP
68032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6804
45f05884
SP
6805 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6806 (__mul): Reduce iterations for calculating mantissa.
6807
2236d359
SP
6808 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6809 MPTWO.
6810 (__mpranred): Likewise.
6811
7da6d9ed
SP
6812 [BZ #15160]
6813 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6814 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6815
b7688c42
PE
68162013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6817
6818 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6819 Define __attribute__.
6820
53a5c423
SP
68212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6822
6823 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6824 unused.
6825 * posix/regex_internal.h (__attribute): Remove.
6826 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6827 (re_string_context_at): Likewise.
6828 (bitset_not): Use __attribute__ and mark function as possibly
6829 unused.
6830 (bitset_merge): Likewise.
6831 (bitset_mask): Likewise.
6832 (re_string_char_size_at): Likewise.
6833 (re_string_wchar_at): Likewise.
6834 (re_string_elem_size_at): Likewise.
6835
60f5a8b5
SP
68362013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6837
2a983a2e
SP
6838 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6839 code.
6840 (cc32): Likewise.
6841
e69804d1
SP
6842 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6843 (__acr): Likewise.
6844 (__cpy): Likewise.
6845 (norm): Likewise.
6846 (denorm): Likewise.
6847 (__dbl_mp): Likewise.
6848 (add_magnitudes): Likewise.
6849 (sub_magnitudes): Likewise.
6850 (__mul): Likewise.
6851 (__inv): Likewise.
6852
2f22a1e8
SP
6853 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6854 style.
6855
8930ddc7
SP
6856 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6857 style.
6858
dc60cb11
SP
6859 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6860 code.
6861
60f5a8b5
SP
6862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6863 up changes with default code.
6864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6865 Likewise.
6866
b4d1fd33
AM
68672013-02-24 Allan McRae <allan@archlinux.org>
6868
faf6f8bc
AM
6869 * manual/socket.texi (The Internet Namespace): Order menu items
6870 to match that in the file.
6871
b4d1fd33
AM
6872 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6873 node listing of the info page menu.
6874
2366713d
JM
68752013-02-21 Joseph Myers <joseph@codesourcery.com>
6876
6877 [BZ #13550]
6878 * sysdeps/i386/bp-asm.h: Remove file.
6879 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6880 (PARMS): Do not use macros from bp-asm.h.
6881 (S1): Likewise.
6882 (S2): Likewise.
6883 (SIZE): Likewise.
6884 (__mpn_add_n): Do not use BP_SYM
6885 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6886 "bp-asm.h".
6887 (PARMS): Do not use macros from bp-asm.h.
6888 (S1): Likewise.
6889 (SIZE): Likewise.
6890 (__mpn_addmul_1): Do not use BP_SYM
6891 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6892 "bp-asm.h".
6893 (PARMS): Do not use macros from bp-asm.h.
6894 (SIGMSK): Likewise.
6895 (_setjmp): Likewise. Do not use BP_SYM.
6896 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6897 "bp-asm.h".
6898 (PARMS): Do not use macros from bp-asm.h.
6899 (SIGMSK): Likewise.
6900 (setjmp): Likewise. Do not use BP_SYM.
6901 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6902 "bp-asm.h".
6903 (PARMS): Do not use macros from bp-asm.h.
6904 (__frexp): Do not use BP_SYM.
6905 (frexp): Likewise.
6906 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6907 "bp-asm.h".
6908 (PARMS): Do not use macros from bp-asm.h.
6909 (__frexpf): Do not use BP_SYM.
6910 (frexpf): Likewise.
6911 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6912 "bp-asm.h".
6913 (PARMS): Do not use macros from bp-asm.h.
6914 (__frexpl): Do not use BP_SYM.
6915 (frexpl): Likewise.
6916 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6917 "bp-asm.h".
6918 (PARMS): Do not use macros from bp-asm.h.
6919 (__remquo): Do not use BP_SYM.
6920 (remquo): Likewise.
6921 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6922 "bp-asm.h".
6923 (PARMS): Do not use macros from bp-asm.h.
6924 (__remquof): Do not use BP_SYM.
6925 (remquof): Likewise.
6926 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6927 "bp-asm.h".
6928 (PARMS): Do not use macros from bp-asm.h.
6929 (__remquol): Do not use BP_SYM.
6930 (remquol): Likewise.
6931 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6932 "bp-asm.h".
6933 (PARMS): Do not use macros from bp-asm.h.
6934 (DEST): Likewise.
6935 (SRC): Likewise.
6936 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6937 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6938 "bp-asm.h".
6939 (PARMS): Do not use macros from bp-asm.h.
6940 (strlen): Do not use BP_SYM.
6941 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6942 "bp-asm.h".
6943 (PARMS): Do not use macros from bp-asm.h.
6944 (S1): Likewise.
6945 (S2): Likewise.
6946 (SIZE): Likewise.
6947 (__mpn_add_n): Do not use BP_SYM.
6948 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6949 "bp-asm.h".
6950 (PARMS): Do not use macros from bp-asm.h.
6951 (S1): Likewise.
6952 (SIZE): Likewise.
6953 (__mpn_addmul_1): Do not use BP_SYM.
6954 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6955 weak_alias.
6956 (bzero): Likewise.
6957 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6958 "bp-asm.h".
6959 (PARMS): Do not use macros from bp-asm.h.
6960 (S): Likewise.
6961 (SIZE): Likewise.
6962 (__mpn_lshift): Do not use BP_SYM.
6963 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6964 "bp-asm.h".
6965 (PARMS): Do not use macros from bp-asm.h.
6966 (DEST): Likewise.
6967 (SRC): Likewise.
6968 (LEN): Likewise.
6969 (memcpy): Likewise. Do not use BP_SYM.
6970 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6971 libc_hidden_def and weak_alias.
6972 (mempcpy): Do not use BP_SYM in weak_alias.
6973 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6974 "bp-asm.h".
6975 (PARMS): Do not use macros from bp-asm.h.
6976 (DEST): Likewise.
6977 (LEN): Likewise.
6978 [!BZERO_P] (CHR): Likewise.
6979 (memset): Likewise. Do not use BP_SYM.
6980 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6981 "bp-asm.h".
6982 (PARMS): Do not use macros from bp-asm.h.
6983 (S1): Likewise.
6984 (SIZE): Likewise.
6985 (__mpn_mul_1): Do not use BP_SYM.
6986 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6987 "bp-asm.h".
6988 (PARMS): Do not use macros from bp-asm.h.
6989 (S): Likewise.
6990 (SIZE): Likewise.
6991 (__mpn_rshift): Do not use BP_SYM.
6992 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6993 "bp-asm.h".
6994 (PARMS): Do not use macros from bp-asm.h.
6995 (STR): Likewise.
6996 (CHR): Likewise.
6997 (strchr): Likewise. Do not use BP_SYM.
6998 (index): Do not use BP_SYM in weak_alias.
6999 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7000 "bp-asm.h".
7001 (PARMS): Do not use macros from bp-asm.h.
7002 (DEST): Likewise.
7003 (SRC): Likewise.
7004 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7005 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7006 "bp-asm.h".
7007 (PARMS): Do not use macros from bp-asm.h.
7008 (strlen): Do not use BP_SYM.
7009 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7010 "bp-asm.h".
7011 (PARMS): Do not use macros from bp-asm.h.
7012 (S1): Likewise.
7013 (S2): Likewise.
7014 (SIZE): Likewise.
7015 (__mpn_sub_n): Do not use BP_SYM.
7016 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7017 "bp-asm.h".
7018 (PARMS): Do not use macros from bp-asm.h.
7019 (S1): Likewise.
7020 (SIZE): Likewise.
7021 (__mpn_submul_1): Do not use BP_SYM.
7022 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7023 "bp-asm.h".
7024 (PARMS): Do not use macros from bp-asm.h.
7025 (S1): Likewise.
7026 (S2): Likewise.
7027 (SIZE): Likewise.
7028 (__mpn_add_n): Do not use BP_SYM.
7029 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7030 weak_alias.
7031 (bzero): Likewise.
7032 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7033 "bp-asm.h".
7034 (PARMS): Do not use macros from bp-asm.h.
7035 (BLK2): Likewise.
7036 (LEN): Likewise.
7037 (memcmp): Do not use BP_SYM.
7038 (bcmp): Do not use BP_SYM in weak_alias.
7039 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7040 "bp-asm.h".
7041 (PARMS): Do not use macros from bp-asm.h.
7042 (DEST): Likewise.
7043 (SRC): Likewise.
7044 (LEN): Likewise.
7045 (memcpy): Likewise. Do not use BP_SYM.
7046 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7047 "bp-asm.h".
7048 (PARMS): Do not use macros from bp-asm.h.
7049 (DEST): Likewise.
7050 (SRC): Likewise.
7051 (LEN): Likewise.
7052 (memmove): Likewise. Do not use BP_SYM.
7053 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7054 "bp-asm.h".
7055 (PARMS): Do not use macros from bp-asm.h.
7056 (DEST): Likewise.
7057 (SRC): Likewise.
7058 (LEN): Likewise.
7059 (__mempcpy): Likewise. Do not use BP_SYM.
7060 (mempcpy): Do not use BP_SYM in weak_alias.
7061 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7062 "bp-asm.h".
7063 (PARMS): Do not use macros from bp-asm.h.
7064 (DEST): Likewise.
7065 (LEN): Likewise.
7066 [!BZERO_P] (CHR): Likewise.
7067 (memset): Likewise. Do not use BP_SYM.
7068 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7069 "bp-asm.h".
7070 (PARMS): Do not use macros from bp-asm.h.
7071 (STR2): Likewise.
7072 (strcmp): Do not use BP_SYM.
7073 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7074 "bp-asm.h".
7075 (PARMS): Do not use macros from bp-asm.h.
7076 (STR): Likewise.
7077 (DELIM): Likewise.
7078 [USE_AS_STRTOK_R] (SAVE): Likewise.
7079 (FUNCTION): Likewise. Do not use BP_SYM.
7080 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7081 aliases.
7082 (strtok_r): Likewise.
7083 (__GI___strtok_r): Likewise.
7084 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7085 (PARMS): Do not use macros from bp-asm.h.
7086 (S): Likewise.
7087 (SIZE): Likewise.
7088 (__mpn_lshift): Do not use BP_SYM.
7089 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7090 (PARMS): Do not use macros from bp-asm.h.
7091 (STR): Likewise.
7092 (CHR): Likewise.
7093 (__memchr): Do not use BP_SYM.
7094 (memchr): Do not use BP_SYM in weak_alias.
7095 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7096 (PARMS): Do not use macros from bp-asm.h.
7097 (BLK2): Likewise.
7098 (LEN): Likewise.
7099 (memcmp): Do not use BP_SYM.
7100 (bcmp): Do not use BP_SYM in weak_alias.
7101 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7102 (PARMS): Do not use macros from bp-asm.h.
7103 (S1): Likewise.
7104 (SIZE): Likewise.
7105 (__mpn_mul_1): Do not use BP_SYM.
7106 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7107 "bp-asm.h".
7108 (PARMS): Do not use macros from bp-asm.h.
7109 (STR): Likewise.
7110 (CHR): Likewise.
7111 (__rawmemchr): Do not use BP_SYM.
7112 (rawmemchr): Do not use BP_SYM in weak_alias.
7113 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7114 (PARMS): Do not use macros from bp-asm.h.
7115 (S): Likewise.
7116 (SIZE): Likewise.
7117 (__mpn_rshift): Do not use BP_SYM.
7118 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7119 (PARMS): Do not use macros from bp-asm.h.
7120 (SIGMSK): Likewise.
7121 (__sigsetjmp): Likewise. Do not use BP_SYM.
7122 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7123 (_start): Do not use BP_SYM.
7124 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7125 (PARMS): Do not use macros from bp-asm.h.
7126 (DEST): Likewise.
7127 (SRC): Likewise.
7128 (__stpcpy): Likewise. Do not use BP_SYM.
7129 (stpcpy): Do not use BP_SYM in weak_alias.
7130 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7131 "bp-asm.h".
7132 (PARMS): Do not use macros from bp-asm.h.
7133 (DEST): Likewise.
7134 (SRC): Likewise.
7135 (LEN): Likewise.
7136 (__stpncpy): Likewise. Do not use BP_SYM.
7137 (stpncpy): Do not use BP_SYM in weak_alias.
7138 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7139 (PARMS): Do not use macros from bp-asm.h.
7140 (STR): Likewise.
7141 (CHR): Likewise.
7142 (strchr): Likewise. Do not use BP_SYM.
7143 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7144 "bp-asm.h".
7145 (PARMS): Do not use macros from bp-asm.h.
7146 (STR): Likewise.
7147 (CHR): Likewise.
7148 (__strchrnul): Likewise. Do not use BP_SYM.
7149 (strchrnul): Do not use BP_SYM in weak_alias.
7150 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7151 "bp-asm.h".
7152 (PARMS): Do not use macros from bp-asm.h.
7153 (STOP): Likewise.
7154 (strcspn): Do not use BP_SYM.
7155 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7156 "bp-asm.h".
7157 (PARMS): Do not use macros from bp-asm.h.
7158 (STR): Likewise.
7159 (STOP): Likewise.
7160 (strpbrk): Likewise. Do not use BP_SYM.
7161 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7162 "bp-asm.h".
7163 (PARMS): Do not use macros from bp-asm.h.
7164 (STR): Likewise.
7165 (CHR): Likewise.
7166 (strrchr): Likewise. Do not use BP_SYM.
7167 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7168 (PARMS): Do not use macros from bp-asm.h.
7169 (SKIP): Likewise.
7170 (strspn): Do not use BP_SYM.
7171 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7172 (PARMS): Do not use macros from bp-asm.h.
7173 (STR): Likewise.
7174 (DELIM): Likewise.
7175 (SAVE): Likewise.
7176 (FUNCTION): Likewise. Do not use BP_SYM.
7177 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7178 aliases.
7179 (strtok_r): Likewise.
7180 (__GI___strtok_r): Likewise.
7181 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7182 (PARMS): Do not use macros from bp-asm.h.
7183 (S1): Likewise.
7184 (S2): Likewise.
7185 (SIZE): Likewise.
7186 (__mpn_sub_n): Do not use BP_SYM.
7187 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7188 "bp-asm.h".
7189 (PARMS): Do not use macros from bp-asm.h.
7190 (S1): Likewise.
7191 (SIZE): Likewise.
7192 (__mpn_submul_1): Do not use BP_SYM.
7193 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7194 <bp-sym.h>.
7195 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7196 and <bp-asm.h>.
7197 (PARMS): Do not use macros from bp-asm.h.
7198 (FLAGS): Likewise.
7199 (PTID): Likewise.
7200 (TLS): Likewise.
7201 (CTID): Likewise.
7202 (__clone): Do not use BP_SYM.
7203 (clone): Do not use BP_SYM in weak_alias.
7204 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7205 and <bp-asm.h>.
7206 (PARMS): Do not use macros from bp-asm.h.
7207 (LEN): Likewise.
7208 (__mmap64): Do not use BP_SYM.
7209 (mmap64): Do not use BP_SYM in weak_alias.
7210 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7211 <bp-sym.h> and <bp-asm.h>.
7212 (PARMS): Do not use macros from bp-asm.h.
7213 (__posix_fadvise64_l64): Do not use BP_SYM.
7214 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7215 (PARMS): Do not use macros from bp-asm.h.
7216 (NSOPS): Likewise.
7217 (semtimedop): Do not use BP_SYM.
7218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7219 and <bp-asm.h>.
7220
582a3cff
AM
72212013-02-21 Allan McRae <allan@archlinux.org>
7222
7223 * manual/message.texi (Charset conversion in gettext):
7224 Move @end statement to beginning of line.
7225
bab8a695
SP
72262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7227
80945231
SP
7228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7229 static.
7230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7231 Likewise.
7232
bab8a695
SP
7233 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7234 (denorm): Likewise.
7235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7237
e21d7aa7
AK
72382013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7239
7240 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7241 tail-call to the resolved function if pltexit isn't needed.
7242
4c7a4263
SP
72432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7244
7245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7246 or Y being zero as being unlikely.
7247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7248 Likewise.
7249
41f49342
CD
72502013-02-20 Carlos O'Donell <carlos@redhat.com>
7251
7252 * manual/nss.texi (System Databases and Name Service Switch):
7253 Remove frobnicate @pxref.
7254
50022a93
TS
72552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7256
7257 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7258 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7259
08cbd996
PM
72602013-02-20 Petr Machata <pmachata@redhat.com>
7261
7262 * elf/elf.h (R_ARM_TARGET1): New macro.
7263 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7264 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7265 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7266 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7267 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7268 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7269 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7270 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7271 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7272 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7273 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7274 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7275 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7276 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7277 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7278 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7279 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7280 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7281 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7282 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7283 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7284 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7285 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7286 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7287 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7288 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7289 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7290 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7291 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7292 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7293 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7294 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7295 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7296 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7297 (R_ARM_THM_GOT_BREL12): Likewise.
7298 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7299 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7300 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7301 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7302 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7303 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7304 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7305 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7306 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7307
c7b275d6
TS
73082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7309
7310 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7311 __attribute_used__ to __attribute__ ((unused)).
7312
20cd7fb3
SP
73132013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7314
7315 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7316 powerpc mpa.c.
7317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7318 comment formatting.
7319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7320
92945b52
JM
73212013-02-19 Joseph Myers <joseph@codesourcery.com>
7322
7323 [BZ #13550]
7324 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7325 Remove macro.
7326 (ENTER): Remove both macro definitions.
7327 (LEAVE): Likewise.
7328 (CHECK_BOUNDS_LOW): Likewise.
7329 (CHECK_BOUNDS_HIGH): Likewise.
7330 (CHECK_BOUNDS_BOTH): Likewise.
7331 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7332 (RETURN_BOUNDED_POINTER): Likewise.
7333 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7334 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7335 (POP_ERRNO_LOCATION_RETURN): Likewise.
7336 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7337 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7338 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7339 macros.
7340 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7341 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7342 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7343 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7344 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7345 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7346 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7347 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7348 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7349 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7350 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7351 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7352 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7353 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7354 removed macros.
7355 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7356 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7357 macros.
7358 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7359 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7360 * sysdeps/i386/i586/memset.S (memset): Likewise.
7361 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7362 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7363 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7364 macros.
7365 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7366 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7367 Change uses of L(2) to L(out).
7368 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7369 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7370 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7371 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7372 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7373 removed macros.
7374 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7375 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7376 macros.
7377 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7378 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7379 (RETURN): Do not use macro LEAVE.
7380 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7381 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7382 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7383 * sysdeps/i386/i686/memset.S (memset): Likewise.
7384 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7385 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7386 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7387 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7388 Likewise.
7389 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7390 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7391 L(1_2) and L(1_3) into L(1).
7392 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7393 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7394 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7395 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7396 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7397 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7398 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7399 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7400 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7401 macros.
7402 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7403 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7404 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7405 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7406 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7407 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7408 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7409 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7410 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7411 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7412 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7413 * sysdeps/i386/strspn.S (strspn): Likewise.
7414 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7415 conditional code.
7416 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7417 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7418 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7419 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7420 L(1_3) into L(1_1).
7421 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7422 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7423 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7424 macros.
7425 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7426
2389741a
JJ
74272013-02-19 Jakub Jelinek <jakub@redhat.com>
7428
7429 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7430 macro.
7431
2016b3cd
SP
74322013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7433
e4f22324
SP
7434 * math/atest-exp.c (exp_mpn): Remove ROUND.
7435 * math/atest-exp2.c (exp_mpn): Likewise.
7436 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7437
2016b3cd
SP
7438 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7439 * stdlib/tst-tls-atexit-lib.c: Likewise.
7440 * stdlib/tst-tls-atexit.c: Likewise.
7441
4be9b544
MF
74422013-02-18 Mike Frysinger <vapier@gentoo.org>
7443
7444 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7445 and __attribute_alloc_size__.
7446
2f62b9ee
MF
74472013-02-18 Mike Frysinger <vapier@gentoo.org>
7448
7449 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7450 __attribute_alloc_size__.
7451 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7452 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7453
6ff444c4
MF
74542013-02-18 Mike Frysinger <vapier@gentoo.org>
7455
7456 * include/programs/xmalloc.h: New file.
7457 * catgets/gencat.c: Include it.
7458 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7459 * elf/pldd.c: Likewise.
7460 * iconv/iconv_charmap.c: Likewise.
7461 * iconv/iconvconfig.c: Likewise.
7462 * iconv/strtab.c: Likewise.
7463 * locale/programs/locale.c: Likewise.
7464 * locale/programs/localedef.h: Likewise.
7465 * locale/programs/simple-hash.c: Likewise.
7466 * nscd/nscd.h: Likewise.
7467 * nss/makedb.c: Likewise.
7468 * sysdeps/generic/ldconfig.h: Likewise.
7469
be179c8a
SP
74702013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7471
ba384f6e
SP
7472 * Versions.def: Add GLIBC_2.18.
7473 * include/link.h (struct link_map): New member l_tls_dtor_count.
7474 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7475 (__call_tls_dtors): Likewise.
7476 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7477 __cxa_thread_atexit_impl.
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7479 Likewise.
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7481 Likewise.
7482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7483 Likewise.
7484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7485 Likewise.
7486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7488 Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7490 Likewise.
7491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7493 Likewise.
7494 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7495 (tests): Add test case tst-tls-atexit.
7496 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7497 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7498 (GLIBC_PRIVATE): Add __call_tls_dtors.
7499 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7500 for libstdc++.
7501 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7502 * stdlib/tst-tls-atexit.c: New test case.
7503 * stdlib/tst-tls-atexit-lib.c: New test case.
7504
ffaa74cf 7505 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7506
be179c8a
SP
7507 * elf/Versions (ld): Add _dl_find_dso_for_object.
7508 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7509 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7510 (dl_open_worker): Use _dl_find_dso_for_object.
7511 * elf/dl-sym.c (do_sym): Likewise.
7512 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7513
f78b5caa
AK
75142013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7515
7516 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7517 Syntactic changes only.
7518 (_dl_runtime_profile): Do a tail-call to the resolved function.
7519
29691210
JM
75202013-02-17 Joseph Myers <joseph@codesourcery.com>
7521
7522 [BZ #13550]
7523 * sysdeps/x86_64/bp-asm.h: Remove file.
7524 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7525 <bp-sym.h> and <bp-asm.h>.
7526 (__clone): Do not use BP_SYM.
7527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7528 <bp-sym.h> and <bp-asm.h>.
7529 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7530 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7531 "bp-asm.h".
7532 (_setjmp): Do not use BP_SYM.
7533 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7534 "bp-asm.h".
7535 (setjmp): Do not use BP_SYM.
7536 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7537 libc_hidden_def.
7538 (mempcpy): Do not use BP_SYM in weak_alias.
7539 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7540 "bp-asm.h".
7541 (strchr): Do not use BP_SYM.
7542 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7543 "bp-asm.h".
7544 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7545 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7546 (_start): Do not use BP_SYM.
7547 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7548 "bp-asm.h".
7549 (strcat): Do not use BP_SYM.
7550 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7551 "bp-asm.h".
7552 (STRCMP): Do not use BP_SYM.
7553 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7554 "bp-asm.h".
7555 (STRCPY): Do not use BP_SYM.
7556 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7557 "bp-asm.h".
7558 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7559 "bp-asm.h".
7560 (FUNCTION): Do not use BP_SYM.
7561 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7562 weak_alias.
7563 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7564
f238fd19
AJ
75652013-02-17 Andreas Jaeger <aj@suse.de>
7566
7567 * time/Versions: Sort entries.
7568 * string/Versions: Likewise.
7569 * resolv/Versions: Likewise.
7570 * posix/Versions: Likewise.
7571 * iconv/Versions: Likewise.
7572 * elf/Versions: Likewise.
7573 * wcsmbs/Versions: Likewise.
7574
bd07f23c 75752013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7576
22af19f9
SP
7577 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7578 loop termination condition.
7579
4709fe76
SP
7580 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7581 variable to calculate EZ.
7582 (__sqr): Likewise.
2d0e0f29
SP
7583
7584 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7585 the lower precision input.
7586
daaa7713
JM
75872013-02-15 Joseph Myers <joseph@codesourcery.com>
7588
7589 [BZ #13550]
7590 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7591 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7592 (run-via-rtld-prefix): Do not handle %-bp tests.
7593 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7594 (all-object-suffixes): Remove .ob.
7595 (bppfx): Remove variable.
7596 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7597 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7598 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7599 [$(build-bounded) = yes] (libtype.ob): Likewise.
7600 * Makerules (elide-routines.ob): Remove variable.
7601 (do-tests-clean): Do not handle *-bp.out.
7602 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7603 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7604 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7605 (tests): Do not include $(tests-bp.out).
7606 (xtests): Do not include $(xtests-bp.out).
7607 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7608 [$(build-bounded) = yes] ($(addprefix
7609 $(objpfx),$(binaries-bounded))): Remove rule.
7610 ($(objpfx)%-bp.out): Remove rule.
7611 * config.make.in (build-bounded): Remove variable.
7612 * crypt/Makefile [$(build-bounded) = yes]
7613 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7614 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7615 append to variable.
7616 [$(build-bounded) = yes] (install-lib): Likewise.
7617 [$(build-bounded) = yes] (generated): Likewise.
7618 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7619 Remove rule.
7620 * intl/Makefile [$(build-bounded) = yes]
7621 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7622 * math/Makefile [$(build-bounded) = yes]
7623 ($(tests:%=$(objpfx)%-bp): Likewise.
7624 * misc/Makefile [$(build-bounded) = yes]
7625 ($(objpfx)tst-tsearch-bp): Likewise.
7626 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7627 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7628 Remove dependency.
7629 * string/Makefile (o-objects.ob): Remove variable.
7630 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7631 (CFLAGS-.ob): Remove variable.
7632 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7633 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7634 both definitions of variable.
7635 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7636 (ASFLAGS-.ob): Remove variable.
7637
e97ed6dd
JM
76382013-02-14 Joseph Myers <joseph@codesourcery.com>
7639
2bdd4ca6
JM
7640 [BZ #13550]
7641 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7642 Remove __BOUNDED_POINTERS__ from condition.
7643 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7644 * string/bits/string2.h [!__NO_STRING_INLINES &&
7645 !__BOUNDED_POINTERS__]: Likewise.
7646 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7647 Likewise.
7648 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7649 Remove conditional code.
7650 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7651 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7652 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7653 condition.
7654
e97ed6dd
JM
7655 [BZ #13550]
7656 * csu/libc-start.c: Do not include <bp-sym.h>.
7657 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7658 * elf/dl-open.c: Do not include <bp-sym.h>.
7659 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7660 * math/fegetenv.c: Do not include <bp-sym.h>.
7661 (fegetenv): Do not use BP_SYM in versioned symbols.
7662 * nptl/sysdeps/pthread/bits/libc-lockP.h
7663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7664 <bp-sym.h>.
7665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7666 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7668 (__pthread_mutex_destroy): Likewise.
7669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7670 (__pthread_mutex_lock): Likewise.
7671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7672 (__pthread_mutex_trylock): Likewise.
7673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7674 (__pthread_mutex_unlock): Likewise.
7675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7676 (__pthread_mutexattr_init): Likewise.
7677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7678 (__pthread_mutexattr_destroy): Likewise.
7679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7680 (__pthread_mutexattr_settype): Likewise.
7681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7682 (__pthread_rwlock_init): Likewise.
7683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7684 (__pthread_rwlock_destroy): Likewise.
7685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7686 (__pthread_rwlock_rdlock): Likewise.
7687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7688 (__pthread_rwlock_tryrdlock): Likewise.
7689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7690 (__pthread_rwlock_wrlock): Likewise.
7691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7692 (__pthread_rwlock_trywrlock): Likewise.
7693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7694 (__pthread_rwlock_unlock): Likewise.
7695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7696 (__pthread_key_create): Likewise.
7697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7698 (__pthread_setspecific): Likewise.
7699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7700 (__pthread_getspecific): Likewise.
7701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7702 Likewise.
7703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7704 (_pthread_cleanup_push_defer): Likewise.
7705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7706 (_pthread_cleanup_pop_restore): Likewise.
7707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7708 (pthread_setcancelstate): Likewise.
7709 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7710 <bp-sym.h>.
7711 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7712 (memchr): Do not use BP_SYM in weak_alias.
7713 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7714 (fegetenv): Do not use BP_SYM in versioned symbols.
7715 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7716 (fesetenv): Do not use BP_SYM in versioned symbols.
7717 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7718 (feupdateenv): Do not use BP_SYM in versioned symbols.
7719 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7720 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7721 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7722 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7723 (open64): Do not use BP_SYM in weak_alias.
7724 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7725 (fegetenv): Do not use BP_SYM in versioned symbols.
7726 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7727 (fesetenv): Do not use BP_SYM in versioned symbols.
7728 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7729 (feupdateenv): Do not use BP_SYM in versioned symbols.
7730 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7731 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7732 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7733 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7734 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7735 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7736 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7737 <bp-sym.h>.
7738 (__libc_start_main): Do not use BP_SYM.
7739
d6752ccd
SP
77402013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7741
cb57ce60
SP
7742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7743 redundant return line.
7744 (norm): Likewise.
7745 (denorm): Likewise.
7746 (dbl_mp): Likewise.
7747 (sub_magnitudes): Likewise.
7748 (__add): Likewise.
7749 (__sub): Likewise.
7750 (__mul): Likewise.
7751 (__inv): Likewise.
7752 (__dvd): Likewise.
7753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7754 (norm): Likewise.
7755 (denorm): Likewise.
7756 (dbl_mp): Likewise.
7757 (sub_magnitudes): Likewise.
7758 (__add): Likewise.
7759 (__sub): Likewise.
7760 (__mul): Likewise.
7761 (__inv): Likewise.
7762 (__dvd): Likewise.
7763
f414520d
SP
7764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7765 instead of __mul.
7766 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7767 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7768 (cc32): Likewise.
7769
d6752ccd
SP
7770 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7771 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7773 of __mul for squares.
7774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7775 function
7776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7777 Likewise.
7778 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7779 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7780
70d9946a
JM
77812013-02-13 Joseph Myers <joseph@codesourcery.com>
7782
7783 [BZ #13550]
7784 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7785 code.
7786 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7787 prototype or function definition. Rename ubp_* variables and
7788 parameters. Remove argv definitions conditional on
7789 [__BOUNDED_POINTERS__].
7790 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7791 * elf/dl-runtime.c (_dl_fixup): Likewise.
7792 * include/set-hooks.h (RUN_HOOK): Likewise.
7793 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7794 definition.
7795 * string/strcpy.c (strcpy): Do not use __unbounded.
7796 * sysdeps/generic/frame.h (struct layout): Likewise.
7797 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7798 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7799 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7800 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7801 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7802 (__backtrace): Likewise.
7803 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7804 use __ptrvalue.
7805 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7806 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7807 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7808 Likewise.
7809 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7810 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7811 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7812 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7813 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7814 Do not use __unbounded.
7815 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7816 Rename __unboundedrlimits parameter to rlimits in prototype.
7817 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7818 Do not use __unbounded.
7819 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7820 not use __ptrvalue.
7821 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7822 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7823 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7824 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7825 __ptrvalue or __unbounded.
7826 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7827 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7828 use __unbounded.
7829 (__new_msgctl): Do not use __ptrvalue.
7830 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7831 __unbounded.
7832 (__libc_msgrcv): Do not use __ptrvalue.
7833 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7834 startup_info): Do not use __unbounded.
7835 (__libc_start_main): Likewise. Rename ubp_* variables and
7836 parameters. Remove argv definitions conditional on
7837 [__BOUNDED_POINTERS__].
7838 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7839 __ptrvalue.
7840 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7841 use __unbounded.
7842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7843 or __ptrvalue.
7844 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7845 use __unbounded.
7846 (__new_shmctl): Do not use __ptrvalue.
7847 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7848 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7849 Likewise.
7850 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7852 (__libc_sigaction): Likewise.
7853 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7854 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7855 Likewise.
7856 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7857
cc7834d6
OB
78582013-02-13 Ondřej Bílka <neleai@seznam.cz>
7859
ffb1ec7b 7860 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7861
7862 * string/mempcpy.c: Implement by calling memcpy.
7863
bdf02814
SP
78642013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7865
c2af38aa
SP
7866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7867
4e92d59e
SP
7868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7869 evaluation.
7870
909279a5
SP
7871 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7872 values in the mantissa.
7873
bdf02814
SP
7874 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7875 minimize writes to Z.
7876 (sub_magnitudes): Simplify code a bit.
7877
cd525923
RM
78782013-02-12 Roland McGrath <roland@hack.frob.com>
7879
7880 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7881 from the message. The linker prefixes all warnings with that already.
7882
7e2f0d2d
AS
78832013-02-12 Andreas Schwab <schwab@suse.de>
7884
a445af0b
AS
7885 [BZ #15078]
7886 * posix/regexec.c (extend_buffers): Add parameter min_len.
7887 (check_matching): Pass minimum needed length.
7888 (clean_state_log_if_needed): Likewise.
7889 (get_subexp): Likewise.
7890 * posix/Makefile (tests): Add bug-regex34.
7891 (bug-regex34-ENV): Define.
7892 * posix/bug-regex34.c: New file.
7893
7e2f0d2d
AS
7894 [BZ #11561]
7895 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7896 elements compare against the byte sequence of it, not its name.
7897 * posix/Makefile (tests): Add bug-regex35.
7898 (bug-regex35-ENV): Define.
7899 * posix/bug-regex35.c: New file.
7900
a175b684
TV
79012013-02-11 Tom de Vries <tom@codesourcery.com>
7902
7903 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7904 comment.
7905 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7906 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7907 (CHECK_EOL): Add undef.
7908
310998fe 79092013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7910
7911 * bits/stdlib-bsearch.h: New file.
7912 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7913 * stdlib/stdlib.h: Likewise.
41eda41d 7914
8ded91fb
RM
79152013-02-11 Roland McGrath <roland@hack.frob.com>
7916
7917 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7918 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7919 declaration.
7920 * manual/search.texi (Array Search Function): Add missing const in
7921 lfind prototype.
7922 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7923 declaration to use rlim_t.
7924 (Basic Scheduling Functions): Remove erroneous const from
7925 sched_getparam prototype. Remove erroneous * from
7926 sched_get_priority_max and sched_get_priority_min prototypes.
7927 (Resource Usage): Fix summary @comment on vtimes to refer to
7928 sys/vtimes.h rather than vtimes.h.
7929 Add missing *s in vtimes prototype.
7930 (Limits on Resources): Fix ulimit prototype to return long int.
7931 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7932 prototypes to use long int rather than double.
7933 (BSD Random): Fix initstate and setstate to use char *, not void *.
7934 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7935 prototype to make second argument 'struct aiocb64 *const[]'.
7936 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7937 (Status of AIO Operations): Remove erroneous const in aio_return and
7938 aio_return64 prototypes.
7939 (Synchronizing I/O): Fix sync prototype to return void.
7940 * manual/startup.texi (Suboptions): Remove an erroneous const in
7941 getsubopt prototype.
7942 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7943 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7944 use size_t rather than int.
7945 (Scanning All Users): Likewise for getpwent_r.
7946 (Setting Groups): Add missing const to setgroups prototype.
7947 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7948 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7949 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7950 'const void *' rather than 'const char *'.
7951 (Host Address Functions): Likewise for inet_ntop.
7952 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7953 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7954 ssize_t for return value.
7955 (Sending Data): Likewise for send, sendto, sendmsg.
7956 (Socket Option Functions): Add a missing const in setsockopt prototype.
7957 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7958 use wchar_t for the argument.
7959 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7960 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7961 take no arguments.
7962 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7963 double/float/long double for second argument.
7964 Fix return types of significand, significandf, significandl.
7965 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7966 argument in fchmod prototype.
7967 (File Owner): Use uid_t and gid_t in fchown prototype.
7968 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7969 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7970 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7971 use 'const struct dirent **' as argument types to CMP function pointer
7972 argument.
7973 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7974 (File Times): Fix summary magic @comment for struct utimbuf and utime
7975 to refer to utime.h, not time.h.
7976 * manual/string.texi (Argz Functions): Add missing const in
7977 argz_extract and argz_next prototypes.
7978 (Finding Tokens in a String): Likewise for basename.
7979 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7980 (Copying and Concatenation): Fix typo in wmemmove prototype.
7981 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7982 (Signal Stack): Remove erroneous const in sigstack prototype.
7983 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7984 prototype.
7985 (Simple Calendar Time): Likewise for stime.
7986 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7987 prototype.
7988 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7989 say sys/sysctl.h instead.
7990 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7991 and vsyslog prototypes.
7992
fe77fe6d
TV
79932013-02-11 Tom de Vries <tom@codesourcery.com>
7994
7995 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7996 Remove.
7997
3a09b620
RM
79982013-02-11 Roland McGrath <roland@hack.frob.com>
7999
8000 * misc/sys/mman.h: Fix typo in mremap comment.
8001
550a0b89
RM
80022013-02-08 Roland McGrath <roland@hack.frob.com>
8003
8004 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8005 the '\0' terminator.
8006
a2da1673
JM
80072013-02-08 Joseph Myers <joseph@codesourcery.com>
8008
8009 [BZ #13550]
8010 * debug/segfault.c: Don't include <bp-checks.h>.
8011 * sysdeps/generic/bp-checks.h: Remove file.
8012 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8013 (__GETDENTS): Don't use CHECK_N.
8014 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8015 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8016 (__getgroups): Don't use CHECK_N.
8017 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8018 (setgroups): Don't use CHECK_N.
8019 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8020 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8021 (__libc_msgrcv): Don't use CHECK_N.
8022 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8023 (__libc_msgsnd): Don't use CHECK_N.
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8025 <bp-checks.h>.
8026 (__libc_pread): Don't use CHECK_N.
8027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8028 include <bp-checks.h>.
8029 (__libc_pread64): Don't use CHECK_N.
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8031 include <bp-checks.h>.
8032 (__libc_pwrite): Don't use CHECK_N.
8033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8034 include <bp-checks.h>.
8035 (__libc_pwrite64): Don't use CHECK_N.
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8037 <bp-checks.h>.
8038 (__libc_pread): Don't use CHECK_N.
8039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8040 include <bp-checks.h>.
8041 (__libc_pread64): Don't use CHECK_N.
8042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8043 include <bp-checks.h>.
8044 (__libc_pwrite): Don't use CHECK_N.
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8046 include <bp-checks.h>.
8047 (__libc_pwrite64): Don't use CHECK_N.
8048 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8049 (do_pread): Don't use CHECK_N.
8050 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8051 (do_pread64): Don't use CHECK_N.
8052 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8053 (do_pwrite): Don't use CHECK_N.
8054 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8055 (do_pwrite64): Don't use CHECK_N.
8056 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8057 (__libc_readv): Don't use CHECK_N.
8058 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8059 (semop): Don't use CHECK_N.
8060 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8061 <bp-checks.h>.
8062 (semtimedop): Don't use CHECK_N.
8063 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8064 (__libc_pread): Don't use CHECK_N.
8065 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8066 <bp-checks.h>.
8067 (__libc_pread64): Don't use CHECK_N.
8068 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8069 <bp-checks.h>.
8070 (__libc_pwrite): Don't use CHECK_N.
8071 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8072 <bp-checks.h>.
8073 (__libc_pwrite64): Don't use CHECK_N.
8074 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8075 <bp-checks.h>.
8076 (__libc_msgrcv): Don't use CHECK_N.
8077 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8078 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8079 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8080 (__libc_writev): Don't use CHECK_N.
8081
b84660a8
RM
80822013-02-08 Roland McGrath <roland@hack.frob.com>
8083
7f3e75f8
RM
8084 * string/strcpy.c: Removed unused variable.
8085
b84660a8
RM
8086 * Makeconfig (+sysdep-includes): Define with := rather than =.
8087 Use an existing include/ subdir of each sysdeps dir before it.
8088
471514d3
CD
80892013-02-08 Carlos O'Donell <carlos@redhat.com>
8090
8091 * nscd/connection.c (register_traced_file): Comment function.
8092 [HAVE_INOTIFY] (union __inev): Define.
8093 [HAVE_INOTIFY] (inotify_check_files): New function.
8094 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8095 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8096 clear_db_cache.
8097 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8098
b2d3c3be
CD
80992013-02-08 Carlos O'Donell <carlos@redhat.com>
8100
8101 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8102 loaded if not already and that a failure is permanent.
8103
b39949d2
CD
81042013-02-08 Carlos O'Donell <carlos@redhat.com>
8105
ddacd1db 8106 [BZ #15006]
b39949d2
CD
8107 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8108 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8109
b2c9eff4
JM
81102013-02-08 Joseph Myers <joseph@codesourcery.com>
8111
f3aae3f3
JM
8112 [BZ #13550]
8113 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8114 (CHECK_1_NULL_OK): Likewise.
8115 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8116 (__fxstat): Do not use CHECK_1.
8117 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8118 <bp-checks.h>.
8119 (___fxstat64): Do not use CHECK_1.
8120 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8121 <bp-checks.h>.
8122 (__fxstatat): Do not use CHECK_1.
8123 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8124 <bp-checks.h>.
8125 (__fxstatat64): Do not use CHECK_1.
8126 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8127 <bp-checks.h>.
8128 (__fxstat): Do not use CHECK_1.
8129 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8130 <bp-checks.h>.
8131 (__fxstatat): Do not use CHECK_1.
8132 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8133 <bp-checks.h>.
8134 (__getresgid): Do not use CHECK_1.
8135 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8136 <bp-checks.h>.
8137 (__getresuid): Do not use CHECK_1.
8138 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8139 <bp-checks.h>.
8140 (__lxstat): Do not use CHECK_1.
8141 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8142 <bp-checks.h>.
8143 (__old_msgctl): Do not use CHECK_1.
8144 (__new_msgctl): Likewise.
8145 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8146 <bp-checks.h>.
8147 (__new_setrlimit): Do not use CHECK_1.
8148 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8149 <bp-checks.h>.
8150 (__old_shmctl): Do not use CHECK_1.
8151 (__new_shmctl): Likewise.
8152 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8153 <bp-checks.h>.
8154 (__xstat): Do not use CHECK_1.
8155 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8156 (__lxstat): Do not use CHECK_1.
8157 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8158 <bp-checks.h>.
8159 (___lxstat64): Do not use CHECK_1.
8160 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8161 (__old_msgctl): Do not use CHECK_1.
8162 (__new_msgctl): Likewise.
8163 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8164 <bp-checks.h>.
8165 (__gettimeofday): Do not use CHECK_1.
8166 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8167 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8168 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8169 <bp-checks.h>.
8170 (__gettimeofday): Do not use CHECK_1.
8171 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8172 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8173 (__new_shmctl): Do not use CHECK_1.
8174 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8175 <bp-checks.h>.
8176 (do_sigtimedwait): Do not use CHECK_1.
8177 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8178 <bp-checks.h>.
8179 (do_sigwaitinfo): Do not use CHECK_1.
8180 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8181 <bp-checks.h>.
8182 (msgctl): Do not use CHECK_1.
8183 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8184 <bp-checks.h>.
8185 (shmctl): Do not use CHECK_1.
8186 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8187 (ustat): Do not use CHECK_1.
8188 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8189 <bp-checks.h>.
8190 (__fxstat): Do not use CHECK_1.
8191 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8192 <bp-checks.h>.
8193 (__fxstatat): Do not use CHECK_1.
8194 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8195 <bp-checks.h>.
8196 (__lxstat): Do not use CHECK_1.
8197 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8198 <bp-checks.h>.
8199 (__xstat): Do not use CHECK_1.
8200 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8201 (__xstat): Do not use CHECK_1.
8202 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8203 (___xstat64): Do not use CHECK_1.
8204
b2c9eff4
JM
8205 [BZ #13550]
8206 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8207 definitions.
8208 (CHECK_BOUNDS_HIGH): Likewise.
8209 * string/strcpy.c: Do not include <bp-checks.h>.
8210 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8211
f1d70dad
RM
82122013-02-07 Roland McGrath <roland@hack.frob.com>
8213
8214 * nscd/nscd-client.h (__nscd_drop_map_ref):
8215 Add __attribute__ ((unused)).
8216 * nis/nss-nisplus.h (niserr2nss): Likewise.
8217
8218 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8219 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8220
8221 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8222 Remove inline keyword.
8223 * include/rounding-mode.h (round_away): Likewise.
8224 * libio/wfileops.c (adjust_wide_data): Likewise.
8225 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8226 (__m128i_strloadu_tolower): Likewise.
8227 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8228 (__m128i_strloadu_tolower): Likewise.
8229 * time/mktime.c (ydhms_diff): Likewise.
8230 * locale/elem-hash.h (elem_hash): Likewise.
8231 * locale/setlocale.c (setdata): Likewise.
8232 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8233 (re_string_wchar_at): Likewise.
8234 (bitset_not, bitset_merge, bitset_mask): Likewise.
8235 [!(__GNUC__ > 3)] (inline): Remove macro.
8236 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8237 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8238 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8239 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8240 * string/memcmp.c (memcmp_bytes): Likewise.
8241 * locale/programs/locarchive.c (compute_hashval): Likewise.
8242 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8243 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8244 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8245 * nss/getent.c (print_rpc, print_protocols): Likewise.
8246 (print_passwd, print_group, print_aliases): Likewise.
8247 * nis/nss-nisplus.h (niserr2nss): Likewise.
8248 * nscd/connections.c (restart_p): Likewise.
8249 Change return type to bool.
8250
eab55bfb
RM
82512013-02-05 Roland McGrath <roland@hack.frob.com>
8252
7bd642f5
RM
8253 * Makeconfig (all-Depend-files): Add existing
8254 $(sorted-subdirs:=/Depend) files.
8255 (all-subdirs): Remove nss.
8256 * sysdeps/unix/inet/Subdirs: Add it here instead.
8257 * hesiod/Depend: New file.
8258
573c29b2
RM
8259 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8260 instead of calling alloca.
8261
b2e25af0
RM
8262 * io/lseek.c (__lseek): Rename to __libc_lseek.
8263 Define __lseek as an alias.
8264
eab55bfb
RM
8265 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8266
9a0d1941
CD
82672013-02-04 Carlos O'Donell <carlos@redhat.com>
8268
8269 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8270 else clause and remove check for non-standard endianness.
8271
b83bbec4
DM
82722013-02-04 David S. Miller <davem@davemloft.net>
8273
8274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8275
6277fdab
JM
82762013-02-04 Joseph Myers <joseph@codesourcery.com>
8277
8278 [BZ #13550]
8279 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8280 (__ubp_memchr): Remove prototype.
8281 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8282 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8283 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8284 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8285 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8286 Remove alias.
8287 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8288 (__ubp_memchr): Likewise.
8289 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8290 (__ubp_memchr): Likewise.
8291 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8292 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8293 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8294 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8295 CHECK_STRING.
8296 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8297 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8298 (__getcwd): Do not use CHECK_STRING.
8299 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8300 <bp-checks.h>.
8301 (__real_chown): Do not use CHECK_STRING.
8302 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8303 <bp-checks.h>.
8304 (fchownat): Do not use CHECK_STRING.
8305 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8306 CHECK_STRING.
8307 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8308 <bp-checks.h>.
8309 (__lchown): Do not use CHECK_STRING.
8310 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8311 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8312 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8313 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8315 include <bp-checks.h>.
8316 (truncate64): Do not use CHECK_STRING.
8317 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8318 <bp-checks.h>.
8319 (__real_chown): Do not use CHECK_STRING.
8320 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8321 <bp-checks.h>.
8322 (__lchown): Do not use CHECK_STRING.
8323 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8324 <bp-checks.h>.
8325 (__chown): Do not use CHECK_STRING.
8326 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8327 <bp-checks.h>.
8328 (truncate64): Do not use CHECK_STRING.
8329 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8330 Likewise.
8331 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8332 (__xmknod): Do not use CHECK_STRING.
8333 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8334 <bp-checks.h>.
8335 (__xmknodat): Do not use CHECK_STRING.
8336 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8337 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8338
903ae060
AS
83392013-02-04 Andreas Schwab <schwab@suse.de>
8340
8341 [BZ #14142]
8342 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8343 * include/netdb.h: Likewise for h_errno.
8344 * elf/tst-stackguard1.c: Include <tls.h>.
8345
542f9466
JK
83462013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8347
8348 * elf/link.h (struct link_map): Extend the l_addr comment.
8349 * include/link.h (struct link_map): Likewise.
8350
e782a927
JM
83512013-02-01 Joseph Myers <joseph@codesourcery.com>
8352
8353 [BZ #13550]
8354 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8355 (BOUNDED_1): Remove macro.
8356 * debug/backtrace.c: Don't include <bp-checks.h>.
8357 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8358 (__backtrace): Likewise.
8359 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8360 <bp-checks.h>.
8361 (__backtrace): Don't use BOUNDED_1.
8362 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8363 <bp-checks.h>.
8364 (__backtrace): Don't use BOUNDED_1.
8365 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8366 (__backtrace): Don't use BOUNDED_1.
8367 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8368 (shmat): Don't use BOUNDED_N.
8369
8cf28c5e
JM
83702013-01-31 Joseph Myers <joseph@codesourcery.com>
8371
3a7ac8a0
JM
8372 [BZ #13550]
8373 * sysdeps/generic/bp-start.h: Remove file.
8374 * csu/libc-start.c: Don't include <bp-start.h>.
8375 (LIBC_START_MAIN): Set up __environ directly instead of using
8376 INIT_ARGV_and_ENVIRON.
8377 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8378 <bp-start.h>.
8379
f3499f95
JM
8380 [BZ #13550]
8381 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8382 definitions.
8383 (CHECK_FCNTL): Likewise.
8384 (CHECK_N_PAGES): Likewise.
8385
32a45bea
JM
8386 [BZ #13550]
8387 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8388 definitions.
8389 (CHECK_SIGSET_NULL_OK): Likewise.
8390 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8391 <bp-checks.h>.
8392 (sigpending): Don't use CHECK_SIGSET.
8393 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8394 <bp-checks.h>.
8395 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8396 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8397 <bp-checks.h>.
8398 (do_sigsuspend): Don't use CHECK_SIGSET.
8399 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8400 use CHECK_SIGSET.
8401 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8402 (do_sigwait): Don't use CHECK_SIGSET.
8403 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8404 use CHECK_SIGSET.
8405 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8406 include <bp-checks.h>.
8407 (sigpending): Don't use CHECK_SIGSET.
8408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8409 include <bp-checks.h>.
8410 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8411 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8412 <bp-checks.h>.
8413 (sigpending): Don't use CHECK_SIGSET.
8414 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8415 <bp-checks.h>.
8416 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8417
2e8a5c8c
JM
8418 [BZ #13550]
8419 * sysdeps/generic/bp-semctl.h: Remove file.
8420 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8421 <bp-checks.h> and <bp-semctl.h>.
8422 (__old_semctl): Don't use CHECK_SEMCTL.
8423 (__new_semctl): Likewise.
8424 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8425 and <bp-semctl.h>.
8426 (__old_semctl): Don't use CHECK_SEMCTL.
8427 (__new_semctl): Likewise.
8428 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8429 <bp-checks.h> and <bp-semctl.h>.
8430 (__old_semctl): Don't use CHECK_SEMCTL.
8431 (__new_semctl): Likewise.
8432 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8433 <bp-checks.h> and <bp-semctl.h>.
8434 (semctl): Don't use CHECK_SEMCTL.
8435
c2d54929
JM
8436 [BZ #13550]
8437 * Makerules (elide-bp-thunks): Remove variable.
8438 (elide-routines.oS): Don't use $(elide-bp-thunks).
8439 (elide-routines.os): Likewise.
8440 (elide-routines.o): Likewise.
8441 (elide-routines.op): Likewise.
8442 (elide-routines.og): Likewise.
8443 (objects): Don't use $(bp-thunks).
8444 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8445 include.
8446 (common-generated): Do not add s-proto-bp.d.
8447 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8448 (int): Likewise.
8449 (typ): Likewise.
8450 Do not generate makefile rules for bounded-pointer thunks.
8451 * sysdeps/generic/bp-thunks.h: Remove file.
8452 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8453 * sysdeps/unix/s-proto-bp.S: Likewise.
8454
8cf28c5e
JM
8455 [BZ #15062]
8456 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8457 parts of result separately when argument is not close to line from
8458 -i to i and one part of argument is small.
8459 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8460 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8461 * math/libm-test.inc (cacos_test): Add more tests.
8462 (casin_test): Likewise.
8463 (casinh_test): Likewise.
8464 * sysdeps/i386/fpu/libm-test-ulps: Update.
8465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8466
c4e33b8d
DM
84672013-01-31 David S. Miller <davem@davemloft.net>
8468
8469 * po/de.po: Update from translation team.
8470
3b60b421
MK
84712013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8472
8473 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8474
bb931195
TS
84752013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8476
b5a5da23
TS
8477 * configure.in (_AC_PROG_CC_C89): New definition.
8478 * configure: Regenerate.
8479
bb931195
TS
8480 * configure.in (AC_PROG_CPP): New definition.
8481 * configure: Regenerate.
8482
8c53a12c
JM
84832013-01-23 Joseph Myers <joseph@codesourcery.com>
8484
8485 * debug/tst-backtrace.h: New file.
8486 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8487 (ret): Remove variable.
8488 (x): Likewise.
8489 (FAIL): Remove macro.
8490 (NO_INLINE): Likewise.
8491 (fn1): Use match function instead of strstr.
8492 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8493 (ret): Remove variable.
8494 (x): Likewise.
8495 (FAIL): Remove macro.
8496 (NO_INLINE): Likewise.
8497 (fn): Use match function instead of strstr.
8498 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8499 (ret): Remove variable.
8500 (x): Likewise.
8501 (FAIL): Remove macro.
8502 (NO_INLINE): Likewise.
8503 (handle_signal): Use match function instead of strstr.
8504 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8505 (ret): Remove variable.
8506 (x): Likewise.
8507 (FAIL): Remove macro.
8508 (NO_INLINE): Likewise.
8509 (handle_signal): Use match function instead of strstr.
8510
4858fa2a
RM
85112013-01-23 Roland McGrath <roland@hack.frob.com>
8512
8513 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8514
bae8e7f5
DM
85152013-01-23 David S. Miller <davem@davemloft.net>
8516
8517 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8518 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8519 argument of CAS if possible.
8520 * sysdeps/sparc/sparc64/bits/atomic.h
8521 (__arch_compare_and_exchange_val_32_acq): Likewise.
8522 (__arch_compare_and_exchange_val_64_acq): Likewise.
8523
9cbbc4ae
PT
85242013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8525
8526 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8527 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8528 Include <limits.h>.
67b3f58c 8529 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8530
5655a0b5
AC
85312013-01-23 Adam Conrad <adconrad@0c3.net>
8532
8533 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8534 (LDFLAGS-tst-array5): Likewise.
8535
052aff95
JM
85362013-01-23 Joseph Myers <joseph@codesourcery.com>
8537
8538 [BZ #15036]
8539 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8540 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8541 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8542 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8543
7c1e01aa
DM
85442013-01-21 David S. Miller <davem@davemloft.net>
8545
8546 * sysdeps/sparc/backtrace.c: New file.
8547 * sysdeps/sparc/sparc32/backtrace.h: New file.
8548 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8549 * sysdeps/sparc/sparc64/backtrace.h: New file.
8550 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8551 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8552 -funwind-tables.
8553
ab087e0a
AS
85542013-01-21 Andreas Schwab <schwab@suse.de>
8555
8556 [BZ #15020]
8557 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8558 closed its stdout.
8559
ed689c2f
AS
85602013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8561
8562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8563 "mpa2.h".
8564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8565
31d470ac
JM
85662013-01-18 Joseph Myers <joseph@codesourcery.com>
8567 Mark Mitchell <mark@codesourcery.com>
8568 Tom de Vries <tom@codesourcery.com>
8569 Paul Pluzhnikov <ppluzhnikov@google.com>
8570
8571 * debug/tst-backtrace2.c: New file.
8572 * debug/tst-backtrace3.c: Likewise.
8573 * debug/tst-backtrace4.c: Likewise.
8574 * debug/tst-backtrace5.c: Likewise.
8575 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8576 (CFLAGS-tst-backtrace3.c): Likewise.
8577 (CFLAGS-tst-backtrace4.c): Likewise.
8578 (CFLAGS-tst-backtrace5.c): Likewise.
8579 (LDFLAGS-tst-backtrace2): Likewise.
8580 (LDFLAGS-tst-backtrace3): Likewise.
8581 (LDFLAGS-tst-backtrace4): Likewise.
8582 (LDFLAGS-tst-backtrace5): Likewise.
8583 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8584 tst-backtrace4 and tst-backtrace5.
8585
90567f30 85862013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8587 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8588
8589 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8590 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8591 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8592 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8594 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8595 "+r" and remove output regs list as redundant. Add explicit inline
8596 asm to specify register of return val to work around compiler codegen
8597 bug. Remove (int) cast on return value. Add return type parameter to
8598 use in macro so that this macro does not truncate return value for
8599 64-bit values.
8600 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8601 pass to INTERNAL_VSYSCALL_NCS.
8602 (INLINE_VSYSCALL): Add 'long int' as return type to
8603 INTERNAL_VSYSCALL_NCS macro invocation.
8604 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8605 INTERNAL_VSYSCALL_NCS macro invocation.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8607
d3b9ea61
SP
86082013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8609
0b57daeb
SP
8610 [BZ #14496]
8611 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8612 Fix application of SIMD FP exception mask.
8613
caa99d06
SP
8614 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8615 mp_no from a power of two.
8616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8617 __mpexp_twomm1. Use __pow_mp.
8618
d3b9ea61
SP
8619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8620 multiplication.
8621
1dbaee3c
DM
86222013-01-17 David S. Miller <davem@davemloft.net>
8623
8624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8625
728d7b43
JM
86262013-01-17 Joseph Myers <joseph@codesourcery.com>
8627
8628 [BZ #15023]
8629 * include/complex.h: Condition contents on [!_COMPLEX_H].
8630 (__kernel_casinhf): New prototype.
8631 (__kernel_casinh): Likewise.
8632 (__kernel_casinhl): Likewise.
8633 * math/Makefile (libm_calls): Add k_casinh.
8634 * math/k_casinh.c: New file.
8635 * math/k_casinhf.c: Likewise.
8636 * math/k_casinhl.c: Likewise.
8637 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8638 finite nonzero arguments.
8639 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8640 finite nonzero arguments.
8641 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8642 finite nonzero arguments.
8643 * math/s_casinh.c: Do not include <float.h>.
8644 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8645 * math/s_casinhf.c: Do not include <float.h>.
8646 (__casinhf): Move code for finite nonzero arguments to
8647 k_casinhf.c.
8648 * math/s_casinhl.c: Do not include <float.h>.
8649 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8650 redefine.
8651 (__casinhl): Move code for finite nonzero arguments to
8652 k_casinhl.c.
8653 * math/libm-test.inc (cacos_test): Add more tests.
8654 * sysdeps/i386/fpu/libm-test-ulps: Update.
8655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8656
2a26ef3a
PT
86572013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8658
8659 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8660 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8661 [!HAVE_MREMAP]: Remove [defined linux] case.
8662 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8663
a897655d
SP
86642013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8665
8666 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8667
881ebe89 86682013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8669
8670 * elf/elf.h (R_386_SIZE32): New relocation.
8671 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8672 R_386_SIZE32.
8673 (elf_machine_rela): Likewise.
8674 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8675 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8676
59981e9b
JM
86772013-01-17 Joseph Myers <joseph@codesourcery.com>
8678
8679 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8680 (FP_FAST_FMA): Do not define.
8681 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8682 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8683 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8684 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8685 !_SOFT_FLOAT]: Likewise.
8686 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8687 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8688 value.
8689 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8690 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8691 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8692 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8693 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8694 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8695 file.
8696
cfa8054f
AS
86972013-01-16 Andreas Schwab <schwab@suse.de>
8698
8699 [BZ #14327]
8700 * include/stdlib.h (__mktemp): Add declaration.
8701 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8702 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8703
dd930cc5
SP
87042013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8705
881ebe89
SP
8706 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8707 definitions.
8708 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8709 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8710 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8711 definitions here.
8712 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8713 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8714 definitions.
8715 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8716 and ONE.
8717 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8718 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8719 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8720 definitions.
8721 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8722 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8723 definitions.
8724 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8725
dd930cc5
SP
8726 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8727
c19a9f89
DM
87282013-01-15 David S. Miller <davem@davemloft.net>
8729
1aa61767
DM
8730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8731 trunc{,f} to libm-sysdep_routes.
8732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8734 file.
8735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8737 file.
8738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8739 file.
8740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8744 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8745 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8746 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8747 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8748
c42d5e98
DM
8749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8750 nearbyint{,f} to libm-sysdep_routes.
8751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8753 New file.
8754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8755 file.
8756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8757 New file.
8758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8759 file.
8760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8762 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8763 file.
8764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8765 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8766 file.
8767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8768 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8769 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8770
c19a9f89
DM
8771 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8772 libc_feholdexcept and libc_fesetenv.
8773
357679d2
MF
87742013-01-15 Mike Frysinger <vapier@gentoo.org>
8775
8776 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8777
65a82e3d
DM
87782013-01-14 David S. Miller <davem@davemloft.net>
8779
8b954ab9
DM
8780 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8781 (SPARC_ASM_VIS2_IFUNC): Likewise.
8782 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8784 use of 'siam' instruction.
8785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8786 Likewise.
8787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8788 Likewise.
8789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8790 Likewise.
8791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8796 file.
8797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8798 file.
8799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8800 file.
8801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8802 file.
8803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8808 new VIS2 routines.
8809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8812 Likewise.
8813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8818 routines to libm-sysdep_routines.
8819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8820
65a82e3d
DM
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8822 fdim/fdimf to libm-sysdep_routines.
8823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8824 file.
8825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8827 file.
8828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8831 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8832 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8833 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8834 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8835
e34ab705
SP
88362013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8837
2a91b573
SP
8838 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8839 to optimize copies.
8840
1066a534
SP
8841 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8844
e34ab705
SP
8845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8846 local variable MPTWO.
8847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8848 Likewise.
8849
aba5e596
MF
88502013-01-13 Mike Frysinger <vapier@gentoo.org>
8851
8852 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8853 GLOB_NOESCAPE.
8854
e557e9e5
MF
88552013-01-13 Mike Frysinger <vapier@gentoo.org>
8856
8857 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8858
0428cec9
MF
88592013-01-13 Mike Frysinger <vapier@gentoo.org>
8860
8861 * manual/pattern.texi (glob_t): Document gl_flags.
8862 (glob64_t): Likewise.
8863
8794a964
DM
88642013-01-11 David S. Miller <davem@davemloft.net>
8865
66438c3f
RM
8866 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8867 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8868 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8869 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8870 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8871 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8872 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8873 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8874 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8875 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8876 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8877 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8878 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8879
4ae4244d
DM
8880 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8881 sparc V9 rather than using V8 code.
8882 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8883 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8884
8794a964
DM
8885 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8886 Move to...
8887 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8888 Here.
8889
6270516e
RM
88902013-01-11 Roland McGrath <roland@hack.frob.com>
8891
8892 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8893 not in the main loop.
8894 * configure: Regenerated.
8895
6a57d931
JM
88962013-01-11 Joseph Myers <joseph@codesourcery.com>
8897
8898 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8899 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8900 to just #else.
8901 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8902 [!__GLIBC_HAVE_LONG_LONG] case.
8903 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8904 condition to just #else.
8905 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8906 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8907 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8908 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8909 unconditional.
8910 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8911 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8912 #elif condition to just #else.
8913 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8914 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8915 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8916 #elif condition to just #else.
8917
0e8529e9
SE
89182013-01-11 Steve Ellcey <sellcey@mips.com>
8919
8920 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8921 (EF_MIPS_ARCH_64): Fix value.
8922 (EF_MIPS_ARCH_32R2): New.
8923 (EF_MIPS_ARCH_64R2): New.
8924
740b3dbe
L
89252013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8926
8927 * Makeconfig (+link-pie-before-libc): New.
8928 (+link-pie-after-libc): Likewise.
8929 (+link-pie-tests): Likewise.
8930 (+link-pie): Rewritten.
8931 (link-before-libc): Remove $(config-LDFLAGS).
8932 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8933 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8934 (config-LDFLAGS): Renamed to ...
8935 (rtld-LDFLAGS): This.
8936 (rtld-tests-LDFLAGS): New macro.
8937 (link-libc-rpath-link): Likewise.
8938 (link-libc-tests-rpath-link): Likewise.
8939 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8940 (link-libc): Prepand $(link-libc-rpath-link).
8941 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8942 (test-program-prefix): New macro.
8943 (test-via-rtld-prefix): Likewise.
8944 (test-program-cmd): Likewise.
8945 (host-test-program-cmd): Likewise.
8946 * Makefile ($(common-objpfx)testrun.sh): Replace
8947 $(run-program-prefix) with $(test-program-prefix).
8948 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8949 $(rtld-LDFLAGS).
8950 ($(common-objpfx)shlib.lds): Likewise.
8951 (build-module-helper): Likewise.
8952 ($(common-objpfx)format.lds): Likewise.
8953 * Rules (binaries-pie-tests): New.
8954 (binaries-pie-notests): Likewise.
8955 (binaries-pie): Rewritten.
8956 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8957 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8958 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8959 (make-test-out): Replace $(host-built-program-cmd) with
8960 $(host-test-program-cmd).
8961 * config.make.in (build-hardcoded-path-in-tests): New variable.
8962 * configure.in (--enable-hardcoded-path-in-tests): New configure
8963 option.
8964 (hardcoded_path_in_tests): New AC_SUBST.
8965 * configure: Regenerated.
8966 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8967 $(built-program-cmd) with $(test-program-cmd).
8968 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8969 (test_program_cmd): This.
8970 * elf/Makefile ($(objpfx)order.out): Run test with
8971 $(test-program-prefix).
8972 ($(objpfx)order2.out): Likewise.
8973 ($(objpfx)tst-initorder.out): Likewise.
8974 ($(objpfx)tst-initorder2.out): Likewise.
8975 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8976 $(test-program-cmd).
8977 ($(objpfx)tst-array1-static.out): Likewise.
8978 ($(objpfx)tst-array2.out): Likewise.
8979 ($(objpfx)tst-array3.out): Likewise.
8980 ($(objpfx)tst-array4.out): Likewise.
8981 ($(objpfx)tst-array5.out): Likewise.
8982 ($(objpfx)tst-array5-static.out): Likewise.
8983 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8984 $(test-program-cmd).
8985 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8986 $(run-program-prefix) with $(test-program-prefix).
8987 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8988 (test_program_prefix): This.
8989 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8990 $(run-program-prefix) with $(test-program-prefix).
8991 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8992 (test_program_prefix): This.
8993 * iconvdata/tst-tables.sh: Likewise.
8994 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8995 $(run-program-prefix) with $(test-program-prefix).
8996 ($(objpfx)tst-translit.out): Likewise.
8997 ($(objpfx)tst-gettext2.out): Likewise.
8998 ($(objpfx)tst-gettext4.out): Likewise.
8999 ($(objpfx)tst-gettext6.out): Likewise.
9000 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9001 (test_program_prefix): This.
9002 * intl/tst-gettext2.sh: Likewise.
9003 * intl/tst-gettext4.sh Likewise.
9004 * intl/tst-gettext6.sh: Likewise.
9005 * intl/tst-translit.sh: Likewise.
9006 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9007 with $(test-program-cmd).
9008 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9009 $(run-program-prefix) with $(test-program-prefix).
9010 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9011 (test_program_prefix): This.
9012 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9013 $(run-program-prefix) with $(test-program-prefix).
9014 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9015 (test_program_prefix): This.
9016 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9017 * posix/Makefile ($(objpfx)globtest.out): Replace
9018 $(run-via-rtld-prefix) and $(test-wrapper) with
9019 $(test-program-prefix) and $(test-via-rtld-prefix).
9020 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9021 $(test-program-prefix).
9022 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9023 $(host-test-program-cmd).
9024 (tst-spawn-ARGS): Likewise.
9025 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9026 $(test-program-prefix).
9027 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9028 (test_via_rtld_prefix): This.
9029 (test_wrapper): Renamed to ...
9030 (test_program_prefix): This.
9031 (run_program_prefix): Replaced by test_program_prefix.
9032 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9033 (test_program_prefix): This.
9034 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9035 with $(host-test-program-cmd).
9036 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9037 $(run-program-prefix) with $(test-program-prefix).
9038 ($(objpfx)tst-printf.out): Likewise.
9039 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9040 $(test-program-cmd).
9041 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9042 (test_program_prefix): This.
9043 * stdio-common/tst-unbputc.sh: Likewise.
9044 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9045 $(run-program-prefix) with $(test-program-prefix).
9046 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9047 (test_program_prefix): This.
9048 * string/Makefile ($(objpfx)tst-svc.out): Replace
9049 $(built-program-cmd) with $(test-program-cmd).
9050
c6fe55cf
AJ
90512013-01-11 Andreas Jaeger <aj@suse.de>
9052
9053 [BZ #15003]
9054 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9055 value. Sync with Linux 3.7.
9056
9e6919c8
DM
90572013-01-10 David S. Miller <davem@davemloft.net>
9058
9059 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9060 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9061 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9062
1c9f1a02
RM
90632013-01-10 Roland McGrath <roland@hack.frob.com>
9064
9065 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9066 never set.
9067 * configure: Regenerated.
9068
b9de2dde
DM
90692013-01-10 David S. Miller <davem@davemloft.net>
9070
9071 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9072 sparc V9 rather than using V8 code.
9073 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9074 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9075
e7f68ef4
RM
90762013-01-10 Roland McGrath <roland@hack.frob.com>
9077
9078 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9079 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9080 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9081 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9082 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9083 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9084 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9085 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9086 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9087 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9088 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9089 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9090 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9091 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9092 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9093 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9094 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9095 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9096 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9097 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9098 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9099 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9100 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9101 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9102 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9103 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9104 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9105
5a47cc9c
DM
91062013-01-10 David S. Miller <davem@davemloft.net>
9107
9108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9109
4cf8f209
L
91102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9111
9112 * posix/Makefile (tests-static): New variable.
9113 (tests): Add $(tests-static).
9114 (tst-exec-static-ARGS): New variable.
9115 (tst-spawn-static-ARGS): Likewise.
9116 * posix/tst-exec-static.c: New file.
9117 * posix/tst-spawn-static.c: Likewise.
9118 * posix/tst-exec.c: Support run directly.
9119 * posix/tst-spawn.c: Likewise.
9120
fed0faa1
JM
91212013-01-10 Joseph Myers <joseph@codesourcery.com>
9122
828beb13
JM
9123 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9124 long.
9125 * math/bits/mathcalls.h (llrint): Likewise.
9126 (llround): Likewise.
9127 * stdlib/stdlib.h (struct drand48_data): Likewise.
9128 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9129 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9130 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9131 Likewise.
9132 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9133 Likewise.
9134 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9135 (elf_greg_t): Likewise.
9136 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9137 (__jmp_buf): Likewise.
9138 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9139 definitions.
9140 (llrint): Likewise, for all definitions.
9141 (llrintl): Likewise.
9142
fed0faa1
JM
9143 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9144 Remove [__GNUC__] condition.
9145 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9146 condition to just [__USE_ISOC99].
9147 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9148
1a20cb20
L
91492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9150
9151 [BZ #14200]
9152 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9153 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9154 defined.
9155 (_POSIX_V6_ILP32_OFF32): Likewise.
9156 (_XBS5_ILP32_OFF32): Likewise.
9157 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9158 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9159
751b85f7
SP
91602013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9161
7490eb81
SP
9162 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9163
751b85f7
SP
9164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9165 doubles __mpexp_twomm1. Adjust usage.
9166 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9167 Remove.
9168
988197f0
AS
91692013-01-10 Andreas Schwab <schwab@suse.de>
9170
9171 [BZ #14964]
9172 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9173 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9174
e83d7298
DM
91752013-01-09 David S. Miller <davem@davemloft.net>
9176
034ed64b 9177 [BZ #15003]
e83d7298
DM
9178 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9179 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9180 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9181 TCP_FASTOPEN): Define.
9182 (tcp_repair_opt): New structure.
9183 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9184 enum values.
9185 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9186 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9187 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9188 (tcp_cookie_transactions): New structure.
9189
d5e0b9bd
AB
91902013-01-09 Anton Blanchard <anton@samba.org>
9191
9192 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9193 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9195 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9196
0c07e3ea
JM
91972013-01-09 Joseph Myers <joseph@codesourcery.com>
9198
9199 * include/features.h (__USE_ANSI): Remove.
9200
232f7002
RM
92012013-01-09 Roland McGrath <roland@hack.frob.com>
9202
ad98e30c
RM
9203 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9204
232f7002
RM
9205 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9206
950c99ca
SP
92072013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9208
b5792741
SP
9209 * sysdeps/s390/fpu/libm-test-ulps: Update.
9210
47cf2278
SP
9211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9212
950c99ca
SP
9213 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9214 (__acr): Likewise.
9215 (__cpy): Likewise.
9216 (norm): Likewise.
9217 (denorm): Likewise.
9218 (__mp_dbl): Likewise.
9219 (__dbl_mp): Likewise.
9220 (add_magnitudes): Likewise.
9221 (sub_magnitudes): Likewise.
9222 (__add): Likewise.
9223 (__sub): Likewise.
9224 (__mul): Likewise.
9225 (__inv): Likewise.
9226 (__dvd): Likewise.
9227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9228 (__acr): Likewise.
9229 (__cpy): Likewise.
9230 (norm): Likewise.
9231 (denorm): Likewise.
9232 (__mp_dbl): Likewise.
9233 (__dbl_mp): Likewise.
9234 (add_magnitudes): Likewise.
9235 (sub_magnitudes): Likewise.
9236 (__add): Likewise.
9237 (__sub): Likewise.
9238 (__mul): Likewise.
9239 (__inv): Likewise.
9240 (__dvd): Likewise.
9241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9242 (__acr): Likewise.
9243 (__cpy): Likewise.
9244 (norm): Likewise.
9245 (denorm): Likewise.
9246 (__mp_dbl): Likewise.
9247 (__dbl_mp): Likewise.
9248 (add_magnitudes): Likewise.
9249 (sub_magnitudes): Likewise.
9250 (__add): Likewise.
9251 (__sub): Likewise.
9252 (__mul): Likewise.
9253 (__inv): Likewise.
9254 (__dvd): Likewise.
9255
eede9df9
JM
92562013-01-08 Joseph Myers <joseph@codesourcery.com>
9257
9258 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9259 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9260 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9261 2 && __USE_EXTERN_INLINES]: Likewise.
9262
c40ea3d9
AJ
92632013-01-08 Andreas Jaeger <aj@suse.de>
9264
9265 [BZ# 14985]
9266 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9267 Remove.
9268 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9269 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9270
2ccdea26
AB
92712013-01-07 Anton Blanchard <anton@samba.org>
9272
9273 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9274 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9275 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9276 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9277 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9278 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9279 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9280 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9282 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9284 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9285 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9288 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9289 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9291 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9293 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9294 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9296 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9297 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9298 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9299 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9300 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9301 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9302 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9303 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9306 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9307 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9308 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9309 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9310 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9311 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9312 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9313 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9314 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9315 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9316
a9708fed
JM
93172013-01-07 Joseph Myers <joseph@codesourcery.com>
9318
375607b9
JM
9319 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9320 (__MALLOC_PMT): Likewise.
9321 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9322 [__GNUC__], only on [_LIBC].
9323 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9324 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9325 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9326 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9327 forward declaration.
9328 (realloc_hook_ini): Likewise.
9329 (memalign_hook_ini): Likewise.
9330 (__libc_memalign): Do not use __MALLOC_PMT in variable
9331 declaration.
9332 (__libc_valloc): Likewise.
9333 (__libc_pvalloc): Likewise.
9334 (__libc_calloc): Likewise.
9335 (__posix_memalign): Likewise.
9336
a9708fed
JM
9337 [BZ #14996]
9338 * math/s_casinh.c: Include <float.h>.
9339 (__casinh): Do not do computation with squaring and square root
9340 for large arguments.
9341 * math/s_casinhf.c: Include <float.h>.
9342 (__casinhf): Do not do computation with squaring and square root
9343 for large arguments.
9344 * math/s_casinhl.c: Include <float.h>.
9345 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9346 (__casinhl): Do not do computation with squaring and square root
9347 for large arguments.
9348 * math/libm-test.inc (casin_test): Add more tests.
9349 (casinh_test): Likewise.
9350 * sysdeps/i386/fpu/libm-test-ulps: Update.
9351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9352
afec409a
L
93532013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9354
9355 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9356 (__x86_64_raw_data_cache_size): Likewise.
9357 (__x86_64_data_cache_size_half): Likewise.
9358 (__x86_64_raw_data_cache_size_half): Likewise.
9359 (__x86_64_shared_cache_size): Likewise.
9360 (__x86_64_raw_shared_cache_size): Likewise.
9361 (__x86_64_shared_cache_size_half): Likewise.
9362 (__x86_64_raw_shared_cache_size_half): Likewise.
9363 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9364 to ...
9365 (__x86_data_cache_size): This.
9366 (__x86_64_raw_data_cache_size): Renamed to ...
9367 (__x86_raw_data_cache_size): This.
9368 (__x86_64_data_cache_size_half): Renamed to ...
9369 (__x86_data_cache_size_half): This.
9370 (__x86_64_raw_data_cache_size_half): Renamed to ...
9371 (__x86_raw_data_cache_size_half): This.
9372 (__x86_64_shared_cache_size): Renamed to ...
9373 (__x86_shared_cache_size): This.
9374 (__x86_64_raw_shared_cache_size): Renamed to ...
9375 (__x86_raw_shared_cache_size): This.
9376 (__x86_64_shared_cache_size_half): Renamed to ...
9377 (__x86_shared_cache_size_half): This.
9378 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9379 (__x86_raw_shared_cache_size_half): This.
9380 * sysdeps/x86_64/memcpy.S: Updated.
9381 * sysdeps/x86_64/memset.S: Likewise.
9382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9384 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9385
0b3986d0
DM
93862013-01-04 David S. Miller <davem@davemloft.net>
9387
9388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9389
e47686e9
AS
93902013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9391
d643bac1
AS
9392 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9393 1 to avoid redefinition warning.
9394 (__USE_GNU): Don't define.
9395 (init_signaling_nan): Protoize.
9396
e47686e9
AS
9397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9398
b18decba
SP
93992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9400
fffb407f
SP
9401 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9403 (__cpymn): Likewise.
9404 (norm): Remove commented code.
9405 (denorm): Likewise.
9406 (__mp_dbl): Likewise.
9407 (__inv): Likewise.
9408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9409 (__cpymn): Likewise.
9410 (norm): Remove commented code.
9411 (denorm): Likewise.
9412 (__mp_dbl): Likewise.
9413 (__inv): Likewise.
9414
b18decba
SP
9415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9416 mp_no value for 1.0 and 2.0.
9417 (norm): Use RADIXI instead of radixi.d.
9418 (denorm): Likewise.
9419 (__mul): Use 0.0 instead of zero.d.
9420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9421 mp_no value for 1.0 and 2.0.
9422 (norm): Use RADIXI instead of radixi.d.
9423 (denorm): Likewise.
9424 (__mul): Use 0.0 instead of zero.d.
9425
cdc1c96f
JM
94262013-01-04 Joseph Myers <joseph@codesourcery.com>
9427
9428 [BZ #14994]
9429 * math/s_casinh.c (__casinh): Reduce finite argument to first
9430 quadrant then set signs of results at the end.
9431 * math/s_casinhf.c (__casinhf): Likewise.
9432 * math/s_casinhl.c (__casinhl): Likewise.
9433 * math/libm-test.inc (casin_test): Add more tests.
9434 (casinh_test): Likewise.
9435 * sysdeps/i386/fpu/libm-test-ulps: Update.
9436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9437
302913e1
SP
94382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9439
6420d207
SP
9440 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9441
a9e48ab4
SP
9442 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9443
b7837264
SP
9444 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9445 declarations.
9446 (denorm): Likewise.
9447 (__mp_dbl): Likewise.
9448 (__inv): Likewise.
9449
f8af25d2
SP
9450 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9451 and adjust the header comment.
9452
302913e1
SP
9453 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9454 variable name from declaration.
9455
5d7dd1ca
L
94562013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9459 Initialize COMMON_CPUID_INDEX_7 element.
9460 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9461 (CPUID_RTM): Likewise.
9462 (HAS_RTM): Likewise.
9463 (COMMON_CPUID_INDEX_7): New enum.
9464
2f5f40f4
AS
94652013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9466
9467 [BZ #14981]
9468 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9469 size is zero, record memory as freed.
9470
4056f4a0
AJ
94712013-01-03 Andreas Jaeger <aj@suse.de>
9472
9473 * po/ia.po: Add new Interlingua translation.
9474
ab15736f 94752012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9476
9477 * locale/programs/localedef.c: Fix description of '--posix' flag.
9478
568035b7
JM
94792013-01-02 Joseph Myers <joseph@codesourcery.com>
9480
e6898b8d
JM
9481 * NEWS: Update dates in second copyright notice.
9482 * README: Update copyright dates in example.
9483 * manual/libc.texinfo: Update copyright dates.
9484 * scripts/test-installation.pl: Update copyright date in --version
9485 output.
9486
0e2f9562
JM
9487 * hurd/ctty-input.c: Fix copyright notice formatting.
9488 * hurd/ctty-output.c: Likewise.
9489 * hurd/dtable.c: Likewise.
9490 * hurd/hurd-raise.c: Likewise.
9491 * hurd/hurdprio.c: Likewise.
9492 * hurd/msgportdemux.c: Likewise.
9493 * misc/sys/file.h: Likewise.
9494 * misc/sys/ioctl.h: Likewise.
9495 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9496 * sysdeps/mach/hurd/chdir.c: Likewise.
9497 * sysdeps/mach/hurd/fchdir.c: Likewise.
9498 * sysdeps/mach/hurd/rename.c: Likewise.
9499 * sysdeps/mach/hurd/rmdir.c: Likewise.
9500 * sysdeps/mach/hurd/seekdir.c: Likewise.
9501 * sysdeps/mach/hurd/setsid.c: Likewise.
9502 * sysdeps/posix/wait3.c: Likewise.
9503
568035b7
JM
9504 * All files with FSF copyright notices: Update copyright dates
9505 using scripts/update-copyrights.
9506 * intl/plural.c: Regenerated.
9507 * locale/programs/charmap-kw.h: Likewise.
9508 * locale/programs/locfile-kw.h: Likewise.
9509
da08f647
SP
95102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9511
0f5477af
SP
9512 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9513 four values.
9514
44e0d4c2
SP
9515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9516 calculation loop and add branch prediction.
9517
4d55b4e5
SP
9518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9519 check access beyond bounds of m1np.
9520
da08f647
SP
9521 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9522 MPTWO.
9523 (__inv): Remove local variable MPTWO to use the global
9524 constant.
9525 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9526 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9527 variable MPTWO.
9528 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9529 MP3HALFS static const.
9530
8e051029
DM
95312013-01-01 David S. Miller <davem@davemloft.net>
9532
9533 * po/ca.po: Update from translation team.
9534
f4cf5f2d
JM
95352013-01-01 Joseph Myers <joseph@codesourcery.com>
9536
9537 * scripts/update-copyrights: New file.
9538 * Makeconfig: Reformat copyright notice.
9539 * ctype/ctype.h: Likewise.
9540 * debug/swprintf_chk.c: Likewise.
9541 * elf/dl-cache.c: Likewise.
9542 * elf/dl-debug.c: Likewise.
9543 * elf/dl-object.c: Likewise.
9544 * grp/initgroups.c: Likewise.
9545 * hurd/Makefile: Likewise.
9546 * hurd/hurd/signal.h: Likewise.
9547 * hurd/hurdfault.c: Likewise.
9548 * hurd/hurdioctl.c: Likewise.
9549 * hurd/hurdlookup.c: Likewise.
9550 * hurd/intr-msg.c: Likewise.
9551 * iconv/gconv_open.c: Likewise.
9552 * libio/swprintf.c: Likewise.
9553 * locale/lc-ctype.c: Likewise.
9554 * locale/nl_langinfo.c: Likewise.
9555 * mach/Machrules: Likewise.
9556 * mach/Makefile: Likewise.
9557 * malloc/obstack.h: Likewise.
9558 * manual/Makefile: Likewise.
9559 * manual/tsort.awk: Likewise.
9560 * misc/bits/stab.def: Likewise.
9561 * nis/nis_print_group_entry.c: Likewise.
9562 * nis/nis_table.c: Likewise.
9563 * nis/nss_compat/compat-pwd.c: Likewise.
9564 * nis/nss_compat/compat-spwd.c: Likewise.
9565 * po/Makefile: Likewise.
9566 * posix/fnmatch.c: Likewise.
9567 * posix/regex.h: Likewise.
9568 * resolv/Makefile: Likewise.
9569 * resolv/nss_dns/dns-network.c: Likewise.
9570 * resolv/res_hconf.c: Likewise.
9571 * scripts/gen-sorted.awk: Likewise.
9572 * soft-fp/soft-fp.h: Likewise.
9573 * stdio-common/printf.h: Likewise.
9574 * stdlib/monetary.h: Likewise.
9575 * stdlib/random.c: Likewise.
9576 * stdlib/random_r.c: Likewise.
9577 * sysdeps/generic/Makefile: Likewise.
9578 * sysdeps/gnu/Makefile: Likewise.
9579 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9607 * sysdeps/mach/hurd/errnos.awk: Likewise.
9608 * sysdeps/mach/hurd/fork.c: Likewise.
9609 * sysdeps/mach/hurd/getcwd.c: Likewise.
9610 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9611 * sysdeps/mach/hurd/mmap.c: Likewise.
9612 * sysdeps/mach/hurd/utimes.c: Likewise.
9613 * sysdeps/mach/hurd/xmknod.c: Likewise.
9614 * sysdeps/posix/profil.c: Likewise.
9615 * sysdeps/posix/readdir_r.c: Likewise.
9616 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9617 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9618 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9619 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9621 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9622 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9623 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9625 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9626 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9627 * sysdeps/pthread/lio_listio.c: Likewise.
9628 * sysdeps/sparc/dl-procinfo.h: Likewise.
9629 * sysdeps/unix/i386/sysdep.S: Likewise.
9630 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9631 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9632 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9633 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9635 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9636 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9637 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9638 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9639 * sysdeps/wordsize-32/divdi3.c: Likewise.
9640 * time/sys/time.h: Likewise.
9641 * wcsmbs/Makefile: Likewise.
9642
0549fbba
DM
96432013-01-01 David S. Miller <davem@davemloft.net>
9644
a141f1a7
DM
9645 * po/fr.po: Update from translation team.
9646
0549fbba
DM
9647 * catgets/gencat.c: Update copyright year.
9648 * csu/version.c: Likewise.
9649 * debug/catchsegv.sh: Likewise.
9650 * debug/pcprofiledump.c: Likewise.
9651 * debug/xtrace.sh: Likewise.
9652 * elf/ldconfig.c: Likewise.
9653 * elf/ldd.bash.in: Likewise.
9654 * elf/pldd.c: Likewise.
9655 * elf/sotruss.ksh: Likewise.
9656 * elf/sprof.c: Likewise.
9657 * iconv/iconv_prog.c: Likewise.
9658 * iconv/iconvconfig.c: Likewise.
9659 * locale/programs/locale.c: Likewise.
9660 * locale/programs/localedef.c: Likewise.
9661 * login/programs/pt_chown.c: Likewise.
9662 * malloc/memusage.sh: Likewise.
9663 * malloc/memusagestat.c: Likewise.
9664 * malloc/mtrace.pl: Likewise.
9665 * nscd/nscd.c: Likewise.
9666 * nss/getent.c: Likewise.
9667 * nss/makedb.c: Likewise.
9668 * posix/getconf.c: Likewise.
9669
18ea052c
SP
96702012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9671
9672 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9673 numbers.
9674
9c89fca6
MF
96752012-12-30 Mike Frysinger <vapier@gentoo.org>
9676
9677 * math/bits/mathcalls.h (modf): Use __nonnull.
9678
085ec079
SP
96792012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9680
9681 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9682 (split): Use macro CN instead of the bare value.
9683 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9684 could be used.
9685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9686 instead of the bare value.
9687 (power1): Likewise.
9688
6d9f97e1
SP
96892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9690
d63f73be
SP
9691 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9692 __ATAN_TWOM.
9693 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9694
6d9f97e1
SP
9695 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9696 their values.
9697 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9698 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9699 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9700 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9701
4c4febf5
AJ
97022012-12-28 Andreas Jaeger <aj@suse.de>
9703
af5843ef
AJ
9704 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9705 values are from Linux 3.7.
9706
4c4febf5
AJ
9707 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9708 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9709
99136f82
SP
97102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9711
2f216c3c 9712 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9713 TRUE case.
9714
99136f82
SP
9715 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9716 (norm): Likewise.
9717 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9718 variables with preprocessor constants.
9719 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9720 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9721 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9722
7fffbdff
BH
97232012-12-27 Bruno Haible <bruno@clisp.org>
9724
9725 [BZ #14317]
9726 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9727 only if needed.
9728
b76eb5f0
SP
97292012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9730
31a7fe5c
SP
9731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9732 and use variable directly.
9733 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9734
b76eb5f0
SP
9735 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9736 MPONE.
9737 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9738 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9739 variable MPONE.
9740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9742 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9743 include directive. Remove local variable MPONE.
9744 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9745 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9746 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9747
2c8bfe7d
DM
97482012-12-25 David S. Miller <davem@davemloft.net>
9749
9750 * version.h (RELEASE): Set to "development".
9751 (VERSION): Set to "2.17.90".
9752 * NEWS: Add 2.18 section.
9753
147d03b0
DM
97542012-12-21 David S. Miller <davem@davemloft.net>
9755
9756 * po/hr.po: Update from translation team.
9757
a8ebb2b9
AK
97582012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9759
9760 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9761
95b4f1b6
SE
97622012-12-19 Steve Ellcey <sellcey@mips.com>
9763
b2d94007 9764 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9765
cedb2a90
MS
97662012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9767
9768 * manual/contrib.texi (Contributors): Spelling correction.
9769
bbf527d6
DM
97702012-12-15 David S. Miller <davem@davemloft.net>
9771
9772 * po/ru.po: Update from translation team.
9773
bc38c906
DM
97742012-12-13 David S. Miller <davem@davemloft.net>
9775
85429b1a
DM
9776 * NEWS: Mention IFUNC testsuite enhancements.
9777
d283e353
DM
9778 * po/pl.po: Update from translation team.
9779 * po/bg.po: Likewise.
9780
bc38c906
DM
9781 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9782 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9783
a181b0d7
DM
97842012-12-11 David S. Miller <davem@davemloft.net>
9785
4641d57e
DM
9786 * po/sv.po: Update from translation team.
9787
f7bc6495
DM
9788 * po/vi.po: Update from translation team.
9789
6fc9048f
DM
9790 * po/cs.po: Update from translation team.
9791
a181b0d7
DM
9792 * po/de.po: Update from translation team.
9793 * po/eo.po: Likewise.
9794 * po/nl.po: Likewise.
9795
f70bfe80
SP
97962012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9797
3c8b4190
SP
9798 [BZ #14246]
9799 * manual/argp.texi (Argp Helper Functions): Move node to follow
9800 Argp Parsing State.
9801
f70bfe80
SP
9802 [BZ #14872]
9803 * manual/conf.texi (Limits on File System Capacity): Mention if
9804 terminating null is included in the max size.
9805
188f0adf
AJ
98062012-12-10 Andreas Jaeger <aj@suse.de>
9807
9808 * po/cs.po: Update from translation team.
9809
56e7d3ad
SP
98102012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9811
9812 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9813 void pointer and cast to uintptr_t.
9814 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9815 path.
9816 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9817 * sysdeps/s390/s390-64/memset.S: Likewise.
9818
76f2d2ea 98192012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9820
9821 [BZ #14833]
9822 * menual/message.texi (Message Translation): Fix typos.
9823 (Helper programs for gettext): Likewise.
9824
67cbf9a2
AS
98252012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9826
9827 [BZ #14898]
9828 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9829 Change to -1.
9830
682d0e9a
DM
98312012-12-07 David S. Miller <davem@davemloft.net>
9832
9833 * po/libc.pot: Update.
9834
573cd484
RH
98352012-12-07 Richard Henderson <rth@redhat.com>
9836
7e9da188 9837 [BZ #10114]
573cd484
RH
9838 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9839 normal/normal case to before the switch.
9840 (_FP_DIV): Likewise.
9841
e933a943
MF
98422012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9843 Mike Frysinger <vapier@gentoo.org>
9844
9845 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9846 check for __NR_fadvise64_64.
9847
82123268
CM
98482012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9849
9850 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9851 0, not just to plain "0" as a statement.
9852 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9853 with cw.
9854
d9814526
JM
98552012-12-06 Joseph Myers <joseph@codesourcery.com>
9856
9857 * NEWS: Use sourceware.org in Bugzilla URL.
9858
7728c574
SP
98592012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9860
f16946dd
SP
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9862 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9863
5704bbcb
SP
9864 * stdio-common/tst-put-error.c (do_test): Add newline to the
9865 padded test to ensure flush.
9866
17aa0516
JL
98672012-12-05 Jeff Law <law@redhat.com>
9868
9869 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9870
363313b5
JM
98712012-12-05 Joseph Myers <joseph@codesourcery.com>
9872
effbd42a
JM
9873 * README: Don't refer to ports add-on as distributed separately.
9874 Mention AArch64 in list of systems supported in the ports add-on.
9875
87600365
JM
9876 * LICENSES: Add more non-FSF copyright and license notices.
9877
a0d7066a
JM
9878 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9879 ((unused)).
9880
66ca5a5b
JM
9881 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9882
363313b5
JM
9883 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9884 10000 as width of padded output.
9885
b37984ad
JM
98862012-12-04 Joseph Myers <joseph@codesourcery.com>
9887
9003570a
JM
9888 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9889
b37984ad
JM
9890 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9891 variable LX with __attribute__ ((unused)).
9892 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9893 Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9897 with __attribute__ ((unused)).
9898
c8df52ec
DM
98992012-12-04 David S. Miller <davem@abraco.davemloft.net>
9900
9901 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9902
b3b099af
JM
99032012-12-04 Joseph Myers <joseph@codesourcery.com>
9904
c33aa6e3
JM
9905 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9906 (CFLAGS-nldbl-acos.c): New variable.
9907 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9929 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9930 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9944 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9945 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9946 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9947 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9948 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9949 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9950 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9951 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9952 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9953 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9954 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9955 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9956 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9957 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9958 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9959 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9960 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9961 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9962 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9963 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9964 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9965 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9966 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9967 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9968 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9969 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9970 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9971 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9972 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9973 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9974 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9975 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9976 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9977 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9978 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9979 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9980 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9981 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9982 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9983 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9984 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9985 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9986 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9987 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9988 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9989 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9990 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9991 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9992 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9993 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9994 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9995 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9996 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9997 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9998 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9999 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10000 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10001 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10002 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10003 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10004
20f0018d
JM
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10006 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10007
b3b099af
JM
10008 [BZ #14914]
10009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10010 whole low double instead of just low 47 bits when splitting values
10011 into two parts.
10012
029264d1
AM
100132012-12-03 Allan McRae <allan@archlinux.org>
10014
10015 * manual/stdio.texi (Predefined Printf Handlers): Remove
10016 @hsep and @vsep usage.
10017
c9d6789e
MF
100182012-12-03 Mike Frysinger <vapier@gentoo.org>
10019
10020 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10021 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10022
4b7634a5
JL
100232012-12-03 Jeff Law <law@redhat.com>
10024
10025 * time/sys/time.h (settimeofday): Do not mark TV argument
10026 as __nonnull.
10027
eb6cbd24
MF
100282012-12-01 Mike Frysinger <vapier@gentoo.org>
10029
10030 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10031 when currently writing and seek to current position when not.
10032 * libio/Makefile (tests): Remove bug-fclose1.
10033 * libio/bug-fclose1.c: Delete.
10034
f638872a
JM
100352012-12-01 Joseph Myers <joseph@codesourcery.com>
10036
10037 * manual/arith.texi (feenableexcept): Fix typo.
10038 (fedisableexcept): Likewise.
10039
48085d14
RM
100402012-11-30 Roland McGrath <roland@hack.frob.com>
10041
10042 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10043 second, differently-typed declaration, rather than a cast.
10044
1a538b9f
SP
100452012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10046
10047 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10048 * include/rpc/svc.h: ... here.
10049
d07f2ff1 100502012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10051
10052 [BZ #13013]
10053 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10054 depending n and resplen2 to catch cases where answer
10055 equals answerp2.
10056
c93ec1f0
CD
100572012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10058
10059 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10060 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10061
37db69de
MF
100622012-11-29 Mike Frysinger <vapier@gentoo.org>
10063
10064 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10065
e10c4e4f
RM
100662012-11-29 Roland McGrath <roland@hack.frob.com>
10067
10068 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10069
2af1b328
JL
100702012-11-28 Jeff Law <law@redhat.com>
10071
10072 [BZ #13761]
10073 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10074 dataset_temporary. Track alloca usage into alloca_used.
10075 If dataset is large allocate and release it via malloc/free.
10076
111db5b1
FW
100772012-06-04 Florian Weimer <fweimer@redhat.com>
10078
f06cc227 10079 [BZ #14197]
111db5b1
FW
10080 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10081
dd694abd
DM
100822012-11-28 David S. Miller <davem@davemloft.net>
10083
10084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10085
9984dd01
JM
100862012-11-28 Joseph Myers <joseph@codesourcery.com>
10087
10088 [BZ #14803]
10089 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10090 of pi/2 rounded to nearest to 64 bits.
10091 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10092 nearest to 64 bits.
10093 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10094 bits.
10095
14bc93a9
JL
100962012-11-28 Jeff Law <law@redhat.com>
10097 Martin Osvald <mosvald@redhat.com>
10098
10099 [BZ #14889]
10100 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10101 * sunrpc/svc.c: Include time.h.
10102 (__svc_accept_failed): New function.
10103 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10104 any reason other than EINTR, call __svc_accept_failed.
10105 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10106 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10107
e3c6aa3a
AS
101082012-11-28 Andreas Schwab <schwab@suse.de>
10109
10110 * scripts/abilist.awk: Also handle indirect functions in .opd
10111 section.
10112
1bead169
JM
101132012-11-28 Joseph Myers <joseph@codesourcery.com>
10114
10115 [BZ #13881]
10116 * sysdeps/x86/fpu/powl_helper.c: New file.
10117 * sysdeps/x86/fpu/Makefile: Likewise.
10118 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10119 (p3): New object.
10120 (__ieee754_powl): Use __powl_helper for finite arguments except
10121 integer exponents below 8.
10122 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10123 (p3): New object.
10124 (__ieee754_powl): Use __powl_helper for finite arguments except
10125 integer exponents below 8.
10126 * math/libm-test.inc (pow_test): Add more tests and enable some
10127 previously disabled tests.
10128 * sysdeps/i386/fpu/libm-test-ulps: Update.
10129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10130
0817d63d
SP
101312012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10132 Carlos O'Donell <carlos_odonell@mentor.com>
10133
10134 * nss/makedb.c (is_prime): Assert that input is odd and greater
10135 than 4. Note that fact in a comment too.
10136 (next_prime): Add 4 to input.
10137
de2fd463
SP
101382012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10139
10140 [BZ #11741]
10141 * libio/Makefile (tests): Add test case tst-fwrite-error.
10142 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10143 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10144 * libio/tst-fwrite-error.c: New test case.
10145
c515fb51
L
101462012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10147
10148 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10149 before casting to void *.
10150 * include/libc-internal.h (__pointer_type): New macro.
10151 (__integer_if_pointer_type_sub): Likewise.
10152 (__integer_if_pointer_type): Likewise.
10153 (cast_to_integer): Likewise.
10154 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10155 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10156 before casting to atomic64_t.
10157 (atomic_exchange_acq): Likewise.
10158 (__arch_exchange_and_add_body): Likewise.
10159 (__arch_add_body): Likewise.
10160 (atomic_add_negative): Likewise.
10161 (atomic_add_zero): Likewise.
10162
4cf77aa9
JM
101632012-11-26 Joseph Myers <joseph@codesourcery.com>
10164
10165 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10166 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10167 (add_fdes): Likewise.
10168 (linear_search_fdes): Likewise.
10169 (binary_search_unencoded_fdes): Likewise.
10170
d260b3b4
AS
101712012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10172
10173 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10174
67060746
AC
101752012-11-24 Adam Conrad <adconrad@0c3.net>
10176
10177 * configure.in: Autodetect C++ header directories.
10178 * configure: Regenerated.
10179
800938a1
MF
101802012-11-23 Mike Frysinger <vapier@gentoo.org>
10181
10182 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10183
4e6e34e6
AS
101842012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10185
10186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10187
7c7feb47
JM
101882012-11-22 Joseph Myers <joseph@codesourcery.com>
10189
7184dcdf
JM
10190 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10191 LDBL_MANT_DIG == 106]: Disable some tests.
10192 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10193 Likewise.
10194 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10195 Likewise.
10196
0a42601f
JM
10197 [BZ #14871]
10198 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10199 input for small inputs. Return +/- pi/2 for large inputs.
10200 * math/libm-test.inc (atan_test): Add more tests.
10201
79c9b9fe
JM
10202 * sysdeps/generic/unwind-dw2-fde-glibc.c
10203 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10204 __attribute__ ((unused)).
10205
c60d3bf2
JM
10206 [BZ #14645]
10207 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10208 x * y if x and y are nonzero and z is zero.
10209
ef1e0867
JM
10210 [BZ #14811]
10211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10212 nonzero exponents with absolute value below 0x1p-117 to +/-
10213 0x1p-117.
10214
1468ded3
JM
10215 [BZ #14869]
10216 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10217 up arguments below 2**-450, not just those below 2**-500.
10218 * math/libm-test.inc (hypot_test): Add another test.
10219
8e27e3cc
JM
10220 [BZ #14868]
10221 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10222 Return a+b for ratio over 2**120, not 2**60.
10223 * math/libm-test.inc (hypot_test): Add another test.
10224
c9c0279b
JM
10225 * math/libm-test.inc (clog_test): Use
10226 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10227 (clog10_test): Likewise.
10228
7c7feb47
JM
10229 [BZ #6778]
10230 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10231
fff1530e
AS
102322012-11-22 Andreas Schwab <schwab@suse.de>
10233
10234 * sysdeps/i386/fpu/libm-test-ulps: Update.
10235
94558d30
PT
102362012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10237
10238 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10239 printf output with newline.
10240
7e1be741
L
102412012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10242
6bfea974
L
10243 [BZ #14865]
10244 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10245 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10246 -z nodlopen, -z initfirst and -z execstack support.
10247 * configure: Regenerated.
10248
7e1be741
L
10249 * elf/elf.h (DF_1_NODIRECT): New macro.
10250 (DF_1_IGNMULDEF): Likewise.
10251 (DF_1_NOKSYMS): Likewise.
10252 (DF_1_NOHDR): Likewise.
10253 (DF_1_EDITED): Likewise.
10254 (DF_1_NORELOC): Likewise.
10255 (DF_1_SYMINTPOSE): Likewise.
10256 (DF_1_GLOBAUDIT): Likewise.
10257 (DF_1_SINGLETON): Likewise.
10258 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10259 DT_1_SUPPORTED_MASK bits.
10260 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10261
105ce2ce
CD
102622012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10263
10264 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10265
123be9de
TS
102662012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10267
d072f3f7
TS
10268 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10269 macro.
10270
123be9de
TS
10271 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10272 (sendmmsg): Move declarations...
10273 * socket/sys/socket.h: ... here.
10274 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10275 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10276 include it from...
10277 * socket/recvmmsg.c: ... this new file.
10278 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10279 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10280 definition of __sendmmsg hidden.
10281 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10282 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10283 Move ENOSYS stub into and include it from...
10284 * socket/sendmmsg.c: ... this new file.
10285 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10286 (sysdep_routines): Move recvmmsg and sendmmsg...
10287 * socket/Makefile (routines): ... here.
10288 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10289 (GLIBC_PRIVATE): Add __sendmmsg.
10290 * include/sys/socket.h (__sendmmsg): Add declarations.
10291 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10292 sendmmsg.
10293
cf9a5d18
JM
102942012-11-20 Joseph Myers <joseph@codesourcery.com>
10295
10296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10297 variable I1 with __attribute__ ((unused)).
10298 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10299
ecd4caf9
JM
103002012-11-19 Joseph Myers <joseph@codesourcery.com>
10301
be14d48f
JM
10302 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10303 DUMMY variables with __attribute__ ((unused)).
10304
ecd4caf9
JM
10305 * bits/byteswap.h: Include <bits/types.h>.
10306 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10307
986cab95
PT
103082012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10309
10310 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10311 string_t. Do not manually set errno.
10312 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10313 length with __strnlen. Make sure to both set errno and return it on
10314 failure.
10315
6d33cc9d
DM
103162012-11-19 David S. Miller <davem@davemloft.net>
10317
10318 With help from Joseph Myers.
10319 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10320 very large arguments properly.
10321 * math/libm-test.inc (atan_test): New tests.
10322 (atan2_test): New tests.
10323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10325
ee663277
JM
103262012-11-19 Joseph Myers <joseph@codesourcery.com>
10327
877f2d8e
JM
10328 [BZ #14856]
10329 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10330 Define to 3.
10331
116fc08a
JM
10332 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10333 [POSIX] (EADDRNOTAVAIL): Likewise.
10334 [POSIX] (EAFNOSUPPORT): Likewise.
10335 [POSIX] (EALREADY): Likewise.
10336 [POSIX] (ECONNABORTED): Likewise.
10337 [POSIX] (ECONNREFUSED): Likewise.
10338 [POSIX] (ECONNRESET): Likewise.
10339 [POSIX] (EDESTADDRREQ): Likewise.
10340 [POSIX] (EDQUOT): Likewise.
10341 [POSIX] (EHOSTUNREACH): Likewise.
10342 [POSIX] (EIDRM): Likewise.
10343 [POSIX] (EISCONN): Likewise.
10344 [POSIX] (ELOOP): Likewise.
10345 [POSIX] (EMULTIHOP): Likewise.
10346 [POSIX] (ENETDOWN): Likewise.
10347 [POSIX] (ENETUNREACH): Likewise.
10348 [POSIX] (ENOBUFS): Likewise.
10349 [POSIX] (ENODATA): Likewise.
10350 [POSIX] (ENOLINK): Likewise.
10351 [POSIX] (ENOMSG): Likewise.
10352 [POSIX] (ENOPROTOOPT): Likewise.
10353 [POSIX] (ENOSR): Likewise.
10354 [POSIX] (ENOSTR): Likewise.
10355 [POSIX] (ENOTCONN): Likewise.
10356 [POSIX] (ENOTSOCK): Likewise.
10357 [POSIX] (EOPNOTSUPP): Likewise.
10358 [POSIX] (EOVERFLOW): Likewise.
10359 [POSIX] (EPROTO): Likewise.
10360 [POSIX] (EPROTONOSUPPORT): Likewise.
10361 [POSIX] (EPROTOTYPE): Likewise.
10362 [POSIX] (ESTALE): Likewise.
10363 [POSIX] (ETIME): Likewise.
10364 [POSIX] (ETXTBSY): Likewise.
10365 [POSIX] (EWOULDBLOCK): Likewise.
10366 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10367 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10368 [POSIX] (SEEK_CUR): Likewise.
10369 [POSIX] (SEEK_END): Likewise.
10370 [POSIX || UNIX98] (mode_t): Do not require.
10371 [POSIX] (off_t): Likewise.
10372 [POSIX] (pid_t): Likewise.
10373 [POSIX] (sys/stat.h): Do not allow header.
10374 [POSIX] (unistd.h): Likewise.
10375 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10376 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10378 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10379 require.
10380 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10381 sigevent): Specify elements.
10382 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10383 entry.
10384 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10385 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10386
a483863f
JM
10387 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10388 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10389 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10390 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10391 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10392 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10393 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10394 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10396 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10397 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10398 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10399 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10400 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10401 Likewise.
10402 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10403 Likewise.
10404 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10405 Likewise.
10406 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10407 Likewise.
10408 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10409 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10410 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10411 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10412 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10413 Specify lower bound on value.
10414 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10415 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10416 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10419 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10420 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10421 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10422 value.
10423 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10424 as optional.
10425 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10434 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10441 entry.
10442 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10443 optional.
10444 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10446 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10447 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10448 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10450 Likewise.
10451 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10452 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10455 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10456 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10457 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10458 as optional.
10459 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10461 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10462 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10463 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10464 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10465 specify as optional.
10466 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10467 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10469 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10470 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10471 [XPG3] (NL_LANGMAX): Likewise.
10472 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10473 [POSIX || XPG3] (NL_NMAX): Likewise.
10474 [POSIX || XPG3] (NL_SETMAX): Likewise.
10475 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10476 [XPG3] (NZERO): Likewise.
10477 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10478 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10479 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10480 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10481 (REG_ERANGE): Expect.
10482 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10483 optional-constant.
10484 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10485 Use (void) in prototype.
10486 [POSIX] (*_t): Allow.
10487 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10488 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10489 (WRDE_BADVAL): Expect.
10490
5ba924e3
JM
10491 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10492 expect.
10493 [XPG3 || XPG4] (O_RSYNC): Likewise.
10494 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10495 Likewise.
10496 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10497 [XPG3 || XPG4] (sigqueue): Likewise.
10498 [XPG3 || XPG4] (sigtimedwait): Likewise.
10499 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10500 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10501 [XPG3 || XPG4] (vsnprintf): Likewise.
10502 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10503 Likewise.
10504 [XPG3 || XPG4] (blksize_t): Likewise.
10505 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10506 Likewise.
10507 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10508 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10509 [XPG3 || XPG4] (struct itimerspec): Likewise.
10510 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10511 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10512 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10513 [XPG3 || XPG4] (clockid_t): Likewise.
10514 [XPG3 || XPG4] (timer_t): Likewise.
10515 [XPG3 || XPG4] (clock_getres): Likewise.
10516 [XPG3 || XPG4] (clock_gettime): Likewise.
10517 [XPG3 || XPG4] (clock_settime): Likewise.
10518 [XPG3 || XPG4] (nanosleep): Likewise.
10519 [XPG3 || XPG4] (timer_create): Likewise.
10520 [XPG3 || XPG4] (timer_delete): Likewise.
10521 [XPG3 || XPG4] (timer_gettime): Likewise.
10522 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10523 [XPG3 || XPG4] (timer_settime): Likewise.
10524 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10525 [XPG3 || XPG4] (getlogin_r): Likewise.
10526 [XPG3 || XPG4] (pread): Likewise.
10527 [XPG3 || XPG4] (pthread_atfork): Likewise.
10528 [XPG3 || XPG4] (pwrite): Likewise.
10529
ee663277
JM
10530 [BZ #14835]
10531 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10532 <bits/siginfo.h>.
10533
942caa16
PT
105342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10535
e19af380
PT
10536 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10537 finalizing MALLSTREAM.
10538
942caa16
PT
10539 * sysdeps/mach/hurd/syncfs.c: New file.
10540
cfde9b46
SP
105412012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10542
10543 [BZ #14719]
10544 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10545 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10546 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10547 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10548 (_nss_dns_gethostbyname4_r): Likewise.
10549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10550 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10551
f6da27e5
PH
105522012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10553
10554 [BZ #13763]
10555 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10556
6665d4a2
SM
105572012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10558
1f51ee92
SM
10559 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10560 * elf/cache.c (print_entry): Print ",AArch64" for
10561 FLAG_AARCH64_LIB64
10562
6665d4a2
SM
10563 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10564 * elf/cache.c (print_entry): Print ",hard-float" for
10565 FLAG_ARM_LIBHF.
10566
05b227bd
DM
105672012-11-18 David S. Miller <davem@davemloft.net>
10568
10569 With help from Joseph Myers.
10570 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10571 cutoff to 2**-13.
10572 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10573 cutoff to 2**-25.
10574 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10575 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10576 small.
10577 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10578 * math/libm-test.inc (y0_test): New tests.
10579 (y1_test): New tests.
10580 * sysdeps/i386/fpu/libm-test-ulps: Update.
10581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10583
786b0b67
AS
105842012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10585
10586 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10587 64-bit targets.
10588 * configure: Regenerated.
10589
8e18b86d
DM
105902012-11-17 David S. Miller <davem@davemloft.net>
10591
10592 [BZ #14811]
10593 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10594 nonzero exponents with absolute value below 0x1p-128 to +/-
10595 0x1p-128.
10596
531f1ae0
JM
105972012-11-17 Joseph Myers <joseph@codesourcery.com>
10598
12df29e2
JM
10599 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10600
150dc1a0
JM
10601 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10602
531f1ae0
JM
10603 * posix/getconf-speclist.c: New file.
10604 * posix/posix-envs.def: Likewise.
10605 * posix/confstr.c (START_ENV_GROUP): New macro.
10606 (END_ENV_GROUP): Likewise.
10607 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10608 (KNOWN_PRESENT_ENV_STRING): Likewise.
10609 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10610 (UNKNOWN_ENVIRONMENT): Likewise.
10611 (confstr): Include posix-envs.def instead of handling
10612 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10613 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10614 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10615 (END_ENV_GROUP): Likewise.
10616 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10617 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10618 (UNKNOWN_ENVIRONMENT): Likewise.
10619 (__sysconf): Include posix-envs.def instead of handling associated
10620 cases directly here.
10621 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10622 preprocessing getconf-speclist.c rather than running getconf or
10623 generating empty file.
10624
a93f9cbc
PT
106252012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10626
10627 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10628
d64d9f87
AL
106292012-11-16 Andrej Lajovic <natrij@gmail.com>
10630
10631 [BZ #14672]
10632 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10633
447885eb
DM
106342012-11-16 David S. Miller <davem@davemloft.net>
10635
10636 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10637 smaller than LDBL_EPSILON/2.0L, just return xm1.
10638
bcbf9830
L
106392012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10640
10641 * elf/tst-array1.c (init): Set constructor priority to 1000.
10642 (fini): Set destructor priority to 1000.
10643 * elf/tst-array2dep.c: Likewise.
10644
2b766585
SP
106452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10646
10647 [BZ #11741]
10648 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10649 (_IO_new_file_xsputn): Also return EOF if none of the input
10650 data was written when overflow failed.
10651 * libio/iopadn.c (_IO_padn): Likewise.
10652 * libio/iowpadn.c (_IO_wpadn): Likewise.
10653 * stdio-common/tst-put-error.c: Add copyright notice.
10654 (do_test): Add case for printing padded string.
10655 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10656 _IO_padn returned error.
10657 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10658 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10659 return EOF.
10660
b1848fde
SP
106612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10662
10663 * libio/libioP.h: Add comment note that the references to C++
10664 bits are now obsolete.
10665
2fd89785
MS
106662012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10667
10668 * math/libm-test.inc (check_complex): Use asprintf.
10669
e3ea5409
JM
106702012-11-14 Joseph Myers <joseph@codesourcery.com>
10671
10672 * debug/pcprofiledump.c (print_version): Update copyright year.
10673 * malloc/memusagestat.c (print_version): Likewise.
10674
2e64d265
L
106752012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10676
10677 [BZ #14831]
10678 * elf/Makefile (tests): Add tst-audit8.
10679 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10680 ($(objpfx)tst-audit8.out): New target.
10681 (tst-audit8-ENV): New variable.
10682 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10683 audit if l_reloc_result is NULL.
10684 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10685 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10686 * elf/tst-audit8.c: New file.
10687
c485e4d2
MS
106882012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10689
10690 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10691 * misc/Makefile (CFLAGS-select.c): Define.
10692 * posix/Makefile (CFLAGS-pause.c): Define.
10693
3a0d900a
DM
106942012-11-13 David S. Miller <davem@davemloft.net>
10695
10696 * crypt/Makefile: Move test targets after toplevel Rules
10697 inclusion. Grab any necessary sysdep routines when linking.
10698 * crypt/md5.c (md5_process_block): Remove define, we will always
10699 name it __md5_process_block.
10700 (md5_finish_ctx): Update md5_process_block call.
10701 (md5_stream): Likewise.
10702 (md5_process_bytes): Likewise.
10703 (md5_process_block): Rename to __md5_process_block and move to ...
10704 * crypt/md5-block.c: ... here.
10705 * crypt/sha256.c (sha256_process_block): Move to ...
10706 * crypt/sha256-block.c: ... here.
10707 * crypt/sha512.c (sha512_process_block): Move to ...
10708 * crypt/sha512-block.c: ... here.
10709 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10710 path.
10711 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10712 * sysdeps/sparc/sparc64/multiarch/Makefile
10713 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10714 crypt subdir.
10715 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10717 multiarch changes.
10718 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10719 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10720 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10721 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10722 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10723 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10724 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10725 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10726 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10727 file.
10728 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10729 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10730 file.
10731 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10732
8ca89318
JM
107332012-11-13 Joseph Myers <joseph@codesourcery.com>
10734
e27d476a
JM
10735 * timezone/tzselect.ksh: Update from tzcode git revision
10736 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10737 * timezone/zdump.c: Likewise.
10738 * timezone/zic.c: Likewise.
10739 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10740 in TZVERSION setting, not $(PKGVERSION).
10741 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10742 REPORT_BUGS_TO settings.
10743
8ca89318
JM
10744 [BZ #14838]
10745 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10746 macro.
10747
47594329
MS
107482012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10749
10750 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10751 detection to immediately after _FP_ROUND().
10752 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10753 bits are 0.
10754
640ac3f1
DM
107552012-11-11 David S. Miller <davem@davemloft.net>
10756
10757 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10758 inttypes.h
10759 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10760 __close rather than their public counterparts.
10761
3d2577bb
JM
107622012-11-10 Joseph Myers <joseph@codesourcery.com>
10763
10764 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10765 file.
10766 [UNIX98] (sem_timedwait): Do not expect.
10767 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10768 [XPG4 || UNIX98] (sockatmark): Do not expect.
10769 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10770 (clock_getcpuclockid): Do not expect.
10771 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10772 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10773 Do not expect.
10774 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10775 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10776 [UNIX98] (vwscanf): Likewise.
10777 [UNIX98] (vswscanf): Likewise.
10778
fb1ae1ee
JM
107792012-11-09 Joseph Myers <joseph@codesourcery.com>
10780
9ec6f8bd
JM
10781 * timezone/version.h: Remove file.
10782 * timezone/README: Do not refer to version.h.
10783 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10784 $(objpfx)version.h.
10785 ($(objpfx)zdump.o): Likewise.
c3f81911 10786 ($(objpfx)version.h): New target.
9ec6f8bd 10787
0aa8f8a1
JM
10788 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10789 2012i.
10790 * timezone/README: Don't mention modification to tzselect.ksh.
10791 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10792 work on unmodified tzselect.ksh. Substitute version numbers in
10793 tzselect.ksh.
10794
4e87147f
JM
10795 * Makefile (format-me): Remove.
10796 (INSTALL): Adjust indentation. Use commands directly instead of
10797 using $(format-me).
10798
8b748aed
JM
10799 * aclocal.m4 (ACX_PKGVERSION): New macro.
10800 (ACX_BUGURL): Likewise.
10801 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10802 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10803 (REPORT_BUGS_TO): Likewise.
10804 * configure: Regenerated.
10805 * config.h.in (PKGVERSION): New macro.
10806 (REPORT_BUGS_TO): Likewise.
10807 * config.make.in (PKGVERSION): New variable.
10808 (PKGVERSION_TEXI): Likewise.
10809 (REPORT_BUGS_TO): Likewise.
10810 (REPORT_BUGS_TEXI): Likewise.
10811 * Makefile (format-me): Use -I$(common-objpfx)manual.
10812 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10813 ($(common-objpfx)manual/%): New target.
10814 (manual/%): Remove target.
10815 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10816 (print_version): Use PKGVERSION.
10817 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10818 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10819 and REPORT_BUGS_TO.
10820 ($(objpfx)xtrace): Likewise.
10821 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10822 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10823 (print_version): Use PKGVERSION.
10824 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10825 (do_version): Use PKGVERSION.
10826 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10827 REPORT_BUGS_TO.
10828 (common-ldd-rewrite): Likewise.
10829 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10830 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10831 (print_version): Use PKGVERSION.
10832 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10833 * elf/pldd.c (argp_program_bug_address): Remove variable.
10834 (more_help): New function.
10835 (argp): Use more_help.
10836 (print_version): Use PKGVERSION.
10837 * elf/sln.c (main): Use PKGVERSION.
10838 (usage): Use REPORT_BUGS_TO.
10839 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10840 (top level): Use PKGVERSION.
10841 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10842 (print_version): Use PKGVERSION.
10843 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10844 (print_version): Use PKGVERSION.
10845 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10846 (print_version): Use PKGVERSION.
10847 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10848 (print_version): Use PKGVERSION.
10849 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10850 (print_version): Use PKGVERSION.
10851 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10852 (print_version): Use PKGVERSION.
10853 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10854 and BUGURL.
10855 ($(objpfx)memusage): Likewise.
10856 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10857 (do_version): Use PKGVERSION.
10858 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10859 (print_version): Use PKGVERSION.
10860 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10861 ($PKGVERSION): New variable.
10862 ($REPORT_BUGS_TO): Likewise.
10863 (usage): Use $REPORT_BUGS_TO.
10864 (top level): Use $PKGVERSION.
10865 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10866 ($(objpfx)pkgvers.texi): New rule.
10867 ($(objpfx)stamp-pkgvers): Likewise.
10868 * manual/install.texi: Include pkgvers.texi.
10869 (--with-pkgversion): Document new configure option.
10870 (--with-bugurl): Likewise.
10871 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10872 than necessarily for this particular distribution. Use
10873 REPORT_BUGS_TO for where to report bugs.
10874 * INSTALL: Regenerated.
10875 * manual/libc.texinfo: Include pkgvers.texi.
10876 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10877 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10878 (print_version): Use PKGVERSION.
10879 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10880 (print_version): Use PKGVERSION.
10881 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10882 (print_version): Use PKGVERSION.
10883 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10884 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10885 macro.
10886 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10887 (print_version): Use PKGVERSION.
10888 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10889 (print_version): Use PKGVERSION.
10890 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10891 and PKGVERSION.
10892
92e4b6a9
JM
10893 * timezone/checktab.awk: Update from tzcode 2012i.
10894 * timezone/ialloc.c: Likewise.
10895 * timezone/private.h: Likewise.
10896 * timezone/scheck.c: Likewise.
10897 * timezone/tzfile.h: Likewise.
10898 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10899 (TZVERSION): Hardcode tzcode version number.
10900 * timezone/zdump.c: Update from tzcode 2012i.
10901 * timezone/zic.c: Likewise.
10902 * timezone/version.h: New file.
10903 * timezone/README: Describe version.h. Update upstream location.
10904
9bde902c
JM
10905 [BZ #14824]
10906 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10907 (mktemp): Enable declaration.
10908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10912 Likewise.
10913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10914 Likewise.
10915 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10916 Likewise.
10917 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10918 Likewise.
10919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10920 Likewise.
10921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10922 Likewise.
10923
fb1ae1ee
JM
10924 [BZ #14821]
10925 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10926 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10927 for copies of such integer values.
10928 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10929 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10930
2c1adbcb
AJ
109312012-11-09 Andreas Jaeger <aj@suse.de>
10932
10933 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10934 definitions and declarations that are provided by
10935 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10936
d0f8457e
AK
109372012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10938
3a235abb 10939 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10940 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10941 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10942 definition.
10943
57241e26
MS
109442012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10945
10946 * elf/elf.h: Update comment before AArch64 relocations.
10947
60e8270d
DM
109482012-11-07 David S. Miller <davem@davemloft.net>
10949
10950 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10951 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10952 (__start_context): Declare.
10953 (__makecontext_ret): Delete.
10954 (__makecontext): Hook up __start_context instead of
10955 __makecontext_ret.
10956 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10957 (sysdep_routines): Add __start_context when in stdlib.
10958
0fbb0fbc
JM
109592012-11-07 Joseph Myers <joseph@codesourcery.com>
10960
10961 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10962 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10963 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10964 hardcoded "nm".
10965 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10966 (READELF): New variable. Use it instead of hardcoded "readelf".
10967
eb48db7e
L
109682012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10969
10970 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10971 * sysdeps/x86/Makefile: Here.
10972 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10973 * sysdeps/x86/tst-xmmymm.sh: This.
10974
05bcf62a
JM
109752012-11-07 Joseph Myers <joseph@codesourcery.com>
10976
c4b6cf53
JM
10977 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10978 expectations.
10979 [UNIX98] (pthread_barrier_t): Do not expect.
10980 [UNIX98] (pthread_barrierattr_t): Likewise.
10981 [UNIX98] (pthread_spinlock_t): Likewise.
10982 [UNIX98] (pthread_barrier_destroy): Likewise.
10983 [UNIX98] (pthread_barrier_init): Likewise.
10984 [UNIX98] (pthread_barrier_wait): Likewise.
10985 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10986 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10987 [UNIX98] (pthread_barrierattr_init): Likewise.
10988 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10989 [UNIX98] (pthread_getcpuclockid): Likewise.
10990 [UNIX98] (pthread_mutex_timedlock): Likewise.
10991 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10992 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10993 [UNIX98] (pthread_sigmask): Likewise.
10994 [UNIX98] (pthread_spin_destroy): Likewise.
10995 [UNIX98] (pthread_spin_init): Likewise.
10996 [UNIX98] (pthread_spin_lock): Likewise.
10997 [UNIX98] (pthread_spin_trylock): Likewise.
10998 [UNIX98] (pthread_spin_unlock): Likewise.
10999 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11000 Do not expect.
11001 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11002 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11003 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11004 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11005 [XPG3 || XPG4] (pthread_key_t): Likewise.
11006 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11007 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11008 [XPG3 || XPG4] (pthread_once_t): Likewise.
11009 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11010 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11011 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11012 [XPG3 || XPG4] (pthread_t): Likewise.
11013
cbe6e120
JM
11014 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11015 not expect.
11016 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11017
1b126443
JM
11018 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11019 Change function return type to int.
11020
b961a573
JM
11021 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11022 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11023 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11024 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11025 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11026 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11027 [!POSIX] (posix_madvise): Likewise.
11028 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11029 && !UNIX98].
11030 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11031 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11032 (mode_t): Likewise.
11033 (posix_mem_offset): Likewise.
11034 (posix_typed_mem_get_info): Likewise.
11035 (posix_typed_mem_open): Likewise.
11036
9e188909
JM
11037 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11038 Change condition to [XOPEN2K8].
11039
05bcf62a
JM
11040 * conform/conformtest.pl: Preprocess allow-header data with -x c
11041 instead of from stdin.
11042 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11043 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11044 [C99-based standards] (cerfc): Likewise.
11045 [C99-based standards] (cexp2): Likewise.
11046 [C99-based standards] (cexpm1): Likewise.
11047 [C99-based standards] (clog10): Likewise.
11048 [C99-based standards] (clog1p): Likewise.
11049 [C99-based standards] (clog2): Likewise.
11050 [C99-based standards] (clgamma): Likewise.
11051 [C99-based standards] (ctgamma): Likewise.
11052 [C99-based standards] (cerff): Likewise.
11053 [C99-based standards] (cerfcf): Likewise.
11054 [C99-based standards] (cexp2f): Likewise.
11055 [C99-based standards] (cexpm1f): Likewise.
11056 [C99-based standards] (clog10f): Likewise.
11057 [C99-based standards] (clog1pf): Likewise.
11058 [C99-based standards] (clog2f): Likewise.
11059 [C99-based standards] (clgammaf): Likewise.
11060 [C99-based standards] (ctgammaf): Likewise.
11061 [C99-based standards] (cerfl): Likewise.
11062 [C99-based standards] (cerfcl): Likewise.
11063 [C99-based standards] (cexp2l): Likewise.
11064 [C99-based standards] (cexpm1l): Likewise.
11065 [C99-based standards] (clog10l): Likewise.
11066 [C99-based standards] (clog1pl): Likewise.
11067 [C99-based standards] (clog2l): Likewise.
11068 [C99-based standards] (clgammal): Likewise.
11069 [C99-based standards] (ctgammal): Likewise.
11070 * conform/data/inttypes.h-data [C99-based standards]: Include
11071 stdint.h-data. Remove all expectations for stdint.h contents.
11072 [C99-based standards] (PRI*): Do not allow.
11073 [C99-based standards] (SCN*): Likewise.
11074 [C99-based standards] (*_t): Likewise.
11075 [C99-based-standards] (PRId8): Expect macro.
11076 [C99-based-standards] (PRIi8): Likewise.
11077 [C99-based-standards] (PRIo8): Likewise.
11078 [C99-based-standards] (PRIu8): Likewise.
11079 [C99-based-standards] (PRIx8): Likewise.
11080 [C99-based-standards] (PRIX8): Likewise.
11081 [C99-based-standards] (SCNd8): Likewise.
11082 [C99-based-standards] (SCNi8): Likewise.
11083 [C99-based-standards] (SCNo8): Likewise.
11084 [C99-based-standards] (SCNu8): Likewise.
11085 [C99-based-standards] (SCNx8): Likewise.
11086 [C99-based-standards] (PRIdLEAST8): Likewise.
11087 [C99-based-standards] (PRIiLEAST8): Likewise.
11088 [C99-based-standards] (PRIoLEAST8): Likewise.
11089 [C99-based-standards] (PRIuLEAST8): Likewise.
11090 [C99-based-standards] (PRIxLEAST8): Likewise.
11091 [C99-based-standards] (PRIXLEAST8): Likewise.
11092 [C99-based-standards] (SCNdLEAST8): Likewise.
11093 [C99-based-standards] (SCNiLEAST8): Likewise.
11094 [C99-based-standards] (SCNoLEAST8): Likewise.
11095 [C99-based-standards] (SCNuLEAST8): Likewise.
11096 [C99-based-standards] (SCNxLEAST8): Likewise.
11097 [C99-based-standards] (PRIdFAST8): Likewise.
11098 [C99-based-standards] (PRIiFAST8): Likewise.
11099 [C99-based-standards] (PRIoFAST8): Likewise.
11100 [C99-based-standards] (PRIuFAST8): Likewise.
11101 [C99-based-standards] (PRIxFAST8): Likewise.
11102 [C99-based-standards] (PRIXFAST8): Likewise.
11103 [C99-based-standards] (SCNdFAST8): Likewise.
11104 [C99-based-standards] (SCNiFAST8): Likewise.
11105 [C99-based-standards] (SCNoFAST8): Likewise.
11106 [C99-based-standards] (SCNuFAST8): Likewise.
11107 [C99-based-standards] (SCNxFAST8): Likewise.
11108 [C99-based-standards] (PRId16): Likewise.
11109 [C99-based-standards] (PRIi16): Likewise.
11110 [C99-based-standards] (PRIo16): Likewise.
11111 [C99-based-standards] (PRIu16): Likewise.
11112 [C99-based-standards] (PRIx16): Likewise.
11113 [C99-based-standards] (PRIX16): Likewise.
11114 [C99-based-standards] (SCNd16): Likewise.
11115 [C99-based-standards] (SCNi16): Likewise.
11116 [C99-based-standards] (SCNo16): Likewise.
11117 [C99-based-standards] (SCNu16): Likewise.
11118 [C99-based-standards] (SCNx16): Likewise.
11119 [C99-based-standards] (PRIdLEAST16): Likewise.
11120 [C99-based-standards] (PRIiLEAST16): Likewise.
11121 [C99-based-standards] (PRIoLEAST16): Likewise.
11122 [C99-based-standards] (PRIuLEAST16): Likewise.
11123 [C99-based-standards] (PRIxLEAST16): Likewise.
11124 [C99-based-standards] (PRIXLEAST16): Likewise.
11125 [C99-based-standards] (SCNdLEAST16): Likewise.
11126 [C99-based-standards] (SCNiLEAST16): Likewise.
11127 [C99-based-standards] (SCNoLEAST16): Likewise.
11128 [C99-based-standards] (SCNuLEAST16): Likewise.
11129 [C99-based-standards] (SCNxLEAST16): Likewise.
11130 [C99-based-standards] (PRIdFAST16): Likewise.
11131 [C99-based-standards] (PRIiFAST16): Likewise.
11132 [C99-based-standards] (PRIoFAST16): Likewise.
11133 [C99-based-standards] (PRIuFAST16): Likewise.
11134 [C99-based-standards] (PRIxFAST16): Likewise.
11135 [C99-based-standards] (PRIXFAST16): Likewise.
11136 [C99-based-standards] (SCNdFAST16): Likewise.
11137 [C99-based-standards] (SCNiFAST16): Likewise.
11138 [C99-based-standards] (SCNoFAST16): Likewise.
11139 [C99-based-standards] (SCNuFAST16): Likewise.
11140 [C99-based-standards] (SCNxFAST16): Likewise.
11141 [C99-based-standards] (PRId32): Likewise.
11142 [C99-based-standards] (PRIi32): Likewise.
11143 [C99-based-standards] (PRIo32): Likewise.
11144 [C99-based-standards] (PRIu32): Likewise.
11145 [C99-based-standards] (PRIx32): Likewise.
11146 [C99-based-standards] (PRIX32): Likewise.
11147 [C99-based-standards] (SCNd32): Likewise.
11148 [C99-based-standards] (SCNi32): Likewise.
11149 [C99-based-standards] (SCNo32): Likewise.
11150 [C99-based-standards] (SCNu32): Likewise.
11151 [C99-based-standards] (SCNx32): Likewise.
11152 [C99-based-standards] (PRIdLEAST32): Likewise.
11153 [C99-based-standards] (PRIiLEAST32): Likewise.
11154 [C99-based-standards] (PRIoLEAST32): Likewise.
11155 [C99-based-standards] (PRIuLEAST32): Likewise.
11156 [C99-based-standards] (PRIxLEAST32): Likewise.
11157 [C99-based-standards] (PRIXLEAST32): Likewise.
11158 [C99-based-standards] (SCNdLEAST32): Likewise.
11159 [C99-based-standards] (SCNiLEAST32): Likewise.
11160 [C99-based-standards] (SCNoLEAST32): Likewise.
11161 [C99-based-standards] (SCNuLEAST32): Likewise.
11162 [C99-based-standards] (SCNxLEAST32): Likewise.
11163 [C99-based-standards] (PRIdFAST32): Likewise.
11164 [C99-based-standards] (PRIiFAST32): Likewise.
11165 [C99-based-standards] (PRIoFAST32): Likewise.
11166 [C99-based-standards] (PRIuFAST32): Likewise.
11167 [C99-based-standards] (PRIxFAST32): Likewise.
11168 [C99-based-standards] (PRIXFAST32): Likewise.
11169 [C99-based-standards] (SCNdFAST32): Likewise.
11170 [C99-based-standards] (SCNiFAST32): Likewise.
11171 [C99-based-standards] (SCNoFAST32): Likewise.
11172 [C99-based-standards] (SCNuFAST32): Likewise.
11173 [C99-based-standards] (SCNxFAST32): Likewise.
11174 [C99-based-standards] (PRId64): Likewise.
11175 [C99-based-standards] (PRIi64): Likewise.
11176 [C99-based-standards] (PRIo64): Likewise.
11177 [C99-based-standards] (PRIu64): Likewise.
11178 [C99-based-standards] (PRIx64): Likewise.
11179 [C99-based-standards] (PRIX64): Likewise.
11180 [C99-based-standards] (SCNd64): Likewise.
11181 [C99-based-standards] (SCNi64): Likewise.
11182 [C99-based-standards] (SCNo64): Likewise.
11183 [C99-based-standards] (SCNu64): Likewise.
11184 [C99-based-standards] (SCNx64): Likewise.
11185 [C99-based-standards] (PRIdLEAST64): Likewise.
11186 [C99-based-standards] (PRIiLEAST64): Likewise.
11187 [C99-based-standards] (PRIoLEAST64): Likewise.
11188 [C99-based-standards] (PRIuLEAST64): Likewise.
11189 [C99-based-standards] (PRIxLEAST64): Likewise.
11190 [C99-based-standards] (PRIXLEAST64): Likewise.
11191 [C99-based-standards] (SCNdLEAST64): Likewise.
11192 [C99-based-standards] (SCNiLEAST64): Likewise.
11193 [C99-based-standards] (SCNoLEAST64): Likewise.
11194 [C99-based-standards] (SCNuLEAST64): Likewise.
11195 [C99-based-standards] (SCNxLEAST64): Likewise.
11196 [C99-based-standards] (PRIdFAST64): Likewise.
11197 [C99-based-standards] (PRIiFAST64): Likewise.
11198 [C99-based-standards] (PRIoFAST64): Likewise.
11199 [C99-based-standards] (PRIuFAST64): Likewise.
11200 [C99-based-standards] (PRIxFAST64): Likewise.
11201 [C99-based-standards] (PRIXFAST64): Likewise.
11202 [C99-based-standards] (SCNdFAST64): Likewise.
11203 [C99-based-standards] (SCNiFAST64): Likewise.
11204 [C99-based-standards] (SCNoFAST64): Likewise.
11205 [C99-based-standards] (SCNuFAST64): Likewise.
11206 [C99-based-standards] (SCNxFAST64): Likewise.
11207 [C99-based-standards] (PRIdMAX): Likewise.
11208 [C99-based-standards] (PRIiMAX): Likewise.
11209 [C99-based-standards] (PRIoMAX): Likewise.
11210 [C99-based-standards] (PRIuMAX): Likewise.
11211 [C99-based-standards] (PRIxMAX): Likewise.
11212 [C99-based-standards] (PRIXMAX): Likewise.
11213 [C99-based-standards] (SCNdMAX): Likewise.
11214 [C99-based-standards] (SCNiMAX): Likewise.
11215 [C99-based-standards] (SCNoMAX): Likewise.
11216 [C99-based-standards] (SCNuMAX): Likewise.
11217 [C99-based-standards] (SCNxMAX): Likewise.
11218 [C99-based-standards] (PRIdPTR): Likewise.
11219 [C99-based-standards] (PRIiPTR): Likewise.
11220 [C99-based-standards] (PRIoPTR): Likewise.
11221 [C99-based-standards] (PRIuPTR): Likewise.
11222 [C99-based-standards] (PRIxPTR): Likewise.
11223 [C99-based-standards] (PRIXPTR): Likewise.
11224 [C99-based-standards] (SCNdPTR): Likewise.
11225 [C99-based-standards] (SCNiPTR): Likewise.
11226 [C99-based-standards] (SCNoPTR): Likewise.
11227 [C99-based-standards] (SCNuPTR): Likewise.
11228 [C99-based-standards] (SCNxPTR): Likewise.
11229 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11230 allow.
11231 * conform/data/stdint.h-data: Update comments to clarify
11232 requirements.
11233 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11234 type.
11235 [C99-based standards] (INT8_MAX): Likewise.
11236 [C99-based standards] (INT16_MIN): Likewise.
11237 [C99-based standards] (INT16_MAX): Likewise.
11238 [C99-based standards] (INT32_MIN): Likewise.
11239 [C99-based standards] (INT32_MAX): Likewise.
11240 [C99-based standards] (INT64_MIN): Likewise.
11241 [C99-based standards] (INT64_MAX): Likewise.
11242 [C99-based standards] (UINT8_MAX): Likewise.
11243 [C99-based standards] (UINT16_MAX): Likewise.
11244 [C99-based standards] (UINT32_MAX): Likewise.
11245 [C99-based standards] (UINT64_MAX): Likewise.
11246 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11247 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11248 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11249 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11250 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11251 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11252 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11253 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11254 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11255 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11256 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11257 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11258 [C99-based standards] (INT_FAST8_MIN): Likewise.
11259 [C99-based standards] (INT_FAST8_MAX): Likewise.
11260 [C99-based standards] (INT_FAST16_MIN): Likewise.
11261 [C99-based standards] (INT_FAST16_MAX): Likewise.
11262 [C99-based standards] (INT_FAST32_MIN): Likewise.
11263 [C99-based standards] (INT_FAST32_MAX): Likewise.
11264 [C99-based standards] (INT_FAST64_MIN): Likewise.
11265 [C99-based standards] (INT_FAST64_MAX): Likewise.
11266 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11267 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11268 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11269 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11270 [C99-based standards] (INTPTR_MIN): Likewise.
11271 [C99-based standards] (INTPTR_MAX): Likewise.
11272 [C99-based standards] (UINTPTR_MAX): Likewise.
11273 [C99-based standards] (INTMAX_MIN): Likewise.
11274 [C99-based standards] (INTMAX_MAX): Likewise.
11275 [C99-based standards] (UINTMAX_MAX): Likewise.
11276 [C99-based standards] (PTRDIFF_MIN): Likewise.
11277 [C99-based standards] (PTRDIFF_MAX): Likewise.
11278 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11279 [C99-based standards] (SIZE_MAX): Likewise.
11280 [C99-based standards] (WCHAR_MAX): Likewise.
11281 [C99-based standards] (WINT_MAX): Likewise.
11282 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11283 constraint on value.
11284 [C99-based standards] (WCHAR_MIN): Likewise.
11285 [C99-based standards] (WINT_MIN): Likewise.
11286 [C99-based standards] (*_t): Allow.
11287 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11288 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11289 Include math.h-data and complex.h-data. Remove all expectations
11290 of math.h and complex.h contents.
11291 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11292 at end of line.
11293 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11294 (struct tm): Expect tag.
11295 [C99-based-standards] (wcstof): Expect function.
11296 [C99-based-standards] (wcstold): Likewise.
11297 [C99-based-standards] (wcstoll): Likewise.
11298 [C99-based-standards] (wcstoull): Likewise.
11299 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11300 macro-int-constant. Specify type.
11301 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11302 constraint on value.
11303 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11304 Specify type.
11305 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11306 Specify value.
11307 [ISO C standards]: Do not allow headers.
11308 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11309 wcs[abcdefghijklmnopqrstuvwxyz]*.
11310 [ISO C standards] (*_t): Do not allow.
11311 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11312 Expect function.
11313 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11314 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11315 Specify type.
11316 [ISO C standards]: Do not allow headers.
11317 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11318 is[abcdefghijklmnopqrstuvwxyz]*.
11319 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11320 to[abcdefghijklmnopqrstuvwxyz]*.
11321 [ISO C standards] (*_t): Do not allow.
11322 * conform/data/stdalign.h-data: New file.
11323 * conform/data/stdbool.h-data: Likewise.
11324 * conform/data/stdnoreturn.h-data: Likewise.
11325
7514feb8
RM
113262012-11-07 Roland McGrath <roland@hack.frob.com>
11327
11328 [BZ #14815]
11329 * manual/filesys.texi (Directory Entries): Typo fix.
11330 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11331
19b2ecfc
MS
113322012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11333
11334 * elf/elf.h (EM_AARCH64): New macro.
11335 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11336 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11337 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11338 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11339 (R_AARCH64_TLSDESC): Likewise.
11340 (NT_ARM_TLS): Likewise.
11341 (NT_ARM_HW_BREAK): Likewise.
11342 (NT_ARM_HW_WATCH): Likewise.
11343
60e235ee
JM
113442012-11-07 Joseph Myers <joseph@codesourcery.com>
11345
11346 [BZ #14811]
11347 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11348 (__ieee754_powl): Saturate nonzero exponents with absolute value
11349 below 0x1p-79 to +/- 0x1p-79.
11350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11351 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11352 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11353 nonzero exponents with absolute value below 0x1p-32 to +/-
11354 0x1p-32.
11355 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11356 (__ieee754_powl): Saturate nonzero exponents with absolute value
11357 below 0x1p-79 to +/- 0x1p-79.
11358 * math/libm-test.inc (pow_test): Add more tests.
11359
0ab234b7
AK
113602012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11361
11362 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11363 _dl_s390_cap_flags with kernel. Increase string length.
11364 (_dl_s390_platforms): Add z196 and zEC12.
11365
45832f74
JM
113662012-11-07 Joseph Myers <joseph@codesourcery.com>
11367
11368 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11369 Change XOPEN21K to XOPEN2K.
11370
19218757
MK
113712012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11372
11373 * string/memmove.c: Use memcpy when possible.
11374
c5f45721
AJ
113752012-11-06 Andreas Jaeger <aj@suse.de>
11376
11377 * po/eo.po: Update from translation team.
11378
82477c28
JM
113792012-11-06 Joseph Myers <joseph@codesourcery.com>
11380
11381 [BZ #14793]
11382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11383 exponent and small x and y exponents, scale x or y up. Increase
11384 by 2 the exponent used in scaling up.
11385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11387 * math/libm-test.inc (fma_test): Add more tests.
11388 (fma_test_towardzero): Likewise.
11389 (fma_test_downward): Likewise.
11390 (fma_test_upward): Likewise.
11391
99252c8c
JM
113922012-11-05 Joseph Myers <joseph@codesourcery.com>
11393
acfa885f
JM
11394 [BZ #14805]
11395 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11396 fenv_t *.
11397
99252c8c
JM
11398 [BZ #14801]
11399 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11400 namespace for names of struct fields.
11401 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11402 fenv_t fields.
11403 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11404 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11405
d6d98dea
ST
114062012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11407
11408 [BZ #3665]
11409 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11410
e10bb107
TS
114112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11412
11413 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11414 PTR_DEMANGLE.
11415
11416 [BZ #5246]
11417 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11418 PTR_DEMANGLE.
11419
a0c2940d
JM
114202012-11-04 Joseph Myers <joseph@codesourcery.com>
11421
11422 [BZ #14797]
11423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11424 definitely overflow as x * y not x * y + z.
11425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11427 * math/libm-test.inc (fma_test): Add more tests.
11428 (fma_test_towardzero): Likewise.
11429 (fma_test_downward): Likewise.
11430 (fma_test_upward): Likewise.
11431
b830319d
TS
114322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11433
11434 [BZ #157]
11435
11436 * include/stub-tag.h: Remove file.
11437 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11438 '#include' of it.
11439 * manual/maint.texi (Porting): Don't reference it.
11440 * Makerules ($(objpfx)stubs): Likewise.
11441 * dirent/closedir.c: Don't include <stub-tag.h>.
11442 * dirent/dirfd.c: Likewise.
11443 * dirent/fdopendir.c: Likewise.
11444 * dirent/getdents.c: Likewise.
11445 * dirent/getdents64.c: Likewise.
11446 * dirent/opendir.c: Likewise.
11447 * dirent/readdir.c: Likewise.
11448 * dirent/readdir64.c: Likewise.
11449 * dirent/readdir64_r.c: Likewise.
11450 * dirent/readdir_r.c: Likewise.
11451 * dirent/rewinddir.c: Likewise.
11452 * dirent/seekdir.c: Likewise.
11453 * dirent/telldir.c: Likewise.
11454 * gmon/profil.c: Likewise.
11455 * grp/setgroups.c: Likewise.
11456 * inet/if_index.c: Likewise.
11457 * io/access.c: Likewise.
11458 * io/chdir.c: Likewise.
11459 * io/chmod.c: Likewise.
11460 * io/chown.c: Likewise.
11461 * io/close.c: Likewise.
11462 * io/dup.c: Likewise.
11463 * io/dup2.c: Likewise.
11464 * io/dup3.c: Likewise.
11465 * io/euidaccess.c: Likewise.
11466 * io/faccessat.c: Likewise.
11467 * io/fchdir.c: Likewise.
11468 * io/fchmod.c: Likewise.
11469 * io/fchmodat.c: Likewise.
11470 * io/fchown.c: Likewise.
11471 * io/fchownat.c: Likewise.
11472 * io/fcntl.c: Likewise.
11473 * io/flock.c: Likewise.
11474 * io/fstatfs.c: Likewise.
11475 * io/fstatfs64.c: Likewise.
11476 * io/fstatvfs.c: Likewise.
11477 * io/fstatvfs64.c: Likewise.
11478 * io/futimens.c: Likewise.
11479 * io/fxstat.c: Likewise.
11480 * io/fxstat64.c: Likewise.
11481 * io/fxstatat.c: Likewise.
11482 * io/fxstatat64.c: Likewise.
11483 * io/getcwd.c: Likewise.
11484 * io/isatty.c: Likewise.
11485 * io/lchmod.c: Likewise.
11486 * io/lchown.c: Likewise.
11487 * io/link.c: Likewise.
11488 * io/linkat.c: Likewise.
11489 * io/lseek.c: Likewise.
11490 * io/lseek64.c: Likewise.
11491 * io/lxstat64.c: Likewise.
11492 * io/mkdir.c: Likewise.
11493 * io/mkdirat.c: Likewise.
11494 * io/mkfifo.c: Likewise.
11495 * io/mkfifoat.c: Likewise.
11496 * io/open.c: Likewise.
11497 * io/open64.c: Likewise.
11498 * io/openat.c: Likewise.
11499 * io/openat64.c: Likewise.
11500 * io/pipe.c: Likewise.
11501 * io/pipe2.c: Likewise.
11502 * io/poll.c: Likewise.
11503 * io/posix_fadvise.c: Likewise.
11504 * io/posix_fadvise64.c: Likewise.
11505 * io/posix_fallocate.c: Likewise.
11506 * io/posix_fallocate64.c: Likewise.
11507 * io/read.c: Likewise.
11508 * io/readlink.c: Likewise.
11509 * io/readlinkat.c: Likewise.
11510 * io/rmdir.c: Likewise.
11511 * io/sendfile.c: Likewise.
11512 * io/sendfile64.c: Likewise.
11513 * io/statfs.c: Likewise.
11514 * io/statfs64.c: Likewise.
11515 * io/statvfs.c: Likewise.
11516 * io/statvfs64.c: Likewise.
11517 * io/symlink.c: Likewise.
11518 * io/symlinkat.c: Likewise.
11519 * io/ttyname.c: Likewise.
11520 * io/ttyname_r.c: Likewise.
11521 * io/umask.c: Likewise.
11522 * io/unlink.c: Likewise.
11523 * io/unlinkat.c: Likewise.
11524 * io/utime.c: Likewise.
11525 * io/utimensat.c: Likewise.
11526 * io/write.c: Likewise.
11527 * io/xmknod.c: Likewise.
11528 * io/xmknodat.c: Likewise.
11529 * io/xstat.c: Likewise.
11530 * io/xstat64.c: Likewise.
11531 * login/getpt.c: Likewise.
11532 * login/grantpt.c: Likewise.
11533 * login/unlockpt.c: Likewise.
11534 * math/e_acoshl.c: Likewise.
11535 * math/e_acosl.c: Likewise.
11536 * math/e_asinl.c: Likewise.
11537 * math/e_atan2l.c: Likewise.
11538 * math/e_atanhl.c: Likewise.
11539 * math/e_coshl.c: Likewise.
11540 * math/e_expl.c: Likewise.
11541 * math/e_fmodl.c: Likewise.
11542 * math/e_gammal_r.c: Likewise.
11543 * math/e_hypotl.c: Likewise.
11544 * math/e_j0l.c: Likewise.
11545 * math/e_j1l.c: Likewise.
11546 * math/e_jnl.c: Likewise.
11547 * math/e_lgammal_r.c: Likewise.
11548 * math/e_log10l.c: Likewise.
11549 * math/e_log2l.c: Likewise.
11550 * math/e_logl.c: Likewise.
11551 * math/e_powl.c: Likewise.
11552 * math/e_rem_pio2l.c: Likewise.
11553 * math/e_sinhl.c: Likewise.
11554 * math/e_sqrtl.c: Likewise.
11555 * math/fclrexcpt.c: Likewise.
11556 * math/fedisblxcpt.c: Likewise.
11557 * math/feenablxcpt.c: Likewise.
11558 * math/fegetenv.c: Likewise.
11559 * math/fegetexcept.c: Likewise.
11560 * math/fegetround.c: Likewise.
11561 * math/feholdexcpt.c: Likewise.
11562 * math/fesetenv.c: Likewise.
11563 * math/fesetround.c: Likewise.
11564 * math/feupdateenv.c: Likewise.
11565 * math/fgetexcptflg.c: Likewise.
11566 * math/fraiseexcpt.c: Likewise.
11567 * math/fsetexcptflg.c: Likewise.
11568 * math/ftestexcept.c: Likewise.
11569 * math/k_cosl.c: Likewise.
11570 * math/k_rem_pio2l.c: Likewise.
11571 * math/k_sinl.c: Likewise.
11572 * math/k_tanl.c: Likewise.
11573 * math/s_asinhl.c: Likewise.
11574 * math/s_atanl.c: Likewise.
11575 * math/s_cbrtl.c: Likewise.
11576 * math/s_erfl.c: Likewise.
11577 * math/s_expm1l.c: Likewise.
11578 * math/s_log1pl.c: Likewise.
11579 * math/s_tanhl.c: Likewise.
11580 * misc/acct.c: Likewise.
11581 * misc/brk.c: Likewise.
11582 * misc/chflags.c: Likewise.
11583 * misc/chroot.c: Likewise.
11584 * misc/fchflags.c: Likewise.
11585 * misc/fgetxattr.c: Likewise.
11586 * misc/flistxattr.c: Likewise.
11587 * misc/fremovexattr.c: Likewise.
11588 * misc/fsetxattr.c: Likewise.
11589 * misc/fsync.c: Likewise.
11590 * misc/ftruncate.c: Likewise.
11591 * misc/futimes.c: Likewise.
11592 * misc/futimesat.c: Likewise.
11593 * misc/getdomain.c: Likewise.
11594 * misc/getdtsz.c: Likewise.
11595 * misc/gethostid.c: Likewise.
11596 * misc/gethostname.c: Likewise.
11597 * misc/getloadavg.c: Likewise.
11598 * misc/getpagesize.c: Likewise.
11599 * misc/getsysstats.c: Likewise.
11600 * misc/getxattr.c: Likewise.
11601 * misc/gtty.c: Likewise.
11602 * misc/ioctl.c: Likewise.
11603 * misc/lgetxattr.c: Likewise.
11604 * misc/listxattr.c: Likewise.
11605 * misc/llistxattr.c: Likewise.
11606 * misc/lremovexattr.c: Likewise.
11607 * misc/lsetxattr.c: Likewise.
11608 * misc/lutimes.c: Likewise.
11609 * misc/madvise.c: Likewise.
11610 * misc/mincore.c: Likewise.
11611 * misc/mlock.c: Likewise.
11612 * misc/mlockall.c: Likewise.
11613 * misc/mmap.c: Likewise.
11614 * misc/mprotect.c: Likewise.
11615 * misc/msync.c: Likewise.
11616 * misc/munlock.c: Likewise.
11617 * misc/munlockall.c: Likewise.
11618 * misc/munmap.c: Likewise.
11619 * misc/preadv.c: Likewise.
11620 * misc/preadv64.c: Likewise.
11621 * misc/ptrace.c: Likewise.
11622 * misc/pwritev.c: Likewise.
11623 * misc/pwritev64.c: Likewise.
11624 * misc/readv.c: Likewise.
11625 * misc/reboot.c: Likewise.
11626 * misc/remap_file_pages.c: Likewise.
11627 * misc/removexattr.c: Likewise.
11628 * misc/revoke.c: Likewise.
11629 * misc/select.c: Likewise.
11630 * misc/setdomain.c: Likewise.
11631 * misc/setegid.c: Likewise.
11632 * misc/seteuid.c: Likewise.
11633 * misc/sethostid.c: Likewise.
11634 * misc/sethostname.c: Likewise.
11635 * misc/setregid.c: Likewise.
11636 * misc/setreuid.c: Likewise.
11637 * misc/setxattr.c: Likewise.
11638 * misc/sstk.c: Likewise.
11639 * misc/stty.c: Likewise.
11640 * misc/swapoff.c: Likewise.
11641 * misc/swapon.c: Likewise.
11642 * misc/sync.c: Likewise.
11643 * misc/syncfs.c: Likewise.
11644 * misc/syscall.c: Likewise.
11645 * misc/truncate.c: Likewise.
11646 * misc/ualarm.c: Likewise.
11647 * misc/usleep.c: Likewise.
11648 * misc/ustat.c: Likewise.
11649 * misc/utimes.c: Likewise.
11650 * misc/vhangup.c: Likewise.
11651 * misc/writev.c: Likewise.
11652 * posix/_exit.c: Likewise.
11653 * posix/alarm.c: Likewise.
11654 * posix/execve.c: Likewise.
11655 * posix/fexecve.c: Likewise.
11656 * posix/fork.c: Likewise.
11657 * posix/fpathconf.c: Likewise.
11658 * posix/getaddrinfo.c: Likewise.
11659 * posix/getegid.c: Likewise.
11660 * posix/geteuid.c: Likewise.
11661 * posix/getgid.c: Likewise.
11662 * posix/getgroups.c: Likewise.
11663 * posix/getlogin.c: Likewise.
11664 * posix/getlogin_r.c: Likewise.
11665 * posix/getpgid.c: Likewise.
11666 * posix/getpid.c: Likewise.
11667 * posix/getppid.c: Likewise.
11668 * posix/getresgid.c: Likewise.
11669 * posix/getresuid.c: Likewise.
11670 * posix/getsid.c: Likewise.
11671 * posix/getuid.c: Likewise.
11672 * posix/glob64.c: Likewise.
11673 * posix/nanosleep.c: Likewise.
11674 * posix/pathconf.c: Likewise.
11675 * posix/pause.c: Likewise.
11676 * posix/posix_madvise.c: Likewise.
11677 * posix/pread.c: Likewise.
11678 * posix/pread64.c: Likewise.
11679 * posix/pwrite.c: Likewise.
11680 * posix/pwrite64.c: Likewise.
11681 * posix/sched_getaffinity.c: Likewise.
11682 * posix/sched_getp.c: Likewise.
11683 * posix/sched_gets.c: Likewise.
11684 * posix/sched_primax.c: Likewise.
11685 * posix/sched_primin.c: Likewise.
11686 * posix/sched_rr_gi.c: Likewise.
11687 * posix/sched_setaffinity.c: Likewise.
11688 * posix/sched_setp.c: Likewise.
11689 * posix/sched_sets.c: Likewise.
11690 * posix/sched_yield.c: Likewise.
11691 * posix/setgid.c: Likewise.
11692 * posix/setlogin.c: Likewise.
11693 * posix/setpgid.c: Likewise.
11694 * posix/setresgid.c: Likewise.
11695 * posix/setresuid.c: Likewise.
11696 * posix/setsid.c: Likewise.
11697 * posix/setuid.c: Likewise.
11698 * posix/sleep.c: Likewise.
11699 * posix/spawni.c: Likewise.
11700 * posix/sysconf.c: Likewise.
11701 * posix/times.c: Likewise.
11702 * posix/wait.c: Likewise.
11703 * posix/wait3.c: Likewise.
11704 * posix/wait4.c: Likewise.
11705 * posix/waitpid.c: Likewise.
11706 * resolv/gai_sigqueue.c: Likewise.
11707 * resource/getpriority.c: Likewise.
11708 * resource/getrlimit.c: Likewise.
11709 * resource/getrusage.c: Likewise.
11710 * resource/nice.c: Likewise.
11711 * resource/setpriority.c: Likewise.
11712 * resource/setrlimit.c: Likewise.
11713 * resource/ulimit.c: Likewise.
11714 * rt/aio_cancel.c: Likewise.
11715 * rt/aio_fsync.c: Likewise.
11716 * rt/aio_read.c: Likewise.
11717 * rt/aio_sigqueue.c: Likewise.
11718 * rt/aio_suspend.c: Likewise.
11719 * rt/aio_write.c: Likewise.
11720 * rt/clock_getres.c: Likewise.
11721 * rt/clock_gettime.c: Likewise.
11722 * rt/clock_nanosleep.c: Likewise.
11723 * rt/clock_settime.c: Likewise.
11724 * rt/lio_listio.c: Likewise.
11725 * rt/mq_close.c: Likewise.
11726 * rt/mq_getattr.c: Likewise.
11727 * rt/mq_notify.c: Likewise.
11728 * rt/mq_open.c: Likewise.
11729 * rt/mq_receive.c: Likewise.
11730 * rt/mq_send.c: Likewise.
11731 * rt/mq_setattr.c: Likewise.
11732 * rt/mq_timedreceive.c: Likewise.
11733 * rt/mq_timedsend.c: Likewise.
11734 * rt/mq_unlink.c: Likewise.
11735 * rt/shm_open.c: Likewise.
11736 * rt/shm_unlink.c: Likewise.
11737 * rt/timer_create.c: Likewise.
11738 * rt/timer_delete.c: Likewise.
11739 * rt/timer_getoverr.c: Likewise.
11740 * rt/timer_gettime.c: Likewise.
11741 * rt/timer_settime.c: Likewise.
11742 * setjmp/__longjmp.c: Likewise.
11743 * setjmp/setjmp.c: Likewise.
11744 * signal/kill.c: Likewise.
11745 * signal/killpg.c: Likewise.
11746 * signal/raise.c: Likewise.
11747 * signal/sigaction.c: Likewise.
11748 * signal/sigaltstack.c: Likewise.
11749 * signal/sigblock.c: Likewise.
11750 * signal/sigignore.c: Likewise.
11751 * signal/sigintr.c: Likewise.
11752 * signal/signal.c: Likewise.
11753 * signal/sigpause.c: Likewise.
11754 * signal/sigpending.c: Likewise.
11755 * signal/sigqueue.c: Likewise.
11756 * signal/sigreturn.c: Likewise.
11757 * signal/sigset.c: Likewise.
11758 * signal/sigsetmask.c: Likewise.
11759 * signal/sigstack.c: Likewise.
11760 * signal/sigsuspend.c: Likewise.
11761 * signal/sigtimedwait.c: Likewise.
11762 * signal/sigvec.c: Likewise.
11763 * signal/sigwait.c: Likewise.
11764 * signal/sigwaitinfo.c: Likewise.
11765 * signal/sysv_signal.c: Likewise.
11766 * socket/accept.c: Likewise.
11767 * socket/accept4.c: Likewise.
11768 * socket/bind.c: Likewise.
11769 * socket/connect.c: Likewise.
11770 * socket/getpeername.c: Likewise.
11771 * socket/getsockname.c: Likewise.
11772 * socket/getsockopt.c: Likewise.
11773 * socket/isfdtype.c: Likewise.
11774 * socket/listen.c: Likewise.
11775 * socket/recv.c: Likewise.
11776 * socket/recvfrom.c: Likewise.
11777 * socket/recvmsg.c: Likewise.
11778 * socket/send.c: Likewise.
11779 * socket/sendmsg.c: Likewise.
11780 * socket/sendto.c: Likewise.
11781 * socket/setsockopt.c: Likewise.
11782 * socket/shutdown.c: Likewise.
11783 * socket/sockatmark.c: Likewise.
11784 * socket/socket.c: Likewise.
11785 * socket/socketpair.c: Likewise.
11786 * stdio-common/ctermid.c: Likewise.
11787 * stdio-common/cuserid.c: Likewise.
11788 * stdio-common/remove.c: Likewise.
11789 * stdio-common/rename.c: Likewise.
11790 * stdio-common/renameat.c: Likewise.
11791 * stdio-common/tempname.c: Likewise.
11792 * stdlib/getcontext.c: Likewise.
11793 * stdlib/makecontext.c: Likewise.
11794 * stdlib/setcontext.c: Likewise.
11795 * stdlib/swapcontext.c: Likewise.
11796 * stdlib/system.c: Likewise.
11797 * streams/fattach.c: Likewise.
11798 * streams/fdetach.c: Likewise.
11799 * streams/getmsg.c: Likewise.
11800 * streams/getpmsg.c: Likewise.
11801 * streams/putmsg.c: Likewise.
11802 * streams/putpmsg.c: Likewise.
11803 * sysdeps/unix/bsd/getpt.c: Likewise.
11804 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11805 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11806 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11808 Likewise.
11809 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11810 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11811 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11812 * sysvipc/msgctl.c: Likewise.
11813 * sysvipc/msgget.c: Likewise.
11814 * sysvipc/msgrcv.c: Likewise.
11815 * sysvipc/msgsnd.c: Likewise.
11816 * sysvipc/semctl.c: Likewise.
11817 * sysvipc/semget.c: Likewise.
11818 * sysvipc/semop.c: Likewise.
11819 * sysvipc/semtimedop.c: Likewise.
11820 * sysvipc/shmat.c: Likewise.
11821 * sysvipc/shmctl.c: Likewise.
11822 * sysvipc/shmdt.c: Likewise.
11823 * sysvipc/shmget.c: Likewise.
11824 * termios/tcdrain.c: Likewise.
11825 * termios/tcflow.c: Likewise.
11826 * termios/tcflush.c: Likewise.
11827 * termios/tcgetattr.c: Likewise.
11828 * termios/tcgetpgrp.c: Likewise.
11829 * termios/tcsendbrk.c: Likewise.
11830 * termios/tcsetattr.c: Likewise.
11831 * termios/tcsetpgrp.c: Likewise.
11832 * time/adjtime.c: Likewise.
11833 * time/clock.c: Likewise.
11834 * time/getitimer.c: Likewise.
11835 * time/gettimeofday.c: Likewise.
11836 * time/setitimer.c: Likewise.
11837 * time/settimeofday.c: Likewise.
11838 * time/stime.c: Likewise.
11839 * time/time.c: Likewise.
11840
118412012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11842
a20492cf
PT
11843 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11844 /usr/old/bin.
11845
72e182e3
PT
11846 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11847 instead of spaces.
11848 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11849
fbeafede
JM
118502012-11-03 Joseph Myers <joseph@codesourcery.com>
11851
5b5b04d6
JM
11852 [BZ #14796]
11853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11854 FE_TONEAREST before applying Dekker multiplication and Knuth
11855 addition. Clear inexact exceptions and check for exact zero
11856 results afterwards.
11857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11858 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11860 * math/libm-test.inc (fma_test): Add more tests.
11861 (fma_test_towardzero): Likewise.
11862 (fma_test_downward): Likewise.
11863 (fma_test_upward): Likewise.
11864 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11865 function.
11866 (libc_fesetround): New macro.
11867 (libc_fesetroundf): Likewise.
11868 (libc_fesetroundl): Likewise.
11869 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11870 function.
11871 (libc_fesetround_387): Likewise.
11872 (libc_fesetroundf): New macro.
11873 (libc_fesetround): Likewise.
11874 (libc_fesetroundl): Likewise.
11875 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11876 function.
11877 (libc_fesetroundf): New macro.
11878 (libc_fesetround): Likewise.
11879 (libc_fesetroundl): Likewise.
11880 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11881 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11882 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11883 libm_hidden_ver.
11884 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11885 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11886 libm_hidden_def.
11887 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11888 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11889 libm_hidden_ver.
11890 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11891 libm_hidden_def.
11892
fbeafede
JM
11893 [BZ #3439]
11894 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11895 integer constant usable in #if and use that to give value to enum
11896 constant.
11897 (FE_DIVBYZERO): Likewise.
11898 (FE_UNDERFLOW): Likewise.
11899 (FE_OVERFLOW): Likewise.
11900 (FE_INVALID): Likewise.
11901 (FE_INVALID_SNAN): Likewise.
11902 (FE_INVALID_ISI): Likewise.
11903 (FE_INVALID_IDI): Likewise.
11904 (FE_INVALID_ZDZ): Likewise.
11905 (FE_INVALID_IMZ): Likewise.
11906 (FE_INVALID_COMPARE): Likewise.
11907 (FE_INVALID_SOFTWARE): Likewise.
11908 (FE_INVALID_SQRT): Likewise.
11909 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11910 (FE_TONEAREST): Likewise.
11911 (FE_TOWARDZERO): Likewise.
11912 (FE_UPWARD): Likewise.
11913 (FE_DOWNWARD): Likewise.
11914 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11915 (FE_DIVBYZERO): Likewise.
11916 (FE_OVERFLOW): Likewise.
11917 (FE_UNDERFLOW): Likewise.
11918 (FE_INEXACT): Likewise.
11919 (FE_TONEAREST): Likewise.
11920 (FE_DOWNWARD): Likewise.
11921 (FE_UPWARD): Likewise.
11922 (FE_TOWARDZERO): Likewise.
11923 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11924 (FE_UNDERFLOW): Likewise.
11925 (FE_OVERFLOW): Likewise.
11926 (FE_DIVBYZERO): Likewise.
11927 (FE_INVALID): Likewise.
11928 (FE_TONEAREST): Likewise.
11929 (FE_TOWARDZERO): Likewise.
11930 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11931 (FE_OVERFLOW): Likewise.
11932 (FE_UNDERFLOW): Likewise.
11933 (FE_DIVBYZERO): Likewise.
11934 (FE_INEXACT): Likewise.
11935 (FE_TONEAREST): Likewise.
11936 (FE_TOWARDZERO): Likewise.
11937 (FE_UPWARD): Likewise.
11938 (FE_DOWNWARD): Likewise.
11939 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11940 (FE_DIVBYZERO): Likewise.
11941 (FE_OVERFLOW): Likewise.
11942 (FE_UNDERFLOW): Likewise.
11943 (FE_INEXACT): Likewise.
11944 (FE_TONEAREST): Likewise.
11945 (FE_DOWNWARD): Likewise.
11946 (FE_UPWARD): Likewise.
11947 (FE_TOWARDZERO): Likewise.
11948
105ca950
CM
119492012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11950
11951 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11952
a542b389
AS
119532012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11954
11955 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11956 commands. Quote $PWD.
11957 (blacklist_exports): Don't use remove_newlines. Replace "declare
11958 -x" by "export".
11959 (remove_newlines): Remove.
11960
f62c8abc
L
119612012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11962
11963 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11964 * stdlib/stdlib.h (atof): Moved to ...
11965 * include/bits/stdlib-float.h: Here. New file.
11966 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11967 * stdlib/bits/stdlib-float.h: New file.
11968 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11969 -mno-sse -mno-mmx.
11970 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11971 <xmmintrin.h>.
11972
0155d5b2
JM
119732012-11-02 Joseph Myers <joseph@codesourcery.com>
11974
a68d0680
JM
11975 * conform/conformtest.pl (@headers): Add fenv.h.
11976 * conform/data/fenv.h-data: New file.
11977 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11978 include of <math/fenv.h>.
11979
caf7f573
JM
11980 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11981 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11982 && !UNIX98]. Enables tests for XOPEN2K8.
11983 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11984 POSIX2008]: Likewise.
11985
6c073ad6
JM
11986 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11987 (struct rusage): Do not expect type or its members.
11988
0155d5b2
JM
11989 [BZ #3439]
11990 * math/math.h (FP_NAN): Define macro to integer constant usable in
11991 #if and use that to give value to enum constant.
11992 (FP_INFINITE): Likewise.
11993 (FP_ZERO): Likewise.
11994 (FP_SUBNORMAL): Likewise.
11995 (FP_NORMAL): Likewise.
11996
b5dcacb4
AS
119972012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11998
11999 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12000 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12001 arguments.
12002
f7934be8
RM
120032012-11-02 Roland McGrath <roland@hack.frob.com>
12004
12005 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12006 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12007 autoconf-time if not.
12008 * configure.in: Remove AC_PREREQ.
12009
d7d08bde
TMQMF
120102012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12011
12012 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12013 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12014 of the internal implementation.
12015
dcdae19a
JM
120162012-11-02 Joseph Myers <joseph@codesourcery.com>
12017
12018 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12019 except include of <misc/sys/syslog.h>.
12020
d6cffd3e
AS
120212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12022
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12024 function returns with a NULL context exit with zero.
12025
b3563932
TMQMF
120262012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12027
12028 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12029
b288a93d
L
120302012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12033 (run_program_cmd): This.
12034 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12035 (tst_langinfo): New variable. Use it.
12036
a2421a68
SAS
120372012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12038
12039 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12040 floating point opcodes.
12041
6f796e1b
TS
120422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12043
7402596b
TS
12044 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12045 variable.
12046
d0d4f868
TS
12047 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12048
6f796e1b
TS
12049 * sysdeps/mach/hurd/powerpc: Remove directory.
12050 * sysdeps/mach/powerpc: Likewise.
12051
4da224a2
AS
120522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12053
12054 * scripts/check-local-headers.sh: Ignore c++ headers.
12055
341dd673
TS
120562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12057
12058 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12059 __libc_cleanup_region_start argument.
12060
473611b2
JM
120612012-11-01 Joseph Myers <joseph@codesourcery.com>
12062
12063 [BZ #14784]
12064 [BZ #14785]
12065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12066 x * y using scaling, not as x * y + z.
12067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12069 * math/libm-test.inc (fma_test): Add more tests.
12070 (fma_test_towardzero): Likewise.
12071 (fma_test_downward): Likewise.
12072 (fma_test_upward): Likewise.
12073
4078da3d
TS
120742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12075
12076 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12077
903252aa
JM
120782012-10-31 Joseph Myers <joseph@codesourcery.com>
12079
12080 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12081 New variable.
12082
cbc818d0
TS
120832012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12084
12085 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12086
5a03cb1e
AS
120872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12088
12089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12090 Fix sort order.
12091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12092 Likewise.
12093
90aff2ff
TMQMF
120942012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12095
12096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12097 Fix the order of the list for glibc 2.17.
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12099 Likewise.
12100
1818fcb7
AS
121012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12102
12103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12104
ef82f4da
JM
121052012-10-31 Joseph Myers <joseph@codesourcery.com>
12106
16a0e2ec
JM
12107 [BZ #14610]
12108 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12109 for low part of x being zero before using __atanl (y).
12110 * math/libm-test.inc (atan2_test): Add another test.
12111
0eb69512
JM
12112 * manual/install.texi (Configuring and compiling): Document
12113 general use of test-wrapper and test-wrapper-env.
12114 * INSTALL: Regenerated.
12115
ef82f4da
JM
12116 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12117 (__fma): Do not extract and scale down low bits on after-rounding
12118 systems when result rounded to normal precision would have normal
12119 exponent.
12120 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12121 (__fmal): Do not extract and scale down low bits on after-rounding
12122 systems when result rounded to normal precision would have normal
12123 exponent.
12124 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12125 (__fmal): Do not extract and scale down low bits on after-rounding
12126 systems when result rounded to normal precision would have normal
12127 exponent.
12128 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12129 macro.
12130 (fma_test): Add more tests.
12131 (fma_test_towardzero): Likewise.
12132 (fma_test_downward): Likewise.
12133 (fma_test_upward): Likewise.
12134
954ef0d9
L
121352012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12136
12137 * sysdeps/i386/tininess.h: Renamed to ...
12138 * sysdeps/x86/tininess.h: This.
12139 * sysdeps/x86_64/tininess.h: Removed.
12140
df61ffb2
JM
121412012-10-30 Joseph Myers <joseph@codesourcery.com>
12142
12143 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12144 input. Use $(build-program-cmd).
12145 ($(objpfx)tst-array1-static.out): Likewise.
12146 ($(objpfx)tst-array2.out): Likewise.
12147 ($(objpfx)tst-array3.out): Likewise.
12148 ($(objpfx)tst-array4.out): Likewise.
12149 ($(objpfx)tst-array5.out): Likewise.
12150 ($(objpfx)tst-array5-static.out): Likewise.
12151
01767843
CM
121522012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12153
47cc1490
CM
12154 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12155 if defined.
12156
01767843
CM
12157 * nss/nsswitch.h (nss_interface_function): Provide new
12158 macro for use with NSS functions.
12159 * grp/initgroups.c: Use new macro.
12160 * nss/getXXbyYY.c: Likewise.
12161 * nss/getXXbyYY_r.c: Likewise.
12162 * nss/getXXent.c: Likewise.
12163 * nss/getXXent_r.c: Likewise.
12164 * sysdeps/posix/getaddrinfo.c: Likewise.
12165
8321aa97
AJ
121662012-10-30 Andreas Jaeger <aj@suse.de>
12167
12168 * po/ru.po: Update Russion translation from translation project.
12169
2a27fd6d
JM
121702012-10-30 Joseph Myers <joseph@codesourcery.com>
12171
8627a232
JM
12172 [BZ #14152]
12173 [BZ #14783]
12174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12175 result and shift together with sticky bit instead of replicating
12176 round-to-nearest rounding.
12177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12179 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12180 missing underflow exceptions.
12181 (fma_test_towardzero): Add more tests.
12182 (fma_test_downward): Likewise.
12183 (fma_test_upward): Likewise.
12184
2a27fd6d
JM
12185 [BZ #14047]
12186 * sysdeps/generic/tininess.h: New file.
12187 * sysdeps/i386/tininess.h: Likewise.
12188 * sysdeps/sh/tininess.h: Likewise.
12189 * sysdeps/x86_64/tininess.h: Likewise.
12190 * stdlib/tst-strtod-underflow.c: Likewise.
12191 * stdlib/tst-tininess.c: Likewise.
12192 * stdlib/strtod_l.c: Include <tininess.h>.
12193 (round_and_return): Do not set errno for exact underflow cases.
12194 Force an underflow exception when setting errno for underflow.
12195 Determine underflow based on rounding to normal precision if
12196 TININESS_AFTER_ROUNDING.
12197 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12198 ERANGE for exact underflow cases.
12199 * stdlib/Makefile (tests): Add tst-tininess and
12200 tst-strtod-underflow.
12201 ($(objpfx)tst-tininess): Use $(link-libm).
12202 ($(objpfx)tst-strtod-underflow): Likewise.
12203
e7170363
AJ
122042012-10-30 Andreas Jaeger <aj@suse.de>
12205
e5088dc6
AJ
12206 [BZ#14767]
12207 * elf/Makefile (tests): Remove conditional for have-initfini-array
12208 since this is now always required and the variable does not exist
12209 anymore.
12210 (tests-static): Likewise.
12211 (modules-names): Likewise.
12212
e7170363 12213 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12214
12215 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12216 merged with constructor/destructor.
12217 (init_array): Likewise.
12218 * elf/tst-array2dep.c (fini_array): Likewise.
12219 (init_array): Likewise.
12220
60457d8a
MF
122212012-10-29 Mike Frysinger <vapier@gentoo.org>
12222
12223 * manual/message.texi: Delete @cartouche tags.
12224
8bece752
PT
122252012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12226
94ce799f
PT
12227 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12228 EOPNOTSUPP.
12229 * sysdeps/mach/hurd/fsync.c: Likewise.
12230
8bece752
PT
12231 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12232 [_POSIX_REALTIME_SIGNALS]: Change condition to
12233 [_POSIX_REALTIME_SIGNALS > 0].
12234
86ebe6b1
AJ
122352012-10-27 Andreas Jaeger <aj@suse.de>
12236
12237 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12238 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12240 [__WORDSIZE != 64]: Likewise.
12241
54399c08
L
122422012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12243
12244 * iconvdata/tst-table.sh: Remove ${SHELL}.
12245 * iconvdata/tst-tables.sh: Likewise.
12246
e2211bed
DM
122472012-10-25 David S. Miller <davem@davemloft.net>
12248
12249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12250 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12251 of strtoull.
12252
f303f97c
DM
12253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12254 ifunc-impl-list.c
12255 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12256 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12257 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12258 file.
12259
1e9d84cd
RM
122602012-10-25 Roland McGrath <roland@hack.frob.com>
12261
12262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12263 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12264 __getdirentries.
12265
df381762
JM
122662012-10-25 Joseph Myers <joseph@codesourcery.com>
12267 Jim Blandy <jimb@codesourcery.com>
12268
12269 * scripts/cross-test-ssh.sh: New file.
12270 * manual/install.texi (Configuring and compiling): Document use of
12271 cross-test-ssh.sh.
12272 * INSTALL: Regenerated.
12273
bff64913
PT
122742012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12275
12276 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12277 EOPNOTSUPP.
12278
25fe8932
JM
122792012-10-25 Joseph Myers <joseph@codesourcery.com>
12280
12281 * Makeconfig (run-program-prefix): Fix comment.
12282
cc1290d0
JM
122832012-10-24 Joseph Myers <joseph@codesourcery.com>
12284 Jim Blandy <jimb@codesourcery.com>
12285
12286 * Makeconfig (test-wrapper): New variable,
12287 (test-wrapper-env): Likewise.
12288 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12289 (run-built-tests): Define to yes.
12290 (run-program-prefix): Use $(test-wrapper).
12291 (built-program-cmd): Likewise.
12292 * Rules (make-test-out): Use $(test-wrapper-env) and
12293 $(host-built-program-cmd).
12294 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12295 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12296 tst-pathopt.sh.
12297 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12298 $(test-wrapper-env) to tst-rtld-load-self.sh.
12299 ($(objpfx)order2.out): Use $(test-wrapper).
12300 ($(objpfx)tst-initorder.out): Likewise.
12301 ($(objpfx)tst-initorder2.out): Likewise.
12302 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12303 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12304 (test_wrapper_env): New variable. Use it to run ld.so.
12305 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12306 Use it to run ld.so.
12307 (test_wrapper_env): Likewise.
12308 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12309 $(test-wrapper) to run-iconv-test.sh.
12310 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12311 (ICONV): Use $test_wrapper.
12312 * posix/Makefile ($(objpfx)globtest.out): Pass
12313 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12314 globtest.sh, not $(run-program-prefix).
12315 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12316 (test_wrapper): Likewise.
12317 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12318 set together with run_via_rtld_prefix.
12319 (run_program_prefix): Define in terms of test_wrapper and
12320 run_via_rtld_prefix.
12321
6e6249d0
RM
123222012-10-24 Roland McGrath <roland@hack.frob.com>
12323
12324 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12325 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12326 Targets removed.
12327
12328 [BZ #14743]
12329 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12330 Declare __clock_getres, __clock_gettime, __clock_settime,
12331 __clock_nanosleep, and __clock_getcpuclockid.
12332 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12333 Remove librt_hidden_def (clock_gettime).
12334 * sysdeps/unix/clock_gettime.c: Likewise.
12335 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12336 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12337 * rt/clock_getres.c: Define __clock_getres as an alias.
12338 * sysdeps/posix/clock_getres.c: Likewise.
12339 * rt/clock_settime.c: Define __clock_settime as an alias.
12340 * sysdeps/unix/clock_settime.c: Likewise.
12341 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12342 * sysdeps/unix/clock_nanosleep.c: Likewise.
12343 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12344 * rt/clock-compat.c: New file.
12345 * rt/Makefile (librt-routines): Add clock-compat and move
12346 $(clock-routines) to ...
12347 (routines): ... here, new variable.
12348 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12349 Don't add get_clockfreq here.
12350 * rt/Versions (libc: GLIBC_2.17): New version set.
12351 Add clock_* symbols here.
12352 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12354 (GLIBC_2.17): Add clock_* symbols.
12355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12359 Likewise.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12361 Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12366 * NEWS: Mention the move.
12367
12368 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12369 Use __open, __read, __close rather than their public counterparts.
12370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12371 (__get_clockfreq_via_cpuinfo): Likewise.
12372 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12373 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12374
12375 * config.h.in (HAVE_IFUNC): New #undef.
12376 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12377 was successful.
12378 * configure: Regenerated.
12379
0cae3f4b
MF
123802012-10-24 Mike Frysinger <vapier@gentoo.org>
12381
12382 * configure.in: Move READELF check to start of file.
12383 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12384 libc_cv_asm_gnu_indirect_function in the process.
12385 * configure: Regenerated.
12386
8175a253
MF
123872012-10-24 Mike Frysinger <vapier@gentoo.org>
12388
12389 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12390 send the output to /dev/null.
12391 (libc_cv_cc_with_libunwind): Likewise.
12392 (libc_cv_as_noexecstack): Likewise.
12393 * configure: Regenerate.
12394
0708a7d1
JM
123952012-10-24 Joseph Myers <joseph@codesourcery.com>
12396
10b40d85
JM
12397 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12398
0708a7d1
JM
12399 * posix/globtest.sh (TMPDIR): Do not set.
12400 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12401 (testout): Likewise.
12402
9fddec1a
AJ
124032012-10-24 Andreas Jaeger <aj@suse.de>
12404
3a8db22f
AJ
12405 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12406 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12407 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12408 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12409 posix_fadvise64, posix_fallocate64.
12410
9fddec1a
AJ
12411 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12412 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12413 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12414 Likewise.
12415 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12416 Likewise.
12417 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12418
12419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12420 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12421 <bits/fcntl-linux.h>.
12422 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12423
12424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12425 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12426 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12427 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12428 [__WORDSIZE != 64]: Likewise.
12429
ebfd1bbd
JM
124302012-10-23 Joseph Myers <joseph@codesourcery.com>
12431
03ac099f
JM
12432 * Makeconfig (run-built-tests): New variable.
12433 * Rules [$(cross-compiling) = yes]: Change condition to
12434 [$(run-built-tests) = no].
12435 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12436 to [$(run-built-tests) = yes].
12437 * elf/Makefile [$(cross-compiling) = no]: Likewise
12438 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12439 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12440 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12441 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12442 * io/Makefile [$(cross-compiling) = no]: Likewise.
12443 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12444 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12445 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12446 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12447 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12448 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12449 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12450 * string/Makefile [$(cross-compiling) = no]: Likewise.
12451
ebfd1bbd
JM
12452 * posix/Makefile ($(objpfx)globtest.out): Pass
12453 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12454 $(rtld-installed-name).
12455 * posix/globtest.sh (elf_objpfx): Remove variable.
12456 (rtld_installed_name): Likewise.
12457 (library_path): Likewise.
12458 (run_program_prefix): New variable. Use for running globtest
12459 binary.
12460
166bca24
JB
124612012-10-23 Jim Blandy <jimb@codesourcery.com>
12462 Joseph Myers <joseph@codesourcery.com>
12463
12464 * Makeconfig (host-built-program-cmd): New variable.
12465 * elf/Makefile (tst-stackguard1-ARGS): Use
12466 $(host-built-program-cmd).
12467 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12468 (tst-spawn-ARGS): Likewise.
12469 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12470
88866099
JM
124712012-10-23 Joseph Myers <joseph@codesourcery.com>
12472 Jim Blandy <jimb@codesourcery.com>
12473
12474 * Makeconfig (run-via-rtld-prefix): New variable.
12475 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12476 (built-program-cmd): Likewise.
12477
b4b4c296
AJ
124782012-10-22 Andreas Jaeger <aj@suse.de>
12479
12480 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12481 __O_RSYNC if it exists, otherwise to O_SYNC.
12482
6fb54a22
JB
124832012-10-22 Jim Blandy <jimb@codesourcery.com>
12484 Joseph Myers <joseph@codesourcery.com>
12485
12486 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12487 /dev/null.
12488 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12489 from /dev/null
12490 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12491 /dev/null.
12492
481b90b9
AJ
124932012-10-22 Andreas Jaeger <aj@suse.de>
12494
2a0e2669
AJ
12495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12496 Define always.
12497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12498
76e38f9a
AJ
12499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12500 bits/fcntl-linux.h.
12501
7cd37b43
AJ
12502 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12503 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12504
481b90b9
AJ
12505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12506 to __O_LARGEFILE.
12507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12508 to __O_LARGEFILE.
12509
aba75984
JB
125102012-10-21 Jim Blandy <jimb@codesourcery.com>
12511 Joseph Myers <joseph@codesourcery.com>
12512
12513 * config.make.in (NM): New variable.
12514
88d4247f
AJ
125152012-10-21 Andreas Jaeger <aj@suse.de>
12516
12517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12518 definitions and declarations that are provided by
12519 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12520
f2eed205
L
125212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12522
12523 [BZ #14683]
12524 * elf/Makefile (tests-static): Add tst-leaks1-static.
12525 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12526 ($(objpfx)tst-leaks1-static): New rule.
12527 ($(objpfx)tst-leaks1-static-mem): Likewise.
12528 (tst-leaks1-static-ENV): New macro.
12529 * elf/dl-open.c (dl_open_worker): Check the main application
12530 only if SHARED is defined.
12531 * elf/tst-leaks1-static.c: New file.
12532
335e6931
AJ
125332012-10-20 Andreas Jaeger <aj@suse.de>
12534
12535 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12536 generic values for Linux.
12537 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12538 and declarations that are provided by <bits/fcntl-linux.h> and
12539 include <bits/fcntl-linux.h>.
12540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12542
ac5c94d3
RM
125432012-10-20 Roland McGrath <roland@hack.frob.com>
12544
12545 * io/fcntl.h: Move include of <bits/types.h> to the top and
12546 include it unconditionally.
12547
de54b33a
L
125482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12549
228cfb01
L
12550 * wcsmbs/Makefile (tests-ifunc): New variable.
12551 (tests): Add $(tests-ifunc).
12552 * wcsmbs/test-wcschr-ifunc.c: New file.
12553 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12554 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12555 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12556 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12557 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12558
69f07e5f
L
12559 * string/Makefile (tests-ifunc): New variable.
12560 (tests): Add $(tests-ifunc).
12561 * string/test-memccpy.c (TEST_NAME): New macro.
12562 * string/test-memchr.c (TEST_NAME): Likewise.
12563 * string/test-memcmp.c (TEST_NAME): Likewise.
12564 * string/test-memcpy.c (TEST_NAME): Likewise.
12565 * string/test-memmem.c (TEST_NAME): Likewise.
12566 * string/test-memmove.c (TEST_NAME): Likewise.
12567 * string/test-memset.c (TEST_NAME): Likewise.
12568 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12569 * string/test-stpcpy.c (TEST_NAME): Likewise.
12570 * string/test-stpncpy.c (TEST_NAME): Likewise.
12571 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12572 * string/test-strcasestr.c (TEST_NAME): Likewise.
12573 * string/test-strcat.c (TEST_NAME): Likewise.
12574 * string/test-strchr.c (TEST_NAME): Likewise.
12575 * string/test-strcmp.c(TEST_NAME): Likewise.
12576 * string/test-strcpy.c (TEST_NAME): Likewise.
12577 * string/test-strcspn.c (TEST_NAME): Likewise.
12578 * string/test-strlen.c (TEST_NAME): Likewise.
12579 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12580 * string/test-strncmp.c (TEST_NAME): Likewise.
12581 * string/test-strncpy.c (TEST_NAME): Likewise.
12582 * string/test-strnlen.c (TEST_NAME): Likewise.
12583 * string/test-strpbrk.c (TEST_NAME): Likewise.
12584 * string/test-strrchr.c (TEST_NAME): Likewise.
12585 * string/test-strspn.c (TEST_NAME): Likewise.
12586 * string/test-strstr.c (TEST_NAME): Likewise.
12587 * string/test-bcopy-ifunc.c: New file.
12588 * string/test-bzero-ifunc.c: Likewise.
12589 * string/test-memccpy-ifunc.c: Likewise.
12590 * string/test-memchr-ifunc.c: Likewise.
12591 * string/test-memcmp-ifunc.c: Likewise.
12592 * string/test-memcpy-ifunc.c: Likewise.
12593 * string/test-memmem-ifunc.c: Likewise.
12594 * string/test-memmove-ifunc.c: Likewise.
12595 * string/test-mempcpy-ifunc.c: Likewise.
12596 * string/test-memset-ifunc.c: Likewise.
12597 * string/test-rawmemchr-ifunc.c: Likewise.
12598 * string/test-stpcpy-ifunc.c: Likewise.
12599 * string/test-stpncpy-ifunc.c: Likewise.
12600 * string/test-strcasecmp-ifunc.c: Likewise.
12601 * string/test-strcasestr-ifunc.c: Likewise.
12602 * string/test-strcat-ifunc.c: Likewise.
12603 * string/test-strchr-ifunc.c: Likewise.
12604 * string/test-strchrnul-ifunc.c: Likewise.
12605 * string/test-strcmp-ifunc.c: Likewise.
12606 * string/test-strcpy-ifunc.c: Likewise.
12607 * string/test-strcspn-ifunc.c: Likewise.
12608 * string/test-strlen-ifunc.c: Likewise.
12609 * string/test-strncasecmp-ifunc.c: Likewise.
12610 * string/test-strncat-ifunc.c: Likewise.
12611 * string/test-strncmp-ifunc.c: Likewise.
12612 * string/test-strncpy-ifunc.c: Likewise.
12613 * string/test-strnlen-ifunc.c: Likewise.
12614 * string/test-strpbrk-ifunc.c: Likewise.
12615 * string/test-strrchr-ifunc.c: Likewise.
12616 * string/test-strspn-ifunc.c: Likewise.
12617 * string/test-strstr-ifunc.c: Likewise.
12618
de54b33a
L
12619 * debug/Makefile (tests-ifunc): New variable.
12620 (tests): Add $(tests-ifunc).
12621 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12622 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12623 * debug/test-stpcpy_chk-ifunc.c: New file.
12624 * debug/test-strcpy_chk-ifunc.c: Likewise.
12625
88481c16
SP
126262012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12627
12628 [BZ #13601]
12629 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12630 header is not read in.
12631
135948bd
JM
126322012-10-19 Joseph Myers <joseph@codesourcery.com>
12633
89f1c388
JM
12634 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12635 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12636 directly. Pass built executable to script as
12637 $(built-program-cmd).
12638 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12639 $testprogram without using LD_LIBRARY_PATH and $ldso.
12640
e40a0d21
JM
12641 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12642 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12643 $(rtld-installed-name).
12644 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12645 (rtld_installed_name): Likewise.
12646 (library_path): Likewise.
12647 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12648 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12649 $(run-program-prefix) to tst-tables.sh.
12650 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12651 it to run tst-table-from and tst-table-to.
12652 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12653 Pass it to tst-table.sh.
12654 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12655 $(run-program-prefix) to tst-gettext.sh.
12656 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12657 tst-translit.sh.
12658 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12659 tst-gettext2.sh.
12660 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12661 to run tst-gettext.
12662 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12663 to run tst-gettext2.
12664 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12665 to run tst-translit.
12666 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12667 $(run-program-prefix) to tst-mtrace.sh.
12668 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12669 to run tst-mtrace.
12670 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12671 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12672 $(rtld-installed-name).
12673 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12674 (rtld_installed_name): Likewise.
12675 (run_program_prefix): New variable. Use it to run wordexp-test.
12676
728e272a
JM
12677 * Makeconfig (ARCH): Remove all definitions.
12678 (machine): Likewise.
12679 [ARCH]: Remove conditional code.
12680 [!objdir]: Give error.
12681 [!objdir] (objpfx): Remove.
12682 [!objdir] (common-objpfx): Likewise.
12683 [!objdir] (common-objdir): Likewise.
12684 * configure.in (config_makefile): Remove. Hardcode Makefile in
12685 AC_CONFIG_FILES call.
12686 * configure: Regenerated.
12687
d528cdcf
JM
12688 [BZ #13888]
12689 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12690 or TMPDIR.
12691 (testout): Likewise.
12692
135948bd
JM
12693 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12694 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12695 $(rtld-installed-name).
12696 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12697 (rtld_installed_name): Likwise.
12698 (runit): Remove function.
12699 (run_getconf): New variable, Use it for running getconf binary.
12700
38c78296
L
127012012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12702
12703 [BZ #14716]
12704 * string/test-memmem.c (check_result): New function.
12705 (do_one_test): Use it.
12706 (check1): New function.
12707 (test_main): Use it.
12708
d077f65f
MT
127092012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12710
12711 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12712
ced52c71
JM
127132012-10-18 Joseph Myers <joseph@codesourcery.com>
12714
12715 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12716 (_G_LSEEK64): Likewise.
12717 (_G_MMAP64): Likewise.
12718 (_G_FSTAT64): Likewise.
12719 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12720 (_G_LSEEK64): Likewise.
12721 (_G_MMAP64): Likewise.
12722 (_G_FSTAT64): Likewise.
12723 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12724 unconditional. Call __mmap64 directly.
12725 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12726 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12727 __lseek64 directly.
12728 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12729 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12730 __mmap64 directly.
12731 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12732 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12733 __lseek64 directly.
12734 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12735 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12736 __lseek64 directly.
12737 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12738 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12739 __lseek64 directly.
12740 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12741 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12742 __fxstat64 directly.
12743 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12744 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12745 unconditional.
12746 (freopen64) [!_G_OPEN64]: Remove conditional code.
12747 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12748 unconditional.
12749 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12750 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12751 unconditional.
12752 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12753 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12754 unconditional.
12755 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12756 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12757 unconditional.
12758 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12759 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12760 unconditional.
12761 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12762 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12763 unconditional.
12764 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12765 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12766 unconditional.
12767 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12768
b741de23
SP
127692012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12770
12771 [BZ #12140]
12772 * manual/memory.texi (Malloc Tunable Parameters): Add note
12773 about free list pointers overwriting some perturb bytes.
12774 Wording suggested by Roland McGrath.
12775
f9b9d9c9
JM
127762012-10-17 Joseph Myers <joseph@codesourcery.com>
12777
12778 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12779 (lgamma_test): Likewise.
12780 (tgamma_test): Likewise.
12781
172a631a
FW
127822012-10-16 Florian Weimer <fweimer@redhat.com>
12783
12784 [BZ #14700]
12785 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12786 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12787
e9f37252
MK
127882012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12789
12790 * NEWS: Mention BZ #14716.
12791 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12792 when removing AVAILABLE1_USES_J macro.
12793
d394eb74
L
127942012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12797 (__bswap_64): __uint64_t for unsigned 64-bit int.
12798
ca38dc17
AS
127992012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12800
12801 * include/string.h (memmem): Declare libc hidden alias.
12802 * string/memmem.c (memmem): Define libc hidden alias.
12803 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12804 __read, __close instead of open, read, close.
12805
9a387d1f
L
128062012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12807
ac49ecaf
L
12808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12809 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12810 global and hidden.
12811 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12812 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12813 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12814 Likewise.
12815 (__rawmemchr_sse2): Likewise.
12816 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12817 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12818 (__strchr_sse2): Likewise.
12819 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12820 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12821 (__strcasecmp_sse2): Likewise.
12822 (__strncasecmp_sse2): Likewise.
12823 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12824 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12825 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12826 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12827 (__strrchr_sse2): Likewise.
12828 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12829 ifunc-impl-list.c.
12830 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12831 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12832 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12833 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12834 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12835 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12836 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12837 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12838 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12839 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12840 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12841 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12842 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12843 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12844 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12845 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12846 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12847 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12848 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12849 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12850 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12851 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12852 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12853 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12854 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12855 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12856 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12857 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12858 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12859 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12860
b090e8ea
L
12861 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12862 global and hidden.
12863 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12864 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12865 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12866 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12867 Likewise.
12868 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12869 Likewise.
12870 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12871 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12872 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12873 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12874 ifunc-impl-list.c.
12875 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12884 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12885 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12886 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12887 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12888 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12889 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12890 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12891 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12892 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12893 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12894 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12895 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12896 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12897 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12898 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12899 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12900 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12901 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12902 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12903 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12904 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12905 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12906 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12907 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12908 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12909 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12910 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12911 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12912 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12913 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12914 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12915 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12916
11dd4af6
L
12917 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12918 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12919 * include/ifunc-impl-list.h: New file.
12920 * misc/ifunc-impl-list.c: Likewise.
12921 * misc/Makefile (routines): Add ifunc-impl-list.
12922 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12923 * string/test-string.h: Include <ifunc-impl-list.h>.
12924 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12925 impl_array): New variables.
12926 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12927 are defined.
12928 (test_init): Call __libc_ifunc_impl_list to initialize
12929 func_list if TEST_IFUNC and TEST_NAME are defined.
12930
9a387d1f
L
12931 * string/Makefile (strop-tests): Add bcopy and bzero.
12932 * string/test-bcopy.c: New file.
12933 * string/test-bzero.c: Likewise.
12934 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12935 defined.
12936 * string/test-memset.c: Support bzero test if TEST_BZERO is
12937 defined.
12938 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12939 __libc_memmove.
12940 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12941 __libc_memset.
12942 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12943 of memset.
12944
472371b9
JM
129452012-10-10 Joseph Myers <joseph@codesourcery.com>
12946
1e4a9536
JM
12947 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12948 * configure: Regenerated.
12949
d173d12e
JM
12950 * Makeconfig (+link-static-before-libc): Don't include
12951 $(link-static-libc).
12952
472371b9
JM
12953 * libio/libio.h (_IO_pos_t): Remove.
12954
89a3ad0b
AO
129552012-10-10 Alexandre Oliva <aoliva@redhat.com>
12956
12957 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12958 McGrath.
12959
e7451425
AO
129602012-10-10 Alexandre Oliva <aoliva@redhat.com>
12961
12962 * crypt/crypt-entry.c: Include fips-private.h.
12963 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12964 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12965 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12966 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12967
4ba74a35
AO
129682012-10-10 Alexandre Oliva <aoliva@redhat.com>
12969
12970 * crypt/crypt-private.h: Include stdbool.h.
12971 (_ufc_setup_salt_r): Return bool.
12972 * crypt/crypt-entry.c: Include errno.h.
12973 (__crypt_r): Return NULL with EINVAL for bad salt.
12974 * crypt/crypt_util.c (bad_for_salt): New.
12975 (_ufc_setup_salt_r): Check that salt is long enough and within
12976 the specified alphabet.
12977 * crypt/badsalttest.c: New file.
12978 * crypt/Makefile (tests): Add it.
12979 ($(objpfx)badsalttest): New.
12980
f96f1242
MK
129812012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12982
12983 * NEWS: Add entry for BZ #14602.
12984
0e8e0c1c
JM
129852012-10-09 Joseph Myers <joseph@codesourcery.com>
12986
12987 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12988 type-generic.
12989 * math/libm-test.inc: Update comment listing what functions and
12990 macros are tested.
12991 (isgreater_test): New function.
12992 (isgreaterequal_test): Likewise.
12993 (isless_test): Likewise.
12994 (islessequal_test): Likewise.
12995 (islessgreater_test): Likewise.
12996 (isunordered_test): Likewise.
12997 (main): Call the new functions.
12998
273edc5e
RM
129992012-10-09 Roland McGrath <roland@hack.frob.com>
13000
b8493de0
RM
13001 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13002 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13003 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13004 * sysdeps/i386/configure: Regenerated.
13005 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13006 * sysdeps/mach/configure: Regenerated.
13007 * sysdeps/mach/hurd/configure: Regenerated.
13008 * sysdeps/powerpc/configure: Regenerated.
13009 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13010 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13011 * sysdeps/s390/s390-32/configure: Regenerated.
13012 * sysdeps/s390/s390-64/configure: Regenerated.
13013 * sysdeps/sh/configure: Regenerated.
13014 * sysdeps/sparc/configure: Regenerated.
13015 * sysdeps/unix/sysv/linux/configure: Regenerated.
13016 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13017 * sysdeps/x86_64/configure: Regenerated.
13018
273edc5e
RM
13019 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13020 defined. Don't check if MAP is NULL.
13021
c8450f70
JM
130222012-10-09 Joseph Myers <joseph@codesourcery.com>
13023
13024 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13025 (_G_stat64): Likewise.
13026 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13027 (_G_stat64): Likewise.
13028 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13029 instead of struct _G_stat64.
13030 * libio/fileops.c (mmap_remap_check): Likewise.
13031 (decide_maybe_mmap): Likewise.
13032 (_IO_new_file_seekoff): Likewise.
13033 (_IO_file_stat): Likewise.
13034 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13035 _G_off64_t.
13036 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13037 instead of struct _G_stat64.
13038 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13039
57e605ba
MK
130402012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13041
13042 [BZ #14602]
13043 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13044 Replace with ...
13045 (CHECK_EOL): New macro.
13046 (two_way_short_needle): Check beginning of haystack for EOL. Use
13047 CHECK_EOL.
13048 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13049 Replace with CHECK_EOL.
13050 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13051 Replace with CHECK_EOL.
13052
ef1bb361
JM
130532012-10-08 Joseph Myers <joseph@codesourcery.com>
13054
13055 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13056 type-generic.
13057 * math/libm-test.inc: Update comment listing what functions and
13058 macros are tested.
13059 (finite_test): New function.
13060 (isinf_test): Likewise.
13061 (isnan_test): Likewise.
13062 (fpclassify_test): Test subnormal input.
13063 (isfinite_test): Likewise.
13064 (isnormal_test): Likewise.
13065 (main): Call the new functions.
13066
55f11534
JN
130672012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13068
13069 [BZ #14660]
13070 * Makerules (%.dynsym): Force C locale when running
13071 $(OBJDUMP) --dynamic-syms.
13072
1ab29350
AS
130732012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13074
13075 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13076 <stdint.h>.
13077
f1ecb7ef
DM
130782012-10-06 David S. Miller <davem@davemloft.net>
13079
13080 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13081 upper 32-bits of the length value in %o2 since we use branch-on-register
13082 tests which consider the entire 64-bit register.
13083
5d41d91a
L
130842012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 * string/test-strstr.c (check2): Add a test for page boundary.
13087
3baddb72
DM
130882012-10-05 David S. Miller <davem@davemloft.net>
13089
13090 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13091 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13092 file.
13093 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13094 sysdep_routines.
13095 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13096 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13097 and bzero when HWCAP_SPARC_CRYPTO is present.
13098
9cee5585
L
130992012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13100
d7e0dab9
L
13101 [BZ #14602]
13102 * string/test-strstr.c (check2): New function.
13103 (test_main): Call check2.
13104
03759f47
L
13105 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13106 and bug-strchr1.
13107 * string/bug-strcasestr1.c (do_test): Moved to ...
13108 * string/test-strcasestr.c (check1): Here. New function.
13109 (do_one_test): Break out result checking code into ...
13110 (check_result): This. New function.
13111 (do_one_test): Call check_result.
13112 (test_main): Call check1.
13113 * string/bug-strchr1.c (do_test): Moved to ...
13114 * string/test-strchr.c (check1): Here. New function.
13115 (do_one_test): Break out result checking code into ...
13116 (check_result): This. New function.
13117 (do_one_test): Call check_result.
13118 (test_main): Call check1.
13119 * string/bug-strstr1.c (main): Moved to ...
046f153e 13120 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13121 (do_one_test): Break out result checking code into ...
13122 (check_result): This. New function.
13123 (do_one_test): Call check_result.
13124 (test_main): Call check1.
13125 * string/bug-strcasestr1.c: Removed.
13126 * string/bug-strchr1.c: Likewise.
13127 * string/bug-strstr1.c: Likewise.
13128
53cea63e
L
13129 * elf/Makefile (dl-routines): Add hwcaps.
13130 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13131 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13132 (_dl_important_hwcaps): Moved to ...
13133 * elf/dl-hwcaps.c: Here. New file.
13134 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13135
9cee5585 13136 [BZ #14557]
bb859b06
L
13137 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13138 if IS_IN_rtld isn't defined.
13139
9cee5585
L
13140 * elf/dl-support.c (_dl_sysinfo_map): New.
13141 Include "get-dynamic-info.h" and "setup-vdso.h".
13142 (_dl_non_dynamic_init): Call setup_vdso.
13143 * elf/dynamic-link.h: Don't include <assert.h>.
13144 (elf_get_dynamic_info): Moved to ...
13145 * elf/get-dynamic-info.h: Here. New file.
13146 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13147 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13148 * elf/setup-vdso.h: Here. New file.
13149 * elf/rtld.c: Include "setup-vdso.h".
13150 (dl_main): Call setup_vdso.
13151
23c31b76
JM
131522012-10-05 Joseph Myers <joseph@codesourcery.com>
13153
28234b07
JM
13154 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13155 creal in comment listing functions tested. List finite, isinf,
13156 isnan, isless, islessequal, isgreater, isgreaterequal,
13157 islessgreater, isunordered, lgamma_r and pow10 as functions and
13158 macros not tested. Mention which functions not tested are aliases
13159 for other functions. Fix typo. Note that signs of NaNs are not
13160 tested.
13161
23c31b76
JM
13162 * scripts/config.guess: Update from config.git.
13163 * scripts/config.sub: Likewise.
13164
9043e228
RM
131652012-10-04 Roland McGrath <roland@hack.frob.com>
13166
13167 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13168 * misc/madvise.c (madvise): Renamed to __madvise.
13169 Make madvise a weak alias.
13170 * include/sys/mman.h: Declare __madvise.
13171 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13172 * sysdeps/unix/syscalls.list
13173 (madvise): Make __madvise the strong name, and madvise a weak alias.
13174 * sysdeps/unix/sysv/linux/syscalls.list
13175 (madvise, mmap): Remove redundant entries.
13176 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13177 * malloc/malloc.c (mtrim): Likewise.
13178 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13179
f57f8055
RM
131802012-10-03 Roland McGrath <roland@hack.frob.com>
13181
13182 * sysdeps/mach/hurd/dl-cache.c: File removed.
13183 * config.h.in (USE_LDCONFIG): New #undef.
13184 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13185 * configure: Regenerated.
13186 * elf/Makefile (dl-routines): Add dl-cache only under
13187 [$(use-ldconfig) = yes].
13188 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13189 cache on [USE_LDCONFIG].
13190 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13191 [USE_LDCONFIG].
13192 * elf/rtld.c (dl_main): Likewise.
13193
5bb0c10a
PT
131942012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13195
13196 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13197 _SC_LEVEL4_CACHE_LINESIZE.
13198
010188c6
RM
131992012-10-03 Roland McGrath <roland@hack.frob.com>
13200
13201 * sysdeps/unix/bsd/confstr.h: File removed.
13202
b6c5ec07
AO
132032012-10-02 Alexandre Oliva <aoliva@redhat.com>
13204
13205 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13206 sys/sdt-config.h.
13207
408223d4
RM
132082012-10-02 Roland McGrath <roland@hack.frob.com>
13209
13210 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13211 Make 'mapoff' field ElfW(Off) rather than off_t.
13212
bb9510dc
DL
132132012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13214
fc997c6e
DL
13215 * nscd/Makefile: Remove nscd-cflags and all its users.
13216 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13217 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13218
bb9510dc
DL
13219 [BZ #10631]
13220 * malloc.c (malloc_printerr): Clarify error message.
13221
05699367
L
132222012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13223
13224 [BZ #14648]
13225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13226 Set bit_FMA_Usable if FMA is supported.
13227 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13228 macro.
13229 (bit_FMA4_Usable): Updated.
13230 (index_FMA_Usable): New macro.
13231 (CPUID_FMA): Likewise
13232 (HAS_FMA): Defined with bit_FMA_Usable.
13233
51367701
RM
132342012-10-01 Roland McGrath <roland@hack.frob.com>
13235
13236 * bits/types.h (__swblk_t): Type removed.
13237 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13238 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13240 (__SWBLK_T_TYPE): Likewise.
13241 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13242 (__SWBLK_T_TYPE): Likewise.
13243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13244 (__SWBLK_T_TYPE): Likewise.
13245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13246 (__SWBLK_T_TYPE): Likewise.
13247
4d57bf63 132482012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13249 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13250
13251 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13252 (xdr_mapname): Use YPMAXMAP as maxsize.
13253 (xdr_peername): Use YPMAXPEER as maxsize.
13254 (xdr_keydat): Use YPAXRECORD as maxsize.
13255 (xdr_valdat): Use YPMAXRECORD as maxsize.
13256
93c65d43
RM
132572012-10-01 Roland McGrath <roland@hack.frob.com>
13258
497a03d6
RM
13259 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13260
93c65d43
RM
13261 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13262 * csu/init-first.c: ... here.
13263 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13264 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13265 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13266 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13267 * sysdeps/i386/init-first.c: File removed.
13268 * sysdeps/sh/init-first.c: File removed.
13269
bec749fd
JM
132702012-10-01 Joseph Myers <joseph@codesourcery.com>
13271
13272 [BZ #14645]
13273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13274 if x * y might underflow to zero and z is zero.
13275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13276 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13277 * math/libm-test.inc (min_subnorm_value): New variable.
13278 (fma_test): Add more tests.
13279 (fma_test_towardzero): Likewise.
13280 (fma_test_downward): Likewise
13281 (fma_test_upward): Likewise.
13282 (initialize): Set min_subnorm_value.
13283
8ec5b013
JM
132842012-09-29 Joseph Myers <joseph@codesourcery.com>
13285
13286 [BZ #14638]
13287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13288 0 + 0.
13289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13290 mode for addition resulting in exact zero.
13291 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13293 exact 0 + 0.
13294 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13296 * math/libm-test.inc (fma_test): Add more tests.
13297 (fma_test_towardzero): New function.
13298 (fma_test_downward): Likewise.
13299 (fma_test_upward): Likewise.
13300 (main): Call the new functions.
13301
b1fa802e
DM
133022012-09-28 David S. Miller <davem@davemloft.net>
13303
13304 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13305
d3b9fd9e
RM
133062012-09-28 Roland McGrath <roland@hack.frob.com>
13307
ea4d37b3
RM
13308 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13309 instead of SIGALRM.
13310
ac51c949
RM
13311 * sysdeps/gnu/_G_config.h: Moved to ...
13312 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13313 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13314 * sysdeps/generic/_G_config.h: ... here.
13315
28c195f7
RM
13316 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13317
848917f9
RM
13318 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13319
6bacf05b
RM
13320 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13321 Conditionalize target on [libnss_test1.so-version].
13322
91363dbb
RM
13323 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13324
cc87f7d8
RM
13325 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13326 (elfobjdir): Move out of conditionals.
13327
b1c608fe
RM
13328 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13329 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13330 (__nss_lookup_function): Conditionalize label remove_from_tree on
13331 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13332
1d9a6d96
DM
133332012-09-28 David S. Miller <davem@davemloft.net>
13334
13335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13336 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13337 file.
13338 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13339 sysdep_routines.
13340 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13342 when HWCAP_SPARC_CRYPTO is present.
13343
72581615
PT
133442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13345
13346 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13347
715a900c
JL
133482012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13349
13350 [BZ #6530]
13351 * stdio-common/vfprintf.c (process_string_arg): Revert
13352 2000-07-22 change.
13353
133542011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13355
13356 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13357 for testcase.
13358 * stdio-common/tst-sprintf.c: Include <locale.h>
13359 (main): Test sprintf's handling of incomplete multibyte
13360 characters.
13361
9bac1d86
L
133622012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13363
13364 * elf/dl-runtime.c (VERSYMIDX): Removed.
13365 * elf/dl-version.c (VERSYMIDX): Likewise.
13366 * elf/do-rel.h (VERSYMIDX): Likewise.
13367 (VALIDX): Likewise.
13368 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13369 * elf/rtld.c (VALIDX): Likewise.
13370 (ADDRIDX): Likewise.
9bac1d86
L
13371 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13372 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13373 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13374 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13375 (VALIDX): Likewise.
13376 (ADDRIDX): Likewise.
9bac1d86 13377
b31606c0
PT
133782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13379
13380 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13381
11541177
JL
133822012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13383
13384 [BZ #11438]
13385 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13386 to global scope.
13387 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13388 addresses are in the same scope as 192.0.2/24.
13389 * posix/gai.conf: Document new scope table defaults.
13390
adb26fae
SP
133912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13392
13393 [BZ #5298]
13394 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13395 for ftell. Compute offsets from write pointers instead.
13396 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13397
4573c6b0
SP
133982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13399
13400 [BZ #14543]
13401 * libio/Makefile (tests): New test case tst-fseek.
13402 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13403 combination works in wide mode.
13404 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13405 state when the external buffer state changes.
13406
aa9bbfe6
DM
134072012-09-27 David S. Miller <davem@davemloft.net>
13408
13409 [BZ #14376]
13410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13411 pass reloc->r_addend in as the 'high' argument to
13412 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13413
784421e7
DM
13414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13415
c39bc8b8
PT
134162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13417
13418 * rt/tst-aio2.c: Include <pthread.h>.
13419 * rt/tst-aio3.c: Likewise.
13420
1ccc2399
SE
134212012-09-27 Steve Ellcey <sellcey@mips.com>
13422
13423 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13424
31ed4153
L
134252012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13426
25f5f885
L
13427 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13428 contents on [SHARED].
31ed4153 13429
b7bfe116
MP
134302012-09-26 Marek Polacek <polacek@redhat.com>
13431
13432 [BZ #14530]
13433 [BZ #13741]
13434 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13435 for C++ and GCC <4.3 as well as for non GCC compilers.
13436
43c4edba
MT
134372012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13438
13439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13440
6a1bf82f
RM
134412012-09-25 Roland McGrath <roland@hack.frob.com>
13442
13443 * Makefile.in (all, install): Declare with .PHONY.
13444 Reported by Michael Hope <michael.hope@linaro.org>.
13445
8ad11b9a
TMQMF
134462012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13447
13448 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13449 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13450 system header.
13451 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13452 Likewise.
13453 (sydep_routines): Add the new and the internal functions.
13454 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13455 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13457 (GLIBC_2.17): Add the new function.
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13459 (GLIBC_2.17): Likewise.
13460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13461 (GLIBC_2.17): Likewise.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13463 (GLIBC_2.17): Likewise.
13464 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13465
7e2fca8d
AM
134662012-09-25 Alan Modra <amodra@gmail.com>
13467
13468 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13469 Add release barrier before setting once_control to say
13470 initialisation is done. Add hints on lwarx. Use macro in
13471 place of isync.
13472 (clear_once_control): Add release barrier.
13473
b87c4b24
JM
134742012-09-25 Joseph Myers <joseph@codesourcery.com>
13475
d032e0d2
JM
13476 [BZ #13629]
13477 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13478 specially.
13479 * math/s_clog10.c (__clog10): Likewise.
13480 * math/s_clog10f.c (__clog10f): Likewise.
13481 * math/s_clog10l.c (__clog10l): Likewise.
13482 * math/s_clogf.c (__clogf): Likewise.
13483 * math/s_clogl.c (__clogl): Likewise.
13484 * math/Makefile (libm-calls): Add x2y2m1.
13485 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13486 (__x2y2m1): Likewise.
13487 (__x2y2m1l): Likewise.
13488 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13489 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13492 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13493 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13494 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13495 * sysdeps/i386/fpu/libm-test-ulps: Update.
13496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13497
b87c4b24
JM
13498 [BZ #14621]
13499 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13500 int as type of variable DEPTH.
13501 (glob): Use size_t instead of int as type of variables NEWCOUNT
13502 and OLD_PATHC.
13503
6d3bf199
LD
135042012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13505
22bf5c17
LD
13506 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13507 Add s_sincosf-sse2.
13508 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13509 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13510 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13511 macros for using routine as __sincosf_ia32.
13512 Use macro for function declaration and weak_alias.
13513 * sysdeps/i386/fpu/libm-test-ulps: Update.
13514
13515 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13517
13518 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13519 subnormal argument.
13520 * math/s_cexpf.c (__cexpf): Likewise.
13521 * math/s_csinf.c (__csinf): Likewise.
13522 * math/s_csinhf.c (__csinhf): Likewise.
13523 * math/s_ctanf.c (__ctanf): Likewise.
13524 * math/s_ctanhf.c (__ctanhf): Likewise.
13525 * math/s_ccosh.c (__ccoshf): Likewise.
13526 * math/s_cexp.c (__cexpl): Likewise.
13527 * math/s_csin.c (__csin): Likewise.
13528 * math/s_csinh.c (__csinh): Likewise.
13529 * math/s_ctan.c (__ctan): Likewise.
13530 * math/s_ctanh.c (ctanh): Likewise.
13531 * math/s_ccoshl.c (__ccoshl): Likewise.
13532 * math/s_cexpl.c (__cexpl): Likewise.
13533 * math/s_csinl.c (__csinl): Likewise.
13534 * math/s_csinhl.c (__csinhl): Likewise.
13535 * math/s_ctanl.c (__ctanl): Likewise.
13536 * math/s_ctanhl.c (__ctanhl): Likewise.
13537
203e5603
JM
135382012-09-25 Joseph Myers <joseph@codesourcery.com>
13539
13540 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13541 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13542 (_IO_off_t): Define to __off_t, not _G_off_t.
13543 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13544 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13545 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13546 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13547 type of __dummy and __dummy2 fields.
13548 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13549 (_G_ssize_t): Likewise.
13550 (_G_off_t): Likewise.
13551 (_G_pid_t): Likewise.
13552 (_G_uid_t): Likewise.
13553 (_G_wchar_t): Likewise.
13554 (_G_wint_t): Likewise.
13555 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13556 (_G_ssize_t): Likewise.
13557 (_G_off_t): Likewise.
13558 (_G_pid_t): Likewise.
13559 (_G_uid_t): Likewise.
13560 (_G_wchar_t): Likewise.
13561 (_G_wint_t): Likewise.
13562 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13563 (_G_ssize_t): Likewise.
13564 (_G_off_t): Likewise.
13565 (_G_pid_t): Likewise.
13566 (_G_uid_t): Likewise.
13567 (_G_wchar_t): Likewise.
13568 (_G_wint_t): Likewise.
13569
9fab36eb
SP
135702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13571
13572 * malloc/arena.c: Include malloc-sysdep.h.
13573 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13574 is sufficient to shrink the heap or an unmap is needed.
13575 * sysdeps/generic/malloc-sysdep.h: New file. Define
13576 new function check_may_shrink_heap.
13577 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13578 new function check_may_shrink_heap.
13579
2b4f00d1
SP
135802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13581
13582 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13583 comments.
13584
9a9028b1
DL
135852012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13586
57c69bef
DL
13587 * catgets/test-gencat.sh: Add "set -e".
13588 * elf/tst-pathopt.sh: Likewise.
13589 * grp/tst_fgetgrent.sh: Likewise.
13590 * iconvdata/run-iconv-test.sh: Likewise.
13591 * intl/tst-gettext.sh: Likewise.
13592 * intl/tst-gettext2.sh: Likewise.
13593 * intl/tst-gettext4.sh: Likewise.
13594 * intl/tst-gettext6.sh: Likewise.
13595 * intl/tst-translit.sh: Likewise.
13596 * io/ftwtest-sh: Likewise.
13597 * libio/test-freopen.sh: Likewise.
13598 * malloc/tst-mtrace.sh: Likewise.
13599 * posix/globtest.sh: Likewise.
13600 * posix/tst-getconf.sh: Likewise.
13601 * posix/wordexp-tst.sh: Likewise.
13602 * stdio-common/tst-printf.sh: Likewise.
13603 * stdio-common/tst-unbputc.sh: Likewise.
13604 * stdlib/tst-fmtmsg.sh: Likewise.
13605 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13606 * catgets/Makefile: Do not specify -e option when running
13607 testsuite shell scripts.
13608 * elf/Makefile: Likewise.
13609 * grp/Makefile: Likewise.
13610 * iconvdata/Makefile: Likewise.
13611 * intl/Makefile: Likewise.
13612 * io/Makefile: Likewise.
13613 * libio/Makefile: Likewise.
13614 * malloc/Makefile: Likewise.
13615 * posix/Makefile: Likewise.
13616 * stdio-common/Makefile: Likewise.
13617 * stdlib/Makefile: Likewise.
13618 * sysdeps/x86_64/Makefile: Likewise.
13619
9a9028b1
DL
13620 * io/ftwtest-sh: Add copyright header.
13621 * posix/globtest.sh: Likewise.
13622 * posix/tst-getconf.sh: Likewise.
13623 * posix/wordexp-tst.sh: Likewise.
13624 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13625
ced6f16e
L
136262012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13627
94b32c39
L
13628 [BZ #13679]
13629 * Makeconfig (+link): Defined as $(+link-static) if
13630 $(build-shared) isn't yes.
13631 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13632 isn't yes.
13633 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13634
189e935b
L
13635 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13636
ced6f16e
L
13637 [BZ #14562]
13638 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13639 new chunk size with MALLOC_ALIGN_MASK.
13640
a9f8e53a
JM
136412012-09-24 Joseph Myers <joseph@codesourcery.com>
13642
13643 [BZ #5044]
13644 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13645 <rounding-mode.h>.
13646 (__printf_fphex): Determine rounding using get_rounding_mode and
13647 round_away.
13648 * stdio-common/tst-printf-round.c (struct hex_test): New
13649 structure.
13650 (hex_tests): New variable.
13651 (test_hex_in_one_mode): New function.
13652 (do_test): Also run tests for hex float output.
13653
43153109
JM
136542012-09-21 Joseph Myers <joseph@codesourcery.com>
13655
13656 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13657 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13658 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13659 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13660 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13661 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13662 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13663 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13664
8a26625d
JM
136652012-09-20 Joseph Myers <joseph@codesourcery.com>
13666
13667 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13668 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13669 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13670 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13671
f3fd569c
DL
136722012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13673
13674 [BZ #14579]
13675 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13676 mode only.
13677 * elf/tst-rtld-load-self.sh: New test.
13678 * elf/Makefile: Run it.
13679
63bbedd4
JM
136802012-09-18 Joseph Myers <joseph@codesourcery.com>
13681
13682 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13683 (tst-writev-ENV): Remove.
13684 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13685
626f8b6a
CM
136862012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13687
13688 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13689
b7aaa4d6
JM
136902012-09-17 Joseph Myers <joseph@codesourcery.com>
13691
13692 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13693 unconditional.
13694 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13695 Likewise.
13696 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13697 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13698 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13699 Likewise.
13700
65513990
L
137012012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 [BZ #14587]
13704 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13705 * config.make.in (have-cpp-asm-debuginfo): Removed.
13706 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13707 * configure: Regenerated.
13708
784761be
JM
137092012-09-14 Joseph Myers <joseph@codesourcery.com>
13710
13711 [BZ #5044]
13712 * stdio-common/printf_fp.c: Include <stdbool.h> and
13713 <rounding-mode.h>.
13714 (___printf_fp): Determine rounding using get_rounding_mode and
13715 round_away.
13716 * stdio-common/tst-printf-round.c: New file.
13717 * stdio-common/Makefile (tests): Add tst-printf-round.
13718 (link-libm): New variable.
13719 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13720
9503345f
L
137212012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 [BZ #14576]
13724 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13725 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13726 Likewise.
13727 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13728 Likewise.
13729
ad35fc00
JM
137302012-09-13 Joseph Myers <joseph@codesourcery.com>
13731
13732 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13733 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13734 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13735 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13736
6c9b0f68
JM
137372012-09-12 Joseph Myers <joseph@codesourcery.com>
13738
13739 [BZ #14518]
13740 * include/rounding-mode.h: New file.
13741 * sysdeps/generic/get-rounding-mode.h: Likewise.
13742 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13743 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13744 (MAX_VALUE): New macro.
13745 (MIN_VALUE): Likewise.
13746 (overflow_value): New function.
13747 (underflow_value): Likewise.
13748 (round_and_return): Use overflow_value and underflow_value to
13749 determine return values in overflow and underflow cases. Use
13750 round_away to determine rounding depending on rounding mode.
13751 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13752 determine return values in overflow and underflow cases.
13753 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13754 (struct test_results): New structure.
13755 (struct test): Use struct test_results to store expected results
13756 for all rounding modes.
13757 (TEST): Include expected results for all rounding modes.
13758 (test_in_one_mode): New function.
13759 (do_test): Use test_in_one_mode to compute and check results.
13760 Check results for all rounding modes.
13761 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13762 $(link-libm).
13763
19fcedd5
AM
137642012-12-09 Allan McRae <allan@archlinux.org>
13765
1e9d84cd 13766 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13767
8bbfd2f1
JM
137682012-09-11 Joseph Myers <joseph@codesourcery.com>
13769
13770 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13771 (_G_int32_t): Likewise.
13772 (_G_uint16_t): Likewise.
13773 (_G_uint32_t): Likewise.
13774 (_G_HAVE_BOOL): Likewise.
13775 (_G_HAVE_ATEXIT): Likewise.
13776 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13777 (_G_HAVE_IO_FILE_OPEN): Likewise.
13778 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13779 (_G_int32_t): Likewise.
13780 (_G_uint16_t): Likewise.
13781 (_G_uint32_t): Likewise.
13782 (_G_HAVE_BOOL): Likewise.
13783 (_G_HAVE_ATEXIT): Likewise.
13784 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13785 (_G_HAVE_IO_FILE_OPEN): Likewise.
13786 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13787 (_G_int32_t): Likewise.
13788 (_G_uint16_t): Likewise.
13789 (_G_uint32_t): Likewise.
13790 (_G_HAVE_BOOL): Likewise.
13791 (_G_HAVE_ATEXIT): Likewise.
13792 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13793 (_G_HAVE_IO_FILE_OPEN): Likewise.
13794
b1dc5912
L
137952012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13796
13797 * csu/libc-tls.c: Update copyright years.
13798
0e886ef9
JM
137992012-09-10 Joseph Myers <joseph@codesourcery.com>
13800
28361c5e
JM
13801 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13802 [!_G_USING_THUNKS]: Remove conditional code.
13803 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13804 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13805
0e886ef9
JM
13806 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13807 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13808 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13809 (_G_VTABLE_LABEL_PREFIX): Likewise.
13810 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13811 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13812 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13813 (_G_VTABLE_LABEL_PREFIX): Likewise.
13814 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13815 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13816 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13817 (_G_VTABLE_LABEL_PREFIX): Likewise.
13818 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13819
bcba7aa2
L
138202012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * libio/Makefile: Include ../Makeconfig before tests.
13823 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13824 only if $(build-shared) is yes.
13825
06585ee8
L
13826 * iconv/gconv_db.c: Update copyright years.
13827
80ccd52c
LD
138282012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13829
13830 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13831 unwind info if defined PIC. Fix special cases description.
13832 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13833
13834 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13835 DP_HI_MASK entry.
13836 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13837
691bc9c1
L
138382012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13839
3d9b46b3
L
13840 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13841
de2139a9
L
13842 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13843 is NULL.
13844
5ca78dd0
L
13845 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13846 (LDLIBS-tst-chk4): This.
13847 (LDFLAGS-tst-chk5): Renamed to ...
13848 (LDLIBS-tst-chk5): This.
13849 (LDFLAGS-tst-chk6): Renamed to ...
13850 (LDLIBS-tst-chk6): This.
13851 (LDFLAGS-tst-lfschk4): Renamed to ...
13852 (LDLIBS-tst-lfschk4): This.
13853 (LDFLAGS-tst-lfschk5): Renamed to ...
13854 (LDLIBS-tst-lfschk5): This.
13855 (LDFLAGS-tst-lfschk6): Renamed to ...
13856 (LDLIBS-tst-lfschk6): This.
13857
691bc9c1
L
13858 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13859 on $(common-objpfx)soversions.mk.
13860
65cafb1c
JM
138612012-09-07 Joseph Myers <joseph@codesourcery.com>
13862
13863 [BZ #10014]
13864 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13865 example host name.
13866
c78ab094
SP
138672012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13868
13869 * malloc/arena.c (arena_get_retry): New function that gets
13870 another arena for the caller to try its request on.
13871 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13872 current arena cannot fulfill the request.
13873 (__libc_memalign): Likewise.
13874 (__libc_memalign): Likewise.
13875 (__libc_pvalloc): Likewise.
13876 (__libc_calloc): Likewise.
13877
01f49f59
JT
138782012-09-05 John Tobey <john.tobey@gmail.com>
13879
13880 [BZ #13542]
13881 * manual/arith.texi (Operations on Complex): Fix description
13882 of carg branch cut.
13883
4c23fed5
JM
138842012-09-06 Joseph Myers <joseph@codesourcery.com>
13885
1d3c8572
JM
13886 [BZ #10014]
13887 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13888 host name.
13889
4c23fed5
JM
13890 [BZ #10038]
13891 * manual/memory.texi (Memory): Make order of menu items match
13892 order of sections.
13893
04570aaa
L
138942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13897 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13898 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13899
b80af2f4
L
139002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13901
13902 * csu/libc-tls.c (static_dtv): Renamed to ...
13903 (_dl_static_dtv): This. Make it global.
13904 (_dl_initial_dtv): Removed.
13905 (__libc_setup_tls): Updated.
13906 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13907 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13908 DL_INITIAL_DTV.
13909
2abe9f15
PM
139102012-09-06 Petr Machata <pmachata@redhat.com>
13911
13912 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13913 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13914 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13915 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13916
0948c3af
L
139172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13918
13919 [BZ #14545]
13920 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13921 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13922 freeing dtv[-1].
13923
a5055ad1
L
139242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13925
13926 [BZ #14544]
13927 * Makeconfig (link-static-before-libc): Replace $(+prector)
13928 with $(+prectorT).
13929 (link-static-after-libc): Replace $(+postctor) with
13930 $(+postctorT).
13931 (link-bounded): Replace $(+prector)/$(+postctor) with
13932 $(+prectorT)/$(+postctorT).
13933 (+prectorT): New macro.
13934 (+postctorT): Likewise.
13935
ed8c2ecd
JM
139362012-09-06 Joseph Myers <joseph@codesourcery.com>
13937
13938 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13939 (round_str): Handle values above the maximum for IBM long double
13940 as inexact.
13941 * stdlib/tst-strtod-round.c (tests): Regenerated.
13942
14c996c8
AK
139432012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13944
13945 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13946 assembler flag.
13947 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13948 zarch_nohighgprs around the zarch optimized routines.
13949 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13950 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13951 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13952 for zarch.
13953
430d6ce6
DM
139542012-09-05 David S. Miller <davem@davemloft.net>
13955
13956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13957
ff04dda4
DM
13958 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13959 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13960 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13961 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13962 entries.
13963
24d4e01b
AO
139642012-09-05 Alexandre Oliva <aoliva@redhat.com>
13965
13966 * malloc/arena.c: Fold copyright years.
13967 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13968
61d58174
AO
139692012-09-05 Alexandre Oliva <aoliva@redhat.com>
13970
13971 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13972
20196a5e
AO
139732012-09-05 Alexandre Oliva <aoliva@redhat.com>
13974
13975 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13976
5c447383
AO
139772012-09-05 Alexandre Oliva <aoliva@redhat.com>
13978
13979 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13980 change internal state upon failure.
13981
fad64255
AO
139822012-09-05 Alexandre Oliva <aoliva@redhat.com>
13983
13984 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13985 * malloc/memusage.c (mmap): Likewise.
13986 (mmap64, mremap): Likewise. Adjust name in comment.
13987
1ffb8c90
SP
139882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13989
13990 * libio/fileops.c: Fix typos in comments.
13991 * libio/oldfileops.c: Likewise.
13992 * libio/wfileops.c: Likewise.
13993
6ef9cc37
SP
139942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13995
13996 [BZ #1349]
13997 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13998 (tst-malloc-usable-ENV): Set environment for test case.
13999 * malloc/hooks.c (malloc_check_get_size): New function to get
14000 requested size.
14001 * malloc/malloc.c (musable): Use malloc_check_get_size.
14002 * malloc/tst-malloc-usable.c: New test case.
14003
4d038ae3
AS
140042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14005
14006 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14007
c4e85184
AM
140082012-09-05 Allan McRae <allan@archlinux.org>
14009
b9dafc56 14010 [BZ #13966]
c4e85184
AM
14011 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14012 determine header location.
14013 * configure: Regenerated.
14014
e1343020
AS
140152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14016
14017 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14018 float format.
14019 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14020 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14021 format.
e1343020
AS
14022 (test): Regenerate.
14023
0a9f1987
DM
140242012-09-04 David S. Miller <davem@davemloft.net>
14025
14026 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14027 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14028 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14029
29237804
FW
140302012-09-04 Florian Weimer <fweimer@redhat.com>
14031
14032 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14033 failures.
14034
edb3cb88
FW
14035 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14036
60160d83
JM
140372012-09-04 Joseph Myers <joseph@codesourcery.com>
14038
14039 [BZ #9914]
14040 * libio/iogetdelim.c: Include <limits.h>.
14041 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14042 + len + 1 would overflow.
14043
bcd6c8dc
AJ
140442012-09-03 Andreas Jaeger <aj@suse.de>
14045
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14047 * sysdeps/i386/fpu/libm-test-ulps: Update.
14048
4ffffbd2
LD
140492012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14050
14051 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14052 Add s_sinf-sse2, s_conf-sse2.
14053
14054 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14055 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14056 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14057 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14058
14059 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14060 for using routine as __sinf_ia32.
14061 Use macro for function declaration and weak_alias.
14062 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14063 for using routine as __cosf_ia32.
14064 Use macro for function declaration and weak_alias.
14065
14066 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14067 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14068
14069 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14070 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14072
14073 * math/libm-test.inc (cos_test): Add more test cases.
14074 (sin_test): Likewise.
14075 (sincos_test): Likewise.
14076
511fa286
AK
140772012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14078
14079 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14080 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14081 hidden.
14082 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14083
5f30cfec
L
140842012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14085
14086 [BZ #14538]
14087 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14088 first element of the GOT.
14089 (elf_machine_load_address): Return the difference between
14090 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14091
0786794f
AM
140922012-09-01 Allan McRae <allan@archlinux.org>
14093
5f30cfec
L
14094 [BZ #13412]
14095 * configure.in (AWK): Require gawk version 3.0 or later.
14096 * configure: Regenerated.
0786794f 14097
26889eac
JM
140982012-09-01 Joseph Myers <joseph@codesourcery.com>
14099
14100 * sysdeps/unix/sysv/linux/kernel-features.h
14101 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14102 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14103 [__NR_clock_getres]: Make code unconditional.
14104 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14105 (clock_getcpuclockid): Remove code left unreachable by removal of
14106 conditionals.
14107 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14108 code unconditional.
14109 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14110 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14111 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14112 Make code unconditional.
14113 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14114 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14115 * sysdeps/unix/sysv/linux/clock_settime.c
14116 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14117 conditional code.
14118 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14119 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14120
d22e28b0
L
141212012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 [BZ #14476]
14124 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14125 scripts/test-installation.pl.
14126
14127 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14128 and $ld_so_version if it is set.
14129
050af9c4
SP
141302012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14131
14132 [BZ #14516]
14133 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14134 failure if reading from procfs failed.
14135 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14136
ad845c0b
JM
141372012-08-27 Joseph Myers <joseph@codesourcery.com>
14138
14139 * sysdeps/unix/sysv/linux/kernel-features.h
14140 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14141 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14142 Remove conditional code.
14143 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14144 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14145 Remove conditional code.
14146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14147 * sysdeps/unix/sysv/linux/i386/fxstat.c
14148 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14150 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14151 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14153 * sysdeps/unix/sysv/linux/i386/lxstat.c
14154 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14156 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14157 Remove conditional code.
14158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14159 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14160 Remove conditional code.
14161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14162 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14163 <kernel-features.h>.
14164 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14165 Remove.
14166 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14167 Remove conditional code.
14168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14169 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14170 Remove conditional.
14171
5dbf56af
MF
141722012-08-27 Mike Frysinger <vapier@gentoo.org>
14173
14174 [BZ #5400]
14175 * NEWS: Add fixed bug number.
14176
d6e70f43
JM
141772012-08-27 Joseph Myers <joseph@codesourcery.com>
14178
7efb4737
JM
14179 [BZ #14519]
14180 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14181 underflowing exponent in case of negative sign.
14182 * stdlib/tst-strtod-round-data: Add more tests.
14183 * stdlib/tst-strtod-round.c (tests): Regenerated.
14184
af92131a
JM
14185 [BZ #3479]
14186 * stdlib/strtod_l.c (NDIG): Remove.
14187 (HEXNDIG): Likewise.
14188 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14189 smallest representable value.
14190 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14191 lie within an exact representation of 1/2 ulp of the result.
14192 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14193 unconditionally.
14194 (TENS_P9_IDX): Define unconditionally.
14195 (TENS_P9_SIZE): Likewise.
14196 (TENS_P10_IDX): Likewise.
14197 (TENS_P10_SIZE): Likewise.
14198 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14199 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14200 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14201 entries for 10^2^13 and 10^2^14.
14202 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14203 (TENS_P13_IDX): Define.
14204 (TENS_P13_SIZE): Likewise.
14205 (TENS_P14_IDX): Likewise.
14206 (TENS_P14_SIZE): Likewise.
14207 (_fpioconst_pow10): Change array size to
14208 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14209 unconditional.
14210 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14211 1024]: Add entries for 10^2^13 and 10^2^14.
14212 [LAST_POW10 > _LAST_POW10]: Remove #error.
14213 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14214 (_fpioconst_pow10): Change array size to
14215 FPIOCONST_POW10_ARRAY_SIZE.
14216 * stdlib/gen-fpioconst.c: New file.
14217 * stdlib/gen-tst-strtod-round.c: Likewise.
14218 * stdlib/tst-strtod-round-data: Likewise.
14219 * stdlib/tst-strtod-round.c: Likewise.
14220 * stdlib/Makefile (tests): Add tst-strtod-round.
14221
d6e70f43
JM
14222 [BZ #14459]
14223 * stdlib/strtod_l.c: Include <stdint.h>.
14224 (NDEBUG): Do not define.
14225 (round_and_return): Change EXPONENT parameter to type intmax_t.
14226 Rearrange calculations to avoid internal overflow possibilities.
14227 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14228 Rearrange calculations to avoid internal overflow possibilities.
14229 Assert that number fits inside MPNSIZE limbs.
14230 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14231 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14232 calculations and add assertions to avoid internal overflow
14233 possibilities. Add casts to avoid signed/unsigned operations.
14234 * stdlib/tst-strtod-overflow.c: New file.
14235 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14236
1f529f7d
MP
142372012-08-25 Marek Polacek <polacek@redhat.com>
14238
14239 * time/time.h: Fix some typos in comments.
14240
59a629f1
RM
142412012-08-23 Roland McGrath <roland@hack.frob.com>
14242
14243 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14244 * posix/tst-rfc3484-2.c: Likewise.
14245 * posix/tst-rfc3484-3.c: Likewise.
14246
d3bafbc9
SM
142472012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14248
14249 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14250 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14251
4efcc022
JM
142522012-08-23 Joseph Myers <joseph@codesourcery.com>
14253
14254 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14255 #include of fxstatat64.c.
14256
3cc3ef96
RM
142572012-08-22 Roland McGrath <roland@hack.frob.com>
14258
f04e2132
RM
14259 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14260 * shadow/getspent_r.c: Likewise.
14261 * shadow/getspnam.c: Likewise.
14262 * shadow/getspnam_r.c: Likewise.
14263 * gshadow/getsgent.c: Likewise.
14264 * gshadow/getsgent_r.c: Likewise.
14265 * gshadow/getsgnam.c: Likewise.
14266 * gshadow/getsgnam_r.c: Likewise.
14267 * inet/getnetbyad.c: Likewise.
14268 * inet/getnetbyad_r.c: Likewise.
14269 * inet/getnetbynm.c: Likewise.
14270 * inet/getnetbynm_r.c: Likewise.
14271 * inet/getnetent.c: Likewise.
14272 * inet/getnetent_r.c: Likewise.
14273 * inet/getproto.c: Likewise.
14274 * inet/getproto_r.c: Likewise.
14275 * inet/getprtent.c: Likewise.
14276 * inet/getprtent_r.c: Likewise.
14277 * inet/getprtname.c: Likewise.
14278 * inet/getprtname_r.c: Likewise.
14279 * inet/getrpcbyname.c: Likewise.
14280 * inet/getrpcbyname_r.c: Likewise.
14281 * inet/getrpcbynumber.c: Likewise.
14282 * inet/getrpcbynumber_r.c: Likewise.
14283 * inet/getrpcent.c: Likewise.
14284 * inet/getrpcent_r.c: Likewise.
14285 * inet/getaliasent.c: Likewise.
14286 * inet/getaliasent_r.c: Likewise.
14287 * inet/getaliasname.c: Likewise.
14288 * inet/getaliasname_r.c: Likewise.
14289 * nscd/getgrgid_r.c: Likewise.
14290 * nscd/getgrnam_r.c: Likewise.
14291 * nscd/gethstbyad_r.c: Likewise.
14292 * nscd/gethstbynm3_r.c: Likewise.
14293 * nscd/getpwnam_r.c: Likewise.
14294 * nscd/getpwuid_r.c: Likewise.
14295 * nscd/getsrvbynm_r.c: Likewise.
14296 * nscd/getsrvbypt_r.c: Likewise.
14297 * nscd/gai.c: Likewise.
14298
c53d909c
RM
14299 * configure.in (build_nscd): New substituted variable, set
14300 by --disable-build-nscd and defaults to $use_nscd.
14301 * configure: Regenerated.
14302 * config.make.in (build-nscd): New substituted variable.
14303 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14304 Change conditional to require [$(build-nscd) = yes] as well.
14305 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14306
3cc3ef96
RM
14307 [BZ# 13696]
14308 * configure.in (use_nscd): New substituted variable, set by
14309 --disable-nscd. If enabled, define USE_NSCD.
14310 * configure: Regenerated.
14311 * config.h.in: Add USE_NSCD.
14312 * config.make.in (use-nscd): New substituted variable.
14313 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14314 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14315 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14316 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14317 (CFLAGS-getgrnam_r.c): Likewise.
14318 (CFLAGS-initgroups.c): Likewise.
14319 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14320 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14321 Variables removed.
14322 * inet/getnetgrent_r.c
14323 (nscd_setnetgrent): New function, broken out of ...
14324 (setnetgrent): ... here. Call it.
14325 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14326 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14327 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14328 * nscd/Makefile (routines, aux): Move definitions after include of
14329 Makeconfig. Conditionalize on [$(use-nscd) != no].
14330 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14331 Conditionalize on [USE_NSCD].
14332 (is_nscd, nscd_init_cb): Likewise.
14333 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14334 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14335 * nss/nss_db/db-init.c: Likewise.
14336 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14337 [USE_NSCD].
14338 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14339 (make_request): Use it.
14340 (cache_valid_p): New function.
14341 (__check_pf): Use it.
14342 * NEWS: Add item for --disable-nscd.
14343
07e51550
DL
143442012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14345
14346 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14347 to support sed >= 4.2.1-20-ga9bf076.
14348 * configure: Regenerated.
14349
35a5b08b
RM
143502012-08-22 Roland McGrath <roland@hack.frob.com>
14351
14352 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14353 Conditionalize whole body on [IREL].
14354
8479f23a
JL
143552012-08-22 Jeff Law <law@redhat.com>
14356
14357 [BZ #14505]
14358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14359 if the family is PF_UNSPEC.
14360
48da0b21
MF
143612012-08-22 Mike Frysinger <vapier@gentoo.org>
14362
14363 * Makerules (lib-version): Rename from V.
14364 (install-lib-nosubdir): Change V to lib-version.
14365
15d0da8c
WS
143662012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14367
14368 [BZ #14252]
14369 * powerpc32/power6/wcschr.c: New file.
14370 * powerpc32/power6/wcscpy.c: New file.
14371 * powerpc32/power6/wcsrchr.c: New file.
14372 * powerpc64/power6/wcschr.c: New file.
14373 * powerpc64/power6/wcscpy.c: New file.
14374 * powerpc64/power6/wcsrchr.c: New file.
14375
bcca0895
MK
143762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14377
14378 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14379 (two_way_short_needle): Use it.
5a4aaa33
RM
14380 * string/strstr.c (AVAILABLE1_USES_J): Define.
14381 * string/strcasestr.c: Likewise.
99677e57
MK
14382
14383 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14384 array references.
14385 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14386
400726de
MK
14387 [BZ #11607]
14388 * NEWS: Add an entry.
14389 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14390 define their defaults.
14391 (two_way_short_needle): Detect end-of-string on-the-fly.
14392 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14393 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14394 * string/bug-strcasestr1.c: New test.
14395 * string/Makefile: Run it.
14396
20a71f2c
MK
143972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14398
14399 [BZ #11607]
14400 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14401 the first character.
14402
21ad0558
RM
144032012-08-21 Roland McGrath <roland@hack.frob.com>
14404
14405 * csu/elf-init.c (__libc_csu_irel): Function removed.
14406 * csu/libc-start.c (apply_irel): New function.
14407 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14408
0e1d9911
JM
144092012-08-21 Joseph Myers <joseph@codesourcery.com>
14410
14411 * sysdeps/unix/sysv/linux/kernel-features.h
14412 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14413 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14414 <kernel-features.h>.
14415 [__NR_fadvise64_64]: Make code unconditional.
14416 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14417 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14418 !__NR_fadvise64_64)]: Likewise.
14419 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14420 !__NR_fadvise64_64))]: Likewise.
14421 [__NR_fadvise64]: Make code unconditional.
14422 [!__NR_fadvise64]: Remove conditional code.
14423 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14424 <kernel-features.h>.
14425 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14426 unconditional.
14427 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14428 conditional code.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14430 not include <kernel-features.h>.
14431 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14432 unconditional.
14433 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14434 conditional code.
14435 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14436 include <kernel-features.h>.
14437 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14438 unconditional.
14439 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14440 conditional code.
14441
14a50c9d
WS
144422012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14443
14444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14445 slight instruction rearrangements per scrollpipe analysis.
14446 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14447
c0f4faf0
RM
144482012-08-20 Roland McGrath <roland@hack.frob.com>
14449
696da859
RM
14450 * manual/syslog.texi (syslog; vsyslog, closelog):
14451 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14452 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14453
c0f4faf0
RM
14454 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14455 DSOCAPS to match condition on defining it.
14456
348363b2
JM
144572012-08-20 Joseph Myers <joseph@codesourcery.com>
14458
a35cbf28
JM
14459 * sysdeps/unix/sysv/linux/kernel-features.h
14460 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14462 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14463 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14465 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14466 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14468 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14469 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14470
445f7ecd
JM
14471 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14472 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14473
348363b2
JM
14474 * sysdeps/unix/sysv/linux/kernel-features.h
14475 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14476 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14477 unconditional.
14478 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14479 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14480 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14481 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14482 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14483 Make code unconditional.
14484 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14485 (__mmap64) [!__NR_mmap2]: Likewise.
14486 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14487 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14488 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14489 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14490 [__NR_mmap2]: Make code unconditional.
14491 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14492 (__mmap64) [!__NR_mmap2]: Likewise.
14493
bc5bc0e5
AK
144942012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14495
14496 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14497
88d506de
AJ
144982012-08-18 Andreas Jaeger <aj@suse.de>
14499
14500 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14501
493387d2
MF
145022012-08-18 Mike Frysinger <vapier@gentoo.org>
14503
14504 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14505 * include/unistd.h (__have_sock_cloexec): Likewise.
14506 (__have_pipe2): Likewise.
14507 (__have_dup3): Likewise.
14508
a277af22
MF
145092012-08-18 Mike Frysinger <vapier@gentoo.org>
14510
14511 [BZ #9685]
14512 * include/unistd.h (__have_pipe2): Change define into an extern int.
14513 (__have_dup3): Likewise.
14514 * socket/have_sock_cloexec.c: Include fcntl.h.
14515 (__have_pipe2): New variable.
14516 (__have_dup3): Likewise.
14517
fdab8fd3
MF
145182012-08-17 Mike Frysinger <vapier@gentoo.org>
14519
14520 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14521
31035e80
MP
145222012-08-17 Marek Polacek <polacek@redhat.com>
14523
14524 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14525 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14526
3bd9e993
RM
145272012-08-17 Roland McGrath <roland@hack.frob.com>
14528
c91c505f
RM
14529 * configure.in: Add AC_SUBST for sysheaders.
14530 * configure: Regenerated.
14531 * config.make.in (sysheaders): New substituted variable.
14532
7c6f9d53
RM
14533 * sysdeps/unix/mkfifo.c: Moved ...
14534 * sysdeps/posix/mkfifo.c: ... here.
14535 * sysdeps/unix/mkfifoat.c: Moved ...
14536 * sysdeps/posix/mkfifoat.c: ... here.
14537
14538 * sysdeps/unix/utime.c: Moved ...
14539 * sysdeps/posix/utime.c: ... here.
14540
14541 * sysdeps/unix/time.c: Moved ...
14542 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14543 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14544 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14545
14546 * sysdeps/unix/nice.c: Moved ...
14547 * sysdeps/posix/nice.c: ... here.
14548
14549 * sysdeps/unix/alarm.c: Moved ...
14550 * sysdeps/posix/alarm.c: ... here.
14551
3bd9e993
RM
14552 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14553
d1f09384
JL
145542012-08-17 Jeff Law <law@redhat.com>
14555
14556 * intl/Makefile (codeset_mo): New variable.
14557 ($(codeset_mo)): New target.
14558 (tst-codeset.out): Depend on that. Remove explicit rule.
14559 (tst-gettext3.out, tst-gettext5.out): Likewise.
14560 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14561 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14562 * intl/tst-codeset.sh: Remove.
14563 * intl/tst-gettext3.sh: Likewise.
14564 * intl/tst-gettext5.sh: Likewise.
14565
2ae1ae5c
RM
145662012-08-17 Roland McGrath <roland@hack.frob.com>
14567
c31fdb83
RM
14568 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14569 * sysdeps/unix/syscalls.list: ... here.
14570
a0844057
RM
14571 * sysdeps/posix/getaddrinfo.c
14572 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14573 (gaiconf_init, gaiconf_reload): Use them.
14574 [!_STATBUF_ST_NSEC]
14575 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14576 Define using time_t rather than struct timespec.
14577
750c1f2a
RM
14578 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14579 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14580 Macros removed.
14581 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14582 [!NO_THREADS].
14583 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14584 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14585 Likewise.
14586
2ae1ae5c
RM
14587 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14588 __libc_cleanup_push argument.
14589
e66a42f5
RM
14590 * bits/param.h: New file.
14591 * misc/sys/param.h: New file.
14592 * include/sys/param.h: New file.
14593 * misc/Makefile (headers): Add bits/param.h.
14594 * sysdeps/generic/sys/param.h: File removed.
14595 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14596 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14597 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14598 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14599
b7c08a66
RM
14600 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14601 last change.
14602
b2e1c562
RM
14603 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14604 [_IO_MTSAFE_IO].
14605 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14606 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14607 New macros.
14608
c75ccd4c
RM
14609 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14610 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14611 rather than -D_IO_MTSAFE_IO conditionally.
14612 * stdio-common/Makefile (CPPFLAGS): Likewise.
14613 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14614 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14615 Use $(libio-mtsafe).
14616 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14617 of -D_IO_MTSAFE_IO.
14618 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14619 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14620 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14621 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14622 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14623 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14624 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14625 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14626 (CFLAGS-fread_u_chk.c): Likewise.
14627 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14628 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14629 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14630 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14631 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14632 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14633 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14634 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14635 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14636
14637 * libio/Makefile: Test [$(libc-reentrant) = yes]
14638 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14639
14640 * Makeconfig
14641 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14642 * sysdeps/pthread/configure: File removed.
14643 * sysdeps/pthread/Makeconfig: New file.
14644 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14645 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14646
d9195db8
GB
146472012-08-16 Gary Benson <gbenson@redhat.com>
14648
14649 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14650 unmapping the first object in a namespace.
14651
86466cd9
RM
146522012-08-16 Roland McGrath <roland@hack.frob.com>
14653
14654 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14655 (__internal_setnetgrent): ... this. Add internal_function to
14656 definition. Add libc_hidden_def.
14657 (setnetgrent): Update caller.
14658 (internal_endnetgrent): Renamed to ...
14659 (__internal_endnetgrent): ... this. Add internal_function to
14660 definition. Add libc_hidden_def.
14661 (endnetgrent): Update caller.
14662 (internal_getnetgrent_r): Renamed to ...
14663 (__internal_getnetgrent_r): ... this. Add internal_function to
14664 definition. Add libc_hidden_def.
14665 (__getnetgrent_r): Update caller.
14666 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14667
c3c8283c
JM
146682012-08-16 Joseph Myers <joseph@codesourcery.com>
14669
14670 * stdlib/longlong.h: Update from GCC.
14671
db1ee0a8
RM
146722012-08-16 Roland McGrath <roland@hack.frob.com>
14673
14674 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14675 on _QL, which is set by umul_ppmm but never used.
14676 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14677 variables, which are set by GMP macros but never used.
14678 * stdio-common/_itowa.c (_itowa): Likewise.
14679 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14680 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14681
30f69637
CD
146822012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14683
14684 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14685 struct La_sh_regs is not constant.
14686 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14687 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14688 and struct La_sparc64_regs are not constant.
14689
93a78ac4
JM
146902012-08-16 Joseph Myers <joseph@codesourcery.com>
14691
14692 * sysdeps/unix/sysv/linux/kernel-features.h
14693 (__ASSUME_POSIX_TIMERS): Remove.
14694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14695 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14696 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14697 Make code unconditional.
14698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14699 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14700 Make code unconditional.
14701 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14702 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14703 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14705 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14706 Make code unconditional.
14707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14708 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14709 (__libc_missing_posix_timers): Remove.
14710
dd924cd7
RM
147112012-08-15 Roland McGrath <roland@hack.frob.com>
14712
4b4f2771
RM
14713 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14714 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14715
601c888b
RM
14716 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14717
176790a7
RM
14718 * elf/dl-sym.c: Include <stdlib.h>.
14719
329bc018
RM
14720 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14721 constants, which avoids warnings in 32-bit builds.
14722
e04e272d
RM
14723 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14724 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14725
952bf94a
RM
14726 * misc/lseek.c: File moved to ...
14727 * io/lseek.c: ... here.
14728
7c99b50a
RM
14729 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14730
dd924cd7
RM
14731 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14732 shifting LEN more than 31 bits at once.
14733
b3f479a8
LD
147342012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14735
14736 [BZ #14195]
8c4ae0d4
RM
14737 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14738 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14739 * string/test-strncasecmp.c (check1): Renamed to...
14740 (bz12205): ...this.
14741 (bz14195): Add new testcase for two empty input strings and N > 0.
14742 (test_main): Call new testcase, adapt for renamed function.
14743
9c55864e
AJ
147442012-08-15 Andreas Jaeger <aj@suse.de>
14745
14746 [BZ #14090]
14747 * crypt/md5test2.c: New test, based on test supplied by Serge
14748 Belyshev <belyshev@depni.sinp.msu.ru>.
14749 * crypt/Makefile (xtests): Add md5test-giant..
14750 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14751
02dcb6c5
PE
147522012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14753
14754 [BZ #14090]
14755 * crypt/md5.c (md5_process_block): Don't assume the buffer
14756 length is less than 2**32.
14757 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14758 length is less than 2**64.
14759
a3f95dcc
RM
147602012-08-15 Roland McGrath <roland@hack.frob.com>
14761
be75d758
RM
14762 * string/str-two-way.h: Include <sys/param.h>.
14763 (MAX): Macro removed.
14764
7312ca90
RM
14765 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14766 Move #define and #undef of memmove to just before and after
14767 including <string.h>.
14768
9a0a5486
RM
14769 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14770 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14771 and after including <string.h>. Move declarations of
14772 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14773 to before #include "string/memmove.c".
14774
67cc348d
RM
14775 * include/dirent.h: Declare __getdirentries.
14776
a3f95dcc
RM
14777 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14778 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14779
ca98e171
MF
147802012-08-14 Mike Frysinger <vapier@gentoo.org>
14781
14782 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14783 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14784 * sysdeps/i386/configure: Regenerated.
14785 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14786 STABS_CURRENT_FILE, and STABS_FUN.
14787 (END): Remove call to STABS_FUN_END.
14788 (STABS_CURRENT_FILE1): Delete.
14789 (STABS_CURRENT_FILE): Likewise.
14790 (STABS_FUN): Likewise.
14791 (STABS_FUN_END): Likewise.
14792 (STABS_FUN2): Likewise.
14793 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14794 * sysdeps/x86_64/configure: Regenerated.
14795
5908bf46
RM
147962012-08-14 Roland McGrath <roland@hack.frob.com>
14797
14798 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14799 * elf/dl-lookup.c: Likewise.
5908bf46 14800
f2c05b9e
JM
148012012-08-14 Joseph Myers <joseph@codesourcery.com>
14802
14803 * sysdeps/unix/sysv/linux/kernel-features.h
14804 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14805 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14806 unconditionally.
14807 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14808 unconditionally.
14809 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14810 condition on __ASSUME_CLONE_THREAD_FLAGS.
14811
e11f5155
AJ
148122012-08-14 Andreas Jaeger <aj@suse.de>
14813
14814 * sysdeps/i386/fpu/libm-test-ulps: Update.
14815
51a9ba86
MK
148162012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14817
2fdd4f78
AJ
14818 * include/atomic.h (atomic_exchange_and_add): Split into ...
14819 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14820 New atomic macros.
51a9ba86 14821
ba6cba9e
MT
148222012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14823
14824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14825
42443a47
JL
148262012-08-13 Jeff Law <law@redhat.com>
14827
14828 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14829 null byte in the output string.
14830
121dce05
JM
148312012-08-10 Joseph Myers <joseph@codesourcery.com>
14832
14833 * sysdeps/unix/sysv/linux/kernel-features.h
14834 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14835 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14836 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14837 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14838 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14839 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14840 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14841
bf51f568
JL
148422012-08-09 Jeff Law <law@redhat.com>
14843
14844 [BZ #13939]
14845 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14846 When avoid_arena is set, don't retry in the that arena. Pick the
14847 next one, whatever it might be.
14848 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14849 (arena_lock): Pass in new parameter to arena_get2.
14850 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14851 arena_get2.
14852 (__libc_malloc): Unify retrying after main arena failure with
14853 __libc_memalign version.
14854 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14855
f85fa270
L
148562012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14857
14858 [BZ #14166]
14859 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14860 to __redirect_strstr.
14861 (__strstr_sse42): Use typeof __redirect_strstr.
14862 (__strstr_ia32): Likewise.
14863 (__libc_strstr): New prototype.
14864 (strstr): Renamed to ...
14865 (__libc_strstr): This.
14866 (strstr): New strong alias of __libc_strstr.
14867 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14868 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14869 __redirect_time.
14870 Include <time.h>.
14871 (__libc_time): New prototype.
14872 (time_ifunc): Replace time with __libc_time.
14873 (time): New strong alias and hidden definition of __libc_time.
14874 (__GI_time): Remove strong alias.
14875 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14876 Include <stddef.h>.
14877 (memmove): Redefined to __redirect_memmove.
14878 (__memmove_sse2): Use typeof __redirect_memmove.
14879 (__memmove_ssse3): Likewise.
14880 (__memmove_ssse3_back): Likewise.
14881 (__libc_memmove): New prototype.
14882 (memmove): Renamed to ...
14883 (__libc_memmove): This.
14884 (memmove): New strong alias of __libc_memmove.
14885
33b4a91e
MS
148862012-08-08 Mark Salter <msalter@redhat.com>
14887
14888 * elf/elf.h
14889 (R_MN10300_TLS_GD): Define.
14890 (R_MN10300_TLS_LD): Likewise.
14891 (R_MN10300_TLS_LDO): Likewise.
14892 (R_MN10300_TLS_GOTIE): Likewise.
14893 (R_MN10300_TLS_IE): Likewise.
14894 (R_MN10300_TLS_LE): Likewise.
14895 (R_MN10300_TLS_DTPMOD): Likewise.
14896 (R_MN10300_TLS_DTPOFF): Likewise.
14897 (R_MN10300_TLS_TPOFF): Likewise.
14898 (R_MN10300_SYM_DIFF): Likewise.
14899 (R_MN10300_ALIGN): Likewise.
14900 (R_MN10300_NUM): Update.
14901
b36137f1
JM
149022012-08-08 Joseph Myers <joseph@codesourcery.com>
14903
14904 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14905 Remove.
14906
cdd915fd
RM
149072012-08-08 Roland McGrath <roland@hack.frob.com>
14908
a2433aac
RM
14909 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14910
cdd915fd
RM
14911 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14912 sysdeps/unix -> sysdeps/posix move.
14913 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14914
bf9b740a
AM
149152012-08-07 Allan McRae <allan@archlinux.org>
14916
14917 [BZ #14303]
14918 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14919 (SUNOS_CPP): Likewise.
14920 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14921 not found.
14922 (open_input): Call CPP using execvp.
14923
93df14ee
JM
149242012-08-07 Joseph Myers <joseph@codesourcery.com>
14925
14926 * sysdeps/unix/sysv/linux/kernel-features.h
14927 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14928 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14929 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14930 (__ASSUME_WAITID_SYSCALL): Likewise.
14931 * sysdeps/unix/sysv/linux/dl-execstack.c
14932 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14933 code unconditional.
14934 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14935 conditional code.
14936 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14937 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14938 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14939 code.
14940 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14941 unconditional.
14942 [__ASSUME_WAITID_SYSCALL]: Likewise.
14943 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14944
d34689de
RM
149452012-08-07 Roland McGrath <roland@hack.frob.com>
14946
a281decc
RM
14947 * sysdeps/unix/closedir.c: Renamed to ...
14948 * sysdeps/posix/closedir.c: ... here.
14949 * sysdeps/unix/dirfd.c: Renamed to ...
14950 * sysdeps/posix/dirfd.c: ... here.
14951 * sysdeps/unix/dirstream.h: Renamed to ...
14952 * sysdeps/posix/dirstream.h: ... here.
14953 * sysdeps/unix/fdopendir.c: Renamed to ...
14954 * sysdeps/posix/fdopendir.c: ... here.
14955 * sysdeps/unix/opendir.c: Renamed to ...
14956 * sysdeps/posix/opendir.c: ... here.
14957 * sysdeps/unix/readdir.c: Renamed to ...
14958 * sysdeps/posix/readdir.c: ... here.
14959 * sysdeps/unix/readdir_r.c: Renamed to ...
14960 * sysdeps/posix/readdir_r.c: ... here.
14961 * sysdeps/unix/rewinddir.c: Renamed to ...
14962 * sysdeps/posix/rewinddir.c: ... here.
14963 * sysdeps/unix/seekdir.c: Renamed to ...
14964 * sysdeps/posix/seekdir.c: ... here.
14965 * sysdeps/unix/telldir.c: Renamed to ...
14966 * sysdeps/posix/telldir.c: ... here.
14967 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14968 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14969 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14970 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14971
22895b47
RM
14972 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14973 * bits/fcntl.h: ... here.
14974
707a53b6
RM
14975 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14976 not 0.
14977 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14978 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14979 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14980 (struct flock): Move l_start, l_len to the beginning.
14981 Use __pid_t for l_pid.
14982 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14983 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14984 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14985 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14986 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14987 [__USE_LARGEFILE64] (struct flock64): New type.
14988 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14989
f0bd3e25
RM
14990 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14991 * bits/dirent.h: ... here.
14992
d34689de
RM
14993 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14994 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14995
6dad2c06
JM
149962012-08-07 Joseph Myers <joseph@codesourcery.com>
14997
14998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14999 Change from 2.6.0 to 2.6.16.
15000 * sysdeps/unix/sysv/linux/configure: Regenerated.
15001 * sysdeps/unix/sysv/linux/kernel-features.h
15002 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15003 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15004 version.
15005 (__ASSUME_UTIMES): Likewise.
15006 (__ASSUME_CLONE_STOPPED): Remove.
15007 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15008 architectures, not kernel version.
15009 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15010 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15011 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15012 (__ASSUME_WAITID_SYSCALL): Likewise.
15013 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15014 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15015 * README: State 2.6.16 as minimum Linux kernel version. Do not
15016 refer to older versions.
15017
03af9520
RM
150182012-08-06 Roland McGrath <roland@hack.frob.com>
15019
8e49df1d
RM
15020 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15021 Define alphasort64 as an alias.
15022 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15023 Define versionsort64 as an alias.
15024 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15025 Define scandir64 as an alias.
15026 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15027 Define scandirat64 as an alias.
15028 * dirent/alphasort64.c (alphasort64):
15029 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15030 * dirent/versionsort64.c: Likewise.
15031 * dirent/scandir64.c: Likewise.
15032 * dirent/scandirat64.c: Likewise.
15033 * sysdeps/wordsize-64/alphasort.c: File removed.
15034 * sysdeps/wordsize-64/alphasort64.c: File removed.
15035 * sysdeps/wordsize-64/scandir.c: File removed.
15036 * sysdeps/wordsize-64/scandir64.c: File removed.
15037 * sysdeps/wordsize-64/scandirat.c: File removed.
15038 * sysdeps/wordsize-64/scandirat64.c: File removed.
15039 * sysdeps/wordsize-64/versionsort.c: File removed.
15040 * sysdeps/wordsize-64/versionsort64.c: File removed.
15041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15042 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15043 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15044 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15045 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15046 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15047 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15048 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15049
15050 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15051 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15052 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15054 [defined __arch64__ || defined __sparcv9]
15055 (__INO_T_MATCHES_INO64_T): New macro.
15056 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15057 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15058 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15059 * sysdeps/unix/sysv/linux/bits/dirent.h
15060 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15061 (_DIRENT_MATCHES_DIRENT64): New macro.
15062
03af9520
RM
15063 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15064 Define lockf64 as an alias.
15065 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15066 Define fseeko64 as an alias.
15067 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15068 Define ftello64 as an alias.
15069 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15070 Define _IO_fgetpos64 and fgetpos64 as aliases.
15071 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15072 Define _IO_fsetpos64 and fsetpos64 as aliases.
15073 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15074 Conditionalize body on this.
15075 * libio/fseeko64.c: Likewise.
15076 * libio/ftello64.c: Likewise.
15077 * libio/iofgetpos64.c: Likewise.
15078 * libio/iofsetpos64.c: Likewise.
15079 * sysdeps/wordsize-64/lockf.c: File removed.
15080 * sysdeps/wordsize-64/lockf64.c: File removed.
15081 * sysdeps/wordsize-64/fseeko.c: File removed.
15082 * sysdeps/wordsize-64/fseeko64.c: File removed.
15083 * sysdeps/wordsize-64/ftello.c: File removed.
15084 * sysdeps/wordsize-64/ftello64.c: File removed.
15085 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15086 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15087 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15088 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15089 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15090 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15091 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15092 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15093 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15094 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15095 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15096 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15098 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15099
15100 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15102 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15103 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15104 [defined __arch64__ || defined __sparcv9]
15105 (__OFF_T_MATCHES_OFF64_T): New macro.
15106 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15107 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15109 (__OFF_T_MATCHES_OFF64_T): New macro.
15110
c5757acd
L
151112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15112
15113 * stdlib/secure-getenv.c (__secure_getenv): Replace
15114 GLIBC_2_16 with GLIBC_2_17.
15115
3a31811e
L
151162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15117
15118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15119 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15120
faa2bccb
DM
151212012-08-03 David S. Miller <davem@davemloft.net>
15122
15123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15124
85fe1997
JM
151252012-08-03 Joseph Myers <joseph@codesourcery.com>
15126
15127 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15128 Remove.
15129 (__ASSUME_CORRECT_SI_PID): Likewise.
15130 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15131 (__ASSUME_TMPFS_NAME): Likewise.
15132 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15133 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15134 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15135 (HAVE_AUX_SECURE): Make definition unconditional.
15136 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15137 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15138
4f75b7a0
RM
151392012-08-03 Roland McGrath <roland@hack.frob.com>
15140
15141 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15142 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15143 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15144 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15145 __eloop_threshold instead of SYMLOOP_MAX.
15146
15147 * sysdeps/generic/eloop-threshold.h: New file.
15148 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15149 of MAXSYMLINKS.
15150 * elf/chroot_canon.c (chroot_canon): Likewise.
15151
7aab07e4
JM
151522012-08-03 Joseph Myers <joseph@codesourcery.com>
15153
15154 [BZ #13717]
15155 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15156 Change to 2.6.0 everywhere.
15157 * sysdeps/unix/sysv/linux/configure: Regenerated.
15158 * sysdeps/unix/sysv/linux/kernel-features.h
15159 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15160 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15161 kernel versions.
15162 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15163 (__ASSUME_FUTEX_REQUEUE): Remove.
15164 (__ASSUME_STATFS64): Define unconditionally.
15165 (__ASSUME_AT_SECURE): Likewise.
15166 (__ASSUME_CORRECT_SI_PID): Likewise.
15167 (__ASSUME_TGKILL): Define without depending on kernel version for
15168 i386.
15169 (__ASSUME_UTIMES): Likewise.
15170 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15171 kernel version.
15172 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15173 (__ASSUME_TMPFS_NAME): Likewise.
15174 * README: Update reference to Linux kernel versions.
15175
b67e9372
MP
151762012-08-02 Marek Polacek <polacek@redhat.com>
15177
1f529f7d 15178 [BZ# 14150]
b67e9372
MP
15179 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15180 libc_cv_asm_type_prefix with %.
15181 * configure: Regenerated.
d2441631
RM
15182 * include/libc-symbols.h: Remove comment about
15183 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15184 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15185 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15186 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15187 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15188 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15189 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15190 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15191 * elf/tst-unique2mod1.c: Likewise.
15192 * elf/tst-unique1mod2.c: Likewise.
15193 * elf/tst-unique1mod1.c: Likewise.
15194 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15195 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15196 Replace ASM_TYPE_DIRECTIVE with .type.
15197 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15198 * sysdeps/i386/sysdep.h: Likewise.
15199 * sysdeps/x86_64/sysdep.h: Likewise.
15200 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15202 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15203 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15204 * sysdeps/powerpc/powerpc32/sysdep.h:
15205 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15206 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15207 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15208 * sysdeps/i386/fpu/e_powf.S: Likewise.
15209 * sysdeps/i386/fpu/e_expl.S: Likewise.
15210 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15212 * sysdeps/i386/fpu/e_pow.S: Likewise.
15213 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15214 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15215 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15216 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15217 * sysdeps/i386/fpu/e_log2.S: Likewise.
15218 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15219 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15220 * sysdeps/i386/fpu/e_powl.S: Likewise.
15221 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15222 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15223 * sysdeps/i386/fpu/e_logl.S: Likewise.
15224 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15225 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15226 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15227 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15228 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15229 * sysdeps/i386/fpu/e_log.S: Likewise.
15230 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15231 * sysdeps/i386/fpu/e_logf.S: Likewise.
15232 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15233 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15234 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15235 * sysdeps/i386/fpu/e_log10.S: Likewise.
15236 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15237 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15238 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15239 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15240 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15241 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15242 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15243 * sysdeps/i386/i686/strtok.S: Likewise.
15244 * sysdeps/i386/i386-mcount.S: Likewise.
15245 * sysdeps/i386/strtok.S: Likewise.
15246 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15247 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15248 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15249 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15250 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15251 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15252 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15253 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15254 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15255 * sysdeps/x86_64/_mcount.S: Likewise.
15256 * sysdeps/x86_64/strtok.S: Likewise.
15257 * sysdeps/sh/_mcount.S: Likewise.
15258
2747bf9a
RM
152592012-08-01 Roland McGrath <roland@hack.frob.com>
15260
15261 * libio/iofopen.c: Include <fcntl.h>.
15262 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15263 (_IO_fopen64, fopen64): Define as aliases.
15264 * libio/iofopen64.c: Include <fcntl.h>.
15265 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15266 Conditionalize body on this.
15267 * sysdeps/wordsize-64/iofopen.c: File removed.
15268 * sysdeps/wordsize-64/iofopen64.c: File removed.
15269
3fb791b8
MP
152702012-08-01 Marek Polacek <polacek@redhat.com>
15271
15272 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15273 Use dlfcn directly instead of a variable.
15274 (binfmt-subdir): Do not define.
15275 (dlfcn): Likewise.
15276
a9f1039f
JM
152772012-08-01 Joseph Myers <joseph@codesourcery.com>
15278
23bddc06
JM
15279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15280 Remove all definitions.
15281 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15282 <kernel-features.h>.
15283 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15284 (miss_F_GETOWN_EX): Remove all definitions.
15285 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15286 macro definition.
15287 [!__ASSUME_FCNTL64]: Remove conditional code.
15288 [__ASSUME_FCNTL64]: Make code unconditional.
15289 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15290 <kernel-features.h>.
15291 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15292 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15293 (lockf64) [__NR_fcntl64]: Make code unconditional.
15294 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15295
a9f1039f
JM
15296 * sysdeps/unix/sysv/linux/kernel-features.h
15297 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15298 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15299 Make code unconditional.
15300 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15301 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15303 [__NR_vfork]: Make code unconditional.
15304 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15305 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15307 [__NR_vfork]: Make code unconditional.
15308 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15309 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15310
09c0ee5f
RM
153112012-08-01 Roland McGrath <roland@hack.frob.com>
15312
48aec5b9
RM
15313 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15314 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15315
cd97c966
RM
15316 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15317 Define mkstemp64 as an alias.
3f55550c
RM
15318 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15319 Define mkstemps64 as an alias.
cd97c966
RM
15320 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15321 Define mkostemp64 as an alias.
b8625cfc
RM
15322 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15323 Define mkostemps64 as an alias.
cd97c966
RM
15324 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15325 Conditionalize body on this.
15326 * misc/mkostemp64.c: Likewise.
b8625cfc 15327 * misc/mkostemps64.c: Likewise.
3f55550c 15328 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15329 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15330 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15331 * sysdeps/wordsize-64/mkostemp.c: File removed.
15332 * sysdeps/wordsize-64/mkstemp.c: File removed.
15333 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15335 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15337
09c0ee5f
RM
15338 [BZ #14138]
15339 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15340 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15341 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15342 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15343
15344 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15345 compat_symbol macros from <shlib-compat.h> rather than the underlying
15346 default_symbol_version and symbol_version macros, so that DEFAULT
15347 lines in shlib-versions are respected.
15348 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15349
7e66ee51
FW
153502012-08-01 Florian Weimer <fweimer@redhat.com>
15351
15352 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15353 Declare with warn_unused_result.
15354 (setgid, setregid, setegid, setresgid): Likewise.
15355 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15356 Likewise.
15357 * WUR-REPORT: Remove set*id functions.
15358
d2a54255
PT
153592012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15360
15361 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15362
7ecdb005
RM
153632012-07-31 Roland McGrath <roland@hack.frob.com>
15364
b4180a5e 15365 [BZ #10191]
789bd351
RM
15366 * include/sys/socket.h (__libc_accept, __libc_accept4):
15367 Add attribute_hidden.
15368 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15369
40ce302d
RM
15370 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15371 use of PTR_MANGLE.
15372 * inet/getnetgrent_r.c (setup): Likewise.
15373
7ecdb005
RM
15374 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15375
e2eabb2c
DM
153762012-07-31 David S. Miller <davem@davemloft.net>
15377
15378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15379
d0419dbf
JM
153802012-07-31 Joseph Myers <joseph@codesourcery.com>
15381
15382 [BZ #13629]
15383 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15384 value between 1.0 and 2.0 and smaller part has absolute value less
15385 than 1.0.
15386 * math/s_clog10.c (__clog10): Likewise.
15387 * math/s_clog10f.c (__clog10f): Likewise.
15388 * math/s_clog10l.c (__clog10l): Likewise.
15389 * math/s_clogf.c (__clogf): Likewise.
15390 * math/s_clogl.c (__clogl): Likewise.
15391 * math/libm-test.inc (clog_test): Add more tests.
15392 (clog10_test): Likewise.
15393 * sysdeps/i386/fpu/libm-test-ulps: Update.
15394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15395
2bc13872
FW
153962012-07-31 Florian Weimer <fweimer@redhat.com>
15397
15398 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15399 Exit with zero in case no suitable GID is found, and write a
15400 message to standard error.
15401
bea9b193
RM
154022012-07-30 Roland McGrath <roland@hack.frob.com>
15403
15404 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15405 rather than to 1.
15406 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15407 (MAXPATHLEN): Removed.
15408 (NOGROUP, NODEV): New macros.
15409 (setbit, clrbit, isset, isclr): New macros.
15410 (howmany, roundup, powerof2): New macros.
15411 (DEV_BSIZE): New macro.
15412
15413 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15414 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15415
15416 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15417 definition on [!__NO_LONG_DOUBLE_MATH].
15418
15419 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15420 PTR_MANGLE and PTR_DEMANGLE.
15421
15422 * socket/accept4.c (accept4): Rename to __libc_accept4.
15423 Define accept4 as a weak alias.
15424
15425 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15426 on [_DIRENT_HAVE_D_TYPE].
15427 * io/ftw.c (ftw_dir): Likewise.
15428
15429 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15430
15431 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15432
15433 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15434 Use the BSD numbers rather than the arbitrary ones we had.
15435 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15436 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15437 (SIGXCPU, SIGXFSZ): New macros.
15438 (_NSIG): Now 32.
15439
15440 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15441 initializer on [_LIBC_REENTRANT].
15442
15443 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15444 definitions inside [_POSIX_MAPPED_FILES].
15445
15446 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15447
15448 * dirent/opendir.c: Include <fcntl.h>.
15449
15450 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15451 (__libc_getspecific): Likewise.
15452 (__libc_key_create): Likewise.
15453
15454 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15455 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15456 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15457 (tmpfile64): Define as alias.
15458 * sysdeps/wordsize-64/tmpfile.c: File removed.
15459 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15460 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15461 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15462
15463 * stdio-common/vfscanf.c: Include <stdbool.h>.
15464 * nss/makedb.c: Likewise.
15465 * stdio-common/_i18n_number.h: Likewise.
15466 * argp/argp-help.c: Likewise.
15467 * posix/wordexp.c: Likewise.
15468 * sysdeps/posix/spawni.c: Likewise.
15469 * nss/nss_files/files-initgroups.c: Likewise.
15470 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15471 * nss/nss_files/files-initgroups.c: Likewise.
15472 * nss/nss_db/db-netgrp.c: Likewise.
15473 * nss/nss_db/db-initgroups.c: Likewise.
15474 * io/fchmodat.c: Include <sys/stat.h>.
15475
15476 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15477 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15478
15479 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15480 [HAVE_MMAP].
15481
15482 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15483 Add multiple inclusion protection.
15484
e5abc686
DM
154852012-07-27 David S. Miller <davem@davemloft.net>
15486
15487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15488
815e6fa3
GB
154892012-07-27 Gary Benson <gbenson@redhat.com>
15490
15491 [BZ #14298]
15492 * elf/rtld.c: Include <stap-probe.h>.
15493 (dl_main): Added static probes "init_start" and "init_complete".
15494 * elf/dl-load.c: Include <stap-probe.h>.
15495 (lose): Take new parameter "nsid".
15496 Added static probe "map_failed".
15497 (_dl_map_object_from_fd): Pass namespace id to lose.
15498 Added static probe "map_start".
15499 (open_verify): Pass namespace id to lose.
15500 * elf/dl-open.c: Include <stap-probe.h>.
15501 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15502 and "reloc_complete".
15503 * elf/dl-close.c: Include <stap-probe.h>.
15504 (_dl_close_worker): Added static probes "unmap_start" and
15505 "unmap_complete".
15506 * elf/rtld-debugger-interface.txt: New file documenting the above.
15507
9f98c16c
RM
155082012-07-26 Roland McGrath <roland@hack.frob.com>
15509
15510 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15511 rather than a string variable.
15512 * sunrpc/rpc_main.c (h_output): Likewise.
15513 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15514
f3c22df3
PT
155152012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15516
15517 * inet/check_native.c: New file.
15518
3129cfc6
JM
155192012-07-26 Joseph Myers <joseph@codesourcery.com>
15520
da865e95
JM
15521 [BZ #13629]
15522 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15523 if larger part has absolute value 1.0.
15524 * math/s_clog10.c (__clog10): Likewise.
15525 * math/s_clog10f.c (__clog10f): Likewise.
15526 * math/s_clog10l.c (__clog10l): Likewise.
15527 * math/s_clogf.c (__clogf): Likewise.
15528 * math/s_clogl.c (__clogl): Likewise.
15529 * math/libm-test.inc (clog_test): Add more tests.
15530 (clog10_test): Likewise.
15531 * sysdeps/i386/fpu/libm-test-ulps: Update.
15532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15533
3129cfc6
JM
15534 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15535 (pltexit): Likewise.
15536 (La_regs): Likewise.
15537 (La_retval): Likewise.
15538 (int_retval): Likewise.
15539 Update #error for removed macros to refer only to definitions in
15540 tst-audit.h.
15541 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15542 macro.
15543 (pltexit): Likewise.
15544 (La_regs): Likewise.
15545 (La_retval): Likewise.
15546 (int_retval): Likewise.
15547 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15548 macro.
15549 (pltexit): Likewise.
15550 (La_regs): Likewise.
15551 (La_retval): Likewise.
15552 (int_retval): Likewise.
15553 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15554 macro.
15555 (pltexit): Likewise.
15556 (La_regs): Likewise.
15557 (La_retval): Likewise.
15558 (int_retval): Likewise.
15559 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15560 macro.
15561 (pltexit): Likewise.
15562 (La_regs): Likewise.
15563 (La_retval): Likewise.
15564 (int_retval): Likewise.
15565 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15566 macro.
15567 (pltexit): Likewise.
15568 (La_regs): Likewise.
15569 (La_retval): Likewise.
15570 (int_retval): Likewise.
15571 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15572 macro.
15573 (pltexit): Likewise.
15574 (La_regs): Likewise.
15575 (La_retval): Likewise.
15576 (int_retval): Likewise.
15577 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15578 macro definitions in tst-audit.h.
15579 * sysdeps/i386/tst-audit.h: New file.
15580 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15581 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15582 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15583 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15584 * sysdeps/sh/tst-audit.h: Likewise.
15585 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15586 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15587 * sysdeps/x86_64/tst-audit.h: Likewise.
15588
bfc07087
AJ
155892012-07-26 Andreas Jaeger <aj@suse.de>
15590
b1b2aaf8
AJ
15591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15592 ptrace.
15593
15594 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15595 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15596 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15597 PTRACE_O_MASK.
15598 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15599 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15600 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15601
bfc07087
AJ
15602 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15603 value.
15604
15605 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15606 _sigsys.
15607 (si_call_addr, si_syscall, si_arch): Define new macro.
15608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15609 _sigsys.
15610 (si_call_addr, si_syscall, si_arch): Define new marcro.
15611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15612 _sigsys.
15613 (si_call_addr, si_syscall, si_arch): Define new macro.
15614 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15615 _sigsys.
15616 (si_call_addr, si_syscall, si_arch): Define new macro.
15617
89b4b02f
JM
156182012-07-25 Joseph Myers <joseph@codesourcery.com>
15619
15620 [BZ #13717]
15621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15622 Change to 2.4.21 where previously 2.4.1.
15623 * sysdeps/unix/sysv/linux/configure: Regenerated.
15624 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15625 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15626 Linux kernel version.
15627 (__ASSUME_STD_AUXV): Remove.
15628 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15629 kernel version.
15630 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15631 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15632 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15633 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15634 (__ASSUME_NETLINK_SUPPORT): Likewise.
15635 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15636 (__no_netlink_support): Remove conditional definition.
15637 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15638 Remove.
15639 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15640 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15641 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15642 (if_nameindex_ioctl): Remove.
15643 (if_nameindex_netlink): Do not handle __no_netlink_support.
15644 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15645 code.
15646 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15647 Remove conditional code.
15648 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15649 code.
15650 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15651 unconditional.
15652 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15653 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15654 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15655 Remove.
15656 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15657 [!__ASSUME_STD_AUXV]: Remove conditional code.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15659 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15660 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15662 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15663 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15664 code.
15665 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15667 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15668 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15669 conditional code.
15670 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15672 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15673 code.
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15675 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15676 conditional code.
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15678 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15679 code unconditional.
15680 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15681 conditional code.
15682 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15683 unconditional.
15684 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15685 conditional code.
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15687 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15688 unconditional.
15689 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15690 conditional code.
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15692 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15693 code unconditional.
15694 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15695 conditional code.
15696 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15697 unconditional.
15698 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15699 conditional code.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15701 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15702 code unconditional.
15703 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15704 conditional code.
15705 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15706 unconditional.
15707 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15708 conditional code.
15709
842a39cd
AS
157102012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15711
15712 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15713 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15714 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15715 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15716 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15717 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15718 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15719 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15720 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15721 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15722 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15723 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15724 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15725 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15726 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15727 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15728 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15729 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15730 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15732 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15733 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15734 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15735
84b3fd84
FW
157362012-07-25 Florian Weimer <fweimer@redhat.com>
15737
15738 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15739 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15740 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15741 Introduce __libc_secure_getenv.
0c7936d5
FW
15742 * stdlib/Versions (2.17): Add secure_getenv
15743 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15744 * stdlib/secure-getenv.c: Rename __secure_getenv to
15745 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15746 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15747 * stdlib/tst-secure-getenv.c: New.
15748 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15749 * manual/startup.texi (Environment Access): Document
15750 secure_getenv.
84b3fd84
FW
15751 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15752 __libc_secure_getenv.
15753 * inet/ruserpass.c (ruserpass): Likewise.
15754 * malloc/mtrace.c (mtrace): Likewise.
15755 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15756 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15757 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15758 * sysdeps/posix/tempname.c: Likewise. Evaluate
15759 HAVE_SECURE_GETENV.
15760 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15761 __secure_getenv to __libc_secure_getenv.
84b3fd84 15762 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15764 Likewise.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15766 Likewise.
15767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15769 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15774
56e49b71
JM
157752012-07-25 Joseph Myers <joseph@codesourcery.com>
15776
15777 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15778 (struct La_i86_retval): Likewise.
15779 (struct La_x86_64_regs): Likewise.
15780 (struct La_x86_64_retval): Likewise.
15781 (struct La_x32_regs): Likewise.
15782 (struct La_x32_retval): Likewise.
15783 (struct La_ppc32_regs): Likewise.
15784 (struct La_ppc32_retval): Likewise.
15785 (struct La_ppc64_regs): Likewise.
15786 (struct La_ppc64_retval): Likewise.
15787 (struct La_sh_regs): Likewise.
15788 (struct La_sh_retval): Likewise.
15789 (struct La_s390_32_regs): Likewise.
15790 (struct La_s390_32_retval): Likewise.
15791 (struct La_s390_64_regs): Likewise.
15792 (struct La_s390_64_retval): Likewise.
15793 (struct La_sparc32_regs): Likewise.
15794 (struct La_sparc32_retval): Likewise.
15795 (struct La_sparc64_regs): Likewise.
15796 (struct La_sparc64_retval): Likewise.
15797 (struct audit_ifaces): Remove architecture-specific pltenter and
15798 pltexit members.
15799 * sysdeps/i386/ldsodefs.h: New file.
15800 * sysdeps/powerpc/ldsodefs.h: Likewise.
15801 * sysdeps/s390/ldsodefs.h: Likewise.
15802 * sysdeps/sh/ldsodefs.h: Likewise.
15803 * sysdeps/sparc/ldsodefs.h: Likewise.
15804 * sysdeps/x86_64/ldsodefs.h: Likewise.
15805
354691b7
MP
158062012-07-25 Marek Polacek <polacek@redhat.com>
15807
15808 [BZ #6808]
15809 * math/libm-test.inc (yn_test): Add another test.
15810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15811 to ERANGE when the result is +-Inf.
15812 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15813 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15814 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15815 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15816
bf9e2071
JM
158172012-07-24 Joseph Myers <joseph@codesourcery.com>
15818
15819 * conform/data/time.h-data (NULL): Use macro-constant. Require
15820 equal to 0.
15821 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15822 clock_t.
15823 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15824
57633811
TS
158252012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15826
15827 * configure.in <sysdeps resolving>: Correct printing
15828 Implies_before.
15829 * configure: Regenerate.
15830
c23c33b0
TS
158312012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15832
15833 * math/w_ilogb.c: Include <limits.h>.
15834 * math/w_ilogbl.c: Likewise.
15835
b5982523
JM
158362012-07-20 Joseph Myers <joseph@codesourcery.com>
15837
15838 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15839 va_copy. Document allowing for unavailable va_copy only as
15840 pre-C99 compatibility.
15841 * manual/string.texi (Copying and Concatenation): Use va_copy
15842 instead of __va_copy in concat example.
15843
ac4ea442
PT
158442012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15845
15846 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15847 (__sendto): Use create_address_port. Initialize APORT and deallocate
15848 it if not null.
15849
f98eafbd
PT
15850 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15851 with O_NOLINK passed to __file_name_lookup.
15852
898c7aab
PT
15853 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15854 with O_NOLINK passed to __file_name_lookup.
15855
0ced335a
PT
15856 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15857 negative N or less than NGIDS.
15858
b3404dbd
PT
15859 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15860 type to string_t. Set ERANGE as errno and return it if NAME is not big
15861 enough. Use memcpy instead of strncpy.
15862
0f48659e
JM
158632012-07-20 Joseph Myers <joseph@codesourcery.com>
15864
15865 * elf/Makefile (check-data): Remove.
15866 (localplt.data): New vpath directive.
15867 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15868 instead of $(check-data).
15869 * scripts/data/localplt-generic.data: Move to ...
15870 * sysdeps/generic/localplt.data: ... here.
15871 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15872 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15873 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15875 ... here.
15876 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15878 ... here.
15879 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15881 ... here.
15882 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15884 ... here.
15885 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15887 ... here.
15888 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15890 ... here.
15891
d37cbdaa
AZ
158922012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15893
15894 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15895 PPC32 and PPC64 files.
15896 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15897 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15898
46f85fc2
AK
158992012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15900
15901 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15902 __makecontext_ret to ...
15903 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15904 ... here and call exit if uc_link is NULL. New file.
15905 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15906 __makecontext_ret.S.
15907 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15908 __makecontext_ret to ...
15909 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15910 ... here and call exit if uc_link is NULL. New file.
15911 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15912 __makecontext_ret.S.
15913
08f43f9b
AK
159142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15915
15916 * elf/elf.h (R_390_IRELATIVE): New definition.
15917 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15918 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15919 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15920 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15921 (elf_machine_lazy_rel): Likewise.
15922 * sysdeps/s390/dl-irel.h: New file.
15923 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15924 * sysdeps/s390/s390-64/memset.S: New asm code.
15925 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15926 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15927 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15928 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15929 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15930 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15932 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15933 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15934 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15935 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15936 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15937 * sysdeps/s390/s390-32/memset.S: New asm code.
15938 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15939
3b05db33
MP
159402012-07-17 Marek Polacek <polacek@redhat.com>
15941
15942 [BZ #14349]
15943 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15944 * sysdeps/s390/s390-64/configure.in: Likewise.
15945 * sysdeps/sparc/configure.in: Likewise.
15946 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15947 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15948 * sysdeps/i386/configure.in: Likewise.
15949 * sysdeps/x86_64/configure.in: Likewise.
15950 * sysdeps/sh/configure.in: Likewise.
15951 * sysdeps/s390/s390-32/configure: Regenerated.
15952 * sysdeps/s390/s390-64/configure: Likewise.
15953 * sysdeps/x86_64/configure: Likewise.
15954 * sysdeps/sh/configure: Likewise.
15955 * sysdeps/powerpc/powerpc64/configure: Likewise.
15956 * sysdeps/powerpc/powerpc32/configure: Likewise.
15957 * sysdeps/sparc/configure: Likwise.
15958 * sysdeps/i386/configure: Likewise.
15959
a66877c6
MP
15960 * elf/dl-open.c: Comment fixes.
15961
cfc82fd8
JM
159622012-07-17 Joseph Myers <joseph@codesourcery.com>
15963
bd29910a
JM
15964 * Makefile [CXX] (check-data): Remove.
15965 [CXX] (c++-types.data): New vpath directive.
15966 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15967 vpath. Do not allow for C++ type data being missing.
15968 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15969 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15970 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15971 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15972 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15973 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15974 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15976 ... here.
15977 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15979 ... here.
15980 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15982 ... here.
15983 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15985 ... here.
15986 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15988 ... here.
15989 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15991 ... here.
15992 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15994 ... here.
15995 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15997
cfc82fd8
JM
15998 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15999 definitions to architecture-specific files.
16000 (TLS_IE): Likewise.
16001 (TLS_LD): Likewise.
16002 (TLS_GD): Likewise.
16003 * sysdeps/i386/tls-macros.h: New file.
16004 * sysdeps/powerpc/tls-macros.h: Likewise.
16005 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16006 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16007 * sysdeps/sh/tls-macros.h: Likewise.
16008 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16009 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16010 * sysdeps/x86_64/tls-macros.h: Likewise.
16011
f7db3170
TS
160122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16013
07cbfc23
TS
16014 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16015 zero value for regular exit case.
16016
f7db3170
TS
16017 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16018 (__start_context): Preserve zero value for regular exit case.
16019
dc97c227
TS
160202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16021 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16022
16023 * manual/setjmp.texi (setcontext): Clarify normal process
16024 termination when uc_link is the null pointer.
16025 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16026 exit call.
16027
d0cd7d02
AS
160282012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16029
16030 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16031 preprocessor. Test for each exception mask separately.
16032
dd318934
AJ
160332012-07-16 Andreas Jaeger <aj@suse.de>
16034
16035 * po/ru.po: Update from translation team.
16036
8048311a
JM
160372012-07-15 Joseph Myers <joseph@codesourcery.com>
16038
16039 * conform/data/string.h-data (NULL): Use macro-constant. Require
16040 equal to 0.
16041 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16042 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16043 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16044 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16046
b637d46e
AJ
160472012-07-13 Andreas Jaeger <aj@suse.de>
16048
16049 * po/fr.po: Update from translation team.
16050
541428fe
MP
160512012-07-12 Marek Polacek <polacek@redhat.com>
16052
16053 [BZ #14173]
16054 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16055 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16056 loop condition.
16057
ec332e94
JM
160582012-07-12 Joseph Myers <joseph@codesourcery.com>
16059
16060 [BZ #13717]
16061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16062 Change to 2.4.1 where previously 2.4.0.
16063 * sysdeps/unix/sysv/linux/configure: Regenerated.
16064 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16065 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16066 version.
16067 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16068 (__ASSUME_AT_CLKTCK): Remove.
16069 (__ASSUME_AT_PAGESIZE): Likewise.
16070 (__ASSUME_AT_XID): Likewise.
16071 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16072 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16073 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16074 unconditionally.
16075 (HAVE_AUX_PAGESIZE): Likewise.
16076 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16077 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16078 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16079
7b6e99be
JB
160802012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16081
16082 [BZ #14307]
16083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16084 the temporary buffer used to invoke __gethostbyname2_r,
16085 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16086 host_data / struct gaih_addrtuple.
16087 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16088 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16089 header file nss/nsswitch.h.
16090 * nss/nsswitch.h (global scope): Add definition of implementation
16091 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16092 resolv/nss_dns/dns-host.c).
16093
608404eb
AJ
160942012-07-11 Andreas Jaeger <aj@suse.de>
16095
16096 * po/fr.po: Update from translation team.
16097
71220aca
AJ
16098 * po/sv.po: Update from translation team
16099 * po/fr.po: Another update from translation team.
16100
28cfe843
AZ
161012012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16102
16103 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16104 for subnormals or multiply small sinh result by itself.
16105 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16107
6b90f981
DM
161082012-07-11 David S. Miller <davem@davemloft.net>
16109
16110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16111
c6825772
AS
161122012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16113
16114 [BZ #14347]
16115 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16116 (INTERNAL_MARK): Shift it here.
16117
7b8e0d49
MP
161182012-07-10 Marek Polacek <polacek@redhat.com>
16119
16120 [BZ #14151]
16121 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16122 libc_cv_asm_global_directive with .globl.
16123 * configure: Regenerated.
16124 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16125 with .globl.
16126 * sysdeps/i386/configure: Regenerated.
16127 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16128 with .globl.
16129 * sysdeps/x86_64/configure: Regenerated.
16130 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16131 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16132 * elf/tst-unique2mod2.c: Likewise.
16133 * elf/tst-unique2mod1.c: Likewise.
16134 * elf/tst-unique1mod2.c: Likewise.
16135 * elf/tst-unique1mod1.c: Likewise.
16136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16137 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16139 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16140 * sysdeps/mach/sysdep.h: Likewise.
16141 * sysdeps/i386/sysdep.h: Likewise.
16142 * sysdeps/i386/i386-mcount.S: Likewise.
16143 * sysdeps/x86_64/_mcount.S: Likewise.
16144 * sysdeps/x86_64/sysdep.h: Likewise.
16145 * sysdeps/sh/_mcount.S: Likewise.
16146 * sysdeps/sh/sysdep.h: Likewise.
16147 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16148 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16149 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16150 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16151 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16152 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16153 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16154 * locale/localeinfo.h: Likewise.
16155 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16156 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16157
6c55cda3
RM
161582012-07-09 Roland McGrath <roland@hack.frob.com>
16159
16160 [BZ #14336]
16161 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16162 system".
16163 * manual/message.texi (The Uniforum approach): Likewise.
16164 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16165 (glibc iconv Implementation): Likewise.
16166
638a572e
JM
161672012-07-09 Joseph Myers <joseph@codesourcery.com>
16168
16169 [BZ #14337]
16170 * math/s_clog.c (__clog): Avoid scaling a value down where that
16171 could result in underflow.
16172 * math/s_clog10.c (__clog10): Likewise.
16173 * math/s_clog10f.c (__clog10f): Likewise.
16174 * math/s_clog10l.c (__clog10l): Likewise.
16175 * math/s_clogf.c (__clogf): Likewise.
16176 * math/s_clogl.c (__clogl): Likewise.
16177 * math/libm-test.inc (clog_test): Add more tests.
16178 (clog10_test): Likewise.
16179 * sysdeps/i386/fpu/libm-test-ulps: Update.
16180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16181
261f4859
AS
161822012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16183
0abaf3e4
AS
16184 [BZ #14283]
16185 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16186 by 7 not 8 to examine high bit of fractional part.
16187
261f4859
AS
16188 [BZ #14042]
16189 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16190 for call to __mcount_internal.
16191 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16192 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16193 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16194
f17ac40d
JM
161952012-07-06 Joseph Myers <joseph@codesourcery.com>
16196
9ad63c23
JM
16197 [BZ #14154]
16198 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16199 approximation for values within 0x1p-13f of an odd multiple of
16200 pi/4.
16201 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16202 exception. Add more tests.
16203 * sysdeps/i386/fpu/libm-test-ulps: Update.
16204
f17ac40d
JM
16205 [BZ #6778]
16206 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16207 inputs and return -1 for them. Do not check for +Inf in case not
16208 reachable for +Inf.
16209 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16210 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16211 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16212 and return -1 for them. Do not check for +Inf in case not
16213 reachable for +Inf.
16214 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16215 define.
16216 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16217 and return -1 for them. Do not check for +Inf in case not
16218 reachable for +Inf.
16219 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16220 spurious underflow.
16221 * sysdeps/i386/fpu/libm-test-ulps: Update.
16222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16223
fb21f89b
MF
162242012-07-06 Mike Frysinger <vapier@gentoo.org>
16225
16226 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16227
cdfe2c5e
JM
162282012-07-05 Joseph Myers <joseph@codesourcery.com>
16229
16230 [BZ #14157]
16231 [BZ #14331]
16232 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16233 could result in spurious underflow. Scale down values above
16234 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16235 * math/s_csqrtf.c (__csqrtf): Likewise.
16236 * math/s_csqrtl.c (__csqrtl): Likewise.
16237 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16238 spurious underflow.
16239 * sysdeps/i386/fpu/libm-test-ulps: Update.
16240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16241
70d35b67
AS
162422012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16243
704bc459
AS
16244 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16245 xopen-msg.sed.
16246 * catgets/xopen-msg.awk: New file.
16247 * catgets/xopen-msg.sed: Removed.
16248
70d35b67
AS
16249 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16250 po2text.sed.
16251 * intl/po2test.awk: New file.
16252 * intl/po2test.sed: Removed.
16253
ca61cf32
JM
162542012-07-04 Joseph Myers <joseph@codesourcery.com>
16255
16256 [BZ #14328]
16257 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16258 or multiply small sinh result by itself.
16259 * math/s_ctanf.c (__ctanf): Likewise.
16260 * math/s_ctanh.c (__ctanh): Likewise.
16261 * math/s_ctanhf.c (__ctanhf): Likewise.
16262 * math/s_ctanhl.c (__ctanhl): Likewise.
16263 * math/s_ctanl.c (__ctanl): Likewise.
16264 * math/libm-test.inc (ctan_test_tonearest): New function.
16265 (ctan_test_towardzero): Likewise.
16266 (ctan_test_downward): Likewise.
16267 (ctan_test_upward): Likewise.
16268 (ctanh_test_tonearest): Likewise.
16269 (ctanh_test_towardzero): Likewise.
16270 (ctanh_test_downward): Likewise.
16271 (ctanh_test_upward): Likewise.
16272 (main): Call these new functions.
16273 * sysdeps/i386/fpu/libm-test-ulps: Update.
16274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16275
ca48a46a
MF
162762012-07-03 Mike Frysinger <vapier@gentoo.org>
16277
16278 * .gitignore: Delete /ports entry.
16279
9d63d37d
AJ
162802012-07-03 Andreas Jaeger <aj@suse.de>
16281
16282 * po/bg.po: Update from translation team.
16283 * po/cs.po: Likewise.
16284 * po/de.po: Likewise.
16285 * po/hr.po: Likewise.
16286 * po/nl.pl: Likewise.
16287 * po/pl.po: Likewise.
16288 * po/vi.po: Likewise.
16289
370ca3d2
JM
162902012-07-03 Joseph Myers <joseph@codesourcery.com>
16291
95f5a9a8
JM
16292 * Makeconfig [!+link] (+link-before-libc): New variable.
16293 [!+link] (+link-after-libc): Likewise.
16294 [!+link] (+link-tests): Likewise.
16295 [!+link] (+link): Define in terms of $(+link-before-libc) and
16296 $(+link-after-libc).
16297 [!+link-static] (+link-static-before-libc): New variable.
16298 [!+link-static] (+link-static-after-libc): Likewise.
16299 [!+link-static] (+link-static-tests): Likewise.
16300 [!+link-static] (+link-static): Define in terms of
16301 $(+link-static-before-libc) and $(+link-static-after-libc).
16302 [build-shared] (link-libc-before-gnulib): New variable.
16303 [build-shared] (link-libc-tests): Likewise.
16304 [build-shared] (link-libc): Define in terms of
16305 $(link-libc-before-gnulib).
16306 [!build-shared] (link-libc-tests): New variable.
16307 (link-libc-static-tests): New variable.
16308 [!gnulib] (gnulib-arch): New variable.
16309 [!gnulib] (gnulib-tests): Likewise.
16310 [!gnulib] (static-gnulib-arch): Likewise.
16311 [!gnulib] (static-gnulib-tests): Likewise.
16312 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16313 Define with "=" instead of ":=".
16314 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16315 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16316 * Rules (binaries-all-notests): New variable.
16317 (binaries-all-tests): Likewise.
16318 (binaries-static-notests): Likewise.
16319 (binaries-static-tests): Likewise.
16320 (binaries-all): Define using $(binaries-all-notests) and
16321 $(binaries-all-tests).
16322 (binaries-static): Define using $(binaries-static-notests) and
16323 $(binaries-static-tests).
16324 (binaries-shared-tests): New variable.
16325 (binaries-shared-notests): Likewise.
16326 (binaries-shared): Remove variable.
16327 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16328 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16329 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16330 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16331 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16332 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16333 * elf/Makefile (sln-modules): New variable.
16334 (extra-objs): Add $(sln-modules:=.o).
16335 (ldconfig-modules): Add static-stubs.
16336 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16337 * elf/static-stubs.c: New file.
16338
7a845b2c
JM
16339 [BZ #14283]
16340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16341 by 7 not 8 to examine high bit of fractional part. Use volatile
16342 variables when splitting into final array of floats if
16343 __FLT_EVAL_METHOD__ != 0.
16344 * math/libm-test.inc (cos_test): Add another test.
16345 (sin_test): Likewise.
16346 * sysdeps/i386/fpu/libm-test-ulps: Update.
16347
e2283f38
JM
16348 [BZ #14273]
16349 * math/libm-test.inc (cosh_test): Add more tests.
16350
370ca3d2
JM
16351 * version.h (RELEASE): Set to "development".
16352 (VERSION): Set to "2.16.90".
16353
ee9247c3
CD
163542012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16355
16356 * NEWS: Update copyright. Remove last-updated date.
16357 Mention math library bug fixes and timezone data changes.
16358 * README: Mention GNU/Hurd, x32, and HPPA support status.
16359
4648c381
TS
163602012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16361
16362 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16363
aac78a43
AJ
163642012-06-27 Andreas Jaeger <aj@suse.de>
16365
16366 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16367
ed3dbfad
AJ
163682012-06-25 Andreas Jaeger <aj@suse.de>
16369
16370 * sysdeps/s390/fpu/libm-test-ulps: Update.
16371
4d0ee855
AS
163722012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16373 Thomas Schwinge <thomas@codesourcery.com>
16374
16375 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16376 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16378 fanotify_mark.
16379
af1bce34
TS
163802012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16381
a9fa33ba
TS
16382 * sysdeps/mach/start.c: Remove file.
16383 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16384 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16385 * sysdeps/sh/init-first.c: Likewise.
16386
58f902b8
TS
16387 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16388 registers for frame unwinding purposes, add CFI directives.
16389 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16390 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16391 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16392 Likewise.
16393
1518f58b
TS
16394 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16395 __fortify_fail returning.
16396 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16397
db9b5059
TS
16398 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16399 sysdeps/sh/____longjmp_chk.S.
16400 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16401 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16402 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16403 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16404
967705fe
TS
16405 * sysdeps/sh/abort-instr.h: New file.
16406 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16407 process in case exit returns.
16408
a9def8c4
TS
16409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16410 initialize the GOT register before use.
16411
2a649725
TS
16412 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16413 calculation of ARGC > 4.
16414
af1bce34
TS
16415 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16416 meaningful names to some local labels.
16417
d230f50a
KK
164182012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16419 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16420
16421 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16422 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16423 (__arch_compare_and_exchange_val_16_acq): Likewise.
16424 (__arch_compare_and_exchange_val_32_acq): Likewise.
16425 (atomic_exchange_and_add): Fix gUSA sequence.
16426 (atomic_add): Likewise.
16427 (atomic_add_negative): Likewise.
16428 (atomic_add_zero): Likewise.
16429 (atomic_bit_test_set): Likewise.
16430
0479b305
AS
164312012-06-22 Andreas Schwab <schwab@redhat.com>
16432
16433 [BZ #13579]
16434 * include/link.h (struct link_map): Add l_free_initfini.
16435 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16436 l_initfini.
16437 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16438 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16439 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16440 set.
16441
0e3933b9
CD
164422012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16443
16444 * configure.in: Use AC_LANG_SOURCE.
16445 * configure: Regenerate.
16446
4248b1b1
RM
164472012-06-22 Roland McGrath <roland@hack.frob.com>
16448
16449 * configure.in (libc_cv_localstatedir): New substituted variable.
16450 * configure: Regenerated.
16451 * config.make.in (localstatedir): New variable, substituted from
16452 libc_cv_localstatedir.
16453 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16454 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16455 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16456 * sysdeps/gnu/configure: Regenerated.
16457
006dd861
JL
164582012-06-21 Jeff Law <law@redhat.com>
16459
16460 [BZ #14277]
16461 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16462 free. Simplify list management for _LIBC case.
16463
79662d42
JM
164642012-06-21 Joseph Myers <joseph@codesourcery.com>
16465
b7abb4bf
JM
16466 [BZ #14273]
16467 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16468 Clear sign bit of 64-bit integer value before comparing against
16469 overflow value.
16470
79662d42
JM
16471 * sysdeps/mach/configure: Regenerated.
16472
1f150908
L
164732012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16474
16475 [BZ #14278]
16476 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16477
28363bbf
JL
164782012-06-21 Jeff Law <law@redhat.com>
16479
16480 [BZ #13882]
16481 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16482 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16483 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16484 * elf/dl-open.c (dl_open_worker): Likewise.
16485
09615db4
CD
164862012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16487
16488 * scripts/list-sources.sh: Scan PORTS for translations.
16489 * po/libc.pot: Regenerated.
16490
2174c6dd
AJ
164912012-06-21 Andreas Jaeger <aj@suse.de>
16492
16493 [BZ #12194]
16494 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16495 warning.
16496 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16497 * bits/byteswap-16.h (__bswap_16): Likewise.
16498 * bits/byteswap.h (__bswap_constant_16): Likewise.
16499
3ee947b1
L
165002012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16501
16502 [BZ #14117]
a2f34833
L
16503 * sysdeps/i386/fpu_control.h: Removed.
16504 * sysdeps/x86_64/fpu_control.h: Moved to ...
16505 * sysdeps/x86/fpu_control.h: Here.
16506
3ee947b1
L
16507 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16508 (_FPU_SETCW): Likewise.
16509
ed1825f8
L
165102012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16511
25f1282a
L
16512 [BZ #14117]
16513 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16514 * sysdeps/x86/fpu/bits/mathinline.h: This.
16515 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16516
ed1825f8
L
16517 [BZ #14050]
16518 [BZ #14117]
16519 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16520 functions if __x86_64__ is defined.
16521
36d54b74
CLT
165222012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16523
16524 * string/endian.h: Add !__ASSEMBLER__ condition for including
16525 conversion interfaces.
16526
10285c21
JM
165272012-06-15 Joseph Myers <joseph@codesourcery.com>
16528
16529 [BZ #14241]
16530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16531 of ABS(x) in calculating zero to negative powers other than odd
16532 integers.
16533 * math/libm-test.inc (pow_test): Add more tests.
16534
06c5abbd
AJ
165352012-06-15 Andreas Jaeger <aj@suse.de>
16536
16537 * manual/contrib.texi (Contributors): Update entry of Liubov
16538 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16539 Machado Filho.
16540
a3aeac40
CH
165412012-06-15 Cyril Hrubis <metan@ucw.cz>
16542
16543 * string/string.h: Add __wur to GNU version of strerror_r.
16544
49bdf4c1
L
165452012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16546
16547 [BZ #14229]
16548 * string/Makefile (tests): Add tst-strtok_r.
16549 * string/tst-strtok_r.c: New file.
16550 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16551 RAX_LP/RDX_LP on SAVE_PTR.
16552
834f9b8d
RM
165532012-06-14 Roland McGrath <roland@hack.frob.com>
16554
16555 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16556
75fa1921
JM
165572012-06-14 Joseph Myers <joseph@codesourcery.com>
16558
16559 * libm_test.inc (csqrt_test): Allow more spurious underflow
16560 exceptions.
16561 (j0_test): Likewise.
16562 (j1_test): Likewise.
16563 (y0_test): Likewise.
16564 (y1_test): Likewise.
16565
771766df
CD
165662012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16567
16568 * po/Makefile (libc.pot): Use UTF-8 charset.
16569
ceb9e56b
PP
165702012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16571
16572 [BZ #14210]
16573 Suppress sign-conversion warning from FD_SET.
16574 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16575 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16576 not unsigned long int.
16577 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16578
ddb28975
L
165792012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16580
16581 [BZ #14050]
16582 [BZ #14117]
16583 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16584 __extern_always_inline instead of __extern_inline.
16585 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16586 (__signbit): Likewise.
16587 (__signbitl): Support C++ namespace.
16588 (lrintf): New inline function.
16589 (lrint): Likewise.
16590 (llrintf): Likewise.
16591 (llrint): Likewise.
16592 (fmaxf): Likewise.
16593 (fmax): Likewise.
16594 (fminf): Likewise.
16595 (fmin): Likewise.
16596 (rint): Likewise.
16597 (rintf): Likewise.
16598 (ceil): Likewise.
16599 (ceilf): Likewise.
16600 (floor): Likewise.
16601 (floorf): Likewise.
16602 (nearbyint): Likewise.
16603 (nearbyintf): Likewise.
16604
d7b4fb26
TS
166052012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16606
16607 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16608 non-default versions.
16609
eb55f5c2
RM
166102012-06-11 Roland McGrath <roland@hack.frob.com>
16611
16612 [BZ #14218]
16613 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16614
366af02c
TS
166152012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16616
99ff6e5c
TS
16617 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16618 (FE_UPWARD, FE_DOWNWARD): Don't define.
16619 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16620 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16621
366af02c
TS
16622 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16623 reading it.
16624 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16625 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16626
793ea851
KK
166272012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16628
16629 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16631 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16632 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16633
a728a38f
L
166342012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16635
16636 [BZ #14117]
c08010c7
L
16637 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16638 * sysdeps/i386/fpu/Implies: New file.
16639 * sysdeps/x86_64/fpu/Implies: Likewise.
16640 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16641 * sysdeps/x86/fpu/bits/fenv.h: This.
16642
a728a38f
L
16643 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16644 __SSE_MATH__.
16645
6e230d11
SP
166462012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16647
16648 [BZ #14134]
16649 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16650 character 0xffff that matches the last element of the
16651 conversion table.
16652
1b671feb
AZ
166532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16654
16655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16656 fmodl commit.
16657
6043738b
AZ
166582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16659
16660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16661 values higher than 25.6283.
16662
34ae0b32
AZ
166632012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16664
16665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16666 subnormal exponent extraction and add some __builtin_expect.
16667 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16668 Fix for subnormal mantissa calculation.
16669
1214ec8f
MF
166702012-06-04 Mike Frysinger <vapier@gentoo.org>
16671
16672 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16673 cpu2 is -1 and errno is not ENOSYS.
16674
f3d1f93c
L
166752012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16676
16677 [BZ #14117]
0e4a3cd7
L
16678 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16679 * sysdeps/x86/bits/string.h: This.
16680 * sysdeps/x86_64/bits/string.h: Removed.
16681
6704c645
L
16682 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16683 if not compiling for x86-64, but compiling for >= i486.
16684
48495318
L
16685 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16686 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16687
14adcbfc
L
16688 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16689 New macro from Linux kernel 3.4.0.
16690 (FP_XSTATE_MAGIC2): Likewise.
16691 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16692 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16693 (struct _fpx_sw_bytes): New struct.
16694 (struct _xsave_hdr): Likewise.
16695 (struct _ymmh_state): Likewise.
16696 (struct _xstate): Likewise.
16697
68e408ab
L
16698 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16699 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16700 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16701 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16702 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16703 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16704
f3d1f93c
L
16705 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16706 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16707 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16708 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16709 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16710 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16711
d9dc34cd
TMQMF
167122012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16713
16714 [BZ #13743]
16715 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16716 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16717 (sysdep_headers): Include sys/platform/ppc.h.
16718 * sysdeps/powerpc/test-gettimebase.c: Test for
16719 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16720 * manual/Makefile (appendices): Include platform.texi.
16721 * manual/contrib.texi (Contributors): Update @node pointers.
16722 * manual/maint.texi (Maintenance): Likewise.
16723 (Platform): New node.
16724 * manual/platform.texi: New file. Document the new features.
16725
4af3879c
SP
167262012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16727 Jakub Jelinek <jakub@redhat.com>
16728
16729 [BZ #14188]
16730 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16731 where __builtin_expect is unavailable.
16732
2fd6ff13
DM
167332012-06-03 David S. Miller <davem@davemloft.net>
16734
16735 * stdlib/longlong.h: Updated from GCC.
16736
173f7220
AS
167372012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16738
16739 [BZ #14042]
16740 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16741 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16742 __mcount_internal.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16744 (GLIBC_2.16): Likewise.
16745
f34a1c6f
L
167462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16747
16748 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16749
88a4576f
JM
167502012-06-01 Joseph Myers <joseph@codesourcery.com>
16751
ea32bcdd
JM
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16753 (default-abi): New variable.
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16755 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16756 variable.
16757 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16758 Likewise.
16759 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16760 Likewise.
16761 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16762 Likewise.
16763
88a4576f
JM
16764 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16765 definition. Document in comment.
16766
402fe938
DM
167672012-06-01 David S. Miller <davem@davemloft.net>
16768
16769 * stdlib/longlong.h: Updated from GCC.
16770
3553723f
L
167712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16772
16773 [BZ #14117]
3bd872c4
L
16774 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16775 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16776 sys/debugreg.h sys/io.h here.
16777 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16778 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16779 sys/io.h.
16780 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16781 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16782 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16783 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16784 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16785 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16786
3553723f
L
16787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16788 Define only if __x86_64__ is defined.
16789
4842e4fe
JM
167902012-06-01 Joseph Myers <joseph@codesourcery.com>
16791
c5bfe3d5
JM
16792 [BZ #14048]
16793 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16794 Use int64_t for variable i.
16795 * math/libm-test.inc (fmod_test): Add more tests.
16796
4842e4fe
JM
16797 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16798 z computation is not scheduled after fetestexcept.
16799 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16800 Use math_force_eval instead of asm to ensure calculation scheduled
16801 before exception test.
16802 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16803 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16804
efb73488
AJ
168052012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16806
16807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16808 computation is not scheduled after fetestexcept.
16809
29bcce7c
L
168102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16811
16812 [BZ #14117]
16813 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16814 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16815
73a68f94
AZ
168162012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16817
16818 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16819 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16820
67b6df78
L
168212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16822
edf2933a 16823 [BZ #14117]
ebc64a18
L
16824 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16825 <bits/wordsize.h>.
16826 (__WCHAR_MIN): Support __WORDSIZE == 64.
16827 (__WCHAR_MAX): Likewise.
16828
edf2933a
L
16829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16830 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16831
57c6cf40
L
16832 [BZ #14183]
16833 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16834 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16835
67b6df78 16836 [BZ #14117]
8eb6281e
L
16837 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16838 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16839
aac639f4
L
16840 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16841 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16842
67b6df78
L
16843 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16844 Defined to 1 if __x86_64__ isn't defined.
16845 (_STAT_VER_LINUX_OLD): New.
16846 (st_atime): Remove duplicate.
16847 (st_mtime): Likewise.
16848 (st_ctime): Likewise.
16849
1c2cfe81
DM
168502012-05-31 David S. Miller <davem@davemloft.net>
16851
16852 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16853 entries.
16854
5be8418c
AS
168552012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16856
e7725326
AS
16857 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16858 gen-libm-test.pl.
16859
5be8418c
AS
16860 [BZ #14132]
16861 * elf/dl-reloc.c: Include <_itoa.h>.
16862 (_dl_reloc_bad_type): Remove use of INTUSE.
16863 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16864 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16865 * stdio-common/psiginfo.c (psiginfo): Likewise.
16866 * stdio-common/psignal.c (psignal): Likewise.
16867 * string/strsignal.c (strsignal): Likewise.
16868 * include/signal.h (_sys_siglist): Declare hidden proto.
16869 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16870 INTVARDEF with libc_hidden_data_def.
16871 * stdio-common/itoa-udigits.c: Likewise.
16872 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16873 (_itoa_lower_digits_internal): Remove declaration.
16874 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16875 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16876 (_sys_sigabbrev_internal): Remove aliases.
16877 (_sys_siglist): Define hidden alias.
16878
507352f1
MT
168792012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16880
16881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16882 bits/sysctl.h.
16883
42bbb1c3
L
168842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16885
16886 [BZ #14117]
6bd784b6
L
16887 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16888 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16889
8bca20f0
L
16890 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16891 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16892 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16893 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16894 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16895 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16896
f9e890a9
L
16897 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16898 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16899 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16900
471101a1
L
16901 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16902 with __addr.
16903 (insw): Likewise.
16904 (insl): Likewise.
16905 (outsb): Likewise.
16906 (outsw): Likewise.
16907 (outsl): Likewise.
16908
6451c862
L
16909 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16910 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16911 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16912
a254b8c9
L
16913 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16914 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16915 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16916 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16917 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16918 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16919
b8dfdd92
L
16920 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16921 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16922
578cd270
L
16923 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16924 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16925
de662f5f
L
16926 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16927 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16928 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16929
25653439
L
16930 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16931 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16932 to ...
16933 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16934
6bad24a0
L
16935 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16936 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16937 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16938
42bbb1c3
L
16939 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16940 for x86-64.
16941 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16942
2d10d547
JM
169432012-05-31 Joseph Myers <joseph@codesourcery.com>
16944
16945 * math/math.h (M_El): Use two more decimal places.
16946 (M_LOG2El): Likewise.
16947 (M_LOG10El): Likewise.
16948 (M_LN2l): Likewise.
16949 (M_LN10l): Likewise.
16950 (M_PIl): Likewise.
16951 (M_PI_2l): Likewise.
16952 (M_PI_4l): Likewise.
16953 (M_1_PIl): Likewise.
16954 (M_2_PIl): Likewise.
16955 (M_2_SQRTPIl): Likewise.
16956 (M_SQRT2l): Likewise.
16957 (M_SQRT1_2l): Likewise.
16958
f230c29b
DM
169592012-05-31 David S. Miller <davem@davemloft.net>
16960
16961 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16962 values between float registers.
16963 * sysdeps/sparc/sparc64/memset.S: Likewise.
16964 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16965
fed806c3
MF
169662012-05-31 Mike Frysinger <vapier@gentoo.org>
16967
16968 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16969 -D_FORTIFY_SOURCE=1.
16970 (CPPFLAGS-tst-longjmp_chk.c): Define.
16971 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16972 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16973 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16974 CFLAGS-tst-wchar-h.c.
16975
30917259
MP
169762012-05-31 Marek Polacek <polacek@redhat.com>
16977
16978 [BZ #14132]
16979 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16980 __endmntent_internal): Remove declaration.
16981 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16982 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16983 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16984
1c58d5dc
DM
169852012-05-30 David S. Miller <davem@davemloft.net>
16986
16987 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16988 (___Q_simulate_exceptions): Use real FP ops rather than writing
16989 into the %fsr.
16990 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16991 Likewise.
16992
7dc00e0d
L
169932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16994
16995 [BZ #14117]
0bd53985
L
16996 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16997 * sysdeps/x86/bits/xtitypes.h: This.
16998
3a257e66
L
16999 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17000 * sysdeps/x86/bits/wordsize.h: This.
17001
62f62904
L
17002 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17003 * sysdeps/x86/bits/huge_vall.h: This.
17004
404fe9d9
L
17005 * sysdeps/i386/bits/select.h: Removed.
17006 * sysdeps/x86_64/bits/select.h: Renamed to ...
17007 * sysdeps/x86/bits/select.h: This.
17008
d48d0446
L
17009 * sysdeps/i386/bits/setjmp.h: Removed.
17010 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17011 * sysdeps/x86/bits/setjmp.h: This.
17012
7dc00e0d
L
17013 * sysdeps/i386/bits/mathdef.h: Removed.
17014 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17015 * sysdeps/x86/bits/mathdef.h: This.
17016
03277f8f
AS
170172012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17018
17019 [BZ #14132]
17020 * include/sys/socket.h (__connect_internal)
17021 (__libc_sa_len_internal): Remove declaration.
17022 (__connect, __libc_sa_len): Declare hidden_proto.
17023 (SA_LEN): Remove use of INTUSE.
17024 * socket/connect.c: Add libc_hidden_def.
17025 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17026 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17027 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17028 alias.
17029 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17030 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17031 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17032 of adding _internal alias.
17033
13764867
L
170342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17035
17036 [BZ #14117]
6bd97696
L
17037 * sysdeps/i386/bits/link.h: Removed.
17038 * sysdeps/i386/bits/linkmap.h: Likewise.
17039 * sysdeps/x86_64/bits/link.h: Renamed to ...
17040 * sysdeps/x86/bits/link.h: This.
17041 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17042 * sysdeps/x86/bits/linkmap.h: This.
17043
f726f0bb
L
17044 * sysdeps/i386/bits/endian.h: Removed.
17045 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17046 * sysdeps/x86/bits/endian.h: This.
17047
13764867
L
17048 * sysdeps/i386/bits/byteswap.h: Removed.
17049 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17050 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17051 * sysdeps/x86/bits/byteswap.h: This.
17052 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17053 * sysdeps/x86/bits/byteswap-16.h: This.
17054 * sysdeps/i386/Implies: Add x86.
17055 * sysdeps/x86_64/Implies: Likewise.
17056
ae251b0b
DM
170572012-05-30 David S. Miller <davem@davemloft.net>
17058
17059 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17060 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17061 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17062 (FP_TRAPPING_EXCEPTIONS): Define.
17063 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17064 (FP_TRAPPING_EXCEPTIONS): Define.
17065 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17066 subnormals only when inexact has been signalled or underflow
17067 exceptions are enabled.
17068 (_FP_PACK_CANONICAL): Likewise.
17069
d5c90867
L
170702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17071
17072 [BZ #14183]
17073 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17074 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17075
63f1549e
RH
170762012-05-30 Richard Henderson <rth@twiddle.net>
17077
8d8f2279
RH
17078 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17079 with #ifndef NOT_IN_libc.
17080
63f1549e
RH
17081 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17082 marked to avoid plt entry.
17083
0ab0291b
L
170842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17085
17086 [BZ #14112]
17087 * Makeconfig (default-abi): New macro.
17088 (abi-includes): Likewise.
17089 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17090 $(abi-$(default-abi)-lib-soname) for soname if defined.
17091 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17092 abi-variants.
17093 * Makefile (installed-stubs): Likewise.
17094 * include/stubs-biarch.h: Removed.
17095 * scripts/lib-names.awk: Only handle one library at a time.
17096 * scripts/soversions.awk: Remove WORDSIZE support.
17097 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17098 entries.
17099 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17100 Removed.
17101 (syscall-list-default-condition): Likewise.
17102 (syscall-list-default-condition): Likewise.
17103 (syscall-list-includes): Likewise.
17104 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17105 syscall-list-* with abi-*. Handle undefined abi-variants.
17106 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17107 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17108 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17109 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17110 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17111 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17112 Removed.
17113 (syscall-list-32-options): Likewise.
17114 (syscall-list-32-condition): Likewise.
17115 (syscall-list-64-options): Likewise.
17116 (syscall-list-64-condition): Likewise.
17117 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17118 macro.
17119 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17120 Renamed to ...
17121 (abi-*): This.
17122 (abi-64-ld-soname): New macro.
17123 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17124 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17125 Renamed to ...
17126 (abi-*): This.
17127 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17128 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17129
4da0431d
JM
171302012-05-30 Joseph Myers <joseph@codesourcery.com>
17131
3a85279c
JM
17132 * sysdeps/unix/sysv/linux/kernel-features.h
17133 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17134 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17135 include <kernel-features.h>.
17136 [!__NR_ftruncate64]: Remove conditional code.
17137 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17138 [__NR_ftruncate64]: Make code unconditional.
17139 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17140 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17141 include <kernel-features.h>.
17142 [!__NR_ftruncate64]: Remove conditional code.
17143 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17144 [__NR_ftruncate64]: Make code unconditional.
17145 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17147 include <kernel-features.h>.
17148 [!__NR_ftruncate64]: Remove conditional code.
17149 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17150 [__NR_ftruncate64]: Make code unconditional.
17151 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17153 include <kernel-features.h>.
17154 [!__NR_ftruncate64]: Remove conditional code.
17155 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17156 [__NR_ftruncate64]: Make code unconditional.
17157 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17158
4da0431d
JM
17159 * configure.in (libc_cv_fpie): Weaken to a compile test using
17160 LIBC_TRY_CC_OPTION.
17161 * configure: Regenerated.
17162
11ef492c
AK
171632012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17164
17165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17169 Refreshed.
17170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17176 Refreshed.
17177
d66ef399
DM
171782012-05-27 David S. Miller <davem@davemloft.net>
17179
17180 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17181 (___Q_zero): New.
17182 (__Q_simulate_exceptions): Return void. Change to simulate
17183 exceptions by writing into the %fsr.
17184 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17185 (__Qp_handle_exceptions): Likewise.
17186 (numbers): Delete.
17187 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17188 __Qp_handle_exceptions.
17189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17190 __Qp_handle_exceptions.
17191 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17192 as unused and give dummy FP_RND_NEAREST initializer.
17193 (FP_INHIBIT_RESULTS): Define.
17194 (___Q_simulate_exceptions): Update declaration.
17195 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17196 formatting.
17197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17198 as unused and give dummy FP_RND_NEAREST initializer.
17199 (__Qp_handle_exceptions): Update declaration.
17200 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17201 formatting.
17202
04fb54b5
TS
172032012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17204
17205 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17206 the temporary FPU control word.
17207 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17208 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17209 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17210 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17211 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17212 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17213 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17214 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17215 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17216 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17217 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17218
3f99608f
KK
172192012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17220
17221 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17222 fields.
17223
65a4de4e
CLT
172242012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17225
17226 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17227 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17228 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17229 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17230 Likewise.
17231 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17232 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17233 Likewise.
17234
15749d40
UD
172352012-05-27 Ulrich Drepper <drepper@gmail.com>
17236
17237 * po/h.po: Update from translation team.
17238
25dbcb27
AS
172392012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17240
3d3f8e55
AS
17241 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17242
25dbcb27
AS
17243 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17244 handling of denormals.
17245 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17246 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17247 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17248 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17252 Likewise.
17253
7ad47a80 172542012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17255
17256 [BZ #14152]
17257 * math/libm-test.inc (fma_test): Don't always expect underflow
17258 exception.
17259
9c6ea9fa
SP
172602012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17261
17262 [BZ #12416]
17263 * elf/tst-execstack.c: Include stackinfo.h.
17264 (do_test): Adjust test case to ensure that pthread_getattr_np
17265 behaviour remains the same after marking stack executable.
17266
a8239222
JM
172672012-05-25 Joseph Myers <joseph@codesourcery.com>
17268
17269 * sysdeps/unix/sysv/linux/kernel-features.h
17270 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17271 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17272 kernel-features.h.
17273 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17274 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17275 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17276 kernel-features.h.
17277 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17278 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17279
918b5606
L
172802012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17281
17282 * configure.in: Define the default includes to being none.
17283 * configure: Regenerated.
17284
3a097cc7
RM
172852012-05-25 Roland McGrath <roland@hack.frob.com>
17286
8422c9a5
RM
17287 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17288 * sysdeps/x86_64/setjmp.S: Likewise.
17289 * sysdeps/i386/bsd-setjmp.S: Likewise.
17290 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17291 * sysdeps/i386/setjmp.S: Likewise.
17292 * sysdeps/i386/__longjmp.S: Likewise.
17293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17294 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17295
3a097cc7
RM
17296 * include/stap-probe.h: New file.
17297 * configure.in: Handle --enable-systemtap.
17298 * configure: Regenerated.
17299 * config.h.in (USE_STAP_PROBE): New #undef.
17300 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17301 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17302 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17303
21708942
JM
173042012-05-25 Joseph Myers <joseph@codesourcery.com>
17305
17306 [BZ #13717]
17307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17308 to 2.4.0 where earlier.
17309 * sysdeps/unix/sysv/linux/configure: Regenerated.
17310 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17311 <kernel-features.h>.
17312 [__ASSUME_32BITUIDS]: Make code unconditional.
17313 [!__ASSUME_32BITUIDS]: Remove conditional code.
17314 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17315 <kernel-features.h>.
17316 [__ASSUME_32BITUIDS]: Make code unconditional.
17317 [!__ASSUME_32BITUIDS]: Remove conditional code.
17318 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17319 [__ASSUME_32BITUIDS]: Make code unconditional.
17320 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17321 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17322 <kernel-features.h>.
17323 [__ASSUME_32BITUIDS]: Make code unconditional.
17324 [!__ASSUME_32BITUIDS]: Remove conditional code.
17325 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17326 <kernel-features.h>.
17327 [__ASSUME_32BITUIDS]: Make code unconditional.
17328 [!__ASSUME_32BITUIDS]: Remove conditional code.
17329 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17330 <kernel-features.h>.
17331 [__ASSUME_32BITUIDS]: Make code unconditional.
17332 [!__ASSUME_32BITUIDS]: Remove conditional code.
17333 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
17362 <kernel-features.h>.
17363 [__NR_setresgid] (__setresgid): Do not declare.
17364 [__ASSUME_32BITUIDS]: Make code unconditional.
17365 [!__ASSUME_32BITUIDS]: Remove conditional code.
17366 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17367 <kernel-features.h>.
17368 [__NR_setresuid] (__setresuid): Do not declare.
17369 [__ASSUME_32BITUIDS]: Make code unconditional.
17370 [!__ASSUME_32BITUIDS]: Remove conditional code.
17371 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17372 <kernel-features.h>.
17373 [__ASSUME_32BITUIDS]: Make code unconditional.
17374 [!__ASSUME_32BITUIDS]: Remove conditional code.
17375 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17376 <kernel-features.h>.
17377 [__ASSUME_32BITUIDS]: Make code unconditional.
17378 [!__ASSUME_32BITUIDS]: Remove conditional code.
17379 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17380 <kernel-features.h>.
17381 [__ASSUME_32BITUIDS]: Make code unconditional.
17382 [!__ASSUME_32BITUIDS]: Remove conditional code.
17383 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17384 <kernel-features.h>.
17385 [__ASSUME_32BITUIDS]: Make code unconditional.
17386 [!__ASSUME_32BITUIDS]: Remove conditional code.
17387 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17388 <kernel-features.h>.
17389 [__ASSUME_32BITUIDS]: Make code unconditional.
17390 [!__ASSUME_32BITUIDS]: Remove conditional code.
17391 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17392 <kernel-features.h>.
17393 [__ASSUME_32BITUIDS]: Make code unconditional.
17394 [!__ASSUME_32BITUIDS]: Remove conditional code.
17395 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.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/i386/setuid.c: Do not include
17404 <kernel-features.h>.
17405 [__ASSUME_32BITUIDS]: Make code unconditional.
17406 [!__ASSUME_32BITUIDS]: Remove conditional code.
17407 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17408 <kernel-features.h>.
17409 [__ASSUME_32BITUIDS]: Make code unconditional.
17410 [!__ASSUME_32BITUIDS]: Remove conditional code.
17411 * sysdeps/unix/sysv/linux/kernel-features.h
17412 (__ASSUME_SETRESUID_SYSCALL): Remove.
17413 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17414 (__ASSUME_32BITUIDS): Likewise.
17415 (__ASSUME_LDT_WORKS): Likewise.
17416 (__ASSUME_O_DIRECTORY): Likewise.
17417 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17418 architecture but not kernel version.
17419 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17420 (__ASSUME_MMAP2_SYSCALL): Likewise.
17421 (__ASSUME_STAT64_SYSCALL): Likewise.
17422 (__ASSUME_IPC64): Likewise.
17423 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17424 <kernel-features.h>.
17425 [__ASSUME_32BITUIDS]: Make code unconditional.
17426 [!__ASSUME_32BITUIDS]: Remove conditional code.
17427 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17428 <kernel-features.h>.
17429 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17430 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17431 132096]: Remove conditional code.
17432 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17433 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17434 <kernel-features.h>.
17435 [__ASSUME_32BITUIDS]: Make code unconditional.
17436 [!__ASSUME_32BITUIDS]: Remove conditional code.
17437 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17438 <kernel-features.h>.
17439 [__ASSUME_32BITUIDS]: Make code unconditional.
17440 [!__ASSUME_32BITUIDS]: Remove conditional code.
17441 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17442 <kernel-features.h>.
17443 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17444 unconditional.
17445 (__setresgid): Do not declare.
17446 [__ASSUME_32BITUIDS]: Make code unconditional.
17447 [!__ASSUME_32BITUIDS]: Remove conditional code.
17448 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17449 <kernel-features.h>.
17450 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17451 unconditional.
17452 (__setresuid): Do not declare.
17453 [__ASSUME_32BITUIDS]: Make code unconditional.
17454 [!__ASSUME_32BITUIDS]: Remove conditional code.
17455 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17456 <kernel-features.h>.
17457 [__ASSUME_32BITUIDS]: Make code unconditional.
17458 [!__ASSUME_32BITUIDS]: Remove conditional code.
17459 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17460 <kernel-features.h>.
17461 [__ASSUME_32BITUIDS]: Make code unconditional.
17462 [!__ASSUME_32BITUIDS]: Remove conditional code.
17463
a386f1cc
RH
174642012-05-25 Richard Henderson <rth@twiddle.net>
17465
17466 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17467 dl_hwcap to ifunc resolver.
17468 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17469 elf_ifunc_invoke.
17470 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17471 dl_hwcap to ifunc resolver.
17472 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17473
b6550497
JM
174742012-05-24 Joseph Myers <joseph@codesourcery.com>
17475
17476 [BZ #14153]
17477 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17478 for |x| <= 2**-26, not 2**-57.
17479 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17480 exception.
17481
b0bc23a1
JL
174822012-05-24 Jeff Law <law@redhat.com>
17483
17484 * stdio-common/Makefile (tests): Add bug25.
17485 * stdio-common/bug25.c: New test.
17486
347c92e9
L
174872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17488
17489 [BZ #13576]
17490 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17491 multiple of MALLOC_ALIGNMENT in size.
17492 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17493
6bcc8b3f
JM
174942012-05-24 Joseph Myers <joseph@codesourcery.com>
17495
17496 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17497 Require >= 256.
17498 (FILENAME_MAX): Use macro-int-constant.
17499 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17500 (_IOFBF): Use macro-int-constant.
17501 (_IOLBF): Likewise.
17502 (_IONBF): Likewise.
17503 (SEEK_CUR): Likewise.
17504 (SEEK_END): Likewise.
17505 (SEEK_SET): Likewise.
17506 (TMP_MAX): Likewise.
17507 (EOF): Use macro-int-constant. Require < 0.
17508 (NULL): Use macro-constant. Require == 0.
17509 (stdin): Require type to be FILE *.
17510 (stdout): Likewise.
17511 (stderr): Likewise.
17512 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17513 macro-int-constant.
17514 (EXIT_SUCCESS): Likewise.
17515 (NULL): Use macro-constant. Require == 0.
17516 (RAND_MAX): Use macro-int-constant.
17517 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17518 [C99-based standards] (strtof): Require function.
17519 [C99-based standards] (strtold): Likewise.
17520 [C99-based standards] (strtoll): Likewise.
17521 [C99-based standards] (strtoull): Likewise.
17522 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17523 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17524 [ISO || ISO99 || ISO11] (math.h): Likewise.
17525 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17526 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17528
d18ea0c5
AS
175292012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17530
17531 [BZ #14132]
56d25bb8
AS
17532 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17533 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17534 * intl/dgettext.c (DCGETTEXT): Likewise.
17535 * intl/gettext.c (DCGETTEXT): Likewise.
17536 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17537 * posix/regex_internal.h (gettext): Likewise.
17538 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17539 Remove declaration.
17540 * include/argz.h (__argz_count_internal)
17541 (__argz_stringify_internal): Remove declaration.
17542 (__argz_count, __argz_stringify): Declare hidden proto.
17543 * intl/dcgettext.c: Remove use of INTDEF.
17544 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17545 * string/argz-stringify.c: Likewise.
17546 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17547 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17548 Declare hidden proto.
d18ea0c5
AS
17549 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17550 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17551 Declare hidden proto.
17552 * include/stdio.h (__asprintf_internal): Don't declare.
17553 (__asprintf): Don't define as macro. Declare hidden proto.
17554 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17555 (__fsetlocking): Declare hidden proto.
17556 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17557 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17558 hidden proto.
17559 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17560 (_IO_setlinebuf): Remove use of INTUSE.
17561 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17562 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17563 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17564 Remove declaration.
17565 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17566 (_IO_do_flush): Remove use of INTUSE.
17567 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17568 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17569 (_IO_adjust_column, _IO_least_wmarker)
17570 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17571 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17572 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17573 (_IO_default_doallocate, _IO_wdefault_doallocate)
17574 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17575 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17576 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17577 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17578 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17579 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17580 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17581 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17582 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17583 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17584 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17585 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17586 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17587 proto.
17588 (_IO_flush_all_internal, _IO_adjust_column_internal)
17589 (_IO_default_uflow_internal, _IO_default_finish_internal)
17590 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17591 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17592 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17593 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17594 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17595 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17596 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17597 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17598 (_IO_file_close_internal, _IO_file_close_it_internal)
17599 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17600 (_IO_file_init_internal, _IO_file_attach_internal)
17601 (_IO_file_fopen_internal, _IO_file_read_internal)
17602 (_IO_file_sync_internal, _IO_file_seek_internal)
17603 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17604 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17605 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17606 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17607 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17608 (_IO_list_all_internal, _IO_link_in_internal)
17609 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17610 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17611 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17612 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17613 (_IO_do_write_internal, _IO_padn_internal)
17614 (_IO_getline_info_internal, _IO_getline_internal)
17615 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17616 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17617 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17618 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17619 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17620 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17621 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17622 with libc_hidden_ver, remove use of INTUSE.
17623 * libio/genops.c: Likewise.
17624 * libio/freopen.c: Likewise.
17625 * libio/freopen64.c: Likewise.
17626 * libio/iofclose.c: Likewise.
17627 * libio/iofdopen.c: Likewise.
17628 * libio/iofflush.c: Likewise.
17629 * libio/iofflush_u.c: Likewise.
17630 * libio/iofgets.c: Likewise.
17631 * libio/iofgets_u.c: Likewise.
17632 * libio/iofopen.c: Likewise.
17633 * libio/iofopncook.c: Likewise.
17634 * libio/iofread.c: Likewise.
17635 * libio/iofread_u.c: Likewise.
17636 * libio/ioftell.c: Likewise.
17637 * libio/iofwrite.c: Likewise.
17638 * libio/iogetline.c: Likewise.
17639 * libio/iogets.c: Likewise.
17640 * libio/iogetwline.c: Likewise.
17641 * libio/iopadn.c: Likewise.
17642 * libio/iopopen.c: Likewise.
17643 * libio/ioseekoff.c: Likewise.
17644 * libio/ioseekpos.c: Likewise.
17645 * libio/iosetbuffer.c: Likewise.
17646 * libio/iosetvbuf.c: Likewise.
17647 * libio/ioungetc.c: Likewise.
17648 * libio/ioungetwc.c: Likewise.
17649 * libio/iovdprintf.c: Likewise.
17650 * libio/iovsprintf.c: Likewise.
17651 * libio/iovsscanf.c: Likewise.
17652 * libio/memstream.c: Likewise.
17653 * libio/obprintf.c: Likewise.
17654 * libio/oldfileops.c: Likewise.
17655 * libio/oldiofclose.c: Likewise.
17656 * libio/oldiofdopen.c: Likewise.
17657 * libio/oldiofopen.c: Likewise.
17658 * libio/oldiopopen.c: Likewise.
17659 * libio/oldstdfiles.c: Likewise.
17660 * libio/putc.c: Likewise.
17661 * libio/setbuf.c: Likewise.
17662 * libio/setlinebuf.c: Likewise.
17663 * libio/stdfiles.c: Likewise.
17664 * libio/strops.c: Likewise.
17665 * libio/vasprintf.c: Likewise.
17666 * libio/vscanf.c: Likewise.
17667 * libio/vsnprintf.c: Likewise.
17668 * libio/vswprintf.c: Likewise.
17669 * libio/wfiledoalloc.c: Likewise.
17670 * libio/wfileops.c: Likewise.
17671 * libio/wgenops.c: Likewise.
17672 * libio/wmemstream.c: Likewise.
17673 * libio/wstrops.c: Likewise.
17674 * libio/__fpurge.c: Likewise.
17675 * libio/__fsetlocking.c: Likewise.
17676 * assert/assert.c: Likewise.
17677 * debug/fgets_chk.c: Likewise.
17678 * debug/fgets_u_chk.c: Likewise.
17679 * debug/fread_chk.c: Likewise.
17680 * debug/fread_u_chk.c: Likewise.
17681 * debug/gets_chk.c: Likewise.
17682 * debug/obprintf_chk.c: Likewise.
17683 * debug/vasprintf_chk.c: Likewise.
17684 * debug/vdprintf_chk.c: Likewise.
17685 * debug/vsnprintf_chk.c: Likewise.
17686 * debug/vsprintf_chk.c: Likewise.
17687 * malloc/mtrace.c: Likewise.
17688 * misc/error.c: Likewise.
17689 * misc/syslog.c: Likewise.
17690 * stdio-common/asprintf.c: Likewise.
17691 * stdio-common/fxprintf.c: Likewise.
17692 * stdio-common/getw.c: Likewise.
17693 * stdio-common/isoc99_fscanf.c: Likewise.
17694 * stdio-common/isoc99_scanf.c: Likewise.
17695 * stdio-common/isoc99_vfscanf.c: Likewise.
17696 * stdio-common/isoc99_vscanf.c: Likewise.
17697 * stdio-common/isoc99_vsscanf.c: Likewise.
17698 * stdio-common/printf-prs.c: Likewise.
17699 * stdio-common/printf_fp.c: Likewise.
17700 * stdio-common/printf_fphex.c: Likewise.
17701 * stdio-common/printf_size.c: Likewise.
17702 * stdio-common/putw.c: Likewise.
17703 * stdio-common/scanf.c: Likewise.
17704 * stdio-common/sprintf.c: Likewise.
17705 * stdio-common/tmpfile.c: Likewise.
17706 * stdio-common/vfprintf.c: Likewise.
17707 * stdio-common/vfscanf.c: Likewise.
17708 * stdlib/strfmon_l.c: Likewise.
17709 * sunrpc/openchild.c: Likewise.
17710 * sunrpc/xdr_stdio.c: Likewise.
17711 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17712 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17713
d6c33fda
RM
177142012-05-24 Roland McGrath <roland@hack.frob.com>
17715
c1487492
RM
17716 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17717
17718 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17719 in the third column, to generate for the shared library an IFUNC
17720 that uses _dl_vdso_vsym.
17721 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17722 * Makeconfig (object-suffixes-noshared): New variable.
17723
17724 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17725 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17726 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17727 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17728
d6c33fda
RM
17729 [BZ #14132]
17730 * include/sys/time.h (__gettimeofday): Remove macro.
17731 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17732 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17733 Remove INTDEF.
17734 (__gettimeofday): Add libc_hidden_def.
17735 (gettimeofday): Add libc_hidden_weak.
17736 * sysdeps/mach/gettimeofday.c: Likewise.
17737 * sysdeps/posix/gettimeofday.c: Likewise.
17738 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17739 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17740 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17741 (__gettimeofday_internal): Remove strong_alias.
17742 (__gettimeofday): Add libc_hidden_def.
17743 (gettimeofday): Add libc_hidden_weak.
17744 * sysdeps/unix/syscalls.list (gettimeofday):
17745 Remove __gettimeofday_internal alias.
17746
b5a2bbe6
L
177472012-05-24 Daniel Jacobowitz <drow@false.org>
17748 H.J. Lu <hongjiu.lu@intel.com>
17749
17750 [BZ #12495]
17751 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17752 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17753 (largebin_index_32_big): New.
17754 (largebin_index): Use it for 16-byte alignment.
17755 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17756 correction with front_misalign.
17757
cfba4fda
L
177582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17759
7f907421
L
17760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17762 Likewise.
17763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17764 Likewise.
17765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17766 Likewise.
17767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17768 Likewise.
17769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17770 Likewise.
17771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17772 Likewise.
17773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17774 Likewise.
17775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17776 Likewise.
17777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17778 Likewise.
17779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17780 Likewise.
17781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17782 Likewise.
17783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17784 Likewise.
17785
cfba4fda
L
17786 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17787 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17788
80bad0cc
JM
177892012-05-24 Joseph Myers <joseph@codesourcery.com>
17790
7a25eb06
JM
17791 [BZ #10846]
17792 [BZ #14036]
17793 * math/libm-test.inc (exp_test): Add test from bug 14036.
17794 (pow_test): Add test from bug 10846.
17795
795405f9
JM
17796 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17797 and other flags.
17798 (special_function): Do not include flags in test name.
17799 (parse_args): Likewise.
17800 * sysdeps/i386/fpu/libm-test-ulps: Update.
17801 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17802 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17803 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17805
80bad0cc
JM
17806 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17807 exceptions.
17808 * math/libm-test.inc ("Philosophy"): Update comment about
17809 exception testing.
17810 (UNDERFLOW_EXCEPTION): New macro.
17811 (UNDERFLOW_EXCEPTION_OK): Likewise.
17812 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17813 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17814 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17815 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17816 (INVALID_EXCEPTION_OK): Update value.
17817 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17818 (OVERFLOW_EXCEPTION_OK): Likewise.
17819 (IGNORE_ZERO_INF_SIGN): Likewise.
17820 (test_exceptions): Handle underflow exceptions.
17821 (acos_test): Update for underflow exception expectations.
17822 (cexp_test): Likewise.
17823 (clog_test): Likewise.
17824 (clog10_test): Likewise.
17825 (csqrt_test): Likewise.
17826 (ctan_test): Likewise.
17827 (ctanh_test): Likewise.
17828 (exp_test): Likewise.
17829 (exp10_test): Likewise.
17830 (exp2_test): Likewise.
17831 (expm1_test): Likewise.
17832 (fma_test): Likewise.
17833 (j0_test): Likewise.
17834 (jn_test): Likewise.
17835 (nexttoward_test): Likewise.
17836 (pow_test): Likewise.
17837 (scalbn_test): Likewise.
17838 (scalbln_test): Likewise.
17839 (tan_test): Likewise.
17840 (y1_test): Likewise.
17841 * sysdeps/i386/fpu/libm-test-ulps: Update.
17842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17843
9e0e3d0b
DM
178442012-05-23 David S. Miller <davem@davemloft.net>
17845
17846 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17847 (__libc_sigaction): Remove unused local variables.
17848
ccd0a08f
L
178492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17850
17851 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17852
62bdf9a6
PE
178532012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17854
f8591f80
PE
17855 mktime: avoid signed integer overflow
17856 * time/mktime.c (__mktime_internal): Do not mishandle the case
17857 where diff == INT_MIN.
17858
94c7d826
PE
17859 mktime: simplify computation of average
17860 * time/mktime.c (ranged_convert): Use new time_t_avg function
17861 instead of rolling our own (probably-slower) code.
17862
ce73d683
PE
17863 mktime: do not assume signed right shift propagates sign bit
17864 * time/mktime.c (isdst_differ): New static function.
17865 (__mktime_internal): No need to normalize tm_isdst now.
17866 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17867 tm_isdst values.
17868
72a22e59
PE
17869 mktime: merge another wrapv change from gnulib
17870 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17871 from some compilers.
17872
68605433
PE
17873 mktime: remove incorrect attempt at unusual arithmetics
17874 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17875 The code didn't really work on such machines anyway.
17876 (TYPE_MINIMUM): Assume two's complement.
17877 (twos_complement_arithmetic): Verify that long_int and time_t
17878 are two's complement (or unsigned, in the latter case).
17879
03cf7fe3
PE
17880 mktime: check signed shifts on long_int and time_t, too
17881 * time/mktime.c (SHR): Check that shifts work as desired
17882 on the types long_int and time_t too, as SHR is used on
17883 such types.
17884
f04dfbc2
PE
17885 mktime: do not assume 'long' is wide enough
17886 * time/mktime.c (verify): Move decl up.
17887 (long_int): New type.
17888 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17889 to remove assumption in the code that 'long' is wide enough to
17890 store year values. This assumption is not true on x32 and on
17891 some non-glibc platforms.
17892
62bdf9a6
PE
17893 mktime: merge wrapv change from gnulib
17894 * time/mktime.c (WRAPV): New macro.
17895 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17896 (guess_time_tm, __mktime_internal): Do not assume that signed
17897 integer overflow wraps around; modern compilers generate code
17898 where this assumption is no longer valid.
17899
5e292e4f
L
179002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17901
17902 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17903 Replace "jmp L(pseudo_end)" with "ret".
17904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17905 Likewise.
17906
8caf8c87
AJ
179072012-05-23 Andreas Jaeger <aj@suse.de>
17908
17909 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17910 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17911
1a09dc56
AJ
179122012-05-23 Andreas Jaeger <aj@suse.de>
17913 Maximilian Attems <max@stro.at>
17914
17915 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17916 New macros.
17917
1c87aba0
L
179182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17919
17920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17921 code so that pseudo_end is just ret and the stack pointer is
17922 correct also for static library in error case.
17923
40e45bd5
JM
179242012-05-23 Joseph Myers <joseph@codesourcery.com>
17925
c2670533
JM
17926 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17927 move to syscalls.list.
17928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17932
40e45bd5
JM
17933 * manual/install.texi (Running make install): Do not mention Linux
17934 kernel version for which pt_chown is not needed.
17935 (Linux): Do not mention problems with nscd with 2.0 kernels.
17936 * INSTALL: Regenerated.
17937
be08eda5
AJ
179382012-05-23 Andreas Jaeger <aj@suse.de>
17939
17940 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17941 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17942 macro.
17943 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17944 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17945 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17946 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17947 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17948 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17949 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17950 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17951 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17952 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17953 * sysdeps/unix/sysv/linux/bits/in.h
17954 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17955
a6a056bb
RM
179562012-05-22 Roland McGrath <roland@hack.frob.com>
17957
17958 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17959 (PREPARE_VERSION): Just use assert instead, it will be elided
17960 under [NDEBUG] anyway.
17961
c9009328
L
179622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17963
17964 * sysdeps/unix/sysv/linux/Makefile: Include
17965 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17966 (sysdep_routines): Remove sysctl.
c9009328
L
17967 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17968 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17969 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17970 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17971 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17972
73338355
AJ
179732012-05-22 Andreas Jaeger <aj@suse.de>
17974
17975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17976 that pseudo_end is just ret and the stack pointer is correct also
17977 for static library in error case.
17978
d44638b0
PP
179792012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17980
17981 [BZ #14122]
17982 * nss/nsswitch.c (defconfig_entries): New variable.
17983 (__nss_database_lookup): Don't leak defconfig entries.
17984 (nss_parse_service_list): Don't leak on error paths.
17985 (free_database_entries): New function.
17986 (free_defconfig): New function.
17987 (free_mem): Move common code to free_database_entries.
17988
31a39bd8
L
179892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17990
da0331a8
L
17991 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17992 Add arch_prctl.
17993 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17994
31a39bd8
L
17995 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17996 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17998 New macro.
17999 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18000 (INTERNAL_SYSCALL_TYPES): Likewise.
18001 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18002 (LOAD_REGS_TYPES_[1-6]): Likewise.
18003 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18004 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18005
45470df3
AZ
180062012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18007
18008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18009 copysignl for GLIBC_2_0.
18010 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18011 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18013 logbl for GLIBC_2_0.
18014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18015 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18016
98a61bcb
L
180172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18018
a4f6e481
L
18019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18020 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18021
f63d5db6
L
18022 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18023 Use "neg %eax".
18024
98a61bcb
L
18025 * time/mktime.c: Update copyright years.
18026
95770f14
PE
180272012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18028
6226efbd
PE
18029 mktime: merge comment-quoting-style change from gnulib
18030 * time/mktime.c: Quote 'like this' in comments.
18031 The GNU coding standards suggest that we no longer quote `like this',
18032 as "`" and "'" are typically rendered asymmetrically nowadays.
18033 The typical gnulib style is to quote 'like this' when quoting
18034 code, and "like this" when quoting English.
18035
b99e4f78
PE
18036 * time/mktime.c (compile-command): Add "-I.".
18037
643e01e6
PE
18038 mktime: merge mktime-internal.h change from gnulib
18039 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18040
2554247d
PE
18041 mktime: merge time_r change from gnulib
18042 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18043
826dd0ab
PE
18044 mktime: merge DEBUG change from gnulib
18045 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18046 case system <time.h> has a #define.
18047
bd83aabe
PE
18048 mktime: merge <sys/types.h> change from gnulib
18049 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18050 since <time.t> is now guaranteed to define time_t.
18051
95770f14
PE
18052 mktime: merge HAVE_CONFIG_H change from gnulib
18053 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18054
5e1a27a9
L
180552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18056
0e44a77e
L
18057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18058 Use "neg %eax".
18059
5e1a27a9
L
18060 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18061 __rlim_t cast.
18062 (struct rusage): Use anonymous union to pad each field to
18063 __syscall_slong_t.
18064
46259bec
DM
180652012-05-21 David S. Miller <davem@davemloft.net>
18066
18067 * Makefules (o-iterator): Remove .s cases.
18068 (compile-command.s): Delete.
18069 (COMPILE.s): Delete.
18070 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18071
59f0c22e
JM
180722012-05-21 Joseph Myers <joseph@codesourcery.com>
18073
18074 * configure.in (libc_cv_predef_stack_protector): Only consider
18075 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18076 * configure: Regenerated.
18077
20c07380
L
180782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18079
bbb3154b
L
18080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18081 New macro. Use R*LP on int and pointer.
18082 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18083 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18085 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18086
20c07380
L
18087 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18088 [__WORDSIZE_TIME64_COMPAT32] instead of
18089 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18090 (struct utmp): Likewise.
18091 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18092 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18093 Renamed to ...
18094 (__WORDSIZE_TIME64_COMPAT32): This.
18095 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18096 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18097 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18098 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18099 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18100 (__WORDSIZE_TIME64_COMPAT32): New macro.
18101
d8d1017e
AJ
181022012-05-21 Andreas Jaeger <aj@suse.de>
18103
18104 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18105 only if [SHARED]. Add prototype for __wcschr_ia32.
18106
6c7fb145
RM
181072012-05-21 Roland McGrath <roland@hack.frob.com>
18108
18109 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18110 of %rbp unmolested in the jmp_buf while mangling the low bits.
18111 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18112 unmolested high bits of %rbp while demangling the low bits.
18113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18114
66274218
AJ
181152012-05-21 Andreas Jaeger <aj@suse.de>
18116
07c58f8f
AJ
18117 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18118 * sunrpc/svc_simple.c: Use it for registerrpc.
18119 * sunrpc/xcrypt.c: Use it for passwd2des.
18120
66274218
AJ
18121 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18122
61f65140
L
181232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18124
18125 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18126 Don't define if [__SYSCALL_WORDSIZE != 32].
18127 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18128 New macro.
18129
5fefb436
AJ
181302012-05-21 Bruno Haible <bruno@clisp.org>
18131 Andreas Jaeger <aj@suse.de>
18132
18133 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18134 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18135 inptr and inend for must_buffer_ch.
18136 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18137 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18138 * stdio-common/Makefile (tests): Remove bug15.
18139 (bug15-ENV): Remove macro.
18140 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18141 anymore.
18142
d8e272ab
AJ
181432012-05-19 Andreas Jaeger <aj@suse.de>
18144 Roland McGrath <roland@hack.frob.com>
18145
18146 * manual/contrib.texi: Completely rewritten. It contains now an
18147 alphabetical list of contributors and their contributions.
18148
4a56a162
RH
181492012-05-21 Richard Henderson <rth@twiddle.net>
18150
18151 * misc/getauxval.c (__getauxval): Use unsigned long int.
18152 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18153 (getauxval): Use unsigned long int.
18154
d024d23c
L
181552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18156
18157 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18158
cbc00a03
RM
181592012-05-21 Roland McGrath <roland@hack.frob.com>
18160
18161 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18162 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18163 __alignof__ (long double).
18164
478143fa
AZ
181652012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18166
18167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18168
c7683a6d
RH
181692012-05-20 Richard Henderson <rth@twiddle.net>
18170
18171 * misc/getauxval.c: New file.
18172 * misc/sys/auxv.h: New file.
18173 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18174 (routines): Add getauxval.
18175 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18176 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18177 * elf/dl-sysdep.c (_dl_auxv): Remove.
18178 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18179 * elf/dl-support.c (_dl_auxv): New variable.
18180 (_dl_aux_init): Initialize it.
18181 * manual/startup.texi (Auxiliary Vector): New node.
18182 * sysdeps/generic/bits/hwcap.h: New file.
18183 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18184 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18185 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18186 * sysdeps/sparc/sysdep.h: ... here. Include it.
18187 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18188 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18190 Update.
c7683a6d
RH
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18194 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18199
a6f1845d
AZ
182002012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18201
18202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18203
cbcbe830
DM
182042012-05-19 David S. Miller <davem@davemloft.net>
18205
18206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18207
e0b16cc2
JM
182082012-05-19 Joseph Myers <joseph@codesourcery.com>
18209
18210 [BZ #14123]
18211 * math/s_ccosh.c: Include <float.h>
18212 (__ccosh): Avoid internal overflow calculating sinh and cosh
18213 values before multiplying by sin and cos values.
18214 * math/s_ccoshf.c: Likewise.
18215 * math/s_ccoshl.c: Likewise.
18216 * math/s_csin.c: Likewise.
18217 * math/s_csinf.c: Likewise.
18218 * math/s_csinl.c: Likewise.
18219 * math/s_csinh.c: Likewise.
18220 * math/s_csinhf.c: Likewise.
18221 * math/s_csinhl.c: Likewise.
18222 * math/libm-test.inc (ccos_test): Add more tests.
18223 (ccosh_test): Likewise.
18224 (csin_test): Likewise.
18225 (csinh_test): Likewise.
18226 * sysdeps/i386/fpu/libm-test-ulps: Update.
18227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18228
6ad13e08
L
182292012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18230
f66f0ce8
L
18231 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18232 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18233
6ad13e08
L
18234 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18235
b1d072a7
JM
182362012-05-19 Joseph Myers <joseph@codesourcery.com>
18237
18238 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18239 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18240 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18241 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18242 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18243 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18244 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18245 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18246 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18247 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18248 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18249 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18250 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18251 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18252 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18253 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18254 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18255 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18256 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18257 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18258 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18259 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18260 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18261 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18262 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18263 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18264 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18265 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18266 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18267 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18268 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18269
9eae47cb
AJ
182702012-05-18 Andreas Jaeger <aj@suse.de>
18271
18272 * csu/.gitignore: Delete.
18273
bb07f69f
L
182742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18275
18276 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18277 (timex): Use __syscall_slong_t.
18278
e6bdb741
AJ
182792012-05-18 Andreas Jaeger <aj@suse.de>
18280 Carlos O'Donell <carlos_odonell@mentor.com>
18281
18282 * manual/install.texi (Configuring and compiling): Update
18283 description about files modified in the source directory.
d6c33fda 18284 * INSTALL: Regenerated.
e6bdb741 18285
1b74487e
L
182862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18287
18288 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18289 value. Use "or" to set return value to -1.
18290 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18291 negate return value.
18292
a88b64b9
TMQMF
182932012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18294
18295 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18296 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18297 failure if the compiler has Graphite support disabled.
18298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18299 Likewise.
18300 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18301 CFLAGS-memmove.c): Likewise.
18302 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18303 Likewise.
18304
3707636e
L
183052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18306
610b8622
L
18307 * sysdeps/x86_64/x32/_itoa.h: New file.
18308
7cd195df
L
18309 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18310 getdents system call only if kernel and user dirents have the
18311 same d_ino and d_off.
18312
94b07d20
L
18313 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18314 LLONG_MAX != LONG_MAX.
18315 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18316 (_fitoa_word): Likewise.
18317
18298070
L
18318 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18319 years.
18320 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18321 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18322 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18323
553c7ea4
L
18324 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18325 include <bits/wordsize.h>. Check __x86_64__ instead of
18326 __WORDSIZE.
18327 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18328 if __x86_64__ is defined. Use anonymous union on fpstate.
18329
3707636e
L
18330 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18331 anonymous union.
18332
b53ef01a
AS
183332012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18334
37fb1dc0
AS
18335 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18336 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18337 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18338 Refer to _rtld_local_ro instead of _rtld_global_ro.
18339 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18340 Likewise.
18341 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18342 Likewise.
18343 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18344 Likewise.
18345 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18346 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18347 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18348
b53ef01a
AS
18349 * sysdeps/powerpc/powerpc32/dl-machine.c
18350 (__elf_machine_runtime_setup) [PROF]: Don't reference
18351 _dl_prof_resolve.
18352
7a185db2
AJ
183532012-05-18 Andreas Jaeger <aj@suse.de>
18354
18355 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18356 function only available for GCCs before 3.4 since GCC 3.4
18357 introduced a builtin.
18358 (lrint): Likewise.
18359 (llrintf): Likewise.
18360 (llrint): Likewise.
18361 (fmaxf): Likewise.
18362 (fmax): Likewise.
18363 (fminf): Likewise.
18364 (fmin): Likewise.
18365 (rint): Likewise.
18366 (rintf): Likewise.
18367 (nearbyint): Likewise.
18368 (nearbyintf): Likewise.
18369 (ceil): Likewise.
18370 (ceilf): Likewise.
18371 (floor): Likewise.
18372 (floorf): Likewise.
18373
3e5aef87
L
183742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18375
428bd707
L
18376 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18377 on both fields and cast pointer to __syscall_ulong_t.
18378
3e5aef87
L
18379 * bits/types.h (__fsword_t): New type.
18380 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18381 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18383 (__FSWORD_T_TYPE): Likewise.
18384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18385 (__FSWORD_T_TYPE): Likewise.
18386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18387 (__FSWORD_T_TYPE): Likewise.
18388 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18389 (__FSWORD_T_TYPE): Likewise.
18390 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18391 __SWORD_TYPE with __fsword_t.
18392 (statfs64): Likewise.
18393
1ba7c3dc
DM
183942012-05-17 David S. Miller <davem@davemloft.net>
18395
18396 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18397
59910343
AJ
183982012-05-17 Andreas Jaeger <aj@suse.de>
18399
18400 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18401 warning.
18402
2e4c1e9e
L
184032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18404
18405 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18406
de7f5ce7
AJ
184072012-05-17 Andreas Jaeger <aj@suse.de>
18408
18409 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18410 when it is used.
18411
286abc3d
CM
184122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18413
18414 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18415
477cc68e
L
184162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18417
18418 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18419 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18420
1a0994f5
CD
184212012-05-17 Andreas Jaeger <aj@suse.de>
18422 Carlos O'Donell <carlos_odonell@mentor.com>
18423
18424 [BZ #14059]
18425 * sysdeps/x86_64/multiarch/init-arch.h
18426 (bit_YMM_Usable): Rename to...
18427 (bit_AVX_Usable): ... this.
18428 (bit_FMA4_Usable): New macro.
18429 (bit_XMM_state): New macro.
18430 (bit_YMM_state): New macro.
18431 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18432 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18433 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18434 (CPUID_OSXSAVE): New macro.
18435 (CPUID_AVX): New macro.
18436 (CPUID_FMA4): New macro.
18437 (index_YMM_Usable): Rename to...
18438 (index_AVX_Usable): ... this.
18439 (HAS_AVX): Use HAS_ARCH_FEATURE.
18440 (HAS_FMA4): Likewise.
18441 (HAS_YMM_USABLE): Remove.
18442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18443 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18444 are present.
18445 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18446 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18447 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18448 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18449 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18450
0af797de
CM
184512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18452
18453 * math/libm-test.c: Support platforms without multiple rounding modes.
18454 * math/bug-nextafter.c: Support platforms without FP exceptions.
18455 * math/bug-nexttoward.c: Likewise.
18456 * math/test-fenv.c: Likewise.
18457 * math/test-misc.c: Likewise.
18458 * stdlib/bug-getcontext.c: Likewise.
18459
e39745ff
AJ
184602012-05-17 Andreas Jaeger <aj@suse.de>
18461
18462 * manual/examples/search.c (critter_cmp): Change signature to
18463 avoid warnings.
18464 * manual/string.texi (Collation Functions): Likewise.
18465
48970aba
L
184662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 * bits/types.h: Fold copyright years.
18469 * bits/typesizes.h: Likewise.
18470 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18471 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18473 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18474 * time/time.h: Likewise.
18475
bedee953
PP
184762012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18477
18478 [BZ #208]
18479 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18480 in instead of returning them. Return void.
18481 (__libc_mallinfo): Accumulate over all arenas.
18482 (__malloc_stats): Adjust for change in int_mallinfo interface.
18483
61653dfb
RM
184842012-05-16 Roland McGrath <roland@hack.frob.com>
18485
30b99d79
RM
18486 [BZ #10375]
18487 * configure.in (NM): Add AC_CHECK_TOOL for it.
18488 (libc_extra_cflags): New substituted variable.
18489 Check for -fstack-protector being used implicitly.
18490 * configure: Regenerated.
18491 * config.make.in (config-extra-cflags): New variable,
18492 gets @libc_extra_cflags@.
18493 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18494
61653dfb
RM
18495 [BZ #10375]
18496 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18497 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18498 * configure: Regenerated.
18499 * config.make.in (CPPUNDEFS): New substituted variable.
18500 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18501 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18502 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18503
661768bb
L
185042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18505
18506 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18507 (mq_attr): Use __syscall_slong_t.
18508
d4261567
L
185092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18510
18511 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18512 Check __x86_64__ instead of __WORDSIZE.
18513 (_STAT_VER_LINUX): Likewise.
18514 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18515 __syscall_ulong_t and __syscall_slong_t.
18516 (stat64): Likewise.
18517
cf3ff365
L
185182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18519
18520 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18521
76cf3e4d
L
185222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18523
18524 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18525
a637753a
L
185262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18527
18528 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18529 __syscall_ulong_t.
18530
d5e05119
L
18531 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18532 include <bits/wordsize.h>. Check __x86_64__ instead of
18533 __WORDSIZE.
18534 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18535 defined.
18536 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18537
f62ee380
L
18538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18539 include <bits/wordsize.h>. Check __x86_64__ instead of
18540 __WORDSIZE.
18541 (user_regs_struct): Use "__extension__ unsigned long long"
18542 instead of "unsigned long" if __x86_64__ is defined.
18543 (user): Likewise. Pad after pointer field if __ILP32__ is
18544 defined.
18545
4e124ced
JM
185462012-05-16 Joseph Myers <joseph@codesourcery.com>
18547
6a3951a0
JM
18548 * configure.in (makeinfo): Require version 4.5 or later. Allow
18549 versions 5 to 9.
18550 * configure: Regenerated.
18551 * manual/install.texi (texinfo): Increase version requirement to
18552 4.5 or later.
18553 * INSTALL: Regenerated.
18554
4e124ced
JM
18555 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18556
953ca31a
L
185572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18558
18559 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18560
617aca05
L
18561 * sysdeps/x86_64/x32/ffs.c: New file.
18562
5762f7ae
L
18563 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18564 __syscall_ulong_t.
18565 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18566 defined. Use __syscall_ulong_t.
18567 (shminfo): Use __syscall_ulong_t.
18568 (shm_info): Likewise.
18569
a26b6856
L
18570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18571 __syscall_ulong_t.
18572
cb2b9ef7
L
18573 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18574 <bits/wordsize.h>.
18575 (msgqnum_t): Use __syscall_ulong_t.
18576 (msglen_t): Likewise.
18577 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18578 __syscall_ulong_t.
18579
34683bb0
L
18580 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18581 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18582
84a68786
L
18583 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18584
48baa5f1
L
18585 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18586 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18587
180be88b
L
18588 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18589 __syscall_slong_t.
18590
5e90c8ad
L
18591 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18592 include <bits/wordsize.h>. Check __x86_64__ instead of
18593 __WORDSIZE.
18594
23dfb58b
L
18595 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18596 "unsigned long long int" if __x86_64__ is defined.
18597 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18598
ce5d54b0
L
18599 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18600 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18601 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18602
13dc9eac
L
18603 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18604 <stdint.h>.
18605 (GET_PC): Cast to uintptr_t first.
18606 (GET_FRAME): Likewise.
18607 (GET_STACK): Likewise.
18608
a7895d15
L
18609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18610 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18611 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18612 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18613 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18614 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18615 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18616 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18617 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18619 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18620 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18621 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18622 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18623 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18624 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18625 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18626 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18627 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18629 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18630 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18631 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18632 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18633 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18634 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18635 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18636 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18637 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18638
656416c9
AS
186392012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18640
5bd66283
AS
18641 * Makerules (+depfiles): Also collect depfiles from .oS in
18642 $(extra-objs).
18643 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18644 .oS, $(libnldbl-routines)).
18645
656416c9
AS
18646 * Makerules (native-compile-mkdep-flags): Define.
18647 * sunrpc/Makefile (extra-objs): Add $(addprefix
18648 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18649 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18650 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18651 calling $(make-target-directory).
18652
a46f2169
L
186532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18654
18655 * bits/types.h (__snseconds_t): Removed.
18656 * time/time.h (struct timespec): Replace __snseconds_t with
18657 __syscall_slong_t.
18658 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18659 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18660 Likewise.
18661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18662 (__SNSECONDS_T_TYPE): Likewise.
18663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18664 (__SNSECONDS_T_TYPE): Likewise.
18665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18666 (__SNSECONDS_T_TYPE): Likewise.
18667
6af6528b
L
186682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18669
18670 * sysdeps/mach/hurd/bits/typesizes.h
18671 (__SYSCALL_SLONG_TYPE): New macro.
18672 (__SYSCALL_ULONG_TYPE): Likewise.
18673
de986b56
L
186742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18675
18676 * bits/types.h (__syscall_slong_t): New type.
18677 (__syscall_ulong_t): Likewise.
18678
18679 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18680 (__SYSCALL_ULONG_TYPE): Likewise.
18681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18682 (__SYSCALL_SLONG_TYPE): Likewise.
18683 (__SYSCALL_ULONG_TYPE): Likewise.
18684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18685 (__SYSCALL_SLONG_TYPE): Likewise.
18686 (__SYSCALL_ULONG_TYPE): Likewise.
18687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18688 (__SYSCALL_SLONG_TYPE): Likewise.
18689 (__SYSCALL_ULONG_TYPE): Likewise.
18690
85736dc7
L
186912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18692
18693 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18694 Add sigaltstack-offsets.sym.
18695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18696 <sigaltstack-offsets.h>.
18697 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18698 longjmp_msg pointer.
18699 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18700 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18701 signal stack.
18702 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18703
cc03b296
JM
187042012-05-15 Joseph Myers <joseph@codesourcery.com>
18705
a9538892
JM
18706 * elf/stackguard-macros.h: Remove file.
18707 * sysdeps/generic/stackguard-macros.h: New file.
18708 * sysdeps/i386/stackguard-macros.h: Likewise.
18709 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18710 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18711 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18712 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18713 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18714 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18715 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18716 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18717 <elf/stackguard-macros.h>.
18718
cc03b296
JM
18719 [BZ #14109]
18720 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18721 __aligned__ in attribute.
18722 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18723 (gregset_t): Likewise.
18724
93171016
L
187252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18726
18727 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18728 * sysdeps/x86_64/64/Implies-after: Here. New file.
18729 * sysdeps/x86_64/x32/Implies-after: New file.
18730
d86813a0
L
187312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18732
18733 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18734 and access return value for _dl_profile_fixup. Use R10_LP to
18735 load frame size.
18736
2953ec75
L
187372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18738
18739 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18740
3b550e9e
L
187412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18742
18743 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18744 * sysdeps/x86_64/x32/sysdep.h: New file.
18745
eda41706
L
187462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18747
18748 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18749 * sysdeps/x86_64/setjmp.S: Likewise.
18750
9ea01d93
AZ
187512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18752
18753 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18754 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18755 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18757 remove unused global constant.
18758
02a91938
CM
187592012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18760
18761 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18762 include of <not-cancel.h>.
18763
6540185f
RM
187642012-05-15 Roland McGrath <roland@hack.frob.com>
18765
18766 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18767
509072a0
AJ
187682012-05-15 Jeff Law <law@redhat.com>
18769 Andreas Jaeger <aj@suse.de>
18770
18771 [BZ #13594]
18772 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18773 out from...
18774 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18775 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18776 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18777 code changing __hst_map_handle.map.
18778
ba75122d
RM
187792012-05-15 Roland McGrath <roland@hack.frob.com>
18780
18781 * configure.in (sysnames): Look for Implies-before and Implies-after
18782 files.
18783 * configure: Regenerated.
18784
890d8bd8
L
187852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18786
18787 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18788 8-byte data alignment with LP_SIZE alignment.
18789
f6ee6623
L
187902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18791
18792 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18793 into R10_LP.
18794
ea2626f6
L
187952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18796
18797 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18798
085f715e
L
187992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18800
18801 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18802 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18803 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18804 Likewise.
18805 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18806
be8498fc
L
188072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18808
18809 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18810 (stackinfo_sub_sp): Likewise.
18811
70bc83b9
L
188122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18813
18814 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18815 RAX_LP.
18816
9bc0b730
L
188172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18818
18819 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18820 into R*_LP.
18821
6d2850e7
L
188222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18823
18824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18825 sizes into R*_LP.
18826
3cb84561
L
188272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18830
54e2ed81
L
188312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18832
18833 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18834 into R11_LP and load __x86_64_shared_cache_size_half into
18835 R8_LP.
18836
8a17f349
L
188372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18838
18839 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18840 R8_LP.
18841
777b1eea
AZ
188422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18843
18844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18845 logb for POWER7.
18846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18847 logbf for POWER7.
18848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18849 logbl for POWER7.
18850 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18851 powerpc32/power7/fpu/s_logb.c via #include.
18852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18853 powerpc32/power7/fpu/s_logbf.c via #include.
18854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18855 powerpc32/power7/fpu/s_logbl.c via #include.
18856
d20d4ac2
JM
188572012-05-15 Joseph Myers <joseph@codesourcery.com>
18858
18859 * README.libm: Remove file.
18860
6cdef1ab
L
188612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18862
18863 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18864 count for x32. Use R*_LP and omit operand-size suffix.
18865
0b254d8f
L
188662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18867
18868 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18869 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18870 * sysdeps/x86_64/x32/shlib-versions: New file.
18871
ceb809dc
RM
188722012-05-14 Roland McGrath <roland@hack.frob.com>
18873
18874 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18875 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18876 Use _dl_fatal_printf instead.
18877
37f1abd4
JM
188782012-05-14 Joseph Myers <joseph@codesourcery.com>
18879
18880 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18881 set if not set by the user. Do not allow for being unset.
18882 * sysdeps/unix/sysv/linux/configure: Regenerated.
18883
11de3a33
L
188842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18885
18886 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18887 the `q' suffix from lea and replace .quad with ASM_ADDR.
18888
e02f153a
L
188892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18890
18891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18892 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18893 instead of $17.
18894 (PTR_DEMANGLE): Likewise.
18895
520ae0fd
L
188962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18897
18898 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18899 (LP_OP): Likewise.
18900 (ASM_ADDR): Likewise.
18901 (RAX_LP): Likewise.
18902 (RBP_LP): Likewise.
18903 (RBX_LP): Likewise.
18904 (RCX_LP): Likewise.
18905 (RDI_LP): Likewise.
18906 (RSI_LP): Likewise.
18907 (RSP_LP): Likewise.
18908 (R8_LP): Likewise.
18909 (R9_LP): Likewise.
18910 (R10_LP): Likewise.
18911 (R10_LP): Likewise.
18912 (R11_LP): Likewise.
18913 (R12_LP): Likewise.
18914 (R13_LP): Likewise.
18915 (R14_LP): Likewise.
18916 (R15_LP): Likewise.
18917
b985be81
L
189182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18919
18920 * sysdeps/x86_64/x32/dl-machine.h: New file.
18921
6a4888ff
AJ
189222012-05-14 Andreas Jaeger <aj@suse.de>
18923
18924 * manual/Makefile (subdir): Remove export of subdir.
18925 (all): Remove target.
18926 (.PHONY): Remove all from list.
18927 (mkinstalldirs): Remove.
18928 (.PHONY): Remove installdirs from list.
18929 ($(inst_infodir)/libc.info): Use make-target-directory.
18930 (installdirs): Remove.
18931 (subdir_%): Remove.
18932 (glibc-targets): Remove.
18933 (lib): Remove.
18934 (stubs): Remove.
18935 ($(objpfx)stubs ../po/manual.pot): Remove.
18936 ($(objpfx)stamp%): Remove.
18937 (make-target-directory): Remove.
18938 (subdir_install): Remove.
18939 (routines): Remove.
18940 (aux): Remove.
18941 (sources): Remove.
18942 (objects): Remove.
18943 (headers): Remove.
18944
18945 [BZ #13750]
18946 * manual/.gitignore: Remove, it's not needed anymore.
18947 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18948 all files in it.
18949 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18950 directory.
18951 (texis): Renamed to $(objpfx)texis.
18952 (texis-path): New, contains path to generated files.
18953 (chapters.%): Use texis-path for complete path, add extra argument
18954 libc-texinfo.sh.
18955 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18956 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18957 (summary,texi, stamp-summary): Use complete path of
18958 files. Generate files in build dir.
18959 (dir-add.texi): Build in build dir.
18960 (libm-err.texi,stamp-libm-err): Likewise.
18961 (version.texi, stamp-version): Likewise.
18962 (.%c.texi): Likewise.
18963 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18964 (mostlyclean): Remove target.
18965 (realclean): Remove target.
18966 (generated): Add new variable with contents from mostlyclean and
18967 realclean, remove entries duplicated in common-mostlyclean, add
18968 stamp-libm-err and stamp-version.
18969 (generated-dirs): Add libc directory.
18970 ($(inst_infodir)/libc.info): Install files from build dir.
18971
18972 * manual/install.texi (Configuring and compiling): Adjust since
18973 the info files are not part of the tar ball anymore.
18974
7ac77294
AJ
189752012-05-14 Andreas Jaeger <aj@suse.de>
18976
18977 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18978 variable.
18979
ffb7875d
JM
189802012-05-14 Joseph Myers <joseph@codesourcery.com>
18981
18982 [BZ #13717]
18983 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18984 to 2.2.0 where earlier.
18985 * sysdeps/unix/sysv/linux/configure: Regenerated.
18986 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18987 Remove conditional code.
18988 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18989 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18990 Remove conditional code.
18991 [!__NR_lchown]: Likewise.
18992 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18993 [__NR_lchown]: Likewise.
18994 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18995 comment referencing __ASSUME_LCHOWN_SYSCALL.
18996 * sysdeps/unix/sysv/linux/i386/sigaction.c
18997 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18998 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18999 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19000 Remove conditional code.
19001 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19002 (__protocol_available): Remove #if 0 code.
19003 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19004 conditional code.
19005 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19006 * sysdeps/unix/sysv/linux/kernel-features.h
19007 (__ASSUME_GETCWD_SYSCALL): Don't define.
19008 (__ASSUME_REALTIME_SIGNALS): Likewise.
19009 (__ASSUME_PREAD_SYSCALL): Likewise.
19010 (__ASSUME_PWRITE_SYSCALL): Likewise.
19011 (__ASSUME_POLL_SYSCALL): Likewise.
19012 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19013 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19014 non-SPARC.
19015 (__ASSUME_SIOCGIFNAME): Don't define.
19016 (__ASSUME_MSG_NOSIGNAL): Likewise.
19017 (__ASSUME_SENDFILE): Define unconditionally.
19018 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19019 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19020 conditional code.
19021 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19022 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19023 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19024 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19025 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19026 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19027 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19029 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19032 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19052 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19053 Remove conditional code.
19054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19055 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19056 Remove conditional code.
19057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19058 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19059 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19060 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19061 Remove conditional code.
19062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19063 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19064 Remove conditional code.
19065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19066 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19067 Remove conditional code.
19068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19069 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19070 Remove conditional code.
19071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19072 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19073 Remove conditional code.
19074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19075 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19076 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19078 * sysdeps/unix/sysv/linux/sigaction.c
19079 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19080 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19081 * sysdeps/unix/sysv/linux/sigpending.c
19082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19084 * sysdeps/unix/sysv/linux/sigprocmask.c
19085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19087 * sysdeps/unix/sysv/linux/sigsuspend.c
19088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19090 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19091 (__libc_missing_rt_sigs): Remove.
19092 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19093 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19094 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19095 Remove conditional code.
19096 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19097 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19098 return 1.
19099 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19100 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19101 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19102 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19103
1bfb7291
AJ
191042012-05-14 Andreas Jaeger <aj@suse.de>
19105
caae5a81
AJ
19106 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19107 it's not used in glibc.
19108 (__coshm1): Likewise.
19109 (__acosh1p): Likewise.
19110 (__sgn): Likewise.
19111
1bfb7291
AJ
19112 * manual/string.texi (Copying and Concatenation): Add missing
19113 variable in concat example.
19114 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19115
c044d724
L
191162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19117
144c5467 19118 [BZ #14103]
c044d724
L
19119 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19120 __builtin_clzl with __builtin_clzll.
19121
2523c62b
L
191222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 [BZ #14104]
19125 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19126 libc_freeres_ptr.
19127
d7bb4c42
LD
191282012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19129
19130 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19131 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19132 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19133 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19134
9dc4e1fb
MF
191352012-05-14 Mike Frysinger <vapier@gentoo.org>
19136
19137 * NEWS: Update ia64 info.
19138
c7df0112
AS
191392012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19140
19141 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19142 used as bcopy.
19143
dc70356c
TS
191442012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19145
19146 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19147 * sysdeps/unix/syscalls.list (dup3): Likewise.
19148 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19149 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19150
9fb1a21f
L
191512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19152
19153 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19154 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19155
4822a2a5
L
191562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19157
19158 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19159 thread pointer.
19160 (TLS_IE): Use mov/add instead of movq/addq to load thread
19161 pointer.
19162 (TLS_GD_PREFIX): New.
19163 (TLS_GD): Use it.
19164
842b81d6
DM
191652012-05-11 David S. Miller <davem@davemloft.net>
19166
19167 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19168 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19169 (_FPU_SETCW): Likewise.
19170
1cf463cd
L
191712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19172
19173 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19174 is 32-byte aligned.
19175
60cc4a18
AS
191762012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19177
19178 [BZ #11837]
19179 * iconvdata/gb18030.c: Update tables.
19180 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19181 characters specially.
19182 (BODY for TO_LOOP): Add encoding of missing ranges.
19183
febb44a4
TS
191842012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19185
19186 [BZ #13673]
19187 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19188 * sysdeps/mach/hurd/dup3.c: Likewise.
19189 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19190 * sysdeps/powerpc/memmove.c:: Likewise.
19191
0a10fb9e
L
191922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19193
19194 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19195 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19196
df8a552f
L
191972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19198
19199 * elf/elf.h (R_X86_64_RELATIVE64): New.
19200 (R_X86_64_NUM): Updated.
19201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19202 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19203 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19204 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19205 tst-quad1pie tst-quad2pie
19206 (modules-names): Add tst-quadmod1 tst-quadmod2.
19207 ($(objpfx)tst-quad1): New dependency.
19208 ($(objpfx)tst-quad2): Likewise.
19209 ($(objpfx)tst-quad1pie): Likewise.
19210 ($(objpfx)tst-quad2pie): Likewise.
19211 * sysdeps/x86_64/tst-quad1.c: New file.
19212 * sysdeps/x86_64/tst-quad1pie.c: New file.
19213 * sysdeps/x86_64/tst-quad2.c: Likewise.
19214 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19215 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19216 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19217 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19218 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19219
f34d6f84
ST
192202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19221
f42d41d1
ST
19222 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19223 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19224 * streams/stropts.h (t_scalar_t): Define type.
19225
3c3571fc
ST
19226 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19227 (_PATH_PRESERVE): Set to "/var/lib".
19228 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19229
61f06bd3
ST
19230 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19231 instead of int.
19232
918d4d71
ST
19233 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19234 if __dir_mkfile succeeded.
19235
f34d6f84
ST
19236 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19237 checking for _hurd_dtablesize. Unlock it right after having
19238 finished _hurd_dtable allocation.
19239
10589b4a
TS
192402012-05-10 Thomas Schwinge <thomas@schwinge.name>
19241
674cdbc7
TS
19242 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19243 * sysdeps/mach/hurd/configure: Regenerated.
19244 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19245 special-casing to...
19246 * sysdeps/gnu/configure.in: ... this new file.
19247 * sysdeps/unix/sysv/linux/configure: Regenerated.
19248 * sysdeps/gnu/configure: New generated file.
19249
8e41b99f
TS
19250 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19251 for Linux: use nsec instead of usec, as well as:
19252 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19253 members of type struct timespec.
19254 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19255 New macros.
19256 (struct stat64): Likewise.
19257 (_STATBUF_ST_NSEC): New macro.
19258 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19259
10589b4a
TS
19260 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19261 __strtoul_internal rather than strtoul.
19262
63643c85
PT
192632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19264
19265 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19266 and reject them.
19267
3faebe6a
ST
192682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19269
19270 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19271 which preserves existing values.
19272 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19273
c6474b07
PT
192742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19275
19276 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19277 TIMEOUT values. Return EINVAL for NFDS values either negative or
19278 greater than FD_SETSIZE.
19279
1043890b
ST
192802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19281
19282 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19283 allocated, call __vm_protect to finish enabling the existing space, and
19284 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19285 allocate the remainder.
19286
37ed8b9b
PT
192872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19288
19289 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19290 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19291
db653660
ST
192922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19293
37ed8b9b
PT
19294 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19295 sysdeps/mach/hurd/readlink.c.
b29d4053 19296
db653660
ST
19297 * posix/tst-sysconf.c (posix_options): Only use
19298 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19299 _POSIX_SYNCHRONIZED_IO when they are defined
19300 * sysdeps/mach/hurd/bits/posix_opt.h:
19301 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19302 (_XOPEN_REALTIME): Undefine macro.
19303 (_XOPEN_REALTIME_THREADS): Undefine macro.
19304 (_XOPEN_SHM): Undefine macro.
19305 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19306 macro to -1.
19307 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19308 macro to -1.
19309 (_POSIX_ASYNC_IO): Undefine macro.
19310 (_POSIX_PRIORITIZED_IO): Undefine macro.
19311 (_POSIX_SPIN_LOCKS): Define macro to -1.
19312
ee16e894
ST
19313 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19314 SA_NODEFER, SA_RESETHAND.
19315 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19316 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19317 F_DUPFD_CLOEXEC.
19318
6103ae3b
TS
193192012-05-10 Thomas Schwinge <thomas@schwinge.name>
19320
19321 * elf/Makefile (pldd-modules): Define unconditionally.
19322
80b4e5f3
TS
193232012-05-10 Thomas Schwinge <thomas@schwinge.name>
19324
19325 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19326
edadcbd6
ST
193272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19328
19329 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19330 Return ENOENT when name is empty.
19331 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19332
80694780
TS
193332012-05-10 Thomas Schwinge <thomas@schwinge.name>
19334
1792c087
TS
19335 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19336
80694780
TS
19337 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19338
6b645f0d
ST
193392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19340
80694780
TS
19341 Fix mlock in all cases except non-readable pages.
19342 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19343 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19344
6b645f0d
ST
19345 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19346 (__mkdir): When path is `/', just fail with EEXIST.
19347 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19348
e468f8a3
TS
193492012-05-10 Thomas Schwinge <thomas@schwinge.name>
19350
19351 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19352 <sys/uio.h> (for writev).
19353 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19354 and <sys/param.h> (for MIN).
19355
a4186cff
PT
193562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19357
19358 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19359 REQUESTED_TIME. Properly set the remaining time and return EINTR
19360 if interrupted.
19361
510bbf14
TS
193622012-05-10 Thomas Schwinge <thomas@schwinge.name>
19363
19364 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19365 Depend on against $(link-rpcuserlibs).
19366
5d5722e8
ST
193672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19368
a4186cff
PT
19369 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19370 (__libc_stack_end): Do not use attribute_relro.
19371 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19372 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19373 to libthread-provided value.
a4186cff
PT
19374 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19375 attribute_relro.
5d5722e8 19376
37233df9
TS
193772012-05-10 Thomas Schwinge <thomas@schwinge.name>
19378
be971a2b
TS
19379 [BZ #3748]
19380 * bits/libc-lock.h (__libc_once_get): New macro.
19381 * sysdeps/mach/bits/libc-lock.h: Likewise.
19382 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19383 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19384 instead of using implementation details.
19385
37233df9
TS
19386 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19387 * libio/freopen.c: Likewise.
19388 * libio/freopen64.c: Likewise.
19389 * misc/syslog.c: Likewise.
19390 * nscd/connections.c: Likewise.
19391 * nscd/netgroupcache.c: Likewise.
19392 * sysdeps/posix/getcwd.c: Likewise.
19393
38de94a5
RM
193942012-05-10 Roland McGrath <roland@hack.frob.com>
19395
19396 * math/w_ilogbf.c: Add #include <limits.h>.
19397
67530489
ST
193982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19399
a4186cff 19400 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19401 path instead of returning without unlocking.
19402
67530489
ST
19403 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19404 immediate-write ioctls.
19405 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19406
5aa3a74a
TS
194072012-05-10 Thomas Schwinge <thomas@schwinge.name>
19408
18bad2ae
TS
19409 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19410 __builtin_frame_address instead of making assumptions about the
19411 location of the return address relative to DATA. Force early load of
19412 the return address.
19413 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19414 __builtin_frame_address.
19415
5aa3a74a
TS
19416 dup3 for GNU Hurd.
19417 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19418 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19419 implement dup3 and do some further code clean-ups.
19420 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19421 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19422
ecd0de9a
ST
194232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19424
cd9fa985
ST
19425 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19426
a4186cff
PT
19427 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19428 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19429 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19430 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19431 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19432 d->port.lock.
802ca5a5 19433
a4186cff
PT
19434 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19435 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19436 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19437
bcf55240
TS
194382012-05-10 Thomas Schwinge <thomas@schwinge.name>
19439
6960eb42
TS
19440 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19441 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19442 definitions.
19443
eb43375f
TS
19444 accept4 for GNU Hurd.
19445 * include/sys/socket.h (__libc_accept4): New prototype.
19446 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19447 to implement __libc_accept4.
19448 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19449 __libc_accept4.
19450 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19451
bcf55240
TS
19452 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19453 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19454 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19455 signal-defines.sym.
19456
6178c55b
ST
194572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19458
a4186cff 19459 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19460
6f080c2f
TS
194612012-05-10 Thomas Schwinge <thomas@schwinge.name>
19462
19463 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19464 assertion on O_CLOEXEC flag.
19465 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19466 * hurd/intern-fd.c: Likewise.
19467 * hurd/port2fd.c: Likewise.
19468
bcfe3a54
ST
194692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19470
19471 [BZ #3906]
19472 * bits/in.h (IPV6_PKTINFO): Define new macro.
19473 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19474
89c9aa49
AZ
194752012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19476
19477 [BZ #13954]
19478 [BZ #13955]
19479 [BZ #13956]
19480 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19481 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19482 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19483 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19484 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19485 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19486 * math/libm-test.inc (logb_test) : Additional logb tests.
19487
021db4be
AJ
194882012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19489 Andreas Jaeger <aj@suse.de>
19490
19491 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19492 * configure: Regenerated.
19493 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19494 * config.make.in (link-obsolete-rpc): New substituted variable.
19495 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19496 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19497 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19498 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19499 so that libc.a contains the symbols.
19500 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19501 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19502 * sunrpc/auth_none.c: Likewise.
19503 * sunrpc/auth_unix.c: Likewise.
19504 * sunrpc/authdes_prot.c: Likewise.
19505 * sunrpc/authuxprot.c: Likewise.
19506 * sunrpc/clnt_gen.c: Likewise.
19507 * sunrpc/clnt_perr.c: Likewise.
19508 * sunrpc/clnt_raw.c: Likewise.
19509 * sunrpc/clnt_simp.c: Likewise.
19510 * sunrpc/clnt_tcp.c: Likewise.
19511 * sunrpc/clnt_udp.c: Likewise.
19512 * sunrpc/clnt_unix.c: Likewise.
19513 * sunrpc/des_crypt.c: Likewise.
19514 * sunrpc/des_soft.c: Likewise.
19515 * sunrpc/get_myaddr.c: Likewise.
19516 * sunrpc/key_call.c: Likewise.
19517 * sunrpc/key_prot.c: Likewise.
19518 * sunrpc/netname.c: Likewise.
19519 * sunrpc/pm_getmaps.c: Likewise.
19520 * sunrpc/pm_getport.c: Likewise.
19521 * sunrpc/pmap_clnt.c: Likewise.
19522 * sunrpc/pmap_prot.c: Likewise.
19523 * sunrpc/pmap_prot2.c: Likewise.
19524 * sunrpc/pmap_rmt.c: Likewise.
19525 * sunrpc/publickey.c: Likewise.
19526 * sunrpc/rpc_cmsg.c: Likewise.
19527 * sunrpc/rpc_common.c: Likewise.
19528 * sunrpc/rpc_dtable.c: Likewise.
19529 * sunrpc/rpc_prot.c: Likewise.
19530 * sunrpc/rpc_thread.c: Likewise.
19531 * sunrpc/rtime.c: Likewise.
19532 * sunrpc/svc.c: Likewise.
19533 * sunrpc/svc_auth.c: Likewise.
19534 * sunrpc/svc_raw.c: Likewise.
19535 * sunrpc/svc_run.c: Likewise.
19536 * sunrpc/svc_tcp.c: Likewise.
19537 * sunrpc/svc_udp.c: Likewise.
19538 * sunrpc/svc_unix.c: Likewise.
19539 * sunrpc/svcauth_des.c: Likewise.
19540 * sunrpc/xcrypt.c: Likewise.
19541 * sunrpc/xdr.c: Likewise.
19542 * sunrpc/xdr_array.c: Likewise.
19543 * sunrpc/xdr_float.c: Likewise.
19544 * sunrpc/xdr_intXX_t.c: Likewise.
19545 * sunrpc/xdr_mem.c: Likewise.
19546 * sunrpc/xdr_rec.c: Likewise.
19547 * sunrpc/xdr_ref.c: Likewise.
19548 * sunrpc/xdr_sizeof.c: Likewise.
19549 * sunrpc/xdr_stdio.c: Likewise.
19550
b5c086a2
RM
195512012-05-10 Roland McGrath <roland@hack.frob.com>
19552
19553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19554 change. Update copyright years.
19555
6d74dd09
JM
195562012-05-10 Joseph Myers <joseph@codesourcery.com>
19557
19558 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19559
28e72501
MK
195602012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19561 Joseph Myers <joseph@codesourcery.com>
19562 Paul Pluzhnikov <ppluzhnikov@google.com>
19563
19564 [BZ #14012]
19565 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19566 requiring rpcgen.
19567 [cross-compiling] (extra-libs): Likewise.
19568 [cross-compiling] (extra-libs-others): Likewise.
19569 [cross-compiling] (librpcsvc-routines): Likewise.
19570 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19571 [cross-compiling] (omit-deps): Likewise.
19572 (sunrpc-CPPFLAGS): New variable.
19573 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19574 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19575 (cross-rpcgen-objs): New variable.
19576 (extra-objs): Append $(cross-rpcgen-objs).
19577 ($(cross-rpcgen-objs)): New rule.
19578 ($(objpfx)cross-rpcgen): Likewise.
19579 (rpcgen-cmd): Define to use $(built-program-file). Expand
19580 comment.
19581 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19582 ($(objpfx)x%.stmp): Likewise.
19583 * sunrpc/proto.h [IS_IN_build] (_): Define.
19584 [IS_IN_build] (_libc_intl_domainname): Likewise.
19585
c8c59454
L
195862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19587
19588 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19589 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19590 and R_X86_64_TPOFF64.
19591
6f27cd16
JM
195922012-05-10 Joseph Myers <joseph@codesourcery.com>
19593
19594 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19595 sysdeps/unix/sysv/syscalls.list.
19596 (stime): Likewise.
19597 (utime): Likewise.
19598 * sysdeps/unix/sysv/syscalls.list: Remove file.
19599
02467e1c
PE
196002012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19601
19602 [BZ #3440]
19603 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19604 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19605 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19606 (__LC_IDENTIFICATION): Make these macros useful in #if
19607 expressions, as required by C99.
19608
da392631
AS
196092012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19610
19611 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19612 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19613 after this.
19614
8115f29b
L
196152012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19616
19617 * stdlib/longlong.h: Updated from GCC.
19618
bdd74070
AJ
196192012-05-09 Andreas Jaeger <aj@suse.de>
19620
edfe0dbe
AJ
19621 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19622 default is first entry.
19623 (run_mode): Set type.
19624 (main): Remove informal message about syslog.
19625 (options): Fix typo.
19626
bcfe3a54
ST
19627 [BZ #14053]
19628 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19629 to asm.
bcfe3a54
ST
19630 (lrint): Likewise.
19631 (llrintf): Likewise.
19632 (llrint): Likewise.
19633 (rint): Likewise.
19634 (rintf): Likewise.
19635 (nearbyint): Likewise.
19636 (nearbyintf): Likewise.
bdd74070 19637
91d8d69e
AJ
196382012-05-09 Andreas Jaeger <aj@suse.de>
19639 Pedro Alves <palves@redhat.com>
19640
19641 * nscd/nscd.c (run_mode): Use enum.
19642 (main): Cleanup coding style issue.
19643
bb90b80b
AJ
196442012-05-09 Alexandre Oliva <aoliva@redhat.com>
19645 Andreas Jaeger <aj@suse.de>
19646
bcfe3a54
ST
19647 * nscd/nscd.c (go_background): Replaced with...
19648 (run_mode): ... this.
bb90b80b 19649 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19650 (options): Add -F --foreground.
19651 (main): Implement it.
19652 (parse_opt): Parse it.
bb90b80b 19653
1a4b75a1
AJ
196542012-05-09 Andreas Jaeger <aj@suse.de>
19655
19656 [BZ #14083]
19657 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19658 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19659 -Wconversion warning.
19660 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19661 Likewise.
19662
b1cc2472
JM
196632012-05-09 Joseph Myers <joseph@codesourcery.com>
19664
19665 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19666 == 0.
19667 (LC_ALL): Use macro-int-constant.
19668 (LC_COLLATE): Likewise.
19669 (LC_CTYPE): Likewise.
19670 (LC_MESSAGES): Likewise.
19671 (LC_MONETARY): Likewise.
19672 (LC_NUMERIC): Likewise.
19673 (LC_TIME): Likewise.
19674 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19675 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19676 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19677 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19678 Specify type.
19679 [C99-based standards] (float_t): Expect type.
19680 [C99-based standards] (double_t): Expect type.
19681 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19682 type.
19683 [C99-based standards] (HUGE_VALL): Likewise.
19684 [C99-based standards] (INFINITY): Likewise.
19685 [C99-based standards] (NAN): Likewise.
19686 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19687 [C99-based standards] (FP_NAN): Likewise.
19688 [C99-based standards] (FP_NORMAL): Likewise.
19689 [C99-based standards] (FP_SUBNORMAL): Likewise.
19690 [C99-based standards] (FP_ZERO): Likewise.
19691 [C99-based standards] (FP_FAST_FMA): Use
19692 optional-macro-int-constant. Specify type. Require == 1.
19693 [C99-based standards] (FP_FAST_FMAF): Likewise.
19694 [C99-based standards] (FP_FAST_FMAL): Likewise.
19695 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19696 [C99-based standards] (FP_ILOGBNAN): Likewise.
19697 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19698 Specify type.
19699 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19700 [C99-based standards] (math_errhandling): Specify type.
19701 [ISO99 || ISO11] (signgam): Do not allow.
19702 [non-C99-based standards] (copysignf): Do not allow.
19703 [non-C99-based standards] (exp2f): Likewise.
19704 [non-C99-based standards] (log2f): Likewise.
19705 [non-C99-based standards] (modff): Allow.
19706 [non-C99-based standards] (erff): Do not allow.
19707 [non-C99-based standards] (erfcf): Likewise.
19708 [non-C99-based standards] (gammaf): Likewise.
19709 [non-C99-based standards] (hypotf): Likewise.
19710 [non-C99-based standards] (j0f): Likewise.
19711 [non-C99-based standards] (j1f): Likewise.
19712 [non-C99-based standards] (jnf): Likewise.
19713 [non-C99-based standards] (lgammaf): Likewise.
19714 [non-C99-based standards] (tgammaf): Likewise.
19715 [non-C99-based standards] (y0f): Likewise.
19716 [non-C99-based standards] (y1f): Likewise.
19717 [non-C99-based standards] (ynf): Likewise.
19718 [non-C99-based standards] (isnanf): Likewise.
19719 [non-C99-based standards] (acoshf): Likewise.
19720 [non-C99-based standards] (asinhf): Likewise.
19721 [non-C99-based standards] (atanhf): Likewise.
19722 [non-C99-based standards] (cbrtf): Likewise.
19723 [non-C99-based standards] (expm1f): Likewise.
19724 [non-C99-based standards] (ilogbf): Likewise.
19725 [non-C99-based standards] (log1pf): Likewise.
19726 [non-C99-based standards] (logbf): Likewise.
19727 [non-C99-based standards] (nextafterf): Likewise.
19728 [non-C99-based standards] (remainderf): Likewise.
19729 [non-C99-based standards] (rintf): Likewise.
19730 [non-C99-based standards] (scalbf): Likewise.
19731 [non-C99-based standards] (copysignl): Likewise.
19732 [non-C99-based standards] (exp2l): Likewise.
19733 [non-C99-based standards] (log2l): Likewise.
19734 [non-C99-based standards] (modfl): Allow.
19735 [non-C99-based standards] (erfl): Do not allow.
19736 [non-C99-based standards] (erfcl): Likewise.
19737 [non-C99-based standards] (gammal): Likewise.
19738 [non-C99-based standards] (hypotl): Likewise.
19739 [non-C99-based standards] (j0l): Likewise.
19740 [non-C99-based standards] (j1l): Likewise.
19741 [non-C99-based standards] (jnl): Likewise.
19742 [non-C99-based standards] (lgammal): Likewise.
19743 [non-C99-based standards] (tgammal): Likewise.
19744 [non-C99-based standards] (y0l): Likewise.
19745 [non-C99-based standards] (y1l): Likewise.
19746 [non-C99-based standards] (ynl): Likewise.
19747 [non-C99-based standards] (isnanl): Likewise.
19748 [non-C99-based standards] (acoshl): Likewise.
19749 [non-C99-based standards] (asinhl): Likewise.
19750 [non-C99-based standards] (atanhl): Likewise.
19751 [non-C99-based standards] (cbrtl): Likewise.
19752 [non-C99-based standards] (expm1l): Likewise.
19753 [non-C99-based standards] (ilogbl): Likewise.
19754 [non-C99-based standards] (log1pl): Likewise.
19755 [non-C99-based standards] (logbl): Likewise.
19756 [non-C99-based standards] (nextafterl): Likewise.
19757 [non-C99-based standards] (remainderl): Likewise.
19758 [non-C99-based standards] (rintl): Likewise.
19759 [non-C99-based standards] (scalbl): Likewise.
19760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19761 [non-C99-based standards] (FP_*): Do not allow.
19762 [C99-based standards] (FP_*): Change to
19763 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19764 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19765 allow.
19766 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19767 (SIG_ERR): Likewise.
19768 [X/Open-based standards] (SIG_HOLD): Likewise.
19769 (SIG_IGN): Likewise.
19770 (SIGABRT): Use macro-int-constant. Specify type. Require
19771 positive value.
19772 (SIGFPE): Likewise.
19773 (SIGILL): Likewise.
19774 (SIGINT): Likewise.
19775 (SIGSEGV): Likewise.
19776 (SIGTER): Likewise.
19777 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19778 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19779 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19780 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19781 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19782 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19783 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19784 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19785 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19786 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19787 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19788 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19789 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19790 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19791 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19792 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19793 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19794 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19795 [X/Open-based standards] (SIGTRAP): Likewise.
19796 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19797 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19798 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19799 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19800 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19801 allow.
19802
b9f1922d
IW
198032012-05-08 Ian Wienand <ianw@vmware.com>
19804
19805 [BZ #14080]
19806 * time/tzset.c (__tzset_parse_tz): Update default rules for
19807 daylight time changes in the Energy Policy Act of 2005.
19808
1db86e88
AJ
198092012-05-09 Andreas Jaeger <aj@suse.de>
19810
19811 [BZ #13983]
19812 * elf/ldconfig.c (parse_conf): Change string to make clear that
19813 ldconfig only issued a warning if ld.so.conf does not exist.
19814
dee4a4e3
DM
198152012-05-08 David S. Miller <davem@davemloft.net>
19816
ee0db190
DM
19817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19818 movxtod instead of popping the value on the stack.
19819
dee4a4e3
DM
19820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19821
6a43ec98
CD
198222012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19823
19824 * config.h.in: Add HAVE_ARM_PCS_VFP.
19825
05c2c961
RMG
198262012-05-08 Roland Mc Grath <roland@hack.frob.com>
19827
bcfe3a54
ST
19828 [BZ #13979]
19829 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19830 checking but the checks are disabled for any reason.
05c2c961 19831
4b30f61a
L
198322012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19833
19834 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19835 and ELF64_R_TYPE with ELFW(R_TYPE).
19836
eee2bc67
JM
198372012-05-08 Joseph Myers <joseph@codesourcery.com>
19838
7ea5391a
JM
19839 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19840 (ulimit): Likewise.
19841
eee2bc67
JM
19842 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19843 (settimeofday): Likewise.
19844
abb66a67
MF
198452012-05-08 Mike Frysinger <vapier@gentoo.org>
19846
19847 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19848 a struct th_u2 inside the union, and move tu_block/tu_code into
19849 a new th_u3 union of tu_block/tu_code inside of that. Move
19850 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19851 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19852 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19853 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19854 (th_stuff): Change to th_u1.tu_stuff.
19855 (th_data): Define.
19856 (th_msg): Change to th_u1.th_u2.tu_data.
19857
7f18b530
DM
198582012-05-07 David S. Miller <davem@davemloft.net>
19859
05760585
DM
19860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19861
7f18b530
DM
19862 [BZ #14074]
19863 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19864 (SETUP_PIC_REG): Use it.
19865 (SETUP_PIC_REG_LEAF): Use it.
19866
495fd99f
JM
198672012-05-07 Joseph Myers <joseph@codesourcery.com>
19868
19869 [BZ #13885]
19870 [BZ #13923]
19871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19872 USE_AS_EXPM1L.
19873 (EXPL_FINITE): Likewise.
19874 (FLDLOG): Likewise.
19875 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19876 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19877 e_expl.S.
19878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19879 USE_AS_EXPM1L.
19880 (EXPL_FINITE): Likewise.
19881 (FLDLOG): Likewise.
19882 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19883 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19884 e_expl.S.
19885 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19886 test of -max_value argument for long double.
19887 * sysdeps/i386/fpu/libm-test-ulps: Update.
19888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19889
6693d694
DM
198902012-05-06 David S. Miller <davem@davemloft.net>
19891
19892 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19893 quad soft-float symbols whose references which are compiler
19894 generated.
19895 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19896
6c23e11c
JM
198972012-05-06 Joseph Myers <joseph@codesourcery.com>
19898
d8b82cad
JM
19899 [BZ #13884]
19900 [BZ #13914]
19901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19902 USE_AS_EXP10L.
19903 (EXPL_FINITE): Likewise.
19904 (FLDLOG): Likewise.
19905 (c0): Likewise.
19906 (c1): Likewise.
19907 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19908 Adjust comments for base varying.
19909 (__expl_finite): Change alias to EXPL_FINITE.
19910 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19911 e_expl.S.
19912 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19913 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19914 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19915 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19916 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19917 USE_AS_EXP10L.
19918 (EXPL_FINITE): Likewise.
19919 (FLDLOG): Likewise.
19920 (c0): Likewise.
19921 (c1): Likewise.
19922 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19923 Adjust comments for base varying.
19924 (__expl_finite): Change alias to EXPL_FINITE.
19925 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19926 tests for bugs.
19927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19928
6c23e11c
JM
19929 [BZ #14064]
19930 * math/libm-test.inc (check_float_internal): Correct ulp
19931 calculation for subnormal expected results.
19932
29ba805c
AJ
199332012-05-06 Andreas Jaeger <aj@suse.de>
19934
19935 * Makeconfig (+math-flags): New, set to -frounding-math.
19936 (+cflags): Add +math-flags so that all of glibc gets compiled with
19937 it.
19938
19939 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19940
7b17aeda
JM
199412012-05-05 Joseph Myers <joseph@codesourcery.com>
19942
5779f134
JM
19943 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19944 Disable one test.
19945
41498f4d
JM
19946 [BZ #13787]
19947 [BZ #13922]
19948 [BZ #14036]
19949 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19950 (__ieee754_expl): Allow for and saturate large arguments.
19951 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19952 (u_threshold): Likewise.
19953 (__exp): Call __ieee754_exp before checking for overflow and
19954 underflow.
19955 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19956 (u_threshold): Likewise.
19957 (__expf): Call __ieee754_expf before checking for overflow and
19958 underflow.
19959 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19960 (u_threshold): Likewise.
19961 (__expl): Call __ieee754_expl before checking for overflow and
19962 underflow.
19963 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19964 (__ieee754_expl): Allow for and saturate large arguments.
19965 * math/libm-test.inc (exp_test): Add another test. Do not allow
19966 missing overflow exception on overflow.
19967 (expm1_test): Do not allow missing overflow exception on overflow.
19968
6698b8bf
JM
19969 * sysdeps/i386/fpu/e_expl.c: Move to ...
19970 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19971 rather than using inline asm.
19972 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19973 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19974 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19975
7b17aeda
JM
19976 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19977 (nice): Likewise.
19978 (poll): Likewise.
19979 (signal): Likewise.
19980 (time): Likewise.
19981 (times): Likewise.
19982
f7c85819
JM
199832012-05-04 Joseph Myers <joseph@codesourcery.com>
19984
19985 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19986 sysdeps/unix/common/syscalls.list.
19987 (fchmod): Likewise.
19988 (fchown): Likewise.
19989 (ftruncate): Likewise.
19990 (getrusage): Likewise.
19991 (gettimeofday): Likewise.
19992 (setpgid): Likewise.
19993 (setregid): Likewise.
19994 (setreuid): Likewise.
19995 (sigaction): Likewise.
19996 (truncate): Likewise.
19997 (vhangup): Likewise.
19998 * sysdeps/unix/common/syscalls.list: Remove file.
19999 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20000 * sysdeps/unix/sysv/linux/Implies: Likewise.
20001
336270d0
L
200022012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20003
20004 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20006 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20007 Moved to ...
20008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20009 Here.
20010 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20011 to ...
20012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20013 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20014 to ...
20015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20016 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20017 to ...
20018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20019 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20020 to ...
20021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20022 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20023 to ...
20024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20025 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20026 to ...
20027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20028 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20029 to ...
20030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20031 Here.
20032 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20033 to ...
20034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20035 Here.
20036 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20037 to ...
20038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20039 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20040 Moved to ...
20041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20042 Here.
20043 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20044 to ...
20045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20046
d128e450
JM
200472012-05-04 Joseph Myers <joseph@codesourcery.com>
20048
fa8ee516
JM
20049 * sysdeps/unix/common/bits/dirent.h: Remove file.
20050 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20051
d128e450
JM
20052 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20053 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20054 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20055 * sysdeps/unix/bsd/isatty.c: Likewise.
20056 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20057 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20058 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20059
ff8faaf0 200602012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20061
62881be4 20062 [BZ #13563]
31dc8730
AZ
20063 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20064 long double comparison inaccuracies.
20065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20067
6fef930c
AS
200682012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20069
20070 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20071 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20072
8f203e6c
JM
200732012-05-04 Joseph Myers <joseph@codesourcery.com>
20074
20075 [BZ #14049]
20076 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20077 nonzero digits before rounding a hex value.
20078 * stdlib/tst-strtod.c (tests): Add another test.
20079
5197d9c2
AK
200802012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20081
20082 * sysdeps/s390/fpu/libm-test-ulps: Update.
20083
f0c1dedf
AJ
200842012-05-03 Andreas Jaeger <aj@suse.de>
20085
20086 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20087 does not get optimized out.
20088 (malloc_opt_barrier): New.
20089
a65ef2ae 200902012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20091 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20092
2b942cb7 20093 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20094 intermediate file deletion.
2b942cb7 20095 (generated): Add .symlist files.
a65ef2ae 20096
54b71e02
JM
200972012-05-03 Joseph Myers <joseph@codesourcery.com>
20098
20099 [BZ #13775]
20100 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20101 Redirect under this condition.
20102 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20103 [__USE_GNU] (__dprintf_chk): Not under this condition.
20104 [__USE_GNU] (__vdprintf_chk): Likewise.
20105 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20106 under this condition.
20107 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20108 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20109 [__USE_XOPEN2K8] (vdprintf): Likewise.
20110 [__USE_GNU] (__dprintf_chk): Not under this condition.
20111 [__USE_GNU] (__vdprintf_chk): Likewise.
20112 [__USE_GNU] (dprintf): Likewise.
20113 [__USE_GNU] (vdprintf): Likewise.
20114
d3dfcc41
RM
201152012-05-03 Roland McGrath <roland@hack.frob.com>
20116
20117 * elf/Makefile (common-generated): Set this instead of generated for
20118 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20119 $(all-built-dso)-derived lists.
20120
7ac30cc5
AJ
201212012-05-03 Andreas Jaeger <aj@suse.de>
20122
0c51e550
AJ
20123 * sysdeps/i386/fpu/libm-test-ulps: Update.
20124
7ac30cc5
AJ
20125 * FAQ: Removed.
20126 * FAQ.in: Likewise.
20127 * scripts/gen-FAQ.pl: Likewise.
20128 * manual/install.texi (Installation): Point to online location of
20129 FAQ.
20130 * Makefile (files-for-dist): Remove FAQ.
20131 (FAQ): Remove.
20132
d4c2917f
AM
201332012-05-02 Allan McRae <allan@archlinux.org>
20134
20135 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20136 (LDFLAGS-reldepmod5.so): Likewise.
20137 (LDFLAGS-reldep6mod1.so): Likewise.
20138 (LDFLAGS-reldep6mod4.so): Likewise.
20139 (LDFLAGS-reldep8mod3.so): Likewise.
20140 (LDFLAGS-unload4mod1.so): Likewise.
20141 (LDFLAGS-unload4mod2.so): Likewise.
20142 (LDFLAGS-tst-initorder): Likewise.
20143 (LDFLAGS-tst-initordera2.so): Likewise.
20144 (LDFLAGS-tst-initordera3.so): Likewise.
20145 (LDFLAGS-tst-initordera4.so): Likewise.
20146 (LDFLAGS-tst-initorderb2.so): Likewise.
20147 (LDFLAGS-noload): Likewise.
20148 (LDFLAGS-next): Likewise.
20149 (LDFLAGS-order2mod1.so): Likewise.
20150 (LDFLAGS-order2mod2.so): Likewise.
20151 (LDFLAGS-tst-initorder2): Likewise.
20152 (LDFLAGS-tst-initorder2a.so): Likewise.
20153 (LDFLAGS-tst-initorder2b.so): Likewise.
20154 (LDFLAGS-tst-initorder2c.so): Likewise.
20155 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20156
d77f993f
DM
201572012-05-02 David S. Miller <davem@davemloft.net>
20158
20159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20160
171a70b4
PP
201612012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20162
20163 [BZ #14055]
20164 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20165
0be196ad
AJ
201662012-05-02 Andreas Jaeger <aj@suse.de>
20167
20168 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20169 since we manipulate rounding mode.
20170 (CPPFLAGS-test-idouble.c): Likewise.
20171 (CPPFLAGS-test-ifloat.c): Likewise.
20172 (CFLAGS-test-ldouble.c): Likewise.
20173 (CFLAGS-test-double.c): Likewise.
20174 (CFLAGS-test-float.c): Likewise.
20175 (CFLAGS-test-misc.c): Likewise.
20176 (CFLAGS-test-test-fenv.c): Likewise.
20177
4f9d04aa
AZ
201782012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20179
2b942cb7
RM
20180 [BZ #2550]
20181 [BZ #2570]
20182 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20183 comparisons to determine direction to adjust input.
4f9d04aa 20184
82a79e7d
RM
201852012-05-01 Roland McGrath <roland@hack.frob.com>
20186
f5a01ca9
RM
20187 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20188 output to the target.
20189
90fe4186
RM
20190 * scripts/localplt.awk: New file.
20191 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20192 (check-localplt-CFLAGS): Variable removed.
20193 ($(all-built-dso:=.jmprel)): New static pattern rule.
20194 (generated): Add those targets.
20195 (localplt-built-dso): New variable.
20196 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20197
20198 * elf/check-localplt.c: File removed.
20199
82397ed6
RM
20200 * scripts/check-execstack.awk: New file.
20201 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20202 (check-execstack-CFLAGS): Variable removed.
20203 ($(objpfx)check-execstack.h): Target removed.
20204 ($(objpfx)execstack-default): New target.
20205 (generated): Add that instead of check-execstack.h.
20206 ($(all-built-dso:=.phdr)): New static pattern rule.
20207 (generated): Add those targets.
20208 * elf/check-execstack.c: File removed.
20209
82a79e7d
RM
20210 * scripts/check-textrel.awk: New file.
20211 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20212 (check-textrel-CFLAGS): Variable removed.
20213 (all-built-dso): Use := to define.o
20214 ($(all-built-dso:=.dyn)): New static pattern rule.
20215 (generated): Add those targets.
20216 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20217 * config.make.in (READELF): New substituted variable.
20218 * elf/check-textrel.c: File removed.
20219
62fde54f 202202012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20221
615605c9
JM
20222 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20223 allow.
20224 * conform/data/ctype.h-data [C99-based standards] (isblank):
20225 Expect function.
20226 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20227 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20229 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20230 Specify type. Require positive value.
20231 (EILSEQ): Likewise.
20232 (ERANGE): Likewise.
20233 [ISO || POSIX] (EILSEQ): Do not expect.
20234 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20235 Specify type. Require positive value.
20236 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20249 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20250 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20251 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20252 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20253 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20254 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20255 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20256 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20257 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20258 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20259 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20260 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20261 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20262 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20263 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20264 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20265 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20266 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20267 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20268 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20269 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20270 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20272 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20273 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20274 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20275 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20276 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20277 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20278 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20279 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20280 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20281 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20282 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20283 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20284 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20285 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20286 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20287 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20288 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20289 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20290 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20291 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20292 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20293 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20294 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20295 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20296 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20297 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20298 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20299 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20300 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20301 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20302 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20303 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20304 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20305 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20306 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20307 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20308 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20309 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20310 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20311 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20312 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20313 Require >= 2.
20314 (FLT_ROUNDS): Expect as macro, not constant.
20315 (FLT_MANT_DIG): Use macro-int-constant.
20316 (DBL_MANT_DIG): Likewise.
20317 (LDBL_MANT_DIG): Likewise.
20318 (FLT_DIG): Likewise.
20319 (DBL_DIG): Likewise.
20320 (LDBL_DIG): Likewise.
20321 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20322 (DBL_MIN_EXP): Likewise.
20323 (LDBL_MIN_EXP): Likewise.
20324 (FLT_MAX_EXP): Use macro-int-constant.
20325 (DBL_MAX_EXP): Likewise.
20326 (LDBL_MAX_EXP): Likewise.
20327 (FLT_MAX_10_EXP): Likewise.
20328 (DBL_MAX_10_EXP): Likewise.
20329 (LDBL_MAX_10_EXP): Likewise.
20330 (FLT_MAX): Use macro-constant.
20331 (DBL_MAX): Likewise.
20332 (LDBL_MAX): Likewise.
20333 (FLT_EPSILON): Use macro-constant. Give upper bound.
20334 (DBL_EPSILON): Likewise.
20335 (LDBL_EPSILON): Likewise.
20336 (FLT_MIN): Likewise.
20337 (DBL_MIN): Likewise.
20338 (LDBL_MIN): Likewise.
20339 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20340 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20341 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20342 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20343 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20344 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20345 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20346 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20347 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20348 [ISO11] (FLT_TRUE_MIN): Likewise.
20349 [ISO11] (LDBL_TRUE_MIN): Likewise.
20350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20351 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20352 (SCHAR_MIN): Use macro-int-constant. Specify type.
20353 (SCHAR_MAX): Likewise.
20354 (UCHAR_MAX): Likewise.
20355 (CHAR_MIN): Likewise.
20356 (CHAR_MAX): Likewise.
20357 (MB_LEN_MAX): Use macro-int-constant.
20358 (SHRT_MIN): Use macro-int-constant. Specify type.
20359 (SHRT_MAX): Likewise.
20360 (USHRT_MAX): Likewise.
20361 (INT_MAX): Likewise.
20362 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20363 bound negative.
20364 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20365 bound with "U".
20366 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20367 bound with "L".
20368 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20369 bound negative. Suffix upper bound with "L".
20370 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20371 bound with "UL".
20372 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20373 Specify type.
20374 [C99-based standards] (LLONG_MAX): Likewise.
20375 [C99-based standards] (ULLONG_MAX): Likewise.
20376 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20377 == 0.
20378 [ISO11] (max_align_t): Require type.
20379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20380
c9140a62
JM
20381 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20382 from $CFLAGS, without defining away __attribute__ calls.
20383 (checknamespace): Use $CFLAGS_namespace.
20384
9af0bf29
JM
20385 * conform/conformtest.pl (@keywords): Only include C99 keywords
20386 for standards based on C99 or C11.
20387
343222a2
JM
20388 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20389 Disable tests.
20390 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20391 UNIX98]: Likewise.
20392
661f8cf0
JM
20393 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20394 usability of symbols in #if.
20395
ee74b9cb
JM
20396 * conform/conformtest.pl: If macro or constant types start
20397 "promoted:", expect the symbol to be of the following type
20398 promoted by the integer promotions.
62fde54f 20399
aafc49b3
JM
20400 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20401 in one place. Also handle "macro-constant".
20402
fefdf574
JM
20403 * conform/conformtest.pl: Only accept expected macro values with
20404 "==". Parse all "macro" lines in one place.
20405 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20406
f2d922fe
JM
20407 * conform/conformtest.pl: Handle braced types on "constant" lines
20408 instead of handling "typed-constant".
20409 * conform/data/signal.h-data: Use "constant" instead of
20410 "typed-constant".
20411
d22956c9
JM
20412 * conform/conformtest.pl: Handle "optional-" at start of lines in
20413 one place rather than duplicating several cases. Handle each
20414 format of "macro" line with initial "optional-".
20415
028e2e38
JM
20416 * conform/conformtest.pl: Only accept expected constant or
20417 optional-constant values with "==". Parse all "constant" lines in
20418 one place. Parse all "optional-constant" lines in one place.
20419 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20420 * conform/data/fmtmsg.h-data: Likewise.
20421 * conform/data/netinet/in.h-data: Likewise.
20422 * conform/data/tar.h-data: Likewise.
20423 * conform/data/limits.h-data: Use "==" form on "constant" and
20424 "optional-constant" lines.
20425
1b8f2850
JM
20426 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20427 Use -std=c99 for XOPEN2K.
20428 (@knownproblems): Remove.
20429 (newtoken): Don't check %isknown.
20430
a05a144b
JM
20431 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20432 Do not expect macro.
20433 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20434 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20435 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20436 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20437 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20438 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20439 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20443 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20445 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20446 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20452 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20453 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20463 [XPG3] (acosh): Likewise.
20464 [XPG3] (asinh): Likewise.
20465 [XPG3] (atanh): Likewise.
20466 [XPG3] (cbrt): Likewise.
20467 [XPG3] (expm1): Likewise.
20468 [XPG3] (ilogb): Likewise.
20469 [XPG3] (log1p): Likewise.
20470 [XPG3] (logb): Likewise.
20471 [XPG3] (nextafter): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20474 [XPG3] (remainder): Likewise.
20475 [XPG3] (rint): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20483 [UNIX98 || XOPEN2K] (scalb): Expect.
20484 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20485 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20616 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20617 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20618 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20619 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20620 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20621
73c5ebe3
JM
20622 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20623 _XOPEN_SOURCE_EXTENDED for XPG4.
20624
39c33b6c
JM
20625 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20626
62fde54f
JM
20627 * Makeconfig (localtime): Remove variable.
20628 (inst_localtime-file): Likewise.
20629
0741d64c
AS
206302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20631
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20633 Update.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20635 Update.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20637 Update.
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20639 Update.
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20641 Update.
20642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20643 Update.
20644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20645 Update.
20646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20647 Update.
20648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20649 Update.
20650
7cb029ee
JM
206512012-05-01 Joseph Myers <joseph@codesourcery.com>
20652
20653 [BZ #2550]
20654 [BZ #2570]
20655 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20656 comparisons to determine direction to adjust input.
20657 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20658 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20659 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20660 Likewise.
20661 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20662 Likewise.
20663 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20664 Likewise.
20665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20667 Likewise.
20668 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20669 Likewise.
20670 * math/libm-test.inc (nexttoward_test): Add more tests.
20671
412bd966
AS
206722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20673
20674 [BZ #14040]
20675 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20676 in version GLIBC_2.1, not GLIBC_2.0.
20677 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20678 Likewise.
20679
9568c0c2
JM
206802012-04-30 Joseph Myers <joseph@codesourcery.com>
20681
adfbc8ac
JM
20682 [BZ #13942]
20683 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20684 (1 - x) * (1 + x).
20685 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20686 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20687 * math/libm-test.inc (acos_test): Add more tests.
20688 (asin_test): Likewise.
20689 * sysdeps/i386/fpu/libm-test-ulps: Update.
20690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20691
5ba3cc69
JM
20692 [BZ #14034]
20693 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20694 of square root.
20695 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20696 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20697 * math/libm-test.inc (acos_test_tonearest): New function.
20698 (acos_test_towardzero): Likewise.
20699 (acos_test_downward): Likewise.
20700 (acos_test_upward): Likewise.
20701 (asin_test_tonearest): Likewise.
20702 (asin_test_towardzero): Likewise.
20703 (asin_test_downward): Likewise.
20704 (asin_test_upward): Likewise.
20705 (main): Call the new functions.
20706 * sysdeps/i386/fpu/libm-test-ulps: Update.
20707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20708
9568c0c2
JM
20709 [BZ #13884]
20710 [BZ #13924]
20711 * math/e_exp10.c: Include <float.h>.
20712 (__ieee754_exp10): Handle underflow here rather than multiplying
20713 large negative argument by M_LN10.
20714 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20715 of __ieee754_expf.
20716 * math/e_exp10l.c: Include <float.h>.
20717 (__ieee754_exp10l): Handle underflow here rather than multiplying
20718 large negative argument by M_LN10l.
20719 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20720 spurious overflow exception on underflow.
20721
5ac3ea17
MP
207222012-04-29 Marek Polacek <polacek@redhat.com>
20723
20724 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20725 (__fortify_function): New macro.
20726 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20727 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20728 __extern_always_inline.
20729 * libio/bits/stdio2.h: Likewise.
20730 * libio/bits/stdio.h: Likewise.
20731 * string/string.h: Likewise.
20732 * string/bits/string3.h: Likewise.
20733 * include/stdio.h: Likewise.
20734 * stdlib/bits/stdlib.h: Likewise.
20735 * stdlib/stdlib.h: Likewise.
20736 * rt/bits/mqueue2.h: Likewise.
20737 * rt/mqueue.h: Likewise.
20738 * posix/bits/unistd.h: Likewise.
20739 * posix/unistd.h: Likewise.
20740 * io/bits/poll2.h: Likewise.
20741 * io/bits/fcntl2.h: Likewise.
20742 * io/fcntl.h: Likewise.
20743 * io/sys/poll.h: Likewise.
20744 * misc/bits/syslog.h: Likewise.
20745 * misc/bits/syslog-ldbl.h: Likewise.
20746 * misc/sys/syslog.h: Likewise.
20747 * socket/bits/socket2.h: Likewise.
20748 * socket/sys/socket.h: Likewise.
20749 * debug/tst-chk1.c: Likewise.
20750 * wcsmbs/bits/wchar2.h: Likewise.
20751 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20752 * wcsmbs/wchar.h: Likewise.
20753
ecf0ebfb
AJ
207542012-04-29 Andreas Jaeger <aj@suse.de>
20755
20756 * Makerules (tests): Remove enable-check-abi protection.
20757 (check-abi-warn): Remove.
20758 (check-abi-%): Remove check-abi-warn usage.
20759
20760 * configure.in: Remove check-abi configure option.
20761 * configure: Regenerated.
20762 * config.make.in (enable-check-abi): Remove.
20763
6d5c57fa
AS
207642012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20765
24c5d07e 20766 [BZ #14033]
ded5180a
AS
20767 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20768 double functions to double *_finite functions.
20769
7e0d315d
AS
20770 [BZ #13941]
20771 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20772 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20773 LDBL_MIN_EXP.
20774 * stdio-common/Makefile (tests): Add tst-sprintf3.
20775 * stdio-common/tst-sprintf3.c: New file.
20776
6d5c57fa
AS
20777 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20778 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20779
0749ff8b
JM
207802012-04-28 Joseph Myers <joseph@codesourcery.com>
20781
20782 * conform/conformtest.pl: Remove duplicate typed-constant
20783 handling.
20784
8dbd5d7b
DM
207852012-04-28 David S. Miller <davem@davemloft.net>
20786
20787 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20788 (check-abi-%): Remove AWK script prerequisite and explicit
20789 abilist directory.
20790 (check-abi): Rewrite to just diff the symlist with the abilist.
20791 (config-tls, config-abi-config): Delete, no longer used.
20792 (update-abi-%): Remove AWK script and explicit abilist directory.
20793 (update-abi): Rewrite to simply compare and conditionally copy the
20794 symlist and the sysdep abilist file. Remove update-abi-config
20795 checks.
20796 * abilist/ld.abilist: Remove.
20797 * abilist/libBrokenLocale.abilist: Remove.
20798 * abilist/libanl.abilist: Remove.
20799 * abilist/libcrypt.abilist: Remove.
20800 * abilist/libdl.abilist: Remove.
20801 * abilist/librt.abilist: Remove.
20802 * abilist/libthread_db.abilist: Remove.
20803 * abilist/libutil.abilist: Remove.
20804 * scripts/extract-abilist.awk: Remove.
20805 * scripts/merge-abilist.awk: Remove.
20806 * sysdeps/generic/libcidn.abilist: New file.
20807 * sysdeps/generic/libnss_compat.abilist: New file.
20808 * sysdeps/generic/libnss_db.abilist: New file.
20809 * sysdeps/generic/libnss_dns.abilist: New file.
20810 * sysdeps/generic/libnss_files.abilist: New file.
20811 * sysdeps/generic/libnss_hesiod.abilist: New file.
20812 * sysdeps/generic/libnss_nis.abilist: New file.
20813 * sysdeps/generic/libnss_nisplus.abilist: New file.
20814 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20815 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20816 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20817 file.
20818 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20819 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20820 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20821 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20822 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20823 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20824 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20825 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20826 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20827 file.
20828 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20829 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20830 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20831 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20832 file.
20833 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20834 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20835 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20836 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20837 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20838 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20839 file.
20840 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20841 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20842 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20843 file.
20844 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20846 New file.
20847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20848 New file.
20849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20850 New file.
20851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20852 New file.
20853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20854 New file.
20855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20856 New file.
20857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20858 New file.
20859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20860 New file.
20861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20862 New file.
20863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20864 New file.
20865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20866 New file.
20867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20868 New file.
20869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20870 New file.
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20872 file.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20874 New file.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20876 New file.
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20878 file.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20880 New file.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20882 New file.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20884 file.
20885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20886 New file.
20887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20888 New file.
20889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20890 New file.
20891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20892 New file.
20893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20894 New file.
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20896 New file.
20897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20899 file.
20900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20901 New file.
20902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20903 file.
20904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20905 file.
20906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20907 file.
20908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20909 file.
20910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20911 file.
20912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20913 New file.
20914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20915 file.
20916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20917 file.
20918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20919 New file.
20920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20921 file.
20922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20924 file.
20925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20926 New file.
20927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20928 file.
20929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20930 file.
20931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20932 file.
20933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20934 file.
20935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20936 file.
20937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20938 New file.
20939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20940 file.
20941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20942 file.
20943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20944 New file.
20945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20946 file.
20947 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20948 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20949 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20950 file.
20951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20952 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20953 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20954 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20955 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20956 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20957 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20958 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20959 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20960 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20963 file.
20964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20965 New file.
20966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20967 file.
20968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20969 file.
20970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20971 file.
20972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20973 file.
20974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20975 file.
20976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20977 New file.
20978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20979 New file.
20980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20981 file.
20982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20983 New file.
20984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20985 file.
20986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20988 file.
20989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20990 New file.
20991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20992 file.
20993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20994 file.
20995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20996 file.
20997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20998 file.
20999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21000 file.
21001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21002 New file.
21003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21004 New file.
21005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21006 file.
21007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21008 New file.
21009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21010 file.
21011
41d73a1b
JM
210122012-04-28 Joseph Myers <joseph@codesourcery.com>
21013
21014 * conform/conformtest.pl: Fix typo in handling typed-constant from
21015 allow-header.
21016
28aeeda4
JM
210172012-04-27 Joseph Myers <joseph@codesourcery.com>
21018
adae8f5e
JM
21019 * README: Cut down references to pre-2.6 Linux kernels and
21020 Linuxthreads. Update lists of configurations in libc and ports
21021 and sort alphabetically. Say "or newer" with Linux kernel version
21022 requirements.
21023
28aeeda4
JM
21024 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21025
a462cb63
RA
210262012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21027
21028 [BZ #887]
21029 * math/libm-test.inc (logb_test_downward): New test to expose
21030 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21031 rounding mode.
21032
6ad3493e
JM
210332012-04-27 Joseph Myers <joseph@codesourcery.com>
21034
21035 [BZ #14027]
21036 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21037 to be done.
21038 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21039 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21040
2ce4f015
JM
210412012-04-26 Joseph Myers <joseph@codesourcery.com>
21042
5aeb141a
JM
21043 * sysdeps/unix/i386/brk.S: Remove file.
21044 * sysdeps/unix/i386/dl-brk.S: Likewise.
21045 * sysdeps/unix/i386/pipe.S: Likewise.
21046 * sysdeps/unix/i386/sigreturn.S: Likewise.
21047 * sysdeps/unix/i386/syscall.S: Likewise.
21048 * sysdeps/unix/i386/vfork.S: Likewise.
21049 * sysdeps/unix/i386/wait.S: Likewise.
21050
7143acae
JM
21051 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21052 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21053
2ce4f015
JM
21054 * configure.in (arm*-none*): Do not allow without
21055 --enable-hacker-mode.
21056 (netbsd*): Remove case setting base_os.
21057 (386bsd*): Likewise.
21058 (freebsd*): Likewise.
21059 (bsdi*): Likewise.
21060 (osf*): Likewise.
21061 (sunos*): Likewise.
21062 (ultrix*): Likewise.
21063 (newsos*): Likewise.
21064 (dynix*): Likewise.
21065 (*bsd*): Likewise.
21066 (sysv*): Likewise.
21067 (isc*): Likewise.
21068 (esix*): Likewise.
21069 (sco*): Likewise.
21070 (minix*): Likewise.
21071 (irix4*): Likewise.
21072 (irix6*): Likewise.
21073 (solaris[2-9]*): Likewise.
21074 (none): Likewise.
21075 * configure: Regenerated.
21076
0ac229c8
AZ
210772012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21078
21079 [BZ #11521]
21080 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21081 overflow or cancellation in calculating denominator.
21082 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21083 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21084 down expression to avoid unexpected rounding in newer GCCs.
21085 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21086
33f244f4
DM
210872012-04-26 David S. Miller <davem@davemloft.net>
21088
21089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21090 long-double compat symbols.
21091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21104
cfa1f3e8
DM
211052012-04-25 David S. Miller <davem@davemloft.net>
21106
21107 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21108 HWCAP_* values only after the memory barriers have been defined.
21109 (atomic_full_barrier): Define.
21110 (atomic_read_barrier): Define.
21111 (atomic_write_barrier): Define.
21112
6e236b92
SP
211132012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21114
21115 * shlib-versions: Add libgcc_s version information.
21116 * sysdeps/generic/libgcc_s.h: Remove.
21117 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21118 libgcc_s.h.
21119 * sysdeps/gnu/unwind-resume.c: Likewise.
21120 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21121
aab39a09
DM
211222012-04-25 David S. Miller <davem@davemloft.net>
21123
21124 * sysdeps/unix/sparc/brk.S: Delete.
21125 * sysdeps/unix/sparc/dl-brk.S: Delete.
21126 * sysdeps/unix/sparc/pipe.S: Delete.
21127 * sysdeps/unix/sparc/sysdep.S: Delete.
21128 * sysdeps/unix/sparc/sysdep.h: Delete.
21129 * sysdeps/unix/sparc/vfork.S: Delete.
21130 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21131 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21133 ret_ERRVAL, r0, r1, MOVE): Define.
21134 (JUMPTARGET): Remove.
21135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21136 sysdeps/unix/sparc/sysdep.h
21137 (ENTRY, END): Remove.
21138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21139
a3cc4f48
JM
211402012-04-25 Joseph Myers <joseph@codesourcery.com>
21141
2ed8cda2
JM
21142 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21143 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21144 -DIS_IN_build.
21145
35d76d59
JM
21146 * timezone/README: Update upstream location and email address for
21147 tzcode and tzdata.
21148 * timezone/zdump.c: Update from tzcode 2012b.
21149 * timezone/zic.c: Likewise.
21150
a3cc4f48
JM
21151 * configure.in (libc_cv_as_needed): Remove test.
21152 * configure: Regenerated.
21153 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21154 conditional definition.
21155 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21156 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21157 * config.make.in (have-as-needed): Remove variable.
21158
ceab42c3
SP
211592012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21160 Paul Pluzhnikov <ppluzhnikov@google.com>
21161
21162 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21163 strings correctly.
21164
3ce2865f
CLT
211652012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21166
21167 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21168 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21169 * sysdeps/sh/strlen.S: Likewise.
21170
f37e0d68
JM
211712012-04-24 Joseph Myers <joseph@codesourcery.com>
21172
ae186e9a
JM
21173 * sysdeps/unix/fork.S: Remove file.
21174 * sysdeps/unix/i386/fork.S: Likewise.
21175 * sysdeps/unix/sparc/fork.S: Likewise.
21176
b96914af
JM
21177 * sysdeps/unix/system.c: Remove file.
21178 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21179
f37e0d68
JM
21180 * sysdeps/unix/getegid.S: Remove file.
21181 * sysdeps/unix/geteuid.S: Likewise.
21182
87ef29ca
RM
211832012-04-24 Roland McGrath <roland@hack.frob.com>
21184
83bcd236
RM
21185 * scripts/check-localplt.awk: New file.
21186 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21187 of diff.
21188 * scripts/data/localplt-generic.data: Add a comment.
21189
87ef29ca
RM
21190 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21191 NODE when __dir_mkfile failed.
21192 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21193 Reported by Ludovic Courtès <ludo@gnu.org>.
21194
e5a6e567
AJ
211952012-04-24 Andreas Jaeger <aj@suse.de>
21196
21197 * Makerules (common-clean): Also remove gen-as-const-headers
21198 files.
21199
c1820385
JM
212002012-04-24 Joseph Myers <joseph@codesourcery.com>
21201
21202 * Makerules (native-compile): Do not change working directory for
21203 build. Use $(OUTPUT_OPTION) in command.
21204 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21205
94e02fc4
AZ
212062012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21207
21208 [BZ #13886]
21209 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21210 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21211 * math/libm-test.inc (floor_test): Add more tests.
21212 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21213
3a533ca3
JM
212142012-04-24 Joseph Myers <joseph@codesourcery.com>
21215
940ab4b3
JM
21216 * sysdeps/unix/getdents.c: Remove file.
21217 * sysdeps/unix/sysv/getdents.c: Likewise.
21218 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21219
90e037bd
JM
21220 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21221 sysdeps/unix/mman/syscalls.list.
21222 (mmap): Likewise.
21223 (mprotect): Likewise.
21224 (msync): Likewise.
21225 (munmap): Likewise.
21226 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21227 * sysdeps/unix/mman/syscalls.list: Remove.
21228 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21229
3a533ca3
JM
21230 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21231 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21232 * configure: Regenerated.
21233 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21234 $(libgcc_s_suffix).
21235 * config.make.in (libgcc_s_suffix): Remove variable.
21236
1ad743de
JM
212372012-04-23 Joseph Myers <joseph@codesourcery.com>
21238
4ad451e2
JM
21239 * sysdeps/unix/sysv/gethostname.c: Move to ...
21240 * sysdeps/posix/gethostname.c: ... here.
21241
5e37ce39
JM
21242 * sysdeps/unix/execve.S: Remove file.
21243
1ad743de
JM
21244 * sysdeps/unix/_exit.S: Remove file.
21245
4e681b5b
AJ
212462012-04-23 Andreas Jaeger <aj@suse.de>
21247
21248 [BZ #13739]
21249 * manual/Makefile: Remove make dist support, there's no
21250 need for a stand-alone documentation tar ball.
21251 (TEXI2DVI): Define always, it's not in Makeconfig.
21252 (dist): Removed.
21253 (tar-it): Removed.
21254 (edition): Removed.
21255 (glibc-doc-$(edition).tar): Removed
21256 (%.Z): Removed.
21257 (%.gz): Removed.
21258 (%.uu): Removed.
21259 (ETAGS): Remove, it's in Makeconfig.
21260 (move-if-change): Remove, it's in Makeconfig.
21261
38686a03 212622012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21263
21264 [BZ #13970]
21265 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21266 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21267 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21268 (strtod_l, strtof_l, strtold_l): Remove __wur.
21269 It is not necessarily an error to ignore strtol's return value.
21270 One can reliably look at the stored endptr to decide whether
21271 the number had valid syntax.
21272
7c0616fa
AJ
212732012-04-21 Andreas Jaeger <aj@suse.de>
21274
803cb6b7 21275 [BZ #13739]
7c0616fa
AJ
21276 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21277
b0fe253f
JM
212782012-04-21 Joseph Myers <joseph@codesourcery.com>
21279
21280 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21281 * sysdeps/unix/sysv/Versions: Remove file.
21282
8280f22d
MT
212832012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21284
21285 [BZ #13927]
21286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21287
75ce411f 212882012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21289
21290 [BZ #7064]
21291 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21292 version from __vm86.
21293
097d59fa
JM
212942012-04-20 Joseph Myers <joseph@codesourcery.com>
21295
a90f3bcb
JM
21296 * sysdeps/unix/common/lxstat.c: Remove file.
21297 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21298
edc7ea78
JM
21299 * sysdeps/unix/sysv/Makefile: Remove file.
21300
cb78c221
JM
21301 * sysdeps/unix/sysv/direct.h: Remove file.
21302
efa6a45f
JM
21303 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21304 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21305 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21306 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21307 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21308 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21309 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21310
9c9f2d0c
JM
21311 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21312
4541c83b
JM
21313 * sysdeps/unix/xmknod.c: Remove file.
21314 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21315
f5d153a0
JM
21316 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21317
aa746595
JM
21318 * sysdeps/unix/sysv/i386/time.S: Remove file.
21319
cce5905e
JM
21320 * sysdeps/unix/fxstat.c: Remove file.
21321 * sysdeps/unix/xstat.c: Likewise.
21322 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21323
37fa3841
JM
21324 * sysdeps/unix/sysv/sigaction.c: Remove file.
21325
ff1962a3
JM
21326 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21327 (sysdep_headers): Remove variable.
21328 [termio.h not in sysdep_headers] (generated): Likewise.
21329 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21330 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21331 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21332 * sysdeps/unix/sysv/tcflow.c: Likewise.
21333 * sysdeps/unix/sysv/tcflush.c: Likewise.
21334 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21335 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21336 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21337 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21338 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21339
e7740d31
JM
21340 * sysdeps/unix/siglist.c: Remove file.
21341
ee06f18b
JM
21342 * sysdeps/unix/getppid.S: Remove file.
21343
097d59fa
JM
21344 * sysdeps/unix/mkdir.c: Remove file.
21345 * sysdeps/unix/rmdir.c: Likewise.
21346
ff3d51ec
AS
213472012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21348
21349 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21350 ERR_MAX value.
21351 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21352 errlist-compat value.
21353
50f81fd7
DM
213542012-04-18 David S. Miller <davem@davemloft.net>
21355
21356 * sysdeps/generic/memcopy.h (reg_char): Delete.
21357 * debug/strcat_chk.c: Use char, not reg_char.
21358 * debug/strcpy_chk.c: Likewise.
21359 * debug/strncat_chk.c: Likewise.
21360 * debug/strncpy_chk.c: Likewise.
21361 * string/memchr.c: Likewise.
21362 * string/memrchr.c: Likewise.
21363 * string/rawmemchr.c: Likewise.
21364 * string/strcat.c: Likewise.
21365 * string/strchr.c: Likewise.
21366 * string/strchrnul.c: Likewise.
21367 * string/strcmp.c: Likewise.
21368 * string/strcpy.c: Likewise.
21369 * string/strncat.c: Likewise.
21370 * string/strncmp.c: Likewise.
21371 * string/strncpy.c: Likewise.
21372
8ff41c46
WS
213732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21374
21375 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21376 __builtin_memcopy is called when src and dest ranges are known to not
21377 overlap.
21378
6b652f46
WS
213792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21380
21381 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21382 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21383 fwd_align_merge macro call.
21384 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21385 bwd_align_merge macro call.
21386 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21387
b282631e
WS
213882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21389
21390 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21391 bwd_align_merge macros.
21392 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21393 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21394 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21395
95aa737c
DM
213962012-04-18 David S. Miller <davem@davemloft.net>
21397
21398 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21399
7a99a614
AJ
214002012-04-18 Andreas Jaeger <aj@suse.de>
21401
21402 [BZ# 6794]
21403 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21404 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21405 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21406
21407 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21408 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21409 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21410
21411 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21412 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21413 Adjust for changed ldbl-128 files.
21414
21415 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21416 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21417 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21418
e5270c23
DM
214192012-04-17 David S. Miller <davem@davemloft.net>
21420
21421 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21422
fb5e92c9
AS
214232012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21424
21425 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21426 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21427 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21428 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21429 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21430 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21431
76da7265
AZ
214322012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21433
21434 [BZ #6794]
21435 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21436 * math/libm-test.inc: Add ilogb errno and exception tests.
21437 * math/w_ilogb.c: New file: ilogb wrapper.
21438 * math/w_ilogbf.c: New file: ilogbf wrapper.
21439 * math/w_ilogbl.c: New file: ilogbl wrapper.
21440 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21441 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21442 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21443 exception being thrown with 0.0 as argument.
21444 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21445 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21446 exception being thrown with 0.0 as argument.
21447 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21448 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21449 exception being thrown with 0.0 as argument.
21450 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21451 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21452 exception being thrown with 0.0 as argument.
21453 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21454 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21455 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21456 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21457 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21458 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21459 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21460 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21461 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21462
0396e69d
PB
214632012-04-17 Petr Baudis <pasky@ucw.cz>
21464
21465 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21466 with altivec.
21467
750b5926
MP
214682012-04-16 Marek Polacek <polacek@redhat.com>
21469
21470 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21471
751728a1
MP
214722012-04-16 Marek Polacek <polacek@redhat.com>
21473
21474 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21475 operands of fdivp instruction.
21476
34a27407
L
214772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21478
21479 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21480 * elf/tst-auditmod3b.c: Likewise.
21481 * elf/tst-auditmod4b.c: Likewise.
21482 * elf/tst-auditmod5b.c: Likewise.
21483 * elf/tst-auditmod6b.c: Likewise.
21484 * elf/tst-auditmod6c.c: Likewise.
21485 * elf/tst-auditmod7b.c: Likewise.
21486 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21487 * sysdeps/x86_64/preconfigure.in: Likewise.
21488 * sysdeps/x86_64/preconfigure: Regenerated.
21489
7e73e17d
L
214902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21491
21492 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21493 __ILP32__.
21494
c7a6ab72
AB
214952012-04-13 Antoine Balestrat <merkil33@gmail.com>
21496
21497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21498 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21499
a9e8e0e0
CL
215002012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21501
21502 [BZ #13973]
21503 * locale/iso-639.def: Fix gl language name. Spotted by
21504 Yaron Shahrabani.
21505
ec98af7d
RM
215062012-04-12 Roland McGrath <roland@hack.frob.com>
21507
21508 [BZ #2074]
21509 * libio/libio.h (__io_write_fn): Update comment.
21510
247c3ede
PB
215112012-04-12 Petr Baudis <pasky@ucw.cz>
21512
21513 [BZ #2074]
21514 * stdio.texi (Hook Functions): The user provided writer function
21515 is not allowed to return -1.
21516
55939d6d
DM
215172012-04-11 David S. Miller <davem@davemloft.net>
21518
21519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21520
90020f5a
MF
215212012-04-11 Mike Frysinger <vapier@gentoo.org>
21522
21523 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21524 Add a leading slash to rtkaio.
21525
288f9098
JM
215262012-04-11 Jim Meyering <meyering@redhat.com>
21527
90020f5a
MF
21528 [BZ #11959]
21529 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21530 It is not necessarily an error to ignore fwrite's return
21531 value. One can reliably use ferror to test for errors after
21532 the fact.
288f9098 21533
4be2b570
L
215342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21535
21536 * bits/types.h (__snseconds_t): New type.
21537 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21538
21539 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21541 (__SNSECONDS_T_TYPE): Likewise.
21542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21543 (__SNSECONDS_T_TYPE): Likewise.
21544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21545 (__SNSECONDS_T_TYPE): Likewise.
21546
288f9098 215472012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21548
21549 [BZ #2636]
21550 * manual/time.texi (Processor Time): Return type of times is
21551 elapsed real time since an arbitrary point in the past.
21552 (CPU Time): Move CLK_TCK from here...
21553 (Processor Time): ...to here. Correct description.
21554 * manual/conf.texi (Constants for Sysconf): Correct description of
21555 _SC_CLK_TCK.
21556
d7dd4413
DM
215572012-04-10 David S. Miller <davem@davemloft.net>
21558
21559 [BZ #13967]
21560 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21561 where the is a gap between DT_REL(A) and DT_JMPREL.
21562
b46068fc
L
215632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21564
21565 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21566 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21567 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21568
73d65cc3
SP
215692012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21570
21571 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21572 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21573 (dl_main): Handle --inhibit-cache.
21574 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21575 _dl_inhibit_cache.
21576 * elf/dl-load.c (_dl_map_object): Use it.
21577 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21578
bcc8d661
JM
215792012-04-09 Joseph Myers <joseph@codesourcery.com>
21580
8f9a2fae
JM
21581 [BZ #13872]
21582 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21583 (__ieee754_powl): Saturate large exponents rather than testing for
21584 overflow of y*log2(x).
21585 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21586 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21587 exceptions.
21588
bcc8d661
JM
21589 [BZ #11521]
21590 * math/s_ctan.c: Include <float.h>.
21591 (__ctan): Avoid internal overflow or cancellation in calculating
21592 denominator.
21593 * math/s_ctanf.c: Likewise.
21594 * math/s_ctanl.c: Likewise.
21595 * math/s_ctanh.c: Likewise.
21596 * math/s_ctanhf.c: Likewise.
21597 * math/s_ctanhl.c: Likewise.
21598 * math/libm-test.inc (ctan_test): Add more tests.
21599 (ctanh_test): Likewise.
21600 * sysdeps/i386/fpu/libm-test-ulps: Update.
21601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21602
823fbbb4
AJ
216032012-04-09 Andreas Jaeger <aj@suse.de>
21604
03879793
AJ
21605 [BZ #6894]
21606 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21607 is an optional BSD extension.
21608
823fbbb4
AJ
21609 [BZ #10254]
21610 * manual/stdio.texi (Opening Streams): Document additional fopen
21611 parameters.
21612
8de131cb
RM
216132012-04-09 Roland McGrath <roland@hack.frob.com>
21614
21615 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21616 %eax without telling the compiler.
21617
c0ed9d7d
CD
216182012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21619
21620 [BZ # 13963]
21621 * manual/install.texi: Use sourceware.org.
21622
c483f6b4
JM
216232012-04-09 Joseph Myers <joseph@codesourcery.com>
21624
d7dd9453
JM
21625 [BZ #13873]
21626 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21627 (__ieee754_pow): Generate overflow and underflow using huge*huge
21628 and tiny*tiny rather than just returning constant infinity or zero
21629 for large exponents.
21630 * math/libm-test.inc (pow_test): Require overflow exceptions for
21631 applicable cases of large exponents.
21632
c483f6b4
JM
21633 [BZ #706]
21634 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21635 (__ieee754_pow): Use iterative multiplication algorithm only for
21636 integer exponents with absolute value below 1024. Check for odd
21637 integer exponents when using algorithm for real exponents.
21638 * math/libm-test.inc (pow_test): Add more tests.
21639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21640
d2de7579
JM
216412012-04-08 Joseph Myers <joseph@codesourcery.com>
21642
21643 [BZ #13705]
21644 * math/libm-test.inc (exp_test): Do not allow overflow exception
21645 on underflow test.
21646
f77f1232
AJ
216472012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21648
21649 [BZ #13705]
21650 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21651 instead of __kernel_standard_f.
21652
3884932b
MF
216532012-04-08 Mike Frysinger <vapier@gentoo.org>
21654
21655 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21656 * sysdeps/x86_64/memset_chk.S: Likewise.
21657
54472e9c
AJ
216582012-04-08 Andreas Jaeger <aj@suse.de>
21659
6ab0fbfc
AJ
21660 [BZ #10153]
21661 * manual/startup.texi (Environment Access): Describe return value
21662 for putenv and setenv.
21663
61efba8c
AJ
21664 [BZ #6895]
21665 * manual/filesys.texi (Directory Entries): Add description for
21666 DT_LNK.
21667
95c3f29a
AJ
21668 [BZ #6890]
21669 * manual/filesys.texi (Directory Entries): Clarify that it's file
21670 system not operating system in the description of DT_UNKNOWN.
21671
54472e9c
AJ
21672 [BZ #6578]
21673 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21674
624254b1
SC
216752012-04-08 Stephen Compall <s11@member.fsf.org>
21676
21677 [BZ #6649]
21678 * manual/llio.texi (Opening and Closing Files): Add cross
21679 reference to explain mode argument.
21680
1e4920e0
MF
216812012-04-07 Mike Frysinger <vapier@gentoo.org>
21682
21683 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21684 * sysdeps/x86_64/memset_chk.S: Likewise.
21685
5ed848f3
DM
216862012-04-07 David S. Miller <davem@davemloft.net>
21687
21688 * elf/elf.h (R_SPARC_WDISP10): Define.
21689 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21690 R_SPARC_SIZE32.
21691 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21692 R_SPARC_SIZE64 and R_SPARC_H34.
21693
96154cd8
CD
216942012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21695
21696 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21697 conditions and remove no longer applicable assertion.
21698
9904dc47
L
216992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21700
21701 * bits/byteswap.h: Include <features.h>.
21702 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21703 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21704
f8887d0a
L
217052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21706
21707 * bits/byteswap.h (__bswap_16): Removed.
21708 Include <bits/byteswap-16.h> to get __bswap_16.
21709 * sysdeps/i386/bits/byteswap.h: Likewise.
21710 * sysdeps/s390/bits/byteswap.h: Likewise.
21711 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21712 * bits/byteswap-16.h: New file.
21713 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21714 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21715 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21716 * string/Makefile (headers): Add bits/byteswap-16.h.
21717
62470f60
PP
217182012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21719
21720 [BZ #13895]
21721 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21722 extra indirection.
21723 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21724 * nss/tst-nss-static.c: New.
21725
4dad7bab
RM
217262012-04-06 Robert Millan <rmh@gnu.org>
21727
21728 [BZ #6486]
21729 * manual/llio.texi (File Position Primitive): lseek
21730 refers to WHENCE when it really means OFFSET.
21731
e9142a17
AJ
217322012-04-06 Andreas Jaeger <aj@suse.de>
21733
2c040eff
AJ
21734 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21735 strncmp declarations.
21736
e9142a17
AJ
21737 * abilist/libc.abilist: Add __poll and __ppoll.
21738
ff9f1c5f
DM
217392012-04-05 David S. Miller <davem@davemloft.net>
21740
dcd2ae90
DM
21741 * scripts/check-local-headers.sh: Accept a host triplet in the
21742 path matched by the exclude regexp.
21743
993eb054
DM
21744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21745 definition.
21746 * sysdeps/powerpc/powerpc32/dl-machine.h
21747 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21748 * sysdeps/s390/s390-32/dl-machine.h
21749 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21750 * sysdeps/sparc/sparc32/dl-machine.h
21751 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21752 * sysdeps/sparc/sparc64/dl-machine.h
21753 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21754
ff9f1c5f
DM
21755 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21756 lazy binding.
48e2e132 21757 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21758 undefined symbol errors.
21759
48e2e132 21760 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21761 DT_NEEDED entries.
21762
e80d6f94
MM
217632012-04-05 Michael Matz <matz@suse.de>
21764
21765 [BZ #13592]
21766 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21767
349fa79f
AJ
217682012-04-05 Andreas Jaeger <aj@suse.de>
21769
21770 [BZ #13908]
21771 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21772 comment.
21773
f402708f
KK
217742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21775
21776 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21777 which ROUND is no valid rounding mode.
21778
2ecccfc9
KK
217792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21780
21781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21782 read again.
21783 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21784
8a53f50f
KK
217852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21786
21787 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21788 an exception using FPU order intentionally.
21789
217902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21791
21792 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21793 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21794 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21795 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21796
d653abb7
SJ
217972012-04-05 Simon Josefsson <simon@josefsson.org>
21798
21799 [BZ #12340]
21800 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21801 EINVAL when BUFLEN is too smal.
21802
c3b1bf7d
TS
218032012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21804
21805 [BZ #13553]
21806 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21807 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21808
b1aa60f3
AJ
218092012-04-03 Andreas Jaeger <aj@suse.de>
21810
c3b1bf7d 21811 [BZ #13938]
67f60a26
AJ
21812 * manual/setjmp.texi (System V contexts): Fix sentence.
21813
b1aa60f3
AJ
21814 [BZ #13926]
21815 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21816 New macro for this case.
21817 [!__GNUC__] (__bswap_64): New inline function for this case.
21818 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21819 * bits/byteswap.h: Likewise.
21820 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21821 ull, guard with __GLIBC_HAVE_LONG_LONG.
21822
21823 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21824 __GLIBC_HAVE_LONG_LONG.
21825
21826 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21827 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21828
39c59c35
TMQMF
218292012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21830
21831 [BZ #13691]
21832 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21833 inptr and inend, rather than using last_ch.
21834
135ffda8
DM
218352012-04-02 David S. Miller <davem@davemloft.net>
21836
21837 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21838 * stdio-common/printf-parse.h (read_int): Change return type to
21839 'int', return -1 on INT_MAX overflow.
21840 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21841 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21842 overflows INT_MAX. Check for overflow of in-format-string precision
21843 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21844 SIZE_MAX not INT_MAX for integer overflow test.
21845 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21846 skip the construct in the format string but do not record anything.
21847 * stdio-common/bug22.c: Adjust to test both width/prevision
21848 INT_MAX overflow as well as total length INT_MAX overflow. Check
21849 explicitly for proper errno values.
21850
228c019e
TS
218512012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21852
302cadd3
TS
21853 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21854 CHAR_MAX.
21855 * string/test-strcmp.c [! WIDE]: Likewise.
21856 * time/tst-mktime2.c: Likewise for INT_MAX.
21857 * string/test-string.h: #include <sys/param.h> for MIN.
21858
228c019e
TS
21859 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21860 * sysdeps/i386/init-first.c (init): Likewise.
21861 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21862 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21863 * sysdeps/sh/init-first.c (init): Likewise.
21864
cfa633f5
UD
218652012-04-01 Ulrich Drepper <drepper@gmail.com>
21866
21867 * po/ru.po: Update from translation team.
d1635ef8 21868 * po/vi.po: Likewise.
cfa633f5 21869
6cd0a5ea
SP
218702012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21871
21872 * resolv/nss_dns/dns-host.c: Merge copyright years.
21873
4b43400f
LD
218742012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21875
21876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21877 Optimize memcpy with prefetch if
21878 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21879 src, dst pointers have unequal 16 byte alignments.
21880
48c41d04
SP
218812012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21882
21883 [BZ #13928]
21884 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21885 from a CNAME entry and return the minimum ttl for the query.
21886 (gaih_getanswer_slice): Likewise.
21887
b8dc394d
JL
218882012-03-30 Jeff Law <law@redhat.com>
21889
21890 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21891 due to long keys.
21892 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21893 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21894
2f5a5ed0
JL
21895 * resolv/nss_dns/dns-host.c: Update copyright year.
21896
1d39e359
UD
218972012-03-30 Ulrich Drepper <drepper@gmail.com>
21898
c030f70c 21899 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21900 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21901
1d39e359
UD
21902 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21903 comments for sendmmsg.
21904
219052012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21906
21907 [BZ #13691]
21908 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21909 with only 1 character between 0x0041 and 0x01b0.
21910 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21911 * wcsmbs/tst-mbsnrtowcs.c: New file.
21912
20fde227
DM
219132012-03-29 David S. Miller <davem@davemloft.net>
21914
21915 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21916 small copies by hand.
21917
984a4237
JL
219182012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21919
21920 [BZ #13761]
21921 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21922 _nss_compat_initgroups_dyn): Fall back to malloc/free
21923 for large group memberships.
21924
18c9d62b
DM
219252012-03-28 David S. Miller <davem@davemloft.net>
21926
88d85d4f
DM
21927 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21928 that branches into memcpy.
21929 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21931 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21932 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21934 bits.
21935 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21936 implementation too.
21937 * sysdeps/sparc/mempcpy.S: New file.
21938
e5aa83e1
DM
21939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21940 the IFUNC routine in the libc case.
21941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21942
88570753
DM
21943 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21944 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21945 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21946 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21947 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21948 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21949 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21950 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21951
249d7567
DM
21952 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21953 loop to 256 bytes instead of 64 bytes and fix test signedness.
21954
18c9d62b
DM
21955 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21956 * sysdeps/sparc/sparc32/Makefile: rather than here...
21957 * sysdeps/sparc/sparc64/Makefile: and here.
21958
05f3d1f6
UD
219592012-03-28 Ulrich Drepper <drepper@gmail.com>
21960
21961 * malloc/mallocbug.c: Avoid warnings about unused variables.
21962
86ae07a8
JL
219632012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21964
21965 [BZ #13760]
21966 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21967 in the right place. Discard and retry query if response is
21968 larger than input buffer size.
21969
41bf21a1
JM
219702012-03-28 Joseph Myers <joseph@codesourcery.com>
21971
d6270972
JM
21972 [BZ #369]
21973 [BZ #2678]
21974 [BZ #3866]
21975 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21976 x for large integer exponent.
21977 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21978 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21979 sign of result as needed afterwards.
21980 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21981 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21982 result for underflowing pow the same as for overflow.
21983 (__kernel_standard_l): Handle powl overflow and underflow here
21984 rather than calling __kernel_standard.
21985 * math/libm-test.inc (pow_test): Add more tests.
21986
414fca03 21987 [BZ #3868]
41bf21a1
JM
21988 [BZ #13879]
21989 [BZ #13910]
21990 [BZ #13911]
21991 [BZ #13912]
21992 [BZ #13913]
21993 [BZ #13915]
21994 [BZ #13916]
21995 [BZ #13917]
21996 [BZ #13918]
21997 [BZ #13919]
21998 [BZ #13920]
21999 [BZ #13921]
22000 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22001 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22002 (__kernel_standard_l): New function.
22003 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22004 __kernel_standard.
22005 * math/w_acosl.c (__acosl): Likewise.
22006 * math/w_asinl.c (__asinl): Likewise.
22007 * math/w_atan2l.c (__atan2l): Likewise.
22008 * math/w_atanhl.c (__atanhl): Likewise.
22009 * math/w_coshl.c (__coshl): Likewise.
22010 * math/w_exp10l.c (__exp10l): Likewise.
22011 * math/w_exp2l.c (__exp2l): Likewise.
22012 * math/w_fmodl.c (__fmodl): Likewise.
22013 * math/w_hypotl.c (__hypotl): Likewise.
22014 * math/w_j0l.c (__j0l, __y0l): Likewise.
22015 * math/w_j1l.c (__j1l, __y1l): Likewise.
22016 * math/w_jnl.c (__jnl, __ynl): Likewise.
22017 * math/w_lgammal.c (__lgammal): Likewise.
22018 * math/w_log10l.c (__log10l): Likewise.
22019 * math/w_log2l.c (__log2l): Likewise.
22020 * math/w_logl.c (__logl): Likewise.
22021 * math/w_powl.c (__powl): Likewise.
22022 * math/w_remainderl.c (__remainderl): Likewise.
22023 * math/w_scalbl.c (sysv_scalbl): Likewise.
22024 * math/w_sinhl.c (__sinhl): Likewise.
22025 * math/w_sqrtl.c (__sqrtl): Likewise.
22026 * math/w_tgammal.c (__tgammal): Likewise.
22027 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22028 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22029 * math/libm-test.inc (acos_test): Add more tests.
22030 (acosh_test): Likewise.
22031 (asin_test): Likewise.
22032 (atanh_test): Likewise.
22033 (exp_test): Likewise.
22034 (exp10_test): Likewise.
22035 (exp2_test): Likewise.
22036 (expm1_test): Likewise.
22037 (lgamma_test): Likewise.
22038 (log_test): Likewise.
22039 (log10_test): Likewise.
22040 (log1p_test): Likewise.
22041 (log2_test): Likewise.
22042 (pow_test): Do not allow some spurious overflow exceptions.
22043 (sqrt_test): Add more tests.
22044 (tgamma_test): Likewise.
22045 (y0_test): Likewise.
22046 (y1_test): Likewise.
22047 (yn_test): Likewise.
22048
dd62fda6
AB
220492012-03-27 Anton Blanchard <anton@samba.org>
22050
22051 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22052 MAP_HUGETLB.
22053 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22054 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22055 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22056
1e3cdfda
AJ
220572012-03-27 David S. Miller <davem@davemloft.net>
22058
b855ab85
DM
22059 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22060
1e3cdfda
AJ
22061 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22062 have-as-vis3 check.
22063
220642012-03-27 Andreas Jaeger <aj@suse.de>
22065
22066 * sysdeps/x86_64/elf/configure.in: Moved to ...
22067 * sysdeps/x86_64/configure.in: ... here.
22068 * sysdeps/x86_64/elf/start.S: Moved to ...
22069 * sysdeps/x86_64/start.S: ... here.
22070 * sysdeps/x86_64/elf/configure: Delete.
22071
22072 * sysdeps/x86_64/configure.in: Merge contents from
22073 sysdeps/i386/configure.in (without i686 check).
22074
22075 * sysdeps/i386/elf/Versions: Merge into ...
22076 * sysdeps/i386/Versions: ... this.
22077 * sysdeps/i386/elf/Versions: Delete file.
22078 * sysdeps/i386/elf/start.S: Moved to ...
22079 * sysdeps/i386/start.S: ...here.
22080 * sysdeps/i386/elf/configure.in: Merge into...
22081 * sysdeps/i386/configure.in: ...here.
22082 * sysdeps/i386/elf/configure.in: Delete file.
22083 * sysdeps/i386/elf/configure: Delete file.
22084
22085 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22086 * debug/backtracesyms.c: ... here.
22087 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22088 * debug/backtracesymsfd.c: ... here.
22089 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22090 * sysdeps/generic/ifunc-sel.h: ... here.
22091
22092 * sysdeps/unix/i386/start.c: Delete file.
22093 * sysdeps/unix/sparc/start.c: Delete file.
22094 * sysdeps/unix/start.c: Delete file.
22095
22096 * sysdeps/sh/elf/configure.in: Moved to ...
22097 * sysdeps/sh/configure.in: ... here.
22098 * sysdeps/sh/elf/start.S: Moved to ...
22099 * sysdeps/sh/start.S: ... here.
22100 * sysdeps/sh/elf/configure: Delete file.
22101
22102 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22103 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22104 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22105 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22106 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22107 * sysdeps/powerpc/powerpc64/start.S: here.
22108 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22109 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22110 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22111 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22112 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22113
22114 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22115 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22116 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22117 * sysdeps/powerpc/powerpc32/start.S: ... here.
22118 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22119 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22120 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22121
22122 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22123 * sysdeps/powerpc/ifunc-sel.h: ... here.
22124 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22125 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22126
22127 * sysdeps/sparc/elf/configure.in: Moved to ...
22128 * sysdeps/sparc/configure.in: ... here.
22129 * sysdeps/sparc/elf/configure: Delete file.
22130 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22131 * sysdeps/sparc/sparc32/start.S: ... here.
22132 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22133 * sysdeps/sparc/sparc64/start.S: ... here.
22134 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22135 * sysdeps/sparc/sparc32/Makefile: ... this.
22136 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22137 * sysdeps/sparc/sparc64/Makefile: ... this.
22138
22139 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22140 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22141 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22142 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22143 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22144 * sysdeps/s390/s390-32/setjmp.S: ... here.
22145 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22146 * sysdeps/s390/s390-32/configure.in: ... here.
22147 * sysdeps/s390/s390-32/elf/configure: Delete file.
22148 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22149 * sysdeps/s390/s390-32/start.S: ... here.
22150
22151 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22152 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22153 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22154 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22155 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22156 * sysdeps/s390/s390-64/setjmp.S: ... here.
22157 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22158 * sysdeps/s390/s390-64/configure.in: ... here
22159 * sysdeps/s390/s390-64/elf/configure: Delete file.
22160 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22161 * sysdeps/s390/s390-64/start.S: ... here.
22162 * sysdeps/s390/s390-64/elf/configure: Delete.
22163
22164 * configure.in: Remove support for elf directories in sysdeps.
22165
22166 * configure: Regenerated.
22167 * sysdeps/i386/configure: Regenerated.
22168 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22169 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22170 * sysdeps/s390/s390-32/configure: Regenerated.
22171 * sysdeps/s390/s390-64/configure: Regenerated.
22172 * sysdeps/sh/configure: Regenerated.
22173 * sysdeps/sparc/configure: Regenerated.
22174 * sysdeps/x86_64/configure: Regenerated.
22175
a3f61311
AS
221762012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22177
c876e002
AS
22178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22179
a3f61311
AS
22180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22181 denormal result into account.
22182
ac4c54f0
RM
221832012-03-25 Roland McGrath <roland@hack.frob.com>
22184
22185 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22186 Reported by Allan McRae <allan@archlinux.org>.
22187
6a9b9c02
JL
221882012-03-23 Jeff Law <law@redhat.com>
22189
22190 * nss/getnssent.c (__nss_getent): Fix typo.
22191
4c42a0c1
DM
221922012-03-23 David S. Miller <davem@davemloft.net>
22193
22194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22195
1532c7ac
L
221962012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22197
22198 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22199 to pad to uint64_t for each field.
22200 (dl_tls_index): Replace unsigned long with uint64_t.
22201
3ff42526
PP
222022012-03-23 Daniel Jacobowitz <dmj@google.com>
22203 Paul Pluzhnikov <ppluzhnikov@google.com>
22204
22205 [BZ #6528]
22206 * grp/Makefile (otherlibs): Don't set it.
22207 * inet/Makefile (otherlibs): Likewise.
22208 * login/Makefile (otherlibs): Likewise.
22209 * nscd/Makefile (otherlibs): Likewise.
22210 * posix/Makefile (otherlibs): Likewise.
22211 * pwd/Makefile (otherlibs): Likewise.
22212 * rt/Makefile (otherlibs): Likewise.
22213 * sunrpc/Makefile (otherlibs): Likewise.
22214 * nss/Makefile (otherlibs): Likewise.
22215 Add libnss_files to routines and static-only-routines.
22216 ($(objpfx)getent): Remove rule.
22217 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22218 static-only-routines.
22219
7c69cd14
JM
222202012-03-22 Joseph Myers <joseph@codesourcery.com>
22221
22222 [BZ #13892]
22223 * math/s_cexp.c: Include <float.h>.
22224 (__cexp): Handle exp result overflowing not necessarily
22225 overflowing both real and imaginary parts of result.
22226 * math/s_cexpf.c: Likewise.
22227 * math/s_cexpl.c: Likewise.
22228 * math/libm-test.inc (cexp_test): Add more tests.
22229 * sysdeps/i386/fpu/libm-test-ulps: Update.
22230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22231
81b035fe
L
222322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22233
22234 * include/link.h (ELFW): New macro.
22235 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22236 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22237
1da7940c
L
222382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22239
22240 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22241 with uint64_t.
22242
b749dbb9
L
222432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22244
22245 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22246 declaration.
22247 (struct La_x32_retval): Likewise.
22248
2ff87f3f
L
222492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22250
22251 * sysdeps/x86_64/preconfigure.in: New file.
22252 * sysdeps/x86_64/preconfigure: New generated file.
22253
c0df8e69
JM
222542012-03-22 Joseph Myers <joseph@codesourcery.com>
22255
48e44791
JM
22256 [BZ #13824]
22257 * math/e_exp2l.c: Include <float.h>.
22258 (__ieee754_exp2l): Handle overflow and underflow cases
22259 separately. Only pass fractional part of argument to
22260 __ieee754_expl.
22261 * math/libm-test.inc (exp2_test): Add more tests.
22262
c0df8e69
JM
22263 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22264 negating x to take absolute value.
22265 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22266 Likewise.
22267 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22268 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22269 Likewise.
22270 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22271 computing low part if x was negated.
22272 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22273
c8e43ba7
L
222742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22275
22276 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22277 la_x32_gnu_pltexit.
22278 (pltexit): Cast int_retval to ptrdiff_t.
22279 * elf/tst-auditmod3b.c: Likewise.
22280 * elf/tst-auditmod4b.c: Likewise.
22281 * elf/tst-auditmod5b.c: Likewise.
22282 * elf/tst-auditmod6b.c: Likewise.
22283 * elf/tst-auditmod6c.c: Likewise.
22284 * elf/tst-auditmod7b.c: Likewise.
22285
22286 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22287 and x32_gnu_pltexit.
22288
22289 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22290 __ELF_NATIVE_CLASS.
22291 (La_x32_regs): New macro.
22292 (La_x32_retval): Likewise.
22293 (la_x32_gnu_pltenter): New function prototype.
22294 (la_x32_gnu_pltexit): Likewise.
22295
7998fa78
AS
222962012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22297
dcb33988
AS
22298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22299 exponent.
22300
233fc563
AS
22301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22302
7998fa78
AS
22303 * configure.in (libc_cv_cc_nofma): Check for option to disable
22304 generation of FMA instructions.
22305 * configure: Regenerate.
22306 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22307 * sysdeps/ieee754/dbl-64/Makefile: New file.
22308 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22309 Remove brandred-fma4.
22310 (CFLAGS-brandred-fma4.c): Remove.
22311 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22312 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22313 define.
22314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22315 define.
22316
8e95c99a
L
223172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22318
22319 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22320 LLONG_MAX != LONG_MAX.
22321 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22322 (_fitoa_word): Likewise.
22323 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22324 LLONG_MAX != LONG_MAX.
22325 * stdio-common/_itowa.h: Include <_itoa.h>.
22326 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22327 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22328 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22329 only if not defined.
22330 (_ITOA_WORD_TYPE): Likewise.
22331 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22332 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22333
6f4db457
DM
223342012-03-21 David S. Miller <davem@davemloft.net>
22335
22336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22337
7785fe5a
L
223382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22339
22340 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22341 of x86_64 when setting libc_cv_slibdir, libdir and
22342 libc_cv_localedir.
22343 * sysdeps/unix/sysv/linux/configure: Regenerated.
22344
4535cd55
JM
223452012-03-21 Joseph Myers <joseph@codesourcery.com>
22346
22347 * manual/lang.texi (Old Varargs): Remove section.
22348 (How Variadic): Update menu.
22349 (va_start): Do not mention varargs.h.
22350
17228132
TS
223512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22352 Joseph Myers <joseph@codesourcery.com>
22353
22354 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22355 link test.
22356 * configure: Regenerated.
22357
8149f976
TS
223582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22359
05f3d1f6
UD
22360 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22361 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22362 conformtest.pl
8149f976 22363
1a4ac776
JM
223642012-03-21 Joseph Myers <joseph@codesourcery.com>
22365
be22ce65
JM
22366 * NOTES: Remove.
22367 * Makefile (files-for-dist): Remove NOTES.
22368 (NOTES): Remove rule.
22369 * README: Don't refer to NOTES.
22370 * manual/creature.texi: Don't include macros.texi.
22371 * manual/intro.texi (creature.texi): Remove comment referring to
22372 NOTES.
22373
40b601fb
JM
22374 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22375 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22376 * configure: Regenerated.
22377 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22378 LIBC_TRY_CC_OPTION.
22379 (libc_cv_as_i686): Likewise.
22380 (libc_cv_cc_avx): Likewise.
22381 (libc_cv_cc_sse2avx): Likewise.
22382 (libc_cv_cc_fma4): Likewise.
22383 (libc_cv_cc_novzeroupper): Likewise.
22384 * sysdeps/i386/configure: Regenerated.
22385
1a4ac776
JM
22386 [BZ #13883]
22387 * sysdeps/i386/fpu/s_cexp.S: Remove.
22388 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22389 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22390 * math/libm-test.inc (cexp_test): Add more tests.
22391 * sysdeps/i386/fpu/libm-test-ulps: Update.
22392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22393
a458e7fe
AM
223942012-03-21 Allan McRae <allan@archlinux.org>
22395
22396 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22397
0cb7efc5
JM
223982012-03-21 Joseph Myers <joseph@codesourcery.com>
22399
22400 [BZ #13871]
22401 * math/w_exp2.c: Do not include <float.h>.
22402 (o_threshold, u_threshold): Remove.
22403 (__exp2): Calculate result before checking finiteness and calling
22404 __kernel_standard.
22405 * math/w_exp2f.c: Likewise.
22406 * math/w_exp2l.c: Likewise.
22407 * math/libm-test.inc (exp2_test): Require overflow exception for
22408 1e6 input.
2460d3aa
JM
22409
22410 [BZ #3866]
22411 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22412 range of signed 64-bit integers before using fistpll. Remove
22413 checks for whether integers fit in mantissa bits.
22414 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22415 the range of signed 32-bit integers before using fistpl. Remove
22416 checks for whether integers fit in mantissa bits.
22417 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22418 (__ieee754_powl): Test for y outside the range of signed 64-bit
22419 integers before using fistpll. Reduce 64-bit values to 63-bit
22420 ones as needed.
22421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22422 divide-by-zero is raised for zero to large negative powers.
22423 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22424 (__ieee754_powl): Test for y outside the range of signed 64-bit
22425 integers before using fistpll. Reduce 64-bit values to 63-bit
22426 ones as needed.
22427 * math/libm-test.inc (pow_test): Add more tests.
22428
eb96ffb0
L
224292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22430
22431 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22432 <stdio-common/_itoa.h>.
22433 * debug/segfault.c: Likewise.
22434 * elf/dl-cache.c: Likewise.
22435 * elf/dl-minimal.c: Likewise.
22436 * elf/dl-misc.c: Likewise.
22437 * elf/dl-sysdep.c: Likewise.
22438 * elf/dl-version.c: Likewise.
22439 * elf/rtld.c: Likewise.
22440 * hurd/hurdsock.c: Likewise.
22441 * hurd/lookup-retry.c: Likewise.
22442 * malloc/malloc.c: Likewise.
22443 * malloc/mtrace.c: Likewise.
22444 * nscd/nscd_getgr_r.c: Likewise.
22445 * nscd/nscd_getpw_r.c: Likewise.
22446 * nscd/nscd_getserv_r.c: Likewise.
22447 * posix/getopt_init.c: Likewise.
22448 * posix/wordexp.c: Likewise.
22449 * stdio-common/_itoa.c: Likewise.
22450 * stdio-common/printf_fphex.c: Likewise.
22451 * stdio-common/vfprintf.c: Likewise.
22452 * string/_strerror.c: Likewise.
22453 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22454 * sysdeps/i386/i686/hp-timing.h: Likewise.
22455 * sysdeps/mach/_strerror.c: Likewise.
22456 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22457 * sysdeps/mach/hurd/sethostid.c: Likewise.
22458 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22459 * sysdeps/mach/xpg-strerror.c: Likewise.
22460 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22461 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22462 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22463 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22464 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22465 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22466 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22467 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22468 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22469 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22470 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22471 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22472 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22473 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22474 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22475 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22476 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22477 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22478 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22479 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22480 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22481
22482 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22483
22484 * stdio-common/_itoa.h: Moved to ...
22485 * sysdeps/generic/_itoa.h: Here.
22486
22487 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22488
22489 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22490 instead of "_itoa.h" and "_itowa.h".
22491 * stdio-common/vfprintf.: Likewise.
22492
d1af992d
L
224932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22494
22495 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22496 <bits/wordsize.h>.
22497 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22498 (__signbit): Likwise.
22499 (llrintf): Likwise.
22500 (llrint): Likwise.
22501
114883e0
L
225022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22503
22504 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22505 __WORDSIZE != 64.
22506
c135cc1b
JM
225072012-03-20 Joseph Myers <joseph@codesourcery.com>
22508
22509 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22510 OVERFLOW_EXCEPTION_OK.
22511 * math/libm-test.inc ("Philosophy"): Update comment about
22512 exception testing.
22513 (OVERFLOW_EXCEPTION): Define.
22514 (OVERFLOW_EXCEPTION_OK): Likewise.
22515 (INVALID_EXCEPTION_OK): Renumber.
22516 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22517 (IGNORE_ZERO_INF_SIGN): Likewise.
22518 (test_exceptions): Handle FE_OVERFLOW.
22519 (exp10_test): Expect overflow exceptions.
22520 (exp2_test): Likewise.
22521 (expm1_test): Likewise.
22522 (nextafter_test): Likewise.
22523 (pow_test): Likewise.
22524 (scalbn_test): Likewise.
22525 (scalbln_test): Likewise.
22526
95443d88
L
225272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22528
22529 * sysdeps/x86_64/bits/atomic.h
22530 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22531 64bit integer.
22532 (atomic_exchange_acq): Likewise.
22533 (__arch_exchange_and_add_body): Likewise.
22534 (__arch_add_body): Likewise.
22535 (atomic_add_negative): Likewise.
22536 (atomic_add_zero): Likewise.
22537
490df6c4
L
225382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22539
c2722551 22540 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22541 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22542
5e52b189
L
225432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22546 Check __x86_64__ instead of __WORDSIZE.
22547
a9879d4c
L
225482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22549
22550 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22551
5df98260
DM
225522012-03-19 David S. Miller <davem@davemloft.net>
22553
e1497744
DM
22554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22555
5df98260
DM
22556 * sysdeps/sparc/fpu/fenv_private.h: New file.
22557 * sysdeps/sparc/fpu/math_private.h: Use it.
22558 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22559 Remove.
22560 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22561 (libc_feholdexcept_setroundl): Remove.
22562 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22563 Remove.
22564 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22565 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22566
b4c35121
L
225672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22568
22569 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22570 int64_t instead of long int.
22571 (INSERT_WORDS64): Likwise.
22572
56965fd7
L
225732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22574
22575 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22576 _Unwind_GetCFA return to _Unwind_Ptr first.
22577
83d1aec8
JM
225782012-03-19 Joseph Myers <joseph@codesourcery.com>
22579
1897ad44
JM
22580 [BZ #13629]
22581 * math/s_clog.c: Include <float.h>.
22582 (__clog): Scale large or subnormal inputs.
22583 * math/s_clogf.c: Likewise.
22584 * math/s_clogl.c: Likewise.
22585 * math/s_clog10.c: Include <float.h>.
22586 (M_LOG10_2): Define.
22587 (__clog10): Scale large or subnormal inputs.
22588 * math/s_clog10f.c: Likewise.
22589 * math/s_clog10l.c: Likewise.
22590 * math/libm-test.inc (clog_test): Add more tests.
22591 (clog10_test): Likewise.
22592 * sysdeps/i386/fpu/libm-test-ulps: Update.
22593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22594
7726d6a9
JM
22595 [BZ #11451]
22596 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22597 x and y.
22598 * math/libm-test.inc (atan2_test): Add another test.
22599
83d1aec8
JM
22600 * Makerules (common-objdir-compile): Remove.
22601 * sysdeps/unix/Makefile (config-generated): Do not add
22602 $(unix-generated) to variable.
22603 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22604 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22605 Remove rule.
22606 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22607 Likewise.
22608 [generic bits/local_lim.h] (before-compile): Do not append to
22609 variable.
22610 [generic bits/local_lim.h] (common-generated): Likewise.
22611 [generic sys/param.h] (before-compile): Do not append to variable.
22612 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22613 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22614 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22615 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22616 include.
22617 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22618 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22619 [generic sys/param.h] ($(addprefix
22620 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22621 [generic sys/param.h] (common-generated): Do not append to
22622 variable.
22623 [generic sys/param.h] (sysdep_headers): Likewise.
22624 [generic bits/errno.h] (before-compile): Do not append to
22625 variable.
22626 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22627 rule.
22628 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22629 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22630 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22631 [generic bits/errno.h] (common-generated): Do not append to
22632 variable.
22633 [generic bits/ioctls.h] (before-compile): Do not append to
22634 variable.
22635 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22636 rule.
22637 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22638 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22639 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22640 rule.
22641 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22642 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22643 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22644 [generic bits/ioctls.h] (common-generated): Do not append to
22645 variable.
22646 [generic sys/syscall.h] (syscall.h): Remove variable.
22647 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22648 rule.
22649 [generic sys/syscall.h] (before-compile): Do not append to
22650 variable.
22651 [generic sys/syscall.h] (common-generated): Likewise.
22652 * sysdeps/unix/errnos-tmpl.c: Remove file.
22653 * sysdeps/unix/errnos.awk: Likewise.
22654 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22655 * sysdeps/unix/ioctls.awk: Likewise.
22656 * sysdeps/unix/mk-local_lim.c: Likewise.
22657 * sysdeps/unix/snarf-ioctls: Likewise.
22658
4851a949
RH
226592012-03-19 Richard Henderson <rth@twiddle.net>
22660
bd37f2ee
RH
22661 * sysdeps/i386/fpu/fenv_private.h: New file.
22662 * sysdeps/i386/fpu/math_private.h: Use it.
22663 (math_opt_barrier, math_force_eval): Remove.
22664 (libc_feholdexcept_setround_53bit): Remove.
22665 (libc_feupdateenv_53bit): Remove.
22666 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22667 (math_opt_barrier, math_force_eval): Remove.
22668 (libc_feholdexcept): Remove.
22669 (libc_feholdexcept_setround): Remove.
22670 (libc_fetestexcept, libc_fesetenv): Remove.
22671 (libc_feupdateenv_test): Remove.
22672 (libc_feupdateenv, libc_feholdsetround): Remove.
22673 (libc_feresetround): Remove.
22674
d0adc922
RH
22675 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22676 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22677
0fe0f1f8
RH
22678 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22679 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22680 (libc_feupdateenv_testl): New.
22681 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22682 (libc_feupdateenv_testf): New.
22683 (libc_feupdateenv): Use libc_feupdateenv_test.
22684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22685 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22686
eb92c487
RH
22687 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22688 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22689 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22690 (libc_feresetround_noex): New.
22691 (libc_feresetround_noexf): New.
22692 (libc_feresetround_noexl): New.
22693 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22694 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22695 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22696 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22697 SET_RESTORE_ROUND.
22698 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22700 (__cos): Likewise.
22701 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22702 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22703 SET_RESTORE_ROUND_NOEX.
22704 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22705 SET_RESTORE_ROUND_NOEXF.
22706 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22707 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22708 (libc_feholdsetroundf): New.
22709 (libc_feresetround, libc_feresetroundf): New.
22710
7d2e8012
RH
22711 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22712 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22713 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22714
b4dabbb4
RH
22715 * sysdeps/generic/math_private.h: Include <fenv.h>.
22716 (default_libc_feholdexcept): New.
22717 (default_libc_feholdexcept_setround): New.
22718 (default_libc_fesetenv, default_libc_feupdateenv): New.
22719 (libc_feholdexcept): Only define if undefined.
22720 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22721 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22722 (libc_feholdexcept_setroundl): Likewise.
22723 (libc_feholdexcept_setround_53bit): Likewise.
22724 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22725 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22726 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22727 (libc_feupdateenv_53bit): Likewise.
22728 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22729 (libc_feholdexcept): Convert from macro to inline function.
22730 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22731 (libc_fesetenv, libc_feupdateenv): Likewise.
22732
4851a949
RH
22733 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22734 not previously defined.
22735 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22736 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22737 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22738 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22739 * sysdeps/ieee754/flt-32/math_private.h: New file.
22740 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22741 math_private.h below SET_FLOAT_WORD.
22742 (__isnan, __isinf_ns, __finite): Remove.
22743 (__isnanf, __isinf_nsf, __finitef): Remove.
22744
e79d442e
AS
227452012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22746
22747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22748
90b80344
DM
227492012-03-17 David S. Miller <davem@davemloft.net>
22750
22751 [BZ #6471]
22752 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22753 for 2.16.
22754
edc21804
DM
227552012-03-16 David S. Miller <davem@davemloft.net>
22756
77e927af
DM
22757 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22758 warnings.
22759
374976dd
DM
22760 [BZ #6471]
22761 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22762 properly.
22763 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22764 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22765 sysdep_routines when subdir is sysvipc.
22766 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22767 __getshmlba helper.
22768
edc21804
DM
22769 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22770
473c3ef3
L
227712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22772
22773 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22774 [__LP64__].
22775
eb0f39b6
L
227762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22777
22778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22779 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22780 (__lround): Renamed to ...
22781 (__llround): This. Replace long int with long long int.
22782 Define lround functions as aliases of llround functions.
22783 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22784
6b6cd74b
L
227852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22786
22787 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22788 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22789 adresses to uintptr_t. Replace "long int" and "unsigned long
22790 int" with "greg_t" on va_arg.
22791
f1a77b01
L
227922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22793
22794 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22795 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22796
22797 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22798 Move e_machine check before EI_CLASS check. Handle x32
22799 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22800 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22801 SKIP_EM_IA_64 and include
22802 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22803
22804 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22805 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22806 (add_system_dir): New macro.
22807
22808 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22809 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22810
11b90b9f
JM
228112012-03-16 Joseph Myers <joseph@codesourcery.com>
22812
c36e1d23
JM
22813 [BZ #2551]
22814 [BZ #2552]
22815 [BZ #2553]
22816 [BZ #2554]
22817 [BZ #2562]
22818 [BZ #2563]
22819 [BZ #2565]
22820 [BZ #2566]
22821 [BZ #2576]
22822 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22823 (y0): Likewise.
22824 * math/w_j0f.c (j0f): Likewise.
22825 (y0f): Likewise.
22826 * math/w_j0l.c (__j0l): Likewise.
22827 (__y0l): Likewise.
22828 * math/w_j1.c (j1): Likewise.
22829 (y1): Likewise.
22830 * math/w_j1f.c (j1f): Likewise.
22831 (y1f): Likewise.
22832 * math/w_j1l.c (__j1l): Likewise.
22833 (__y1l): Likewise.
22834 * math/w_jn.c (jn): Likewise.
22835 (yn): Likewise.
22836 * math/w_jnf.c (jnf): Likewise.
22837 (ynf): Likewise.
22838 * math/w_jnl.c (__jnl): Likewise.
22839 (__ynl): Likewise.
22840 * math/libm-test.inc (j0_test): Add more tests.
22841 (j1_test): Likewise.
22842 (jn_test): Likewise. Add trailing semicolon to existing test.
22843 (y0_test): Likewise.
22844 (y1_test): Likewise.
22845 * sysdeps/i386/fpu/libm-test-ulps: Update.
22846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22847
11b90b9f
JM
22848 [BZ #13851]
22849 [BZ #13854]
22850 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22851 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22852 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22853 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22854 (__tanl): Set errno for infinite argument.
22855 * sysdeps/i386/fpu/mptan.c: Remove.
22856 * sysdeps/i386/fpu/s_tan.S: Likewise.
22857 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22858 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22859 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22860 * math/libm-test.inc (tan_test): Add more tests and enable more
22861 tests for double and long double.
22862 * sysdeps/i386/fpu/libm-test-ulps: Update.
22863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22864
6a1bd2a1
JK
228652012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22866
22867 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22868 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22869
10a803e0
RM
228702012-03-16 Roland McGrath <roland@hack.frob.com>
22871
22872 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22873 * configure.in: Use it for both main tree and add-ons.
22874 * configure: Regenerated.
22875
f196c7f7
L
228762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22877
22878 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22879
8848d99d
JM
228802012-03-16 Joseph Myers <joseph@codesourcery.com>
22881
96cbe7f4
JM
22882 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22883 in comment.
22884
8848d99d
JM
22885 [BZ #13851]
22886 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22887 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22891 infinite argument.
22892 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22894 != 0 for prec == 2.
22895 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22896 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22897 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22898 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22899 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22900 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22901 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22902 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22903 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22904 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22905 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22906 * math/libm-test.inc (cos_test): Add more tests and enable more
22907 tests for long double.
22908 (sin_test): Likewise.
22909 (sincos_test): Likewise.
22910 * sysdeps/i386/fpu/libm-test-ulps: Update.
22911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22912
dd7f4703
DM
229132012-03-16 David S. Miller <davem@davemloft.net>
22914
22915 * sysdeps/sparc/fpu/math_private.h: New file.
22916
006f1daa
DM
229172012-03-15 David S. Miller <davem@davemloft.net>
22918
c0c83bc8
DM
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22920 file.
e6a62e18 22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22923 file.
e6a62e18
DM
22924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22930 sysdep routines.
22931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22932
88cb87d9
DM
22933 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22934 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22935
006f1daa 22936 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22938 sparc-ifunc.h
006f1daa 22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22941 Likewise.
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22943 Likewise.
006f1daa
DM
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22948 Likewise.
006f1daa
DM
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22954 Likewise.
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22956 Likewise.
006f1daa
DM
22957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22980 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22981
11e0098e
AS
229822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22983
22984 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22985 scaling.
22986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22987
e85b09d0
AJ
229882012-03-15 Andreas Jaeger <aj@suse.de>
22989
22990 [BZ #13852]
22991 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22992 ieee754/flt-32 implementation for sin, cos and sincos.
22993 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22994 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22995 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22996 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22997 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22998 ieee754/flt-32 implementation for tan.
22999
23000 * math/libm-test.inc (cos_test): Enable some large input tests for
23001 float as well
23002 (sin_test): Likewise.
23003 (sincos_test): Likewise.
23004 (tan_test): Add tests for large input.
23005
23006 * sysdeps/i386/fpu/libm-test-ulps: Update.
23007
81c64153
AJ
230082012-03-15 Andreas Jaeger <aj@suse.de>
23009
23010 [BZ #13658]
23011 * math/libm-test.inc (cos_test): Add more test cases.
23012 (sin_test): Likewise.
23013 (sincos_test): Likewise.
23014
7bbfa5c6
AJ
230152012-03-15 Andreas Jaeger <aj@suse.de>
23016
23017 [BZ #13837]
23018 * math/libm-test.inc (cos_test): Add a test case for large input
23019 value.
23020 (sin_test): Likewise.
23021 (sincos_test): Likewise.
23022
230232012-03-15 Andreas Jaeger <aj@suse.de>,
23024 Joseph Myers <joseph@codesourcery.com>
23025
23026 [BZ #13658]
0671f479 23027 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23028 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23029 * sysdeps/i386/fpu/branred.c: Likewise.
23030 * sysdeps/i386/fpu/dosincos.c: Likewise.
23031 * sysdeps/i386/fpu/mpa.c: Likewise.
23032 * sysdeps/i386/fpu/s_cos.S: Likewise.
23033 * sysdeps/i386/fpu/s_sin.S: Likewise.
23034 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23035 * sysdeps/i386/fpu/sincos32.c: Likewise.
23036
23037 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23038 Define.
23039 (libc_feupdateenv_53bit): Define.
23040 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23041 Define.
23042 (libc_feupdateenv_53bit): Define.
23043
23044 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23045 53 bit (without extend i386 double precision).
23046
23047 * math/libm-test.inc (sincos_test): Add tests for large input.
23048 (sin): Likewise.
23049 (cos): Likewise.
23050
23051 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23052
9cad04ea
AS
230532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23054
23055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23056
f7062b9a
DM
230572012-03-15 David S. Miller <davem@davemloft.net>
23058
23059 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23060 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23062 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23075 file.
f7062b9a 23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23078 file.
f7062b9a 23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23081 file.
f7062b9a 23082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23084 file.
f7062b9a
DM
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23087 fmin/fmax sysdep routines.
23088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23089
7bd951ff
DM
230902012-03-14 David S. Miller <davem@davemloft.net>
23091
559398ab
DM
23092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23120 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23121 routines.
23122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23123 file.
559398ab 23124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23126 file.
559398ab 23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23129 file.
559398ab 23130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23132 file.
559398ab 23133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23135 file.
559398ab 23136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23138 file.
23139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23140 file.
23141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23142 file.
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23144 file.
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23146 New file.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23148 file.
23149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23150 file.
559398ab 23151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23153 file.
559398ab 23154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23156 file.
559398ab 23157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23159 file.
559398ab 23160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23162 VIS3 routines.
559398ab
DM
23163
23164 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23165 New file.
23166
5a1c1e32
DM
23167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23168
eae47a36
DM
23169 * sysdeps/sparc/configure.in: New file.
23170 * sysdeps/sparc/configure: Generate.
23171 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23172 * configure: Regenerate.
23173 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23174 * config.make.in (have-as-vis3): New.
23175 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23176 available use -Av9d instead of -Av9a.
23177 * sysdeps/sparc/sparc64/Makefile: Likewise.
23178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23180 New file.
23181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23182 file.
23183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23184 New file.
23185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23186 file.
eae47a36
DM
23187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23192
c0c83bc8
DM
23193 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23194 fzeros/fnegs to load 0x80000000 into a float register instead of
23195 using the stack.
7bd951ff
DM
23196 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23197
bd951ccb
JM
231982012-03-14 Joseph Myers <joseph@codesourcery.com>
23199
23200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23201 bits/syscall.h.
23202 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23203 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23204 ($(inst_includedir)/bits/syscall.h): Remove rule.
23205 ($(objpfx)bits/syscall.d): Include instead of
23206 $(objpfx)syscall-list.d.
23207 (generated): Change syscall-list.h and syscall-list.d to
23208 bits/syscall.h and bits/syscall.d.
23209
bb4e6db2
RM
232102012-03-14 Roland McGrath <roland@hack.frob.com>
23211
23212 [BZ #13846]
23213 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23214
aa4a2ae1
JM
232152012-03-14 Joseph Myers <joseph@codesourcery.com>
23216
e456826d
JM
23217 [BZ #13841]
23218 * math/s_csqrt.c: Include <float.h>.
23219 (__csqrt): Scale large or subnormal inputs.
23220 * math/s_csqrtf.c: Likewise.
23221 * math/s_csqrtl.c: Likewise.
23222 * math/libm-test.inc (csqrt_test): Add more tests.
23223 * sysdeps/i386/fpu/libm-test-ulps: Update.
23224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23225
aa4a2ae1
JM
23226 [BZ #13840]
23227 * math/libm-test.inc (hypot_test): Add more tests.
23228
7c10fd35
DM
232292012-03-13 David S. Miller <davem@davemloft.net>
23230
23231 [BZ #13840]
23232 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23233 double-precision for the calculation instead of scaling.
23234
f453b98b
JM
232352012-03-13 Joseph Myers <joseph@codesourcery.com>
23236
23237 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23238 manipulate bits before adding and subtracting TWO52[sx].
23239 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23240 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23241 Likewise.
23242 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23243
09a3453f
DM
232442012-03-13 David S. Miller <davem@davemloft.net>
23245
8e59da90
DM
23246 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23247 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23249 rtld-global-offsets.h
23250 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23251
2a8ab7f2
DM
23252 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23253 large parameters.
23254
10f62770
DM
23255 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23256
5f0bdb18
DM
23257 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23258 'err' in the ifdef scope in which it is actually used.
23259
09a3453f
DM
23260 * nss/nss_db/db-init.c: Include string.h
23261
b4b2eb5e
DM
232622012-03-12 David S. Miller <davem@davemloft.net>
23263
98bb2f1c
DM
23264 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23265 masking out of the most significant byte of random value used.
23266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23267 Fix coding style in previous change.
23268
b4b2eb5e
DM
23269 * sysdeps/unix/sysv/linux/kernel-features.h
23270 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23271 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23272 expression.
23273 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23274 later.
23275
6e226b09
DM
232762012-03-11 David S. Miller <davem@davemloft.net>
23277
a1bcbd40
DM
23278 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23279 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23280 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23281 for 'resultvar' otherwise things get truncated on 64-bit.
23282
cb9d6174
DM
23283 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23284 Fix masking out of the most significant byte of random value used.
23285
6e226b09
DM
23286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23287
058c132d
AS
232882012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23289
23290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23291
2d2cd515
DM
232922012-03-09 David S. Miller <davem@davemloft.net>
23293
23294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23295 variables with appropriate CPP guards.
23296 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23297 frame pointer, not the stack pointer. Correct layout comments. Fix test
23298 on resulting framesize and the management of the outregs buffer for pltexit.
23299 Preserve floating point return values across _dl_call_pltexit call.
23300 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23301 framesize and the management of the outregs buffer for pltexit.
23302 Preserve floating point return values across _dl_call_pltexit
23303 call.
23304 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23305 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23306 (print_exit): Fix format string for return register value.
23307
9a07f9d0
JM
233082012-03-10 Joseph Myers <joseph@codesourcery.com>
23309
23310 * sunrpc/Makefile (others): Add rpcgen.
23311 ($(objpfx)rpcgen): Remove special build rule and dependency on
23312 libc.
23313 * sunrpc/rpcgen.c: New file.
23314
547b5e30
PE
233152012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23316
c524201a
PE
23317 [BZ #13673]
23318 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23319 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23320 * sysdeps/i386/crti.S: Likewise.
23321 * sysdeps/i386/crtn.S: Likewise.
23322 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23323 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23324 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23325 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23326 * sysdeps/sh/crti.S: Likewise.
23327 * sysdeps/sh/crtn.S: Likewise.
23328 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23329
7b6235f2
PE
23330 [BZ #13673]
23331 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23332 with URL.
23333 * locale/programs/locfile-kw.gperf: Likewise.
23334 * locale/programs/charmap-kw.h: Regenerated.
23335 * locale/programs/locfile-kw.h: Likewise.
23336
547b5e30
PE
23337 [BZ #13673]
23338 * intl/plural.y: Replace FSF snail mail address with URL.
23339 * intl/plural.c: Regenerated.
23340
5f0a5dae
RH
233412012-03-09 Richard Henderson <rth@twiddle.net>
23342
23343 * include/math_private.h: Remove file.
23344 * math/math_private.h: Move file ...
23345 * sysdeps/generic/math_private.h: ... here.
23346
b8c03620
RH
23347 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23348 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23349 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23350
4e234f5d 23351 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23352 and <math_private.h>.
23353 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23354 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23355 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23356 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23357 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23410 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23411 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23412 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23413 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23414 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23416 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23417 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23418 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23419 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23420 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23421 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23422 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23423 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23430 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23433 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23434 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23436 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23440 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23441 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23442 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23443 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23444 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23445 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23446 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23447 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23457 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23458 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23459 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23460 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23461 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23463 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23464 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23465 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23466 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23467 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23468 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23469 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23470 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23471 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23472 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23473 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23474 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23475 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23476 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23477 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23478 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23479 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23480 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23481 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23482 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23483 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23484 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23485 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23486 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23487 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23488 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23489 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23490 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23491 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23492 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23493 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23494 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23495 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23496 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23497 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23498 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23499 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23500 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23501 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23502 * sysdeps/ieee754/k_standard.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23580 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23618 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23622 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23623 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23625 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23630 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23635 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23638 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23651 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23652 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23653 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23655 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23659 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23663 * sysdeps/ieee754/s_lib_version.c: Likewise.
23664 * sysdeps/ieee754/s_matherr.c: Likewise.
23665 * sysdeps/ieee754/s_signgam.c: Likewise.
23666 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23667 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23668 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23669 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23670 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23671 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23672 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23673 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23674 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23675 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23676 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23677 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23678 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23679 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23680 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23681 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23682 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23683 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23684 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23686 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23687
1991fa03
JM
236882012-03-09 Joseph Myers <joseph@codesourcery.com>
23689
23690 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23691 * sunrpc/rpc_main.c: Likewise.
23692 * sunrpc/rpc_svcout.c: Likewise.
23693
60d6f5a6
DM
236942012-03-09 David S. Miller <davem@davemloft.net>
23695
23696 * include/math_private.h: New file.
23697
4962050e
JM
236982012-03-09 Joseph Myers <joseph@codesourcery.com>
23699
02a6f887
JM
23700 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23701 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23702 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23703 from <bits/socket_type.h>.
23704 (enum __socket_type): Don't define here.
23705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23707 bits/socket_type.h.
23708
c6e013c1
JM
23709 [BZ #13566]
23710 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23711 checking __USE_GNU.
23712
4962050e
JM
23713 * Makerules ($(inst_includedir)/%.h): New rule.
23714 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23715 (install-others): Remove variable setting.
23716 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23717
38842f45
RH
237182012-03-08 Richard Henderson <rth@twiddle.net>
23719
67bb6da6
RH
23720 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23721 from macro to inline function; merge with the
23722 !__LIBC_INTERNAL_MATH_INLINES version.
23723 (__ieee754_sqrtf): Likewise.
23724
15194b4b
RH
23725 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23726 to inline function.
23727 (__rintf, __floor, __floorf): Likewise.
23728
64e21ede
RH
23729 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23730 macro to inline function.
23731 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23732
38842f45
RH
23733 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23734 not <math/math_private.h>.
23735
c64bf5fe
DM
237362012-03-08 David S. Miller <davem@davemloft.net>
23737
23738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23739 copyright year.
23740 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23741
82d86f28
TS
237422012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23743
23744 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23745 normalization.
23746 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23747 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23748
aea5d727
UD
237492012-03-08 Ulrich Drepper <drepper@gmail.com>
23750
23751 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23752 be defined individually, they must be defined as a block. Define
23753 S for printing a string instead of hidint the different by using a
23754 macro for adding the 'l'.
23755 * stdio-common/tst-fphex-wide.c: Adjust.
23756
70bca0a3
MP
237572012-03-07 Marek Polacek <polacek@redhat.com>
23758
23759 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23760
65b81130
MP
237612012-03-08 Marek Polacek <polacek@redhat.com>
23762
23763 [BZ #13806]
23764 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23765 * stdio-common/tst-fphex.c: Define a few macros to make the
23766 test reusable. Use them.
23767 * stdio-common/tst-fphex-wide.c: New file.
23768
07037eeb
JM
237692012-03-08 Joseph Myers <joseph@codesourcery.com>
23770
a7a93d50
JM
23771 [BZ #6911]
23772 * manual/macros.texi (gnusystems): New macro.
23773 (nongnusystems): Likewise.
23774 (gnulinuxhurdsystems): Likewise.
23775 (gnuhurdsystems): Likewise..
23776 (gnulinuxsystems): Likewise.
23777 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23778 variants of the GNU system, not "GNU system".
23779 * manual/conf.texi: Likewise.
23780 * manual/errno.texi: Likewise. Update example of errno macro
23781 expansion.
23782 * manual/filesys.texi: Likewise.
23783 (getumask): Document as specific to GNU/Hurd.
23784 * manual/install.texi: Likewise. Reword some references to
23785 GNU/Linux.
23786 * manual/intro.texi: Likewise.
23787 * manual/io.texi: Likewise.
23788 (File Name Portability): Detail which constraints are inapplicable
23789 to all GNU systems and which are only inapplicable to GNU/Hurd.
23790 * manual/job.texi: Likewise.
23791 * manual/llio.texi: Likewise.
23792 (O_NOCTTY): Document as present on GNU/Linux.
23793 * manual/maint.texi: Likewise.
23794 * manual/memory.texi: Likewise.
23795 * manual/pattern.texi: Likewise.
23796 * manual/pipe.texi: Likewise.
23797 * manual/process.texi: Likewise.
23798 * manual/resource.texi: Likewise.
23799 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23800 child on GNU/Hurd.
23801 * manual/setjmp.texi: Likewise.
23802 * manual/signal.texi: Likewise.
23803 * manual/startup.texi: Likewise.
23804 * manual/stdio.texi: Likewise.
23805 * manual/terminal.texi: Likewise.
23806 (ONLCR): Document as POSIX.
23807 (OXTABS): Document availability on GNU/Linux as XTABS.
23808 (ONOEOT): Document availability separately from other bits.
23809 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23810 * manual/time.texi: Likewise.
23811 * manual/users.texi: Likewise.
23812 * INSTALL: Regenerated.
23813 * sysdeps/gnu/errlist.c: Regenerated.
23814
07037eeb
JM
23815 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23816 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23817 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23818 puts.
23819 * configure: Regenerated.
23820
d1d3431a
JM
238212012-03-07 Joseph Myers <joseph@codesourcery.com>
23822
af6a1e37
JM
23823 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23824 default includes instead of AC_HEADER_CHECK.
23825 * sysdeps/i386/configure: Regenerated.
23826
d1d3431a
JM
23827 [BZ #10716]
23828 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23829 * math/s_cacoshf.c (__cacoshf): Likewise.
23830 * math/s_cacoshl.c (__cacoshl): Likewise.
23831 * math/s_casinh.c (__casinh): Set signs of result from argument.
23832 * math/s_casinhf.c (__casinhf): Likewise.
23833 * math/s_casinhl.c (__casinhl): Likewise.
23834 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23835 (casinh_test): Add more tests.
23836 * sysdeps/i386/fpu/libm-test-ulps: Update.
23837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23838
482ff4da
UD
238392012-03-07 Ulrich Drepper <drepper@gmail.com>
23840
872fda05
UD
23841 * po/zh_TW.po: Update from translation team.
23842
a4300c7a
UD
23843 * login/Makefile (distribute): Remove variable.
23844 * catgets/Makefile: Likewise.
23845 * mach/Makefile: Likewise.
23846 * malloc/Makefile: Likewise.
23847 * misc/Makefile: Likewise.
23848 * iconv/Makefile: Likewise.
23849 * nscd/Makefile: Likewise.
23850 * hurd/Makefile: Likewise.
23851 * manual/Makefile: Likewise.
23852 * locale/Makefile: Likewise.
23853 * intl/Makefile: Likewise.
23854 * conform/Makefile: Likewise.
23855 * nss/Makefile: Likewise.
23856 * time/Makefile: Likewise.
23857 * soft-fp/Makefile: Likewise.
23858 * dirent/Makefile: Likewise.
23859 * gmon/Makefile: Likewise.
23860 * po/Makefile: Likewise.
23861 * rt/Makefile: Likewise.
23862 * socket/Makefile: Likewise.
23863 * math/Makefile: Likewise.
23864 * signal/Makefile: Likewise.
23865 * debug/Makefile: Likewise.
23866 * elf/Makefile: Likewise.
23867 * timezone/Makefile: Likewise.
23868 * stdlib/Makefile: Likewise.
23869 * iconvdata/Makefile: Likewise.
23870 * sunrpc/Makefile: Likewise.
23871 * io/Makefile: Likewise.
23872 * argp/Makefile: Likewise.
23873 * inet/Makefile: Likewise.
23874 * hesiod/Makefile: Likewise.
23875 * grp/Makefile: Likewise.
23876 * csu/Makefile: Likewise.
23877 * wctype/Makefile: Likewise.
23878 * crypt/Makefile: Likewise.
23879 * libio/Makefile: Likewise.
23880 * string/Makefile: Likewise.
23881 * nis/Makefile: Likewise.
23882 * resolv/Makefile: Likewise.
23883 * stdio-common/Makefile: Likewise.
23884 * wcsmbs/Makefile: Likewise.
23885 * dlfcn/Makefile: Likewise.
23886 * posix/Makefile: Likewise.
23887
3b7c4e74 23888 [BZ #6959]
482ff4da
UD
23889 * timezone/Makefile: Don't install timezone files, just the programs
23890 and scripts.
23891
f72ed77d
UD
238922012-03-06 Ulrich Drepper <drepper@gmail.com>
23893
a000466f
UD
23894 * nss/databases.def: Add missing gshadow entry.
23895
f72ed77d
UD
23896 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23897
a53b7a4e
MP
238982012-03-06 Marek Polacek <polacek@redhat.com>
23899
23900 [BZ #13726]
23901 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23902 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23903 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23904 * stdio-common/tst-long-dbl-fphex.c: New file.
23905
e9258400
DM
239062012-03-06 David S. Miller <davem@davemloft.net>
23907
23908 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23909 (set_obp_int): New function.
23910 (get_obp_int): New function.
23911 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23912 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23913 Avoid unused variable warnings on 'val' and use builtin_expect.
23914 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23915 __builtin_expect.
e9258400
DM
23916 (INLINE_CLONE_SYSCALL): Likewise.
23917
3bd2c723
DM
239182012-03-05 David S. Miller <davem@davemloft.net>
23919
23920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23921
bbb78d03
AS
239222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23923
884c5db4
AS
23924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23925
bbb78d03
AS
23926 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23927 only for |x| >= 40.
23928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23929
1c9f702a 239302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23931
23932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23933 Replace gettimeofday with __vdso_gettimeofday.
23934
7be16f82
RM
23935 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23936 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23937 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23938
23939 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23940 time with __vdso_time.
23941
ed58a00f
JM
239422012-03-05 Joseph Myers <joseph@codesourcery.com>
23943
23944 * manual/lang.texi (size_t): Note types to which size_t may be
23945 equivalent with the GNU C Library, but do not describe when
23946 differences between them are significant.
23947
30ee4ced
AJ
239482012-03-05 Andreas Jaeger <aj@suse.de>
23949
23950 * sysdeps/i386/fpu/libm-test-ulps: Update.
23951
b7cd39e8
JM
239522012-03-05 Joseph Myers <joseph@codesourcery.com>
23953
23954 [BZ #3976]
23955 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23956 (__ieee754_pow): Save and restore rounding mode and use
23957 round-to-nearest for main computations.
23958 * math/libm-test.inc (pow_test_tonearest): New function.
23959 (pow_test_towardzero): Likewise.
23960 (pow_test_downward): Likewise.
23961 (pow_test_upward): Likewise.
23962 (main): Call the new functions.
23963 * sysdeps/i386/fpu/libm-test-ulps: Update.
23964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23965
23966 [BZ #3976]
23967 * math/libm-test.inc (cosh_test_tonearest): New function.
23968 (cosh_test_towardzero): Likewise.
23969 (cosh_test_downward): Likewise.
23970 (cosh_test_upward): Likewise.
23971 (sinh_test_tonearest): Likewise.
23972 (sinh_test_towardzero): Likewise.
23973 (sinh_test_downward): Likewise.
23974 (sinh_test_upward): Likewise.
23975 (main): Call the new functions.
23976 * sysdeps/i386/fpu/libm-test-ulps: Update.
23977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23978
6c6a98c9
TV
239792012-03-05 Tom de Vries <tom@codesourcery.com>
23980
23981 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23982 default stack guard is set in last bytes.
23983 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23984
21bb2d2e 239852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23986
21bb2d2e 23987 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23988
21bb2d2e
AJ
23989 [BZ #13656]
23990 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23991 possibly allocate from heap instead of stack.
23992 * stdio-common/bug-vfprintf-nargs.c: New file.
23993 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23994
c6922934
AS
239952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23996
23997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23998
bc957d53
MP
239992012-03-03 Marek Polacek <polacek@redhat.com>
24000
24001 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24002 * math/math_private.h: Likewise.
24003 * stdlib/tst-strtod.c: Likewise.
24004 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24005 * sysdeps/x86_64/bits/atomic.h: Likewise.
24006
6358490d
DM
240072012-03-02 David S. Miller <davem@davemloft.net>
24008
24009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24013 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24014 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24015 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24016 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24017
01ae168d
RM
240182012-03-02 Roland McGrath <roland@hack.frob.com>
24019
d9a17c07
RM
24020 [BZ #13792]
24021 * manual/examples/README: New file, says the example source files
24022 can be used under GPL>=2.
24023 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24024 line containing just "*/".
24025 * manual/examples/add.c: Add copyright header (GPL>=2).
24026 * manual/examples/argp-ex1.c: Likewise.
24027 * manual/examples/argp-ex2.c: Likewise.
24028 * manual/examples/argp-ex3.c: Likewise.
24029 * manual/examples/argp-ex4.c: Likewise.
24030 * manual/examples/atexit.c: Likewise.
24031 * manual/examples/db.c: Likewise.
24032 * manual/examples/dir.c: Likewise.
24033 * manual/examples/dir2.c: Likewise.
24034 * manual/examples/execinfo.c: Likewise.
24035 * manual/examples/filecli.c: Likewise.
24036 * manual/examples/filesrv.c: Likewise.
24037 * manual/examples/fmtmsgexpl.c: Likewise.
24038 * manual/examples/genpass.c: Likewise.
24039 * manual/examples/inetcli.c: Likewise.
24040 * manual/examples/inetsrv.c: Likewise.
24041 * manual/examples/isockad.c: Likewise.
24042 * manual/examples/longopt.c: Likewise.
24043 * manual/examples/memopen.c: Likewise.
24044 * manual/examples/memstrm.c: Likewise.
24045 * manual/examples/mkfsock.c: Likewise.
24046 * manual/examples/mkisock.c: Likewise.
24047 * manual/examples/mygetpass.c: Likewise.
24048 * manual/examples/pipe.c: Likewise.
24049 * manual/examples/popen.c: Likewise.
24050 * manual/examples/rprintf.c: Likewise.
24051 * manual/examples/search.c: Likewise.
24052 * manual/examples/select.c: Likewise.
24053 * manual/examples/setjmp.c: Likewise.
24054 * manual/examples/sigh1.c: Likewise.
24055 * manual/examples/sigusr.c: Likewise.
24056 * manual/examples/stpcpy.c: Likewise.
24057 * manual/examples/strdupa.c: Likewise.
24058 * manual/examples/strftim.c: Likewise.
24059 * manual/examples/strncat.c: Likewise.
24060 * manual/examples/subopt.c: Likewise.
24061 * manual/examples/swapcontext.c: Likewise.
24062 * manual/examples/termios.c: Likewise.
24063 * manual/examples/testopt.c: Likewise.
24064 * manual/examples/testpass.c: Likewise.
24065 * manual/examples/timeval_subtract.c: Likewise.
24066
01ae168d
RM
24067 [BZ #13792]
24068 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24069 function to ...
24070 * manual/timeval_subtract.c.texi: ... here, new file.
24071
49efa33d
DM
240722012-03-02 David S. Miller <davem@davemloft.net>
24073
24074 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24075
28afd92d
JM
240762012-03-02 Joseph Myers <joseph@codesourcery.com>
24077
804360ed
JM
24078 [BZ #3976]
24079 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24080 (__sin): Save and restore rounding mode and use round-to-nearest
24081 for all computations.
24082 (__cos): Save and restore rounding mode and use round-to-nearest
24083 for all computations.
24084 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24085 <fenv.h>.
24086 (tan): Save and restore rounding mode and use round-to-nearest for
24087 all computations.
24088 * math/libm-test.inc (cos_test_tonearest): New function.
24089 (cos_test_towardzero): Likewise.
24090 (cos_test_downward): Likewise.
24091 (cos_test_upward): Likewise.
24092 (sin_test_tonearest): Likewise.
24093 (sin_test_towardzero): Likewise.
24094 (sin_test_downward): Likewise.
24095 (sin_test_upward): Likewise.
24096 (tan_test_tonearest): Likewise.
24097 (tan_test_towardzero): Likewise.
24098 (tan_test_downward): Likewise.
24099 (tan_test_upward): Likewise.
24100 (main): Call the new functions.
24101 * sysdeps/i386/fpu/libm-test-ulps: Update.
24102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24103
a6d06d7b
JM
24104 [BZ #10135]
24105 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24106 small n, then large n, before computing and testing k+n.
24107 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24108 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24109 Likewise.
24110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24111 Likewise.
24112 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24113 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24114 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24116 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24117 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24118 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24119 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24120 * math/libm-test.inc (scalbn_test): Add more tests.
24121 (scalbln_test): Likewise.
24122
07e12bb3
JM
24123 * manual/filesys.texi (mode_t): Describe constraints on size and
24124 signedness, not exact equivalence to a particular type.
24125 (ino_t): Likewise.
24126 (ino64_t): Likewise.
24127 (dev_t): Likewise.
24128 (nlink_t): Likewise.
24129 (blkcnt_t): Likewise.
24130 (blkcnt64_t): Likewise.
24131 * manual/llio.texi (off_t): Likewise.
24132
28afd92d
JM
24133 [BZ #3976]
24134 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24135 (__ieee754_exp): Save and restore rounding mode and use
24136 round-to-nearest for all computations.
24137 * math/libm-test.inc (exp_test_tonearest): New function.
24138 (exp_test_towardzero): Likewise.
24139 (exp_test_downward): Likewise.
24140 (exp_test_upward): Likewise.
24141 (main): Call the new functions.
24142 * sysdeps/i386/fpu/libm-test-ulps: Update.
24143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24144
b1eeb65d
CD
241452012-03-01 Chris Demetriou <cgd@google.com>
24146
24147 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24148 have predictable order.
24149
53362a4b
DM
241502012-03-01 David S. Miller <davem@davemloft.net>
24151
3c969083
DM
24152 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24153
759707de
DM
24154 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24155 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24156 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24157 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24158
dfdb8ff2
DM
24159 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24160 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24161 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24163 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24164 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24165 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24166 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24167 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24168
ead89f96
DM
24169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24170
7f66bd07
DM
24171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24172 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24173 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24174
53362a4b
DM
24175 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24176 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24177 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24178 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24179 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24182 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24183 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24184 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24185 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24186 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24191 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24192 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24193 * sysdeps/sparc/elf/configure: Regenerated.
24194
7b1902cb
JM
241952012-03-01 Joseph Myers <joseph@codesourcery.com>
24196
bec039bc
JM
24197 * configure.in (AS, LD): Require binutils 2.20 or later.
24198 * configure: Regenerated.
24199 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24200 as required minimum version.
24201 * INSTALL: Regenerated.
24202
7b1902cb
JM
24203 [BZ #2541]
24204 [BZ #4108]
24205 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24206 before squaring exponent.
24207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24208 bottom long double and 27 bits of top long double before squaring
24209 exponent.
24210 * math/libm-test.inc (erfc_test): Add more tests.
24211 * sysdeps/i386/fpu/libm-test-ulps: Update.
24212 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24214
f775c276
KT
242152012-03-01 Kai Tietz <ktietz@redhat.com>
24216
24217 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24218 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24219 containing bit-fields.
24220 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24221 * soft-fp/single.h (_FP_UNION_S): Likewise.
24222 * soft-fp/double.h (_FP_UNION_D): Likewise.
24223
5b8a4d4a
JM
242242012-02-29 Joseph Myers <joseph@codesourcery.com>
24225
0bab47b6
JM
24226 [BZ #13786]
24227 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24228 not include ../strcmp.S.
24229 [USE_AS_STRNCASECMP_L]: Likewise.
24230 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24231 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24232 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24233 (__strncasecmp_l_ia32): Define as alias to
24234 __strncasecmp_l_nonascii.
24235
0fcad3e2
JM
24236 [BZ #5794]
24237 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24238 * sysdeps/i386/fpu/libm-test-ulps: Update.
24239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24240
5b8a4d4a
JM
24241 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24243
8fdceb2e
JL
242442012-02-29 Jeff Law <law@redhat.com>
24245
24246 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24247 out of bounds read.
24248
1f393a11
MP
242492012-02-29 Marek Polacek <polacek@redhat.com>
24250
24251 [BZ #13706]
24252 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24253 * elf/Makefile: Add rules to run tst-unused-dep.out.
24254
8847f037
DM
242552012-02-28 David S. Miller <davem@davemloft.net>
24256
24257 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24258 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24260 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24261 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24262 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24263
169d7f11
JM
242642012-02-29 Joseph Myers <joseph@codesourcery.com>
24265
24266 * math/libm-test.inc (llround_test): Move one test from
24267 lround_test. Use TEST_f_L in moved test.
24268 (lround_test): Move misplaced test to llround_test. Add testcase
24269 from bug 2561.
24270
39adf059
UD
242712012-02-28 Ulrich Drepper <drepper@gmail.com>
24272
24273 * sysdeps/x86_64/fpu/e_expf.S: New file.
24274 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24275
71b5d1c5
SB
242762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24277
24278 [BZ #13637]
24279 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24280 of remain_len that may cause incomplete multi-byte character and
24281 false match.
24282 * posix/bug-regex33.c: New file.
24283 * posix/Makefile (tests): Add bug-regex33.
24284
1f77f049
JM
242852012-02-28 Joseph Myers <joseph@codesourcery.com>
24286
24287 * manual/macros.texi: New file.
24288 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24289 * manual/libc.texinfo: Include macros.texi.
24290 * manual/creatute.texi: Likewise.
24291 * manual/install.texi: Likewise.
24292 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24293 @glibcadj{} in references to the GNU C Library.
24294 * manual/charset.texi: Likewise.
24295 * manual/conf.texi: Likewise.
24296 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24297 when not using those macros.
24298 * manual/creature.texi: Likewise.
24299 * manual/crypt.texi: Likewise.
24300 * manual/errno.texi: Likewise.
24301 * manual/filesys.texi: Likewise.
24302 * manual/header.texi: Likewise.
24303 * manual/install.texi: Likewise.
24304 * manual/intro.texi: Likewise.
24305 * manual/io.texi: Likewise.
24306 * manual/job.texi: Likewise.
24307 * manual/lang.texi: Likewise.
24308 * manual/libc.texiinfo: Likewise.
24309 * manual/llio.texi: Likewise.
24310 * manual/locale.texi: Likewise.
24311 * manual/maint.texi: Likewise.
24312 * manual/math.texi: Likewise.
24313 * manual/memory.texi: Likewise.
24314 * manual/message.texi: Likewise.
24315 * manual/nss.texi: Likewise.
24316 * manual/pattern.texi: Likewise.
24317 * manual/process.texi: Likewise.
24318 * manual/resource.texi: Likewise.
24319 * manual/search.texi: Likewise.
24320 * manual/setjmp.texi: Likewise.
24321 * manual/signal.texi: Likewise.
24322 * manual/socket.texi: Likewise.
24323 * manual/startup.texi: Likewise.
24324 * manual/stdio.texi: Likewise.
24325 * manual/string.texi: Likewise.
24326 * manual/sysinfo.texi: Likewise.
24327 * manual/syslog.texi: Likewise.
24328 * manual/terminal.texi: Likewise.
24329 * manual/time.texi: Likewise.
24330 * manual/users.texi: Likewise.
24331 * INSTALL: Regenerated.
24332 * NOTES: Regenerated.
d40c5d54 24333 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24334
450bf206
AS
243352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24336
24337 * include/dirent.h: Include <dirstream.h> before
24338 <dirent/dirent.h>.
24339
741a235b
DM
243402012-02-28 David S. Miller <davem@davemloft.net>
24341
24342 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24343 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24344 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24345 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24346
d6b5aa58
DM
243472012-02-27 David S. Miller <davem@davemloft.net>
24348
1aff59a3
DM
24349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24351 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24352 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24353
d6b5aa58
DM
24354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24355 frame pointer instead of stack pointer relative arg slot.
24356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24357 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24358 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24359
433f48bf
CD
243602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24361
24362 [BZ #3992]
24363 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24364
d674b76d
DM
243652012-02-27 David S. Miller <davem@davemloft.net>
24366
24367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24371 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24372 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24373 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24374 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24375
0e7727f7
JM
243762012-02-27 Joseph Myers <joseph@codesourcery.com>
24377
24378 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24379 later. Allow versions 5-9.
43be4ca2 24380 * configure: Regenerated.
0e7727f7
JM
24381 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24382 required minimum version and 4.6 as recommended version. Do not
24383 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24384 * INSTALL: Regenerated.
0e7727f7 24385
a78bc654
DM
243862012-02-27 David S. Miller <davem@davemloft.net>
24387
428d5830
DM
24388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24392 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24393 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24394 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24395 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24396
a78bc654
DM
24397 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24398 manipulate bits before adding and subtracting TWO112[sx].
24399 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24400
4579f81c
RM
244012012-02-27 Roland McGrath <roland@hack.frob.com>
24402
36c8acb4
RM
24403 [BZ #13775]
24404 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24405 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24406 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24407 being in POSIX, because they are in 1003.1-2008.
24408
84ad622b
RM
24409 * rt/tst-aio.c: Include <fcntl.h>.
24410 * rt/tst-aio7.c: Likewise.
24411 * rt/tst-aio64.c: Likewise.
24412
4579f81c
RM
24413 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24414
abd923db
JM
244152012-02-27 Joseph Myers <joseph@codesourcery.com>
24416
24417 * manual/install.texi (--with-headers): Describe headers as
24418 interface headers, not private headers.
24419 (Specific advice for GNU/Linux systems): Describe use of headers
24420 from "make headers_install", not private headers from older
24421 kernels.
43be4ca2 24422 * INSTALL: Regenerated.
abd923db
JM
24423 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24424 Change to 2.6.19.
24425 * sysdeps/unix/sysv/linux/configure: Regenerated.
24426
6664049b
JM
24427 * manual/llio.texi (fclean): Remove documentation.
24428
bb8b6697
JM
24429 * manual/Makefile (libc-texi-generated): New variable. Include
24430 version.texi.
24431 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24432 $(libc-texi-generated), not duplicated list of files.
24433 (version.texi, stamp-version): New rules.
24434 (realclean): Remove $(libc-texi-generated), not individual files
24435 from that list. Do not remove dir-add.texinfo.
24436 * manual/libc.texinfo: Comment out uses of edition numbers and
24437 references to printed manual. Remove last-updated dates.
24438 (EDITION): Comment out.
24439 (ISBN): Likewise.
24440 (VERSION, UPDATED): Remove.
24441 (version.texi): Include.
24442
12e5c3b9
AS
244432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24444
24445 * sysdeps/posix/spawni.c: Include <signal.h>.
24446 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24447 * sysdeps/pthread/aio_fsync.c: Likewise.
24448
4efeffc1 244492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24450
ba63ba08
UD
24451 * conform/Makefile (tests): Run only when not cross-compiling and
24452 when fast-check is not defined.
24453
d94a4670
UD
24454 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24455 * conform/data/limits.h-data: Fixes for POSIX2008.
24456 * conform/run-conformtest.sh: Run all tests.
24457 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24458 headers.
24459 * include/bits/dlfcn.h: Likewise.
24460 * include/langinfo.h: Likewise.
24461 * include/monetary.h: Likewise.
24462 * include/sys/poll.h: Likewise.
24463
24464 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24465 for __USE_GNU.
24466 * posix/spawn.h: Define __need_sigset_t.
24467 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24468 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24469 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24470 to get sigevent_t only.
24471 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24472 only for __USE_GNU.
24473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24474 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24475 process_vm_writev only for __USE_GNU.
24476 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24477
24478 * conform/Makefile: For now ignore errors from run-conformtest.
24479 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24480 POSIX to avoid namespace pollution. Don't prepend headers.
24481 * conform/data/aio.h-data: Fixes for POSIX testing.
24482 * conform/data/fcntl.h-data: Likewise.
24483 * conform/data/glob.h-data: Likewise.
24484 * conform/data/grp.h-data: Likewise.
24485 * conform/data/pthread.h-data: Likewise.
24486 * conform/data/pwd.h-data: Likewise.
24487 * conform/data/signal.h-data: Likewise.
24488 * conform/data/spawn.h-data: Likewise.
24489 * conform/data/stdio.h-data: Likewise.
24490 * conform/data/stdlib.h-data: Likewise.
24491 * conform/data/stropts.h-data: Likewise.
24492 * conform/data/sys/mman.h-data: Likewise.
24493 * conform/data/sys/stat.h-data: Likewise.
24494 * conform/data/sys/types.h-data: Likewise.
24495 * conform/data/sys/wait.h-data: Likewise.
24496 * conform/data/time.h-data: Likewise.
24497 * conform/data/unistd.h-data: Likewise.
24498 * conform/data/utime.h-data: Likewise.
24499
24500 * io/sys/stat.h: fchmod was always in POSIX.
24501 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24502 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24503 * rt/aio.h: Define __need_timespec before including <time.h>.
24504 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24505 struct. Add forward declaration of pthread_attr_t and use it in
24506 sigevent.
24507 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24509 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24510 always remove CLK_TCK definition.
24511
c20105c3
AS
245122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24513
24514 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24515
7a270350
UD
245162012-02-25 Ulrich Drepper <drepper@gmail.com>
24517
31341567
UD
24518 * conform/run-conformtest.sh: New file.
24519 * conform/Makefile: Run run-conformtest for tests.
24520 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24521 support.
24522
24523 * conform/data/uchar.h-data: New file.
24524 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24525 * conform/data/arpa/inet.h-data: Likewise.
24526 * conform/data/assert.h-data: Likewise.
24527 * conform/data/complex.h-data: Likewise.
24528 * conform/data/cpio.h-data: Likewise.
24529 * conform/data/ctype.h-data: Likewise.
24530 * conform/data/dirent.h-data: Likewise.
24531 * conform/data/dlfcn.h-data: Likewise.
24532 * conform/data/errno.h-data: Likewise.
24533 * conform/data/fcntl.h-data: Likewise.
24534 * conform/data/float.h-data: Likewise.
24535 * conform/data/fmtmsg.h-data: Likewise.
24536 * conform/data/fnmatch.h-data: Likewise.
24537 * conform/data/ftw.h-data: Likewise.
24538 * conform/data/glob.h-data: Likewise.
24539 * conform/data/grp.h-data: Likewise.
24540 * conform/data/iconv.h-data: Likewise.
24541 * conform/data/inttypes.h-data: Likewise.
24542 * conform/data/langinfo.h-data: Likewise.
24543 * conform/data/libgen.h-data: Likewise.
24544 * conform/data/limits.h-data: Likewise.
24545 * conform/data/locale.h-data: Likewise.
24546 * conform/data/math.h-data: Likewise.
24547 * conform/data/monetary.h-data: Likewise.
24548 * conform/data/mqueue.h-data: Likewise.
24549 * conform/data/ndbm.h-data: Likewise.
24550 * conform/data/net/if.h-data: Likewise.
24551 * conform/data/netdb.h-data: Likewise.
24552 * conform/data/netinet/in.h-data: Likewise.
24553 * conform/data/nl_types.h-data: Likewise.
24554 * conform/data/poll.h-data: Likewise.
24555 * conform/data/pthread.h-data: Likewise.
24556 * conform/data/pwd.h-data: Likewise.
24557 * conform/data/regex.h-data: Likewise.
24558 * conform/data/sched.h-data: Likewise.
24559 * conform/data/search.h-data: Likewise.
24560 * conform/data/semaphore.h-data: Likewise.
24561 * conform/data/setjmp.h-data: Likewise.
24562 * conform/data/signal.h-data: Likewise.
24563 * conform/data/spawn.h-data: Likewise.
24564 * conform/data/stdarg.h-data: Likewise.
24565 * conform/data/stdio.h-data: Likewise.
24566 * conform/data/stdlib.h-data: Likewise.
24567 * conform/data/string.h-data: Likewise.
24568 * conform/data/strings.h-data: Likewise.
24569 * conform/data/stropts.h-data: Likewise.
24570 * conform/data/sys/ipc.h-data: Likewise.
24571 * conform/data/sys/mman.h-data: Likewise.
24572 * conform/data/sys/msg.h-data: Likewise.
24573 * conform/data/sys/resource.h-data: Likewise.
24574 * conform/data/sys/select.h-data: Likewise.
24575 * conform/data/sys/sem.h-data: Likewise.
24576 * conform/data/sys/shm.h-data: Likewise.
24577 * conform/data/sys/socket.h-data: Likewise.
24578 * conform/data/sys/stat.h-data: Likewise.
24579 * conform/data/sys/statvfs.h-data: Likewise.
24580 * conform/data/sys/time.h-data: Likewise.
24581 * conform/data/sys/timeb.h-data: Likewise.
24582 * conform/data/sys/times.h-data: Likewise.
24583 * conform/data/sys/types.h-data: Likewise.
24584 * conform/data/sys/uio.h-data: Likewise.
24585 * conform/data/sys/un.h-data: Likewise.
24586 * conform/data/sys/utsname.h-data: Likewise.
24587 * conform/data/sys/wait.h-data: Likewise.
24588 * conform/data/syslog.h-data: Likewise.
24589 * conform/data/tar.h-data: Likewise.
24590 * conform/data/termios.h-data: Likewise.
24591 * conform/data/utime.h-data: Likewise.
24592 * conform/data/utmpx.h-data: Likewise.
24593 * conform/data/varargs.h-data: Likewise.
24594 * conform/data/wchar.h-data: Likewise.
24595 * conform/data/wctype.h-data: Likewise.
24596 * conform/data/wordexp.h-data: Likewise.
24597
24598 * include/stropts.h: New file.
24599 * include/uchar.h: New file.
24600 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24601 * include/assert.h: Likewise.
24602 * include/ctype.h: Likewise.
24603 * include/dirent.h: Likewise.
24604 * include/dlfcn.h: Likewise.
24605 * include/fcntl.h: Likewise.
24606 * include/fnmatch.h: Likewise.
24607 * include/glob.h: Likewise.
24608 * include/grp.h: Likewise.
24609 * include/libio.h: Likewise.
24610 * include/locale.h: Likewise.
24611 * include/math.h: Likewise.
24612 * include/net/if.h: Likewise.
24613 * include/netdb.h: Likewise.
24614 * include/netinet/in.h: Likewise.
24615 * include/pthread.h: Likewise.
24616 * include/pwd.h: Likewise.
24617 * include/regex.h: Likewise.
24618 * include/sched.h: Likewise.
24619 * include/search.h: Likewise.
24620 * include/setjmp.h: Likewise.
24621 * include/signal.h: Likewise.
24622 * include/stdio.h: Likewise.
24623 * include/stdlib.h: Likewise.
24624 * include/string.h: Likewise.
24625 * include/sys/cdefs.h: Likewise.
24626 * include/sys/mman.h: Likewise.
24627 * include/sys/msg.h: Likewise.
24628 * include/sys/resource.h: Likewise.
24629 * include/sys/select.h: Likewise.
24630 * include/sys/socket.h: Likewise.
24631 * include/sys/stat.h: Likewise.
24632 * include/sys/statvfs.h: Likewise.
24633 * include/sys/time.h: Likewise.
24634 * include/sys/times.h: Likewise.
24635 * include/sys/uio.h: Likewise.
24636 * include/sys/utsname.h: Likewise.
24637 * include/sys/wait.h: Likewise.
24638 * include/termios.h: Likewise.
24639 * include/time.h: Likewise.
24640 * include/ulimit.h: Likewise.
24641 * include/unistd.h: Likewise.
24642 * include/utime.h: Likewise.
24643 * include/wchar.h: Likewise.
24644 * include/wctype.h: Likewise.
24645 * include/wordexp.h: Likewise.
24646
24647 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24648
7a270350
UD
24649 * time/time.h: TIME_UTC must be a macro.
24650 Make timespec_get available for ISO C11 only as well.
24651
7724defc
UD
246522012-02-24 Ulrich Drepper <drepper@gmail.com>
24653
24654 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24655 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24656
6b1d1d46
JM
246572012-02-24 Joseph Myers <joseph@codesourcery.com>
24658
24659 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24660
0f8bbd69
JM
246612012-02-24 Joseph Myers <joseph@codesourcery.com>
24662
24663 * manual/texinfo.tex: Update to version 2012-01-19.16.
24664
66ab80bc
JM
246652012-02-24 Joseph Myers <joseph@codesourcery.com>
24666
24667 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24668
74981cc5
RM
246692012-02-24 Roland McGrath <roland@hack.frob.com>
24670
ee968201
RM
24671 [BZ #13738]
24672 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24673 * manual/fdl-1.3.texi: New file.
24674 * manual/fdl-1.1.texi: File removed.
24675
74981cc5
RM
24676 [BZ #13738]
24677 * manual/libc.texinfo (FDL_VERSION): New @set.
24678 Use it for mention of FDL in cover text.
24679 (Documentation License): Use it in @include file name.
24680
7bb764bc
JM
246812012-02-22 Joseph Myers <joseph@codesourcery.com>
24682 Roland McGrath <roland@hack.frob.com>
24683
24684 [BZ #5461]
24685 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24686 not LONG_LONG_MAX and LONG_LONG_MIN.
24687 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24688 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24689 name.
24690 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24691
6cbeae47
JM
246922012-02-22 Joseph Myers <joseph@codesourcery.com>
24693
24694 [BZ #2547]
24695 [BZ #11365]
24696 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24697 manipulate bits before adding and subtracting TWO23[sx].
24698 * math/libm-test.inc (nearbyint_test): Add more tests.
24699
fe45ce09
JM
247002012-02-22 Joseph Myers <joseph@codesourcery.com>
24701
24702 [BZ #2548]
24703 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24704 bits before adding and subtracting TWO23[sx].
24705 * math/libm-test.inc (rint_test): Add more tests.
24706 (rint_test_tonearest): Likewise.
24707 (rint_test_towardzero): Likewise.
24708 (rint_test_downward): Likewise.
24709 (rint_test_upward: Likewise.
24710
ff3b3d82
JM
247112012-02-22 Joseph Myers <joseph@codesourcery.com>
24712
24713 [BZ #10110]
24714 * include/stdc-predef.h: New file. Extracted from features.h.
24715 * include/features.h: Include stdc-predef.h.
24716 * Makefile (headers): Add stdc-predef.h.
24717 * CONFORMANCE (Compiler limitations): Update.
24718
ef0aab35
JM
247192012-02-22 Joseph Myers <joseph@codesourcery.com>
24720
24721 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24722
58639409
DM
247232012-02-21 David S. Miller <davem@davemloft.net>
24724
24725 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24726 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24727
c0e70b25
DM
247282012-02-20 David S. Miller <davem@davemloft.net>
24729
24730 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24731 using a normal save/restore sequence, rather than allocating a
24732 dummy stack frame just to store a frame pointer and restore.
24733 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24734
fb06851d
JM
247352012-02-21 Joseph Myers <joseph@codesourcery.com>
24736
24737 * manual/install.texi: Fix stray word in line-wrapped comment.
24738
7a8b71c3
DM
247392012-02-20 David S. Miller <davem@davemloft.net>
24740
d510c123
DM
24741 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24742 both binutils and gcc support GOTDATA.
24743
0722d7c2
DM
24744 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24745 "rd %pc" in the PIC register setup sequences.
24746
3d2b3019
DM
24747 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24748 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24749 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24750 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24751 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24754 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24756 (SYSCALL_ERROR_HANDLER): Likewise.
24757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24758 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24760 (SYSCALL_ERROR_HANDLER): Likewise.
24761
c80098a9
DM
24762 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24763 (HAVE_GCC_GOTDATA): New.
24764 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24765 relocation support in both binutils and gcc.
24766 * sysdeps/sparc/elf/configure: Regenerate.
24767
3a2545a0
DM
24768 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24769 * sysdeps/sparc/sparc32/elf/configure: Delete.
24770 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24771 * sysdeps/sparc/sparc64/elf/configure: Delete.
24772 * sysdeps/sparc/elf/configure.in: New file.
24773 * sysdeps/sparc/elf/configure: Generate.
24774
7a8b71c3
DM
24775 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24776 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24777 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24778 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24779 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24780
f1e86fca
JM
247812012-02-21 Joseph Myers <joseph@codesourcery.com>
24782
24783 * manual/install.texi: Do not mention specific glibc version
24784 numbers.
24785 * manual/libc.texinfo (VERSION, UPDATED): Update.
24786 (@copying): Use @copyright{} and range of years.
24787
0e7dfaef
JM
247882012-02-21 Joseph Myers <joseph@codesourcery.com>
24789
24790 [BZ #13695]
24791 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24792 [crti.S not in sysdirs] (generated): Do not append.
24793 [crti.S not in sysdirs] (omit-deps): Likewise.
24794 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24795 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24796 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24797 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24798 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24799 Likewise.
24800 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24801 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24802 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24803 * csu/defs.awk: Remove file.
24804 * sysdeps/generic/initfini.c: Likewise.
24805 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24806 variable.
24807 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24808 Likewise.
24809
599af3ca
JM
248102012-02-20 Joseph Myers <joseph@codesourcery.com>
24811
24812 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24813 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24814 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24815 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24816 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24817 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24818 <bits/epoll.h>.
24819 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24820 (__EPOLL_PACKED): Define to empty if not defined by
24821 <bits/epoll.h>.
24822 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24824 bits/epoll.h.
24825
0e499750
JM
248262012-02-20 Joseph Myers <joseph@codesourcery.com>
24827
24828 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24829 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24830 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24831 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24832 <bits/timerfd.h>.
24833 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24835 bits/timerfd.h.
24836
5ad91f6e
JM
248372012-02-20 Joseph Myers <joseph@codesourcery.com>
24838
24839 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24840 in C locale.
24841 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24842 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24843 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24845
06b99b02
AJ
248462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24847
24848 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24849 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24850
7638c0fd
AS
248512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24852
24853 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24854 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24855 defined.
24856 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24857 Likewise.
24858 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24859 entry for 2.16.
24860
92221550
AJ
248612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24862
24863 * math/w_acos.c: Use non-signaling floating-point comparisons.
24864 * math/w_acosf.c: Likewise.
24865 * math/w_acosh.c: Likewise.
24866 * math/w_acoshf.c: Likewise.
24867 * math/w_acoshl.c: Likewise.
24868 * math/w_acosl.c: Likewise.
24869 * math/w_asin.c: Likewise.
24870 * math/w_asinf.c: Likewise.
24871 * math/w_asinl.c: Likewise.
24872 * math/w_atanh.c: Likewise.
24873 * math/w_atanhf.c: Likewise.
24874 * math/w_atanhl.c: Likewise.
24875 * math/w_exp2.c: Likewise.
24876 * math/w_exp2f.c: Likewise.
24877 * math/w_exp2l.c: Likewise.
24878 * math/w_j0.c: Likewise.
24879 * math/w_j0f.c: Likewise.
24880 * math/w_j0l.c: Likewise.
24881 * math/w_j1.c: Likewise.
24882 * math/w_j1f.c: Likewise.
24883 * math/w_j1l.c: Likewise.
24884 * math/w_jn.c: Likewise.
24885 * math/w_jnf.c: Likewise.
24886 * math/w_log.c: Likewise.
24887 * math/w_log10.c: Likewise.
24888 * math/w_log10f.c: Likewise.
24889 * math/w_log10l.c: Likewise.
24890 * math/w_log2.c: Likewise.
24891 * math/w_log2f.c: Likewise.
24892 * math/w_log2l.c: Likewise.
24893 * math/w_logf.c: Likewise.
24894 * math/w_logl.c: Likewise.
24895 * math/w_sqrt.c: Likewise.
24896 * math/w_sqrtf.c: Likewise.
24897 * math/w_sqrtl.c: Likewise.
24898 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24899 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24901 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24902 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24903
ebaf36eb
JM
249042012-02-19 Joseph Myers <joseph@codesourcery.com>
24905
24906 [BZ #9739]
24907 * manual/string.texi (strnlen): Use correct parameter name in
24908 equivalent expression.
24909
71c254a6
JM
249102012-02-19 Joseph Myers <joseph@codesourcery.com>
24911
24912 [BZ #11174]
24913 * manual/users.texi (seteuid): Consistently use neweuid for
24914 argument name.
24915
16d2c631
JM
249162012-02-19 Joseph Myers <joseph@codesourcery.com>
24917
24918 [BZ #13704]
24919 * manual/nss.texi (Services in the NSS configuration): Correct
24920 list of services in example configuration file.
24921
cd837b09
NB
249222012-02-19 Nick Bowler <nbowler@draconx.ca>
24923
24924 [BZ #11322]
24925 * manual/arith.texi: Remove statements about negative zero
24926 behaving identically to zero.
24927
02c4bbad
JM
249282012-02-18 Joseph Myers <joseph@codesourcery.com>
24929
24930 [BZ #5993]
24931 * manual/install.texi: Do not document upgrading from libc5.
24932
366842e7
JM
249332012-02-18 Joseph Myers <joseph@codesourcery.com>
24934
24935 [BZ #4596]
24936 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24937
dd54084d
DM
249382012-02-18 David S. Miller <davem@davemloft.net>
24939
24940 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24941 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24942 %o7 across the call.
24943 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24944 instead.
24945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24946 SETUP_PIC_REG_LEAF.
24947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24948 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24949 * sysdeps/sparc/crtn.S: Likewise.
24950
2bcc53a3
UD
249512012-02-17 Ulrich Drepper <drepper@gmail.com>
24952
24953 * aout/Makefile: Remove.
24954
09c093b5
RK
249552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24956
24957 [BZ #13058]
24958 * manual/examples/argp-ex1.c (main): Format definition in GNU
24959 style.
24960 * manual/examples/argp-ex2.c (main): Likewise.
24961 * manual/examples/argp-ex3.c (main): Likewise.
24962 * manual/examples/argp-ex4.c (main): Likewise.
24963 * manual/examples/longopt.c (main): Use new-style prototype
24964 definition.
24965 * manual/examples/strncat.c (main): Specify return type and use
24966 (void) for arguments.
24967 * manual/examples/subopt.c (main): Use char **argv argument.
24968
2ee633a2
JM
249692012-02-17 Joseph Myers <joseph@codesourcery.com>
24970
24971 [BZ #5077]
24972 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24973 rounding modes.
24974
0520adde
FB
249752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24976
24977 [BZ #6907]
24978 * manual/string.texi (strchr): Change when strchrnul is
24979 recommended.
24980
3f4081cd
DGM
249812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24982
24983 [BZ #174]
24984 * manual/locale.texi (setlocale): Document LOCPATH.
24985
d1b10e78
JM
249862012-02-17 Joseph Myers <joseph@codesourcery.com>
24987
24988 [BZ #10210]
24989 * manual/process.texi (execle): Move @dots{} before last argument.
24990
79c6869c
PB
249912012-02-17 Paul Bolle <pebolle@tiscali.nl>
24992
24993 [BZ #12047]
24994 * manual/charset.texi (Generic Charset Conversion): Fix typo
24995 (LC_TYPE -> LC_CTYPE).
24996
cc6e48bc
NB
249972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24998
24999 [BZ #5805]
25000 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25001 (scalbnf): Likewise.
25002 (scalbnl): Likewise.
25003 (scalbln): Likewise.
25004 (scalblnf): Likewise.
25005 (scalblnl): Likewise.
25006 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25007 (vwarnx): Likewise.
25008 (verr): Likewise.
25009 (verrx): Likewise.
25010 * manual/filesys.texi (telldir): Use braces around return type.
25011 * manual/llio.texi (mmap): Add space after comma.
25012 (mmap64): Likewise.
25013 * manual/math.texi (jn): Use @var{} on parameter names.
25014 (jnf): Likewise.
25015 (jnl): Likewise.
25016 (yn): Likewise.
25017 (ynf): Likewise.
25018 (ynl): Likewise.
25019 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25020 line.
25021 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25022 "...".
25023 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25024 (sched_get_priority_max): Likewise.
25025 * manual/signal.texi (sigvec): Add space after comma.
25026 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25027 names.
25028 (if_indextoname): Likewise.
25029 (if_freenameindex): Likewise.
25030 (sendto): Use ',' instead of '.' in prototype.
25031 * manual/startup.texi (syscall): Use @dots{} instead of literal
25032 "...".
25033 * manual/stdio.texi (__fpending): Separate initial words of
25034 paragraph from @deftypefun line.
25035 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25036 "...".
25037 (vsyslog): Use @var{} on parameter names.
25038 * manual/terminal.texi (stty): Use @var{} on parameter names.
25039 * manual/users.texi (getutmp): Use @var{} on parameter names.
25040 (getutmpx): Likewise.
25041
5b23062f
JM
250422012-02-17 Joseph Myers <joseph@codesourcery.com>
25043
25044 [BZ #6884]
25045 * manual/stdio.texi (fopen): Fix typos in description of
25046 ",ccs=STRING".
25047
8dee4833
AJ
250482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25049
25050 [BZ #4026]
25051 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25052 get clock_id definition.
25053
9078ce93
TS
250542012-02-17 Thomas Schwinge <thomas@schwinge.name>
25055
25056 [BZ #4822]
25057 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25058 (madvise): Cast every argument to void on its own.
25059
3835c55f
JM
250602012-02-17 Joseph Myers <joseph@codesourcery.com>
25061
25062 [BZ #9902]
25063 * manual/startup.texi (Exit Status): Fix typo.
25064
35c47e37
JM
250652012-02-17 Joseph Myers <joseph@codesourcery.com>
25066
25067 [BZ #10140]
25068 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25069 * manual/examples/argp-ex2.c: Likewise.
25070 * manual/examples/argp-ex3.c: Likewise.
25071
e3b69ca7
RH
250722012-02-16 Richard Henderson <rth@redhat.com>
25073
25074 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25075 * sysdeps/s390/s390-32/initfini.c: Remove.
25076 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25077 * sysdeps/s390/s390-64/initfini.c: Remove.
25078
df83af67
KK
250792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25080
25081 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25082 compiler output for sysdeps/generic/initfini.c.
25083 * sysdeps/sh/elf/initfini.c: Remove file.
25084
f63f3380
DM
250852012-02-16 David S. Miller <davem@davemloft.net>
25086
fb59b3a4
DM
25087 [BZ #11494]
25088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25089
f63f3380
DM
25090 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25091 * sysdeps/sparc/crti.S: New file.
25092 * sysdeps/sparc/crtn.S: New file.
25093 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25094 * sysdeps/sparc/sparc64/Makefile: Likewise.
25095
df6a4a4a
MF
250962012-02-15 Mike Frysinger <vapier@gentoo.org>
25097
6dd8f3dc 25098 [BZ #3335]
df6a4a4a
MF
25099 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25100
1cac7236
RM
251012012-02-15 Roland McGrath <roland@hack.frob.com>
25102
d2c736f8
RM
25103 [BZ #4822]
25104 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25105
1cac7236
RM
25106 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25107 (write, read, close): Likewise.
25108 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25109
8e475601
JM
251102012-02-15 Joseph Myers <joseph@codesourcery.com>
25111
25112 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25113 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25114 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25115 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25116 <bits/signalfd.h>.
25117 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25119 bits/signalfd.h.
25120
ed656b40
MP
251212012-02-14 Marek Polacek <polacek@redhat.com>
25122
25123 * sysdeps/x86_64/crti.S: New file.
25124 * sysdeps/x86_64/crtn.S: New file.
25125 * sysdeps/x86_64/elf/initfini.c: Remove file.
25126
2a979d3a
JM
251272012-02-13 Joseph Myers <joseph@codesourcery.com>
25128
25129 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25130 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25131 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25132 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25133 <bits/inotify.h>.
25134 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25136 bits/inotify.h.
25137
2a418ac3
JM
251382012-02-13 Joseph Myers <joseph@codesourcery.com>
25139
25140 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25141 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25142 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25143 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25144 <bits/eventfd.h>.
25145 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25147 bits/eventfd.h.
25148
fb779be7
TS
251492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25150
e19e83c5
RM
25151 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25152 __feraiseexcept instead of feraiseexcept.
7c35ffed 25153
fb779be7
TS
25154 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25155 nanosleep invocations.
25156 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25157 strings, and add error checking for a nanosleep invocations.
25158
59ba27a6
PE
251592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25160
25161 Replace FSF snail mail address with URLs, as per GNU coding standards.
25162 Most of the snail mail addresses were wrong anyway, and omitting
25163 them makes the source code easier to maintain. Almost all of the
25164 changes are to license notices and to locale LC_IDENTIFICATION
25165 addresses, except for this one:
25166 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25167 not its snail mail address.
25168
57b957eb
RH
251692012-02-09 Richard Henderson <rth@twiddle.net>
25170
af850b1c
RH
25171 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25172 of kernel-features.h.
25173
57b957eb
RH
25174 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25175
6b73181a
MP
251762012-02-08 Marek Polacek <polacek@redhat.com>
25177
25178 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25179 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25180 * sysdeps/gnu/_G_config.h: Likewise.
25181 * sysdeps/generic/_G_config.h: Likewise.
25182
26ecc33a
AS
251832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25184
6c6dbc63
AS
25185 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25186 tests.
25187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25188
e216c012
AS
25189 * sysdeps/powerpc/powerpc32/crti.S: New file.
25190 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25191 * sysdeps/powerpc/powerpc64/crti.S: New file.
25192 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25193
26ecc33a
AS
25194 * Makeconfig (have-initfini): Don't set.
25195 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25196 * configure.in (nopic_initfini): Don't substitute.
25197 * config.h.in (HAVE_INITFINI): Don't #undef.
25198 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25199 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25200
3add8e13
JM
252012012-02-08 Joseph Myers <joseph@codesourcery.com>
25202
25203 Support crti.S and crtn.S provided directly by architectures.
25204 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25205 [crti.S in sysdirs] (omit-deps): Likewise.
25206 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25207 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25208 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25209 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25210 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25211 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25212 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25213 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25214 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25215 compiler output for sysdeps/generic/initfini.c.
25216 * sysdeps/i386/elf/Makefile: Remove file.
25217 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25218
a22f12b4
MP
252192012-02-07 Marek Polacek <polacek@redhat.com>
25220
25221 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25222 * sysdeps/gnu/_G_config.h: Likewise.
25223 * sysdeps/mach/hurd/_G_config.h: Likewise.
25224
148cf100
MP
252252012-02-07 Marek Polacek <polacek@redhat.com>
25226
25227 * math/Makefile (tests): Add tst-CMPLX2.
25228 * math/tst-CMPLX2.c: New file.
25229
cfdc0dd7
AS
252302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25231
84ba42c4
AS
25232 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25233
cfdc0dd7
AS
25234 * math/libm-test.inc (jn_test): Add missing L suffix.
25235
622c86f4
MP
252362012-02-06 Marek Polacek <polacek@redhat.com>
25237
25238 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25239 * sysdeps/i386/fpu/e_powf.S: Likewise.
25240 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25241 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25242 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25243 * sysdeps/i386/fpu/e_pow.S: Likewise.
25244 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25245 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25246 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25247 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25248 * sysdeps/i386/fpu/e_log2.S: Likewise.
25249 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25250 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25251 * sysdeps/i386/fpu/e_powl.S: Likewise.
25252 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25253 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25254 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25255 * sysdeps/i386/fpu/e_logl.S: Likewise.
25256 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25257 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25258 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25259 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25260 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25261 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25262 * sysdeps/i386/fpu/e_log.S: Likewise.
25263 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25264 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25265 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25266 * sysdeps/i386/fpu/e_logf.S: Likewise.
25267 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25268 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25269 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25270 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25271 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25272 * sysdeps/i386/fpu/e_log10.S: Likewise.
25273 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25274 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25275 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25276 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25277 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25278 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25279 * sysdeps/i386/asm-syntax.h: Likewise.
25280 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25282 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25283 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25284 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25285 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25286 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25287 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25288 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25289 * sysdeps/powerpc/sysdep.h: Likewise.
25290 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25291 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25292
d4a54ac6
JM
252932012-02-06 Joseph Myers <joseph@codesourcery.com>
25294
25295 [BZ #411]
25296 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25297
314054ea
JM
252982012-02-06 Joseph Myers <joseph@codesourcery.com>
25299
25300 * sysdeps/i386/sysdep.h: Include <features.h>.
25301 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25302 version.
25303
d8e0ca50
JM
253042012-02-05 Joseph Myers <joseph@codesourcery.com>
25305
25306 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25307 Define.
25308 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25309 LOAD_PIC_REG_STR.
25310
b1da7dd9
JM
253112012-02-03 Joseph Myers <joseph@codesourcery.com>
25312
25313 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25314 (SETUP_PIC_REG): Use GET_PC_THUNK.
25315 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25316 macro.
25317
9a1d9254
JM
253182012-02-03 Joseph Myers <joseph@codesourcery.com>
25319
25320 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25321 for non-PIC compilation.
25322 (SETUP_PIC_REG): Add .p2align directive.
25323 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25324 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25325 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25326 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25327 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25328 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25329 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25330 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25331 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25332 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25333 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25334 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25335 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25336 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25337 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25338 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25339 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25340 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25341 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25342 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25343 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25344 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25345 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25346 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25349 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25350 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25351 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25352 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25353 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25354 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25355 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25356 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25357 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25358 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25359 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25360 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25361 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25362 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25363 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25364
65dc3b75
JM
253652012-02-03 Joseph Myers <joseph@codesourcery.com>
25366
25367 * math/tst-CMPLX.c: Include <stdio.h>.
25368
d55bf177
JM
253692012-01-31 Joseph Myers <joseph@codesourcery.com>
25370
25371 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25372 float.
25373 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25374 * sysdeps/sparc/bits/mathdef.h: Likewise.
25375
69db4f8f
MP
253762012-01-31 Marek Polacek <polacek@redhat.com>
25377
25378 * libio/libio.h: Don't define _PARAMS.
25379 * locale/programs/config.h: Don't define PARAMS.
25380 * stdlib/strtol_l.c: Likewise.
25381 (__strtol_l): Remove PARAMS from the prototype.
25382
41b81892
UD
253832012-01-31 Ulrich Drepper <drepper@gmail.com>
25384
3b49edc0
UD
25385 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25386 names. Just use the correct names. Remove unnecessary wrapper
25387 functions.
25388 * malloc/arena.c: Likewise.
25389 * malloc/hooks.c: Likewise.
25390
41b81892
UD
25391 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25392 ARENA_TEST says not to. Simplify test for creation of a new arena.
25393 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25394
27a25b6e
UD
253952012-01-30 Ulrich Drepper <drepper@gmail.com>
25396
25397 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25398 into tail calls.
25399 (update_get_addr): New function.
25400 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25401 GET_ADDR_MODULE parameter.
25402
c8a89e7d
JM
254032012-01-30 Joseph Myers <joseph@codesourcery.com>
25404
25405 * crypt/cert.c: Remove __STDC__ conditionals.
25406 * crypt/crypt-entry.c: Likewise.
25407 * crypt/crypt_util.c: Likewise.
25408 * libio/filedoalloc.c: Likewise.
25409 * libio/fileops.c: Likewise.
25410 * libio/genops.c: Likewise.
25411 * libio/iofclose.c: Likewise.
25412 * libio/iofdopen.c: Likewise.
25413 * libio/iofopen.c: Likewise.
25414 * libio/iofopen64.c: Likewise.
25415 * libio/iogetdelim.c: Likewise.
25416 * libio/iopopen.c: Likewise.
25417 * libio/obprintf.c: Likewise.
25418 * libio/oldfileops.c: Likewise.
25419 * libio/oldiofclose.c: Likewise.
25420 * libio/oldiofdopen.c: Likewise.
25421 * libio/oldiofopen.c: Likewise.
25422 * libio/oldiopopen.c: Likewise.
25423 * libio/wfiledoalloc.c: Likewise.
25424 * libio/wgenops.c: Likewise.
25425 * locale/programs/xmalloc.c: Likewise.
25426 * misc/syslog.c: Likewise.
25427 * stdio-common/xbug.c: Likewise.
25428 * string/memchr.c: Likewise.
25429 * string/memcmp.c: Likewise.
25430 * string/memrchr.c: Likewise.
25431 * string/rawmemchr.c: Likewise.
25432 * sysdeps/posix/getcwd.c: Likewise.
25433 * time/strftime_l.c: Likewise.
25434
3b100462
JM
254352012-01-30 Joseph Myers <joseph@codesourcery.com>
25436
25437 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25438 * config.make.in (config-cflags-sse2avx): Define.
25439 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25440 Fix typo.
25441
607998af
CM
254422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25443
25444 * scripts/config.guess: Update from upstream config git repository.
25445 * scripts/config.sub: Likewise.
25446
3601428f
CM
254472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25448
3ac8b282
CM
25449 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25450 (EM_NUM): Update.
25451 (R_TILEPRO_*, R_TILEGX_*): New macros.
25452
e034841e
CM
25453 * scripts/firstversions.awk: Fix bug in version range handling.
25454
540d7568
CM
25455 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25456
3601428f
CM
25457 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25458
463de862
CM
25459 * include/sys/epoll.h: New file.
25460 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25461 libc_hidden_def.
25462
73139a76
UD
254632012-01-28 Ulrich Drepper <drepper@gmail.com>
25464
96bc5b45
UD
25465 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25466 Avoid unnecessary __WORDSIZE == 64 test.
25467 (fmaxf): Use VEX format if possible.
25468 (fmax): Likewise.
25469 (fminf): Likewise.
25470 (fmin): Likewise.
25471
56f6f6a2
UD
25472 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25473 * math/math_private.h: Remove libc_fegetround* and
25474 libc_fesetround*.
25475 * sysdeps/i386/configure.in: Check for -msse2avx.
25476 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25477 also if SSE2AVX is defined.
25478 Remove libc_fegetround* and libc_fesetround*.
25479 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25480 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25482 of HAS_YMM_USABLE.
25483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25488
73139a76
UD
25489 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25490
d73f93a4
AZ
254912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25492
25493 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25494 size is not set.
25495 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25496
6ee65ed6
UD
254972012-01-27 Ulrich Drepper <drepper@gmail.com>
25498
25499 [BZ #13618]
25500 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25501 relocation.
25502 * Makeconfig (libm): Define.
25503 * elf/Makefile: Add rules to build and run tst-relsort1.
25504 * elf/tst-relsort1.c: New file.
25505 * elf/tst-relsort1mod1.c: New file.
25506 * elf/tst-relsort1mod2.c: New file.
25507
8db21882
JM
255082012-01-27 Joseph Myers <joseph@codesourcery.com>
25509
25510 * math/s_ldexp.c: Remove __STDC__ conditionals.
25511 * math/s_ldexpf.c: Likewise.
25512 * math/s_ldexpl.c: Likewise.
25513 * math/s_nextafter.c: Likewise.
25514 * math/s_nexttowardf.c: Likewise.
25515 * math/s_significand.c: Likewise.
25516 * math/s_significandf.c: Likewise.
25517 * math/s_significandl.c: Likewise.
25518 * math/w_jnl.c: Likewise.
25519 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25520 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25521 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25522 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25523 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25534 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25538 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25539 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25540 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25541 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25542 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25543 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25544 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25545 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25546 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25547 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25548 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25549 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25550 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25551 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25552 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25553 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25554 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25555 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25556 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25557 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25558 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25559 * sysdeps/ieee754/k_standard.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25579 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25609 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25615 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25618 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25621 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25626 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25627 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25635 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25639 * sysdeps/ieee754/s_matherr.c: Likewise.
25640 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25641 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25644
965a54a4
JM
256452012-01-26 Joseph Myers <joseph@codesourcery.com>
25646
25647 * crypt/md5.h: Remove __STDC__ conditionals.
25648 * libio/libioP.h: Likewise.
25649 * locale/programs/config.h: Likewise.
25650 * sysdeps/generic/sysdep.h: Likewise.
25651 * sysdeps/i386/asm-syntax.h: Likewise.
25652 * sysdeps/s390/asm-syntax.h: Likewise.
25653 * sysdeps/unix/sysdep.h: Likewise.
25654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25656
7071ad79
JM
256572012-01-26 Joseph Myers <joseph@codesourcery.com>
25658
25659 * libio/libio.h: Remove __STDC__ conditionals.
25660 * malloc/obstack.h: Likewise.
25661 * math/complex.h: Likewise.
25662 * math/math.h: Likewise.
25663 * sysdeps/generic/_G_config.h: Likewise.
25664 * sysdeps/gnu/_G_config.h: Likewise.
25665 * sysdeps/mach/hurd/_G_config.h: Likewise.
25666 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25667 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25668 * sysdeps/sparc/bits/mathdef.h: Likewise.
25669
afc5ed09
UD
256702012-01-26 Ulrich Drepper <drepper@gmail.com>
25671
25672 [BZ #13583]
25673 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25674 Clean up HAS_* macros.
afc5ed09 25675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25676 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25677 possible.
25678 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25679 HAS_AVX.
25680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25685
bdb6de1d
JM
256862012-01-25 Joseph Myers <joseph@codesourcery.com>
25687
25688 * elf/tst-unique3.cc (gets): Remove declaration.
25689 * elf/tst-unique3lib.cc (gets): Likewise.
25690 * elf/tst-unique3lib2.cc (gets): Likewise.
25691 * elf/tst-unique4.cc (gets): Likewise.
25692
b15549e6
UD
256932012-01-24 Ulrich Drepper <drepper@gmail.com>
25694
25695 * include/stdio.h: Add C++ protection. Add gets declarations and
25696 definitions.
25697 * debug/tst-chk1.c: Don't declare gets here.
25698 * stdio-common/tst-gets.c: Likewise.
25699
a037381f
JM
257002012-01-24 Joseph Myers <joseph@codesourcery.com>
25701
25702 * posix/glob: Remove directory.
25703
f1d4aa75
JM
257042012-01-24 Joseph Myers <joseph@codesourcery.com>
25705
25706 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25707
81c0c964
PT
257082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25709
25710 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25711 of the non-standard EPFNOSUPPORT.
25712
0ea698ae
ST
257132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25714
25715 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25716 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25717 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25718
d220b117
UD
257192012-01-21 Ulrich Drepper <drepper@gmail.com>
25720
25721 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25722
3e1aa84e
UD
257232012-01-20 Ulrich Drepper <drepper@gmail.com>
25724
25725 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25726 transient errors.
25727 * nscd/grpcache.c (cache_addgr): Likewise.
25728 * nscd/hstcache.c (cache_addhst): Likewise.
25729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25730 * nscd/pwdcache.c (cache_addpw): Likewise.
25731 * nscd/servicescache.c (cache_addserv): Likewise.
25732
400aa020
UD
257332012-01-16 Ulrich Drepper <drepper@gmail.com>
25734
d77e7869
UD
25735 * malloc/malloc.c: Various cleanups.
25736 * malloc/hooks.c: Likewise.
25737
400aa020
UD
25738 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25739 * stdlib/bug-fmtmsg1.c: New file.
25740
25741 * stdlib/fmtmsg.c (init): Add missing unlock.
25742 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25743
e0a309cf
MP
257442012-01-12 Marek Polacek <polacek@redhat.com>
25745
25746 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25747 and _GNU_SOURCE.
25748
929d11c7
WS
257492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25750
25751 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25752 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25753 macro to ensure uniqueness of label name.
25754 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25755 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25756
41d0e869
UD
257572012-01-11 Ulrich Drepper <drepper@gmail.com>
25758
0cc5ed3b
UD
25759 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25760
41d0e869
UD
25761 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25762 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25763 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25765
a47a831a
UD
257662012-01-10 Ulrich Drepper <drepper@gmail.com>
25767
daa891c0
UD
25768 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25769
25770 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25771 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25772 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25773
e58ef0f2
UD
25774 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25775
a47a831a 25776 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25777 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25779 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25780
25781 * math/bits/math-finite.h: Add ldexp support.
25782
a0bfc9c7
MP
257832012-01-10 Marek Polacek <polacek@redhat.com>
25784
25785 * locale/programs/localedef.h (show_archive_content): Add noreturn
25786 attribute.
25787
d6e97a1d
UD
257882012-01-09 Ulrich Drepper <drepper@gmail.com>
25789
25790 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25791
d5835c26
UD
257922012-01-08 Ulrich Drepper <drepper@gmail.com>
25793
e5f484c6
UD
25794 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25795
d5835c26
UD
25796 * io/Makefile (headers): Add bits/poll2.h.
25797
d1f741e9
WS
257982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25799
25800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25801 typo #include statement.
25802
ec09c1c4
UD
258032012-01-08 Ulrich Drepper <drepper@gmail.com>
25804
25805 * include/sys/cdefs.h: Define __attribute_alloc_size.
25806 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25807 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25808 * elf/pldd.c: Likewise.
25809 * iconv/iconv_charmap.c: Likewise.
25810 * iconv/iconvconfig.c: Likewise.
25811 * iconv/strtab.c: Likewise.
25812 * locale/programs/locale.c: Likewise.
25813 * locale/programs/localedef.h: Likewise.
25814 * locale/programs/simple-hash.c: Likewise.
25815 * nscd/nscd.h: Likewise.
25816 * nss/makedb.c: Likewise.
25817 * sysdeps/generic/ldconfig.h: Likewise.
25818 * locale/programs/localedef.c: Remove xmalloc prototype.
25819 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25820
20b38e03
PP
258212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25822
25823 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25824 appropriate.
25825
a0da5fe1
UD
258262012-01-08 Ulrich Drepper <drepper@gmail.com>
25827
1d5a644a 25828 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25829 * math/tst-CMPLX.c: New file.
1d5a644a 25830
8784a6db
UD
25831 * math/complex.h (CMPLXL): Fix typo.
25832
d9a216c0
UD
25833 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25834 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25835 GLIBC_2.16.
25836 * debug/tst-chk1.c: Add poll and ppoll tests.
25837 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25838 * include/sys/poll.h: Add hidden proto for ppoll.
25839 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25840 * sysdeps/mach/hurd/ppoll.c: Likewise.
25841 * io/ppoll.c: Likewise.
25842 * debug/poll_chk.c: New file.
25843 * debug/ppoll_chk.c: New file.
25844 * include/bits/poll2.h: New file.
25845 * io/bits/poll2.h: New file.
25846
ac097f5c
UD
25847 [BZ #1350]
25848 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25849
2119dcfa
UD
25850 * configure.in: static is always set to yes. Remove.
25851 * config.make.in: Don't set build-static.
25852 * Makeconfig: Remove use of build-static.
25853 * dlfcn/Makefile: Likewise.
25854 * elf/Makefile: Likewise.
25855 * math/Makefile: Likewise.
25856 * misc/Makefile: Likewise.
25857 * nptl/Makefile: Likewise.
25858 * sysdeps/mach/hurd/Makefile: Likewise.
25859
121766a9
UD
25860 * configure.in: PWD_P is not used anymore.
25861 * config.make.in: Remove PWD_P entry.
25862
51a1d39c 25863 * configure.in: Remove last remnants of RANLIB.
8720d066 25864 No need to check for signed size_t anymore.
215f4bdc
UD
25865 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25866 and IA-64.
3857022a 25867 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25868 * aclocal.m4: Likewise.
25869
d3ed7225
UD
25870 * wcsmbs/mbrtoc16.c: Implement using towc function.
25871 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25872 * wcsmbs/wcsmbsload.c: Likewise.
25873 * iconv/gconv_simple.c: Likewise.
25874 * iconv/gconv_int.h: Likewise.
25875 * iconv/gconv_builtin.h: Likewise.
25876 * iconv/iconv_prog.c: Remove CHAR16 handling.
25877
25878 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25879
25880 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25881
a0da5fe1
UD
25882 * configure.in: Remove --with-elf and --enable-bounded options.
25883 Dont set base_machine for ia64. More non-ELF conditions removed.
25884 Remove testing and setting of leading underscore information.
25885 * config.make.in (build-bounded): Set to no.
25886 * config.h.in: Remove NO_UNDERSCORES entry.
25887 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25888 them.
25889 * csu/start.c: Remove !NO_UNDERSCORE code.
25890 * locale/localeinfo.h: Likewise.
25891 * sysdeps/generic/machine-gmon.h: Likewise.
25892 * sysdeps/generic/sysdep.h: Likewise.
25893 * sysdeps/i386/sysdep.h: Likewise.
25894 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25895 * sysdeps/mach/sysdep.h: Likewise.
25896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25897 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25898 * sysdeps/sh/sysdep.h: Likewise.
25899 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25900 * sysdeps/unix/i386/sysdep.S: Likewise.
25901 * sysdeps/unix/sparc/start.c: Likewise.
25902 * sysdeps/unix/sparc/sysdep.S: Likewise.
25903 * sysdeps/unix/sparc/sysdep.h: Likewise.
25904 * sysdeps/unix/start.c: Likewise.
25905 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25906 * sysdeps/x86_64/sysdep.h: Likewise.
25907
df78418a
UD
259082012-01-07 Ulrich Drepper <drepper@gmail.com>
25909
a784e502
UD
25910 [BZ #13553]
25911 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25912 for non-gcc.
25913 * argp/argp-fmtstream.h: Use const instead __const.
25914 * argp/argp.h: Likewise.
25915 * assert/assert.h: Likewise.
25916 * bits/fenv.h: Likewise.
25917 * bits/sched.h: Likewise.
25918 * bits/sigset.h: Likewise.
25919 * bits/sigthread.h: Likewise.
25920 * catgets/nl_types.h: Likewise.
25921 * conform/data/pthread.h-data: Likewise.
25922 * crypt/crypt-private.h: Likewise.
25923 * crypt/crypt.h: Likewise.
25924 * crypt/crypt_util.c: Likewise.
25925 * ctype/ctype.h: Likewise.
25926 * debug/execinfo.h: Likewise.
25927 * debug/mbsnrtowcs_chk.c: Likewise.
25928 * debug/mbsrtowcs_chk.c: Likewise.
25929 * debug/wcsnrtombs_chk.c: Likewise.
25930 * debug/wcsrtombs_chk.c: Likewise.
25931 * debug/wcstombs_chk.c: Likewise.
25932 * dirent/dirent.h: Likewise.
25933 * dlfcn/dlfcn.h: Likewise.
25934 * elf/neededtest4.c: Likewise.
25935 * grp/grp.h: Likewise.
25936 * gshadow/gshadow.h: Likewise.
25937 * iconv/gconv.h: Likewise.
25938 * iconv/gconv_int.h: Likewise.
25939 * iconv/gconv_simple.c: Likewise.
25940 * iconv/iconv.h: Likewise.
25941 * iconv/loop.c: Likewise.
25942 * iconv/skeleton.c: Likewise.
25943 * include/aio.h: Likewise.
25944 * include/aliases.h: Likewise.
25945 * include/argz.h: Likewise.
25946 * include/arpa/inet.h: Likewise.
25947 * include/assert.h: Likewise.
25948 * include/dirent.h: Likewise.
25949 * include/dlfcn.h: Likewise.
25950 * include/execinfo.h: Likewise.
25951 * include/fcntl.h: Likewise.
25952 * include/fenv.h: Likewise.
25953 * include/glob.h: Likewise.
25954 * include/grp.h: Likewise.
25955 * include/libintl.h: Likewise.
25956 * include/mntent.h: Likewise.
25957 * include/netdb.h: Likewise.
25958 * include/pwd.h: Likewise.
25959 * include/rpc/netdb.h: Likewise.
25960 * include/sched.h: Likewise.
25961 * include/search.h: Likewise.
25962 * include/shadow.h: Likewise.
25963 * include/signal.h: Likewise.
25964 * include/stdio.h: Likewise.
25965 * include/stdlib.h: Likewise.
25966 * include/string.h: Likewise.
25967 * include/sys/socket.h: Likewise.
25968 * include/sys/stat.h: Likewise.
25969 * include/sys/statfs.h: Likewise.
25970 * include/sys/statvfs.h: Likewise.
25971 * include/sys/syslog.h: Likewise.
25972 * include/sys/time.h: Likewise.
25973 * include/sys/uio.h: Likewise.
25974 * include/time.h: Likewise.
25975 * include/unistd.h: Likewise.
25976 * include/utmp.h: Likewise.
25977 * include/wchar.h: Likewise.
25978 * include/wctype.h: Likewise.
25979 * inet/aliases.h: Likewise.
25980 * inet/arpa/inet.h: Likewise.
25981 * inet/netinet/ether.h: Likewise.
25982 * inet/netinet/in.h: Likewise.
25983 * intl/libintl.h: Likewise.
25984 * io/bits/fcntl2.h: Likewise.
25985 * io/fcntl.h: Likewise.
25986 * io/ftw.h: Likewise.
25987 * io/sys/poll.h: Likewise.
25988 * io/sys/stat.h: Likewise.
25989 * io/sys/statfs.h: Likewise.
25990 * io/sys/statvfs.h: Likewise.
25991 * io/utime.h: Likewise.
25992 * libio/bits/stdio.h: Likewise.
25993 * libio/bits/stdio2.h: Likewise.
25994 * libio/libio.h: Likewise.
25995 * libio/libioP.h: Likewise.
25996 * libio/stdio.h: Likewise.
25997 * locale/lc-ctype.c: Likewise.
25998 * locale/locale.h: Likewise.
25999 * login/utmp.h: Likewise.
26000 * malloc/arena.c: Likewise.
26001 * malloc/malloc.c: Likewise.
26002 * malloc/malloc.h: Likewise.
26003 * malloc/mcheck.c: Likewise.
26004 * malloc/mtrace.c: Likewise.
26005 * math/bits/mathcalls.h: Likewise.
26006 * math/fenv.h: Likewise.
26007 * math/math_private.h: Likewise.
26008 * misc/bits/error.h: Likewise.
26009 * misc/bits/syslog.h: Likewise.
26010 * misc/err.h: Likewise.
26011 * misc/error.h: Likewise.
26012 * misc/fstab.h: Likewise.
26013 * misc/mntent.h: Likewise.
26014 * misc/regexp.h: Likewise.
26015 * misc/search.h: Likewise.
26016 * misc/sgtty.h: Likewise.
26017 * misc/sys/mman.h: Likewise.
26018 * misc/sys/syslog.h: Likewise.
26019 * misc/sys/uio.h: Likewise.
26020 * misc/sys/xattr.h: Likewise.
26021 * misc/ttyent.h: Likewise.
26022 * nis/rpcsvc/ypclnt.h: Likewise.
26023 * nss/nss.h: Likewise.
26024 * posix/bits/unistd.h: Likewise.
26025 * posix/fnmatch.h: Likewise.
26026 * posix/glob.h: Likewise.
26027 * posix/sched.h: Likewise.
26028 * posix/spawn.h: Likewise.
26029 * posix/sys/wait.h: Likewise.
26030 * posix/unistd.h: Likewise.
26031 * posix/wordexp.h: Likewise.
26032 * pwd/pwd.h: Likewise.
26033 * resolv/netdb.h: Likewise.
26034 * resource/sys/resource.h: Likewise.
26035 * rt/aio.h: Likewise.
26036 * rt/bits/mqueue2.h: Likewise.
26037 * rt/mqueue.h: Likewise.
26038 * shadow/shadow.h: Likewise.
26039 * signal/signal.h: Likewise.
26040 * socket/send.c: Likewise.
26041 * socket/sendto.c: Likewise.
26042 * socket/sys/socket.h: Likewise.
26043 * stdio-common/printf.h: Likewise.
26044 * stdlib/bits/stdlib.h: Likewise.
26045 * stdlib/fmtmsg.h: Likewise.
26046 * stdlib/monetary.h: Likewise.
26047 * stdlib/stdlib.h: Likewise.
26048 * stdlib/ucontext.h: Likewise.
26049 * streams/stropts.h: Likewise.
26050 * string/argz.h: Likewise.
26051 * string/bits/string2.h: Likewise.
26052 * string/string.h: Likewise.
26053 * string/strings.h: Likewise.
26054 * sunrpc/rpc/auth.h: Likewise.
26055 * sunrpc/rpc/auth_des.h: Likewise.
26056 * sunrpc/rpc/clnt.h: Likewise.
26057 * sunrpc/rpc/netdb.h: Likewise.
26058 * sunrpc/rpc/pmap_clnt.h: Likewise.
26059 * sunrpc/rpc/xdr.h: Likewise.
26060 * sysdeps/generic/inttypes.h: Likewise.
26061 * sysdeps/generic/net/if.h: Likewise.
26062 * sysdeps/generic/sys/swap.h: Likewise.
26063 * sysdeps/gnu/net/if.h: Likewise.
26064 * sysdeps/gnu/utmpx.h: Likewise.
26065 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26066 * sysdeps/i386/i486/bits/string.h: Likewise.
26067 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26068 * sysdeps/s390/bits/string.h: Likewise.
26069 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26070 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26071 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26072 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26073 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26074 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26075 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26076 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26077 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26078 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26079 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26080 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26081 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26082 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26083 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26084 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26085 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26088 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26089 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26090 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26091 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26092 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26093 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26094 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26095 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26097 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26098 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26099 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26100 * sysvipc/sys/ipc.h: Likewise.
26101 * sysvipc/sys/msg.h: Likewise.
26102 * sysvipc/sys/sem.h: Likewise.
26103 * sysvipc/sys/shm.h: Likewise.
26104 * termios/termios.h: Likewise.
26105 * time/sys/time.h: Likewise.
26106 * time/time.h: Likewise.
26107 * wcsmbs/bits/wchar2.h: Likewise.
26108 * wcsmbs/uchar.h: Likewise.
26109 * wcsmbs/wchar.h: Likewise.
26110 * wctype/wctype.h: Likewise.
26111
0269750c
UD
26112 [BZ #13551]
26113 * Makeconfig: Remove all but ELF support including AIX support.
26114 * Makerules: Likewise.
26115 * config.h.in: Likewise.
26116 * config.make.in: Likewise.
26117 * configure: Likewise.
26118 * configure.in: Likewise.
26119 * csu/Makefile: Likewise.
26120 * csu/version.c: Likewise.
26121 * debug/Makefile: Likewise.
26122 * dlfcn/Makefile: Likewise.
26123 * elf/Makefile: Likewise.
26124 * extra-lib.mk: Likewise.
26125 * iconv/Makefile: Likewise.
26126 * include/libc-symbols.h: Likewise.
26127 * include/shlib-compat.h: Likewise.
26128 * resolv/Makefile: Likewise.
26129 * resolv/res_libc.c: Likewise.
26130 * rt/Makefile: Likewise.
26131 * sysdeps/i386/asm-syntax.h: Likewise.
26132 * sysdeps/i386/sysdep.h: Likewise.
26133 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26134 * sysdeps/mach/sysdep.h: Likewise.
26135 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26136 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26137 * sysdeps/s390/asm-syntax.h: Likewise.
26138 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26140 * sysdeps/sh/sysdep.h: Likewise.
26141 * sysdeps/unix/sparc/sysdep.h: Likewise.
26142 * sysdeps/wordsize-32/divdi3.c: Likewise.
26143 * sysdeps/x86_64/sysdep.h: Likewise.
26144
00bbd29b
UD
26145 * argp/Versions: Remove _argp_unlock_xxx.
26146
26147 [BZ #13559]
26148 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26149 * abilist/libBrokenLocale.abilist: Likewise.
26150 * abilist/libanl.abilist: Likewise.
26151 * abilist/libc.abilist: Likewise.
26152 * abilist/libcrypt.abilist: Likewise.
26153 * abilist/libdl.abilist: Likewise.
26154 * abilist/libm.abilist: Likewise.
26155 * abilist/libnsl.abilist: Likewise.
26156 * abilist/libpthread.abilist: Likewise.
26157 * abilist/libresolv.abilist: Likewise.
26158 * abilist/librt.abilist: Likewise.
26159 * abilist/libthread_db.abilist: Likewise.
26160 * abilist/libutil.abilist: Likewise.
26161 * abilist/libnss_db.abilist: New file.
26162
26163 * scripts/abilist.awk: Add support for indirect functions.
26164
a2693a0e
UD
26165 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26166
3f05895f
UD
26167 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26168
ecb6fb48
UD
26169 * shlib-versions: Remove entries for ports architectures.
26170
664f8cb9
UD
26171 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26172 files in ports.
26173 * elf/stackguard-macros.h: Remove support for IA-64.
26174 * elf/tst-auditmod1.c: Likewise.
26175 * sysdeps/generic/ldsodefs.h: Likewise.
26176
7ae81d88
UD
26177 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26178 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26179 configure files.
26180
bdeba135
UD
26181 [BZ #13552]
26182 * configure.in: Remove --enable-omitfp support.
26183 * FAQ.in: Adjust.
26184 * config.make.in: Likewise.
26185 * Makeconfig: Likewise.
26186 * manual/install.texi: Likewise.
26187
d75a0a62
UD
26188 In case anyone cares, the IA-64 architecture could move to ports.
26189 * sysdeps/ia64/*: Removed.
26190 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26191 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26192
dcc9756b
UD
26193 [BZ #13555]
26194 * configure.in: Remove entries for unsupported architectures.
26195
d3761ebc 26196 [BZ #13533]
9954432e
UD
26197 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26198 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26199 routines.
26200 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26201 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26202 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26203 fall back to using wcrtomb.
26204 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26205 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26206 renaming.
26207 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26208 * wcsmbs/tst-c16c32-1.c: New file.
26209
26210 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26211 local variable.
26212
c3a87236
UD
26213 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26214
28926a1b
UD
26215 * elf/tst-unique3.cc: Add explicit declaration of gets.
26216 * elf/tst-unique3lib.cc: Likewise.
26217 * elf/tst-unique3lib2.cc: Likewise.
26218 * elf/tst-unique4.cc: Likewise.
26219
df78418a
UD
26220 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26221
8ecd6b2a
JM
262222012-01-06 Joseph Myers <joseph@codesourcery.com>
26223
26224 [BZ #13566]
26225 * assert/assert.h (static_assert): Don't define for C++.
26226 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26227 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26228
9f115170
UD
262292012-01-03 Ulrich Drepper <drepper@gmail.com>
26230
5e0d0300
UD
26231 * iconv/loop.c (single loop): Fix assertion in storing of
26232 remaining bytes.
26233
9f115170
UD
26234 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26235
81fb02b0
UD
262362012-01-01 Ulrich Drepper <drepper@gmail.com>
26237
26238 * posix/getconf.c: Update copyright year.
26239 * nss/getent.c: Likewise.
a316c1f6 26240 * nss/makedb.c: Likewise.
81fb02b0
UD
26241 * iconv/iconvconfig.c: Likewise.
26242 * iconv/iconv_prog.c: Likewise.
26243 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26244 * elf/pldd.c: Likewise.
26245 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26246 * catgets/gencat.c: Likewise.
26247 * csu/version.c: Likewise.
26248 * elf/ldd.bash.in: Likewise.
26249 * elf/sprof.c (print_version): Likewise.
26250 * locale/programs/locale.c: Likewise.
26251 * locale/programs/localedef.c: Likewise.
a316c1f6 26252 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26253 * nscd/nscd.c (print_version): Likewise.
26254 * debug/xtrace.sh: Likewise.
26255 * malloc/memusage.sh: Likewise.
26256 * malloc/mtrace.pl: Likewise.
26257 * debug/catchsegv.sh: Likewise.
26258
2ba92745
JJ
262592011-12-30 Jakub Jelinek <jakub@redhat.com>
26260
26261 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26262 pure attribute.
26263
dadebdae
UD
262642011-12-24 Ulrich Drepper <drepper@gmail.com>
26265
d3761ebc 26266 [BZ #13533]
db6af3eb
UD
26267 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26268 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26269 transformations.
26270 * iconv/gconv_int.h: Likewise.
26271 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26272 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26273 from libc for GLIBC_2.16.
26274 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26275 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26276 * wcsmbs/uchar.h: Really define mbstate_t.
26277 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26278 * wcsmbs/c16rtomb.c: New file.
26279 * wcsmbs/mbrtoc16.c: New file.
26280 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26281 for C/POSIX locale.
26282 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26283 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26284
dadebdae
UD
26285 * wcsmbs/wchar.h: Add missing __restrict.
26286
67371b56
UD
262872011-12-23 Ulrich Drepper <drepper@gmail.com>
26288
74033a25
UD
26289 [BZ #13532]
26290 * time/Makefile (routines): Add timespec_get.
26291 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26292 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26293 timespec for ISO C11.
26294 * time/timespec_get.c: New file.
26295 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26296 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26297
380d7e87
UD
26298 [BZ #13531]
26299 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26300 * stdlib/stdlib.h: Declare aligned_alloc.
26301 * Versions.def: Add GLIBC_2.16 for libc.
26302 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26303
4e9e7a35
UD
26304 [BZ 13527]
26305 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26306 ISO C11.
26307
380d7e87 26308 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26309 code.
26310
03a71829
UD
26311 [BZ #13528]
26312 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26313
839e283e
UD
26314 [BZ #13529]
26315 * assert/assert.h (static_assert): Define.
26316
ce5294e2 26317 * version.h: Update for 2.16 development version.
90fa7312 26318
8d44e150 26319 [BZ #13526]
d7809905
UD
26320 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26321 _ISOC11_SOURCE.
26322
c0da14cd
UD
26323 * version.h (RELEASE): Bump for 2.15 release.
26324 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26325
530a3249
MP
26326 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26327 Patch by Marek Polacek <mpolacek@redhat.com>.
26328
67371b56
UD
26329 * bits/byteswap.h: Protect long long constants with __extension__.
26330 * sysdeps/i386/bits/byteswap.h: Likewise.
26331 * sysdeps/ia64/bits/byteswap.h: Likewise.
26332 * sysdeps/s390/bits/byteswap.h: Likewise.
26333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26334
15db4de1
LD
263352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26336
26337 [BZ #13540]
bbe315ea
LD
26338 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26339 destination buffer.
15db4de1
LD
26340 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26341
2b2596b1
MP
263422011-12-23 Marek Polacek <polacek@redhat.com>
26343
26344 * elf/dl-addr.c (determine_info): Add inline keyword.
26345 * elf/tst-auditmod4b.c (check_avx): Likewise.
26346 * elf/tst-auditmod6b.c (check_avx): Likewise.
26347 * elf/tst-auditmod6c.c (check_avx): Likewise.
26348 * elf/tst-auditmod7b.c (check_avx): Likewise.
26349
70c6c246
UD
263502011-12-23 Ulrich Drepper <drepper@gmail.com>
26351
26352 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26353 !__SSE_MATH__.
26354
c044cf14
LD
263552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26356
15db4de1 26357 [BZ #13540]
c044cf14
LD
26358 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26359 processing for last bytes.
26360
6b13d9d9
BH
263612011-08-06 Bruno Haible <bruno@clisp.org>
26362
d455f537
BH
26363 [BZ #13061]
26364 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26365 U+0385, not to U+1FEE.
26366
6b13d9d9
BH
26367 [BZ #13062]
26368 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26369 entry for U+00A5 U+0301.
26370
db910efd
UD
263712011-12-22 Ulrich Drepper <drepper@gmail.com>
26372
27deeafc
UD
26373 [BZ #13166]
26374 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26375 buffer for the output is too small.
26376
aed9d171
UD
26377 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26378 optimization.
26379
db910efd
UD
26380 [BZ #13185]
26381 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26382 SSE flags if possible.
26383
2bd779ae
LD
263842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26385
e7f9dac3 26386 [BZ #13540]
2bd779ae
LD
26387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26388 processing for last bytes.
26389
154bfc16
JM
263902011-12-22 Joseph Myers <joseph@codesourcery.com>
26391
26392 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26393 (syscall-list-default-options, syscall-list-default-condition)
26394 (syscall-list-includes): Define.
26395 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26396 list of ABIs and options and #if conditions for each ABI. Do not
26397 handle common syscalls between ABIs specially.
26398 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26399 Remove.
26400 (syscall-list-variants, syscall-list-32bit-options)
26401 (syscall-list-32bit-condition, syscall-list-64bit-options)
26402 (syscall-list-64bit-condition): Define.
26403 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26404 (syscall-list-variants, syscall-list-32bit-options)
26405 (syscall-list-32bit-condition, syscall-list-64bit-options)
26406 (syscall-list-64bit-condition): Define.
26407 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26408 Remove.
26409 (syscall-list-variants, syscall-list-32bit-options)
26410 (syscall-list-32bit-condition, syscall-list-64bit-options)
26411 (syscall-list-64bit-condition): Define.
26412 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26413 Remove.
26414 (syscall-list-variants, syscall-list-32bit-options)
26415 (syscall-list-32bit-condition, syscall-list-64bit-options)
26416 (syscall-list-64bit-condition): Define.
26417
21eaf3a5
UD
264182011-12-22 Ulrich Drepper <drepper@gmail.com>
26419
16c6f992
UD
26420 * locale/iso-639.def: Add brx entry.
26421
41043168
UD
26422 [BZ #13328]
26423 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26424 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26425
21eaf3a5
UD
26426 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26427 __feraiseexcept_renamed.
26428
e3a851a2
UD
264292011-12-21 Ulrich Drepper <drepper@gmail.com>
26430
4920765e
UD
26431 [BZ #13538]
26432 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26433 EPOLLET with unsigned values.
26434 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26435 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26436
e3a851a2
UD
26437 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26438 to large cancellation.
26439 * math/s_cacoshf.c: Likewise.
26440 * math/s_cacoshl.c: Likewise.
26441
b27e24b8
RK
264422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26443
26444 [BZ #13305]
aebefeee 26445 [BZ #12786]
b27e24b8
RK
26446 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26447 * math/s_cacoshf.c: Likewise.
26448 * math/s_cacoshl.c: Likewise.
26449
ee190f67
UD
264502011-12-21 Ulrich Drepper <drepper@gmail.com>
26451
26452 [BZ #13439]
26453 * iconv/gconv.h: Define __GCONV_SWAP.
26454 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26455 * iconvdata/utf-16.c: Likewise.
26456 * iconvdata/utf-32.c: Likewise.
26457
707f25df
AS
264582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26459
26460 [BZ #13524]
26461 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26462 numerator after shifting it by one limb.
26463
d2daaa1e
RÁE
264642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26465
26466 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26467 under [__USE_EXTERN_INLINES].
26468
a4647e72
UD
264692011-12-17 Ulrich Drepper <drepper@gmail.com>
26470
26471 [BZ #13446]
26472 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26473
f0b264f1
AZ
264742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26475
26476 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26477 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26478 optimized code.
26479 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26480 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26481 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26482 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26483 for strncasecmp/strncasecmp_l compilation.
26484 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26485 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26486
8ef4f244
MP
264872011-12-08 Marek Polacek <mpolacek@redhat.com>
26488
26489 [BZ #13484]
26490 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26491 of __asm__.
26492
97ac2654
UD
264932011-12-17 Ulrich Drepper <drepper@gmail.com>
26494
26495 [BZ #13506]
26496 * time/tzfile.c (__tzfile_read): Check values from file header.
26497
91d2a845
WS
264982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26499
26500 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26501 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26502 * powerpc/powerpc32/dl-start.S: Likewise.
26503 * powerpc/powerpc32/elf/start.S: Likewise.
26504 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26505 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26506 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26507 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26508 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26509 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26510 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26511 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26512 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26513 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26514 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26515 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26516 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26517 * powerpc/powerpc32/memset.S: Likewise.
26518 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26519 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26520 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26521 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26522 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26523 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26524 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26525 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26526 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26527 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26528 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26529 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26530 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26531
a1267ba1
AZ
265322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26533
26534 * math/libm-test.inc: Added more nearbyint tests.
26535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26536 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26538 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26539
ad8ac1bd
RL
265402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26541
26542 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26543 FD_CLOEXEC.
26544
1d3e4b61
UD
265452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26546
26547 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26548 Add wcscpy-ssse3 wcscpy-c.
26549 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26550 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26551 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26552 * sysdeps/x86_64/wcschr.S: New file.
26553 * sysdeps/x86_64/wcsrchr.S: New file.
26554 * string/test-strcmp.c: Remove checking of wcscmp function for
26555 wrong alignments.
26556 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26557 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26558 wcsrchr-sse2 wcsrchr-c.
26559 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26560 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26561 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26562 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26563 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26564 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26565 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26566 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26568 * wcsmbc/wcschr.c (WCSCHR): New macro.
26569
5b330a2d
UD
265702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26571
26572 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26573 * wcsmbs/test-wcsrchr.c: New file.
26574 * string/test-strrchr.c: Add wcsrchr support.
26575 (WIDE): New macro.
26576 * wcsmbs/test-wcscpy.c: New file.
26577 * string/test-strcpy.c: Add wcscpy support.
26578 (WIDE): New macro.
26428b7c 26579
f039c043
UD
265802011-12-10 Ulrich Drepper <drepper@gmail.com>
26581
26582 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26583 the inner loop.
26584
850fb039
AS
265852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26586
26587 [BZ #13472]
26588 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26589
4efbd5cb
UD
265902011-12-04 Ulrich Drepper <drepper@gmail.com>
26591
52ff5dd0 26592 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26593 Minor optimizations.
52ff5dd0 26594
4efbd5cb
UD
26595 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26596 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26597 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26598
8a426e12
UD
265992011-12-03 Ulrich Drepper <drepper@gmail.com>
26600
aff2453d
UD
26601 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26602 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26603 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26604 for gcc to avoid warnings.
26605 * inet/Makefile (tests): Add tst-checks.
26606 * inet/tst-checks.c: New file.
26607
26608 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26609 warning.
26610
26611 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26612 __wmemcmp_sse2.
26613
26614 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26615 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26616
8a426e12
UD
26617 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26618
9bea3473
UD
266192011-12-02 Ulrich Drepper <drepper@gmail.com>
26620
3a965496
UD
26621 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26622 problem.
26623
9bea3473
UD
26624 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26625
f101631b
UD
266262011-11-29 Joseph Myers <joseph@codesourcery.com>
26627
26628 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26629 conditional on GCC version.
26630 (__arch_compare_and_exchange_val_8_acq)
26631 (__arch_compare_and_exchange_val_16_acq)
26632 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26633 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26634 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26635
a98275aa
UD
266362011-12-02 Joseph Myers <joseph@codesourcery.com>
26637
26638 * sysdeps/sh/backtrace.c: New file.
26639
d4cc29a2
AS
266402011-12-02 Andreas Schwab <schwab@redhat.com>
26641
26642 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26643 parenthesis.
26644
6257af2d
AS
266452011-12-01 Andreas Schwab <schwab@redhat.com>
26646
26647 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26648 falling back to utime.
26649
b5f44c1a
AS
266502011-11-30 Andreas Schwab <schwab@redhat.com>
26651
26652 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26653 expectations for float.
26654
f3a6cc0a
AS
266552011-11-29 Andreas Schwab <schwab@redhat.com>
26656
26657 * locale/weight.h (findidx): Add parameter len.
26658 * locale/weightwc.h (findidx): Likewise.
26659 * posix/fnmatch_loop.c (FCT): Adjust caller.
26660 * posix/regcomp.c (build_equiv_class): Likewise.
26661 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26662 * posix/regexec.c (check_node_accept_bytes): Likewise.
26663 * string/strcoll_l.c (STRCOLL): Likewise.
26664 * string/strxfrm_l.c (STRXFRM): Likewise.
26665
9d65ea3a
UD
266662011-11-17 Ulrich Drepper <drepper@gmail.com>
26667
26668 * Makefile.in: Remove CVSOPT handling.
26669 * configure.in: Remove use of AC_REVISION.
26670 * iconvdata/Makefile (distribute): No need to filter out CVS.
26671 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26672 handling.
26673
5583a086
AS
266742011-11-16 Andreas Schwab <schwab@redhat.com>
26675
26676 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26677 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26678 [USE_AS_STRNCASECMP_L]: Likewise.
26679 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26680 NO_TLS_DIRECT_SEG_REFS.
26681 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26682 Fix argument offsets for non-PIC.
26683 [USE_AS_STRNCASECMP_L]: Likewise.
26684 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26685 NO_TLS_DIRECT_SEG_REFS.
26686
d62a8200
UD
266872011-11-15 Ulrich Drepper <drepper@gmail.com>
26688
9d65ea3a 26689 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26690 O_CLOEXEC.
26691 * locale/loadlocale.c (_nl_load_locale): Likewise.
26692
09f93bd3
AS
266932011-11-15 Andreas Schwab <schwab@redhat.com>
26694
446514f9
AS
26695 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26696 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26697 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26698 (SYSCALL_GETTIME): Set errno on error.
26699
09f93bd3
AS
26700 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26701 count references to noai6ai_cached.
26702
312be3f9
UD
267032011-11-15 Ulrich Drepper <drepper@gmail.com>
26704
26705 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26706
26707 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26708 FD_CLOEXEC for /proc/self/maps.
26709
26710 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26711 FD_CLOEXEC for /proc/meminfo.
26712
26713 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26714 gai.conf.
26715
26716 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26717 FD_CLOEXEC for given file.
26718
26719 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26720
26721 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26722 FD_CLOEXEC for /etc/hosts.
26723 (_gethtent): Likewise.
26724
26725 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26726
26727 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26728 cancellation and set FD_CLOEXEC for /etc/netgroup.
26729
26730 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26731 reading /etc/publickey.
26732
26733 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26734 allow cancellation when reading /etc/group.
26735
26736 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26737 cancellation.
26738 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26739
26740 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26741 when using data file.
26742
26743 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26744
26745 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26746 (write_nis_obj): Use "c" and "e" in fopen.
26747
26748 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26749
26750 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26751
26752 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26753
26754 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26755
26756 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26757 locale.alias.
26758
26759 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26760
26761 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26762
26763 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26764
26765 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26766 file parsing and set FD_CLOEXEC.
26767
82af0fa8
UD
267682011-11-14 Ulrich Drepper <drepper@gmail.com>
26769
26770 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26771
a5fb313c
AS
267722011-11-14 Andreas Schwab <schwab@redhat.com>
26773
26774 * malloc/arena.c (arena_get2): Don't call reused_arena when
26775 _int_new_arena failed.
26776
6abf3465
UD
267772011-11-14 Ulrich Drepper <drepper@gmail.com>
26778
26779 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26780 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26781 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26782 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26783 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26784 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26785 to compile strcasecmp and strncasecmp.
26786 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26787 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26788
26789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26790
76e3966e
UD
267912011-11-13 Ulrich Drepper <drepper@gmail.com>
26792
26793 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26794 locale-defines.sym to gen-as-const-headers.
26795 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26796 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26798 to compile strcasecmp and strncasecmp.
26799 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26800 strcasecmp_l and strncasecmp_l.
26801 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26802 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26803 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26804 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26805 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26806 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26807 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26808 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26809 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26810 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26811 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26812
ab26144e
UD
268132011-11-12 Ulrich Drepper <drepper@gmail.com>
26814
7edb22ef
UD
26815 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26816 result of SYSDEP_GETTIME_CPU to retval.
26817 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26818 parameter list to macro. Remove trailing semicolon. Adjust users.
26819
9694fc44
UD
26820 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26821 variable.
26822
8ad89ef8
UD
26823 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26824 mantissa words.
26825 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26826
0c822ef9
UD
26827 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26828 from unused variable.
26829
874e0564
UD
26830 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26831 DWARF definitions.
26832 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26833 for assembling.
26834
3a2edc79
UD
26835 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26836 over namespaces.
26837
f3c2577f
UD
26838 * sunrpc/rpc_prot.c (rejected): Fix case value.
26839
294ce126
UD
26840 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26841 unsigned long long int to avoid warnings in shift.
26842
5e2b63c6
UD
26843 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26844 of use of trans.
26845 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26846 variable tmp.
26847
e7f4b08e
UD
26848 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26849 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26850 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26851
ab26144e
UD
26852 * nis/nis_table.c (nis_list): Use variable of correct type for
26853 result of __follow_path call.
26854
8a6d5255
AZ
268552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26856
26857 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26858 of math functions ceil, trunc, floor, round, and sqrt, when
26859 avaliable on the platform.
26860 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26861 name clash.
26862 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26863 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26864 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26865
aaddc98c
MP
268662011-10-30 Marek Polacek <mpolacek@redhat.com>
26867
26868 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26869 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26870
95b7042b
RM
268712011-11-11 Roland McGrath <roland@hack.frob.com>
26872
26873 * include/unistd.h: Fix __readlink return type.
26874 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26875
57769839
UD
268762011-11-11 Ulrich Drepper <drepper@gmail.com>
26877
26878 * stdlib/ucontext.h: Undo last change for makecontext.
26879
edc5984d
AS
268802011-11-11 Andreas Schwab <schwab@redhat.com>
26881
98591e58
AS
26882 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26883
edc5984d
AS
26884 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26885 * setjmp/setjmp.h: Mark functions as non-leaf.
26886 * setjmp/bits/setjmp2.h: Likewise.
26887 * stdlib/ucontext.h: Likewise.
26888
77cdc054
AS
268892011-11-10 Andreas Schwab <schwab@redhat.com>
26890
26891 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26892 (reused_arena): Don't check arena limit.
26893 (arena_get2): Atomically check arena limit.
26894
fe72eebd
UD
268952011-11-08 Ulrich Drepper <drepper@gmail.com>
26896
5f078c32
UD
26897 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26898 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26899
fe72eebd
UD
26900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26901 instructions.
26902
ae1bc2fa
AS
269032011-11-07 Andreas Schwab <schwab@redhat.com>
26904
7583a88d
AS
26905 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26906 handler when locking.
26907
ae1bc2fa
AS
26908 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26909 Fix size of allocated buffer.
26910
10fb0bfa
AS
269112011-11-04 Andreas Schwab <schwab@redhat.com>
26912
998832a4
AS
26913 [BZ #10103]
26914 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26915 declarations for long double functions.
26916 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26917
10fb0bfa
AS
26918 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26919
3d7ba52b
AS
269202011-11-03 Andreas Schwab <schwab@redhat.com>
26921
a9ae54a1
AS
26922 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26923 installed.
26924
3d7ba52b
AS
26925 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26926 is disabled.
26927
bc8db248
ST
269282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26929
26930 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26931
45b96dd6
AS
269322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26933
647776f6
AS
26934 * include/alloca.h (stackinfo_alloca_round): Define.
26935 (extend_alloca): Use it.
26936 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26937 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26938 here.
26939
d91a8b93
AS
26940 * scripts/check-local-headers.sh: Ignore libaudit.h.
26941
45b96dd6
AS
26942 * nscd/Makefile (extra-objs): Make recursively expanded.
26943
432d41ce
UD
269442011-11-01 Ulrich Drepper <drepper@gmail.com>
26945
34372fc6
UD
26946 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26947 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26948
fadb59f8
UD
26949 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26950 * posix/tst-rfc3484-2.c: Likewise.
26951 * posix/tst-rfc3484-3.c: Likewise.
26952
78239589
UD
26953 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26954 process_vm_writev.
26955 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26956 process_vm_writev.
26957 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26958 process_vm_writev from libc using GLIBC_2.15 version.
26959
432d41ce
UD
26960 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26961
02f9c6cf
PP
269622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26963
26964 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26965 stack usage.
26966
3a2c0242
UD
269672011-10-31 Ulrich Drepper <drepper@gmail.com>
26968
f4ec4833
UD
26969 [BZ #13367]
26970 * nss/getent.c (initgroups_keys): Show error message in case no group
26971 names are given.
26972
3a2c0242
UD
26973 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26974 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26975 __bump_nl_timestamp.
26976 * nscd/connections (nscd_init): When host database is served open
26977 netlink socket and request notification about configuration changes.
26978 (main_loop_poll): Track netlink file descriptor and bump timestamp
26979 in case data becomes available.
26980 (main_loop_epoll): Likewise.
26981 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26982 (database_pers_head): Add extra_data fileds.
26983 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26984 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26985 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26986 Adjust caller.
26987 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26988 in6ai data, call __free_in6ai.
26989 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26990 Add -DHAVE_NETLINK.
26991 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26992 interface information. Reuse previous data if netlink timestamp
26993 is not changed.
26994 (__bump_nl_timestamp): New function.
26995 (__free_in6ai): New function.
26996
636064eb
UD
269972011-10-30 Ulrich Drepper <drepper@gmail.com>
26998
26999 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27000 close_not_cancel_no_status here.
27001 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27002
9beb2334
UD
270032011-10-29 Ulrich Drepper <drepper@gmail.com>
27004
6ef76f3b
UD
27005 [BZ #13276]
27006 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27007 return value.
27008
0ffc4f3e 27009 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27010 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27011 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27012
cb95113e
UD
270132011-07-03 Andreas Jaeger <aj@suse.de>
27014
27015 [BZ #10709]
27016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27017 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27018 * math/libm-test.inc (sin_test): Add test case.
27019
a1b560ff
UD
270202011-10-29 Ulrich Drepper <drepper@gmail.com>
27021
c9aaface
UD
27022 [BZ #13337]
27023 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27024 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27025
d272e7f1
UD
27026 * elf/chroot_canon.c (chroot_canon): Cleanups.
27027
1bc33071
UD
27028 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27029
1760874d
TJ
27030 [BZ #13335]
27031 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27032 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27033
51d91b18
UD
27034 * string/test-strchr.c: Make usable for strchrnul testing.
27035 * string/test-strchrnul.c: New file.
27036 * string/Makefile (strop-tests): Add strchrnul.
27037
a1b560ff 27038 * po/it.po: Update from translation team.
b611fb81 27039 * po/es.po: Likewise.
a1b560ff 27040
a5b81e1f
UD
270412011-10-28 Ulrich Drepper <drepper@gmail.com>
27042
fd52bc6d
UD
27043 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27044 the three constants needed as parameters. Drop the others.
27045 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27046 __m128i_strloadu_tolower.
52e4b9eb
UD
27047 Create and initialize variable zero and use it in all the places
27048 where _mm_setzero_si128 was used.
fd52bc6d 27049
a5b81e1f
UD
27050 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27051 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27052 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27053 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27054 anymore.
27055 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27056 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27057 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27058 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27059 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27060 __mpranred, __mptan.
27061 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27062 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27063 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27064 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27065 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27066 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27067 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27068 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27069 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27070
b4343346
AS
270712011-10-28 Andreas Schwab <schwab@redhat.com>
27072
0c92d8a8
AS
27073 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27074 redefine if SHARED.
27075 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27076
b4343346
AS
27077 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27078 wide char related routines to wcsmbs subdir.
27079
3871f58f
AS
270802011-10-27 Andreas Schwab <schwab@redhat.com>
27081
27082 [BZ #13344]
27083 * misc/sys/cdefs.h (__THROWNL): Define.
27084 * posix/unistd.h: Use __THREADNL instead of __THREAD
27085 for memory synchronization functions.
27086
94d44d9f
RM
270872011-10-26 Roland McGrath <roland@hack.frob.com>
27088
21b64b15 27089 [BZ #13349]
94d44d9f
RM
27090 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27091 doesn't exist.
27092 * manual/stdio.texi (Obstack Streams): Node removed.
27093
f6ce9294
AS
270942011-10-26 Andreas Schwab <schwab@redhat.com>
27095
80479147
AS
27096 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27097 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27098 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27099
f6ce9294
AS
27100 * math/math_private.h (math_force_eval): Allow non-addressable
27101 arguments.
27102 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27103
618280a1
UD
271042011-10-25 Ulrich Drepper <drepper@gmail.com>
27105
e0016b11
UD
27106 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27107 file is not needed.
27108
27109 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27110 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27116 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27117 Add AVX variants.
27118 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27119 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27120 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27121 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27122 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27123 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27124 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27125 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27126 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27127 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27128 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27129 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27131 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27132 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27133 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27134 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27135 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27136 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27137
27138 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27139 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27140
618280a1
UD
27141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27142 place. Use VEX encoding when compiling for AVX.
27143
37822576
AS
271442011-10-25 Andreas Schwab <schwab@redhat.com>
27145
1f1e1947
AS
27146 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27147 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27148
37822576
AS
27149 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27150
31ea014d
UD
271512011-10-25 Ulrich Drepper <drepper@gmail.com>
27152
d7826aa1 27153 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27154 useless if() expression.
d7826aa1
UD
27155 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27164 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27166 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27167 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27168 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27169 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27170 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27171 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27173 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27174
31ea014d
UD
27175 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27176
16437fec
AS
271772011-10-25 Andreas Schwab <schwab@redhat.com>
27178
27179 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27180 condition.
27181 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27182
31d3cc00
UD
271832011-10-25 Ulrich Drepper <drepper@gmail.com>
27184
27185 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27186 .text section. Avoid duplicate constants.
27187 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27197 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27199 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27201 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27202 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27203 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27204 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27205 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27207 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27208 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27209 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27210 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27211 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27212 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27213 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27214 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27215 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27216 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27217 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27218 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27219 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27220 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27221 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27222 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27223 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27225 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27226 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27227 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27228 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27229 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27230 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27231 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27232
58985aa9
UD
272332011-10-24 Ulrich Drepper <drepper@gmail.com>
27234
202c9deb
UD
27235 * sysdeps/x86_64/dla.h: Move to ...
27236 * sysdeps/x86_64/fpu/dla.h: ...here.
27237 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27238 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27239
af968f62
UD
27240 * config.make.in: Add have-mfma4 entry.
27241 * configure.in: Substitute libc_cv_cc_fma4.
27242 * math/Makefile (dbl-only-routines): Add sincostab.
27243 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27244 Use __sincostab not sincos.
27245 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27246 name is a macro.
27247 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27251 using __copysign.
27252 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27253 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27254 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27255 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27256 and __inv.
27257 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27258 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27259 __copysign.
27260 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27261 define aliases when function name is a macro.
27262 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27263 sysdeps/ieee754/dbl-64/sincos.tbl.
27264 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27265 fma4-enabled routines.
27266 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27267 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27268 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27269 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27270 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27271 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27272 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27273 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27275 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27276 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27277 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27278 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27279 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27280 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27281 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27282 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27283 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27284 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27285 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27286 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27287 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27289 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27291 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27292 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27293 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27294 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27295 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27296
58985aa9
UD
27297 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27298 rename.
27299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27305 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27307
a201fbcf
AS
273082011-10-24 Andreas Schwab <schwab@redhat.com>
27309
27310 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27311
fc2ee42a
LD
273122011-10-23 Ulrich Drepper <drepper@gmail.com>
27313
bb3129bd
UD
27314 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27315
0275fff8
UD
27316 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27317 prediction.
27318 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27319
2fa2ae85
UD
27320 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27321 Remove unused variable magic_bits.
27322 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27323
fc2ee42a
LD
27324 * string/strnlen.c: Define and use STRNLEN macro.
27325 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27326 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27327 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27328 * wcsmbs/wcslen.c: Define and use WCSLEN.
27329 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27330 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27331 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27332 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27333 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27334 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27335 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27336
ce7dd29f
LD
273372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27338
27339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27340 strnlen-sse2-no-bsf.
27341 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27342 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27343 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27344 Add strnlen support.
27345 (USE_AS_STRNLEN): New macro.
27346 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27347 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27348 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27349 * sysdeps/x86_64/wcslen.S: New file.
27350
979c70a3
MZ
273512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27352
27353 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27354 XMM-moves are used for copying on small sizes.
27355
2d09f82f
LD
273562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27357
27358 * wcsmbs/Makefile (strop-tests): Add wcschr.
27359 * wcsmbs/test-wcschr.c: New file.
27360 * string/test-strchr.c: Update.
27361 Add wcschr support.
27362 (WIDE): New macro.
27363
619fccca
LD
273642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27365
2d09f82f 27366 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27367 * wcsmbs/test-wcslen.c: New file.
27368 * string/test-strlen.c: Update.
27369 Add wcslen support.
27370 (WIDE): New macro.
27371
09f699ea
UD
273722011-10-23 Ulrich Drepper <drepper@gmail.com>
27373
27374 * po/it.po: Update from translation team.
27375
95584d3b
LD
273762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27377
27378 * sysdeps/x86_64/wcscmp.S: Update.
27379 Fix wrong comparison semantics.
27380 wcscmp shall use signed comparison not unsigned.
27381 Don't use substraction to avoid overflow bug.
27382 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27383 * wcsmbc/wcscmp.c: Likewise.
27384 * string/test-strcmp.c: Likewise.
27385 Add new tests to check cases with negative values.
27386
c8b3296b
UD
273872011-10-23 Ulrich Drepper <drepper@gmail.com>
27388
27389 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27390 * sysdeps/x86_64/dla.h: ...here. New file.
27391 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27392 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27400
246ad57a
AS
274012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27402
27403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27404 __ynl_finite aliases.
27405
a1a87169
UD
274062011-10-22 Ulrich Drepper <drepper@gmail.com>
27407
0d355eb7
UD
27408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27409
a1a87169
UD
27410 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27411 define DLA_FMA.
27412 [DLA_FMA] (EMULV): Use DLA_FMA.
27413 [DLA_FMA] (MUL12): Use EMULV.
27414 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27415 that are not needed.
27416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27423
ee2aafe0
AS
274242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27425
27426 * math/s_nan.c: Undef __nan.
27427 * math/s_nanf.c: Undef __nanf.
27428 * math/s_nanl.c: Undef __nanl.
27429 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27430 "math_private.h".
27431
bc62c2fb
UD
274322011-10-22 Ulrich Drepper <drepper@gmail.com>
27433
77425c63
UD
27434 * math/s_catan.c: Add branch predictions.
27435 * math/s_catanf.c: Likewise.
27436 * math/s_catanh.c: Likewise.
27437 * math/s_catanhf.c: Likewise.
27438 * math/s_catanhl.c: Likewise.
27439 * math/s_catanl.c: Likewise.
27440 * math/s_cexp.c: Likewise.
27441 * math/s_cexpf.c: Likewise.
27442 * math/s_cexpl.c: Likewise.
27443 * math/s_clog.c: Likewise.
27444 * math/s_clog10.c: Likewise.
27445 * math/s_clog10f.c: Likewise.
27446 * math/s_clog10l.c: Likewise.
27447 * math/s_clogf.c: Likewise.
27448 * math/s_clogl.c: Likewise.
27449 * math/s_csqrt.c: Likewise.
27450 * math/s_csqrtf.c: Likewise.
27451 * math/s_csqrtl.c: Likewise.
27452 * math/s_ctanf.c: Likewise.
27453 * math/s_ctanh.c: Likewise.
27454 * math/s_ctanhf.c: Likewise.
27455 * math/s_ctanhl.c: Likewise.
27456 * math/s_ctanl.c: Likewise.
27457
bc62c2fb
UD
27458 * math/math_private.h: Define __nan, __nanf, __nanl.
27459 * math/s_cacosh.c: Include <math_private.h>.
27460 * math/s_cacoshl.c: Likewise.
27461 * math/s_casinh.c: Likewise.
27462 * math/s_casinhf.c: Likewise.
27463 * math/s_casinhl.c: Likewise.
27464 * math/s_ccos.c: Rely entire on ccosh.
27465 * math/s_ccosf.c: Rely entire on ccoshf.
27466 * math/s_ccosl.c: Rely entirely on ccoshl.
27467 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27468 Remove tests for FE_INVALID.
27469 * math/s_ccoshf.c: Likewise.
27470 * math/s_ccoshl.c: Likewise.
27471 * math/s_csin.c: Likewise.
27472 * math/s_csinf.c: Likewise.
27473 * math/s_csinh.c Likewise.
27474 * math/s_csinhf.c: Likewise.
27475 * math/s_csinhl.c: Likewise.
27476 * math/s_csinl.c: Likewise.
27477 * math/s_ctan.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27479 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27480 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27481
8ec250a4
UD
274822011-10-21 Ulrich Drepper <drepper@gmail.com>
27483
c196fed8
UD
27484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27485 compilation problems.
27486
8ec250a4
UD
27487 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27488 __builtin_expect.
27489
8d4f46c6
UD
274902011-10-20 Ulrich Drepper <drepper@gmail.com>
27491
ed72b654
UD
27492 * sysdeps/i386/configure.in: Test for -mfma4 option.
27493 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27494 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27495 COMMON_CPUID_INDEX_80000001.
27496 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27497 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27498 use it if FMA3 is not supported.
27499 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27500
8d4f46c6
UD
27501 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27502 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27503
d45c60c2
AS
275042011-10-20 Andreas Schwab <schwab@redhat.com>
27505
27506 [BZ #12892]
27507 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27508 it would create a cycle with a link time dependency.
27509
d9a4d2ab
UD
275102011-10-19 Ulrich Drepper <drepper@gmail.com>
27511
855d1560
UD
27512 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27513 instruction.
27514 * string/Makefile (strop-tests): Add rawmemchr.
27515 * string/test-rawmemchr.c: New file.
27516
d9a4d2ab
UD
27517 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27518 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27519 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27520 when compiling str{,n}casecmp and when AVX is available. Hook up
27521 new optimized code in initializers.
27522
8f3b1ffe
AS
275232011-10-19 Andreas Schwab <schwab@redhat.com>
27524
27525 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27526 __feraiseexcept instead of feraiseexcept.
27527
d38f1dba
UD
275282011-10-18 Ulrich Drepper <drepper@gmail.com>
27529
d9a8d0ab
UD
27530 * math/math_private.h: Define defaults for libc_fetestexcept and
27531 libc_feupdateenv.
27532 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27533 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27534 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27535 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27536 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27537 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27538 libc_fetestexcept and libc_feupdateenv.
27539
4855e3dd
UD
27540 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27541 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27542 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27543 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27544 libc_feholdexcept_setround.
27545
581d30e3
UD
27546 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27547 Add s_nearbyint-c and s_nearbyintf-c.
27548 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27549 nearbyintf inlines.
27550 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27551 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27552 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27553 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27554
d38f1dba
UD
27555 * math/math_private.h: Define defaults for libc_fegetround,
27556 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27557 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27558 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27559 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27560 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27561 standard functions.
27562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27563 Remove comments and hacks for old compiler versions.
27564 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27565 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27566 libc_feholdexceptl.
27567
caa6c9d8
AS
275682011-10-18 Andreas Schwab <schwab@redhat.com>
27569
27570 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27571 (__feraiseexcept_renamed): Add __NTH.
27572 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27573 namespace violations.
27574
97c066e6
UD
275752011-10-17 Ulrich Drepper <drepper@gmail.com>
27576
99ce7b04
UD
27577 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27578
1004d182
UD
27579 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27580
228a984d
UD
27581 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27582 recently added interfaces.
27583 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27584
c8553a6a
UD
27585 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27586 about macro parameter expansion.
27587
ed22dcf6
UD
27588 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27589 __NO_MATH_INLINES is defined. Cleanups.
27590
27591 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27592 and __floorf is target has SSE4.1.
27593 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27594 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27595 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27596 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27597
b171c137
UD
27598 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27599 name.
27600 (floorf): Likewise.
27601
97c066e6
UD
27602 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27603
629f62ef
AS
276042011-10-17 Andreas Schwab <schwab@redhat.com>
27605
49a43d80
AS
27606 * misc/sys/cdefs.h: Fix last change.
27607
629f62ef
AS
27608 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27609 database lookup.
27610
e453f6cd
UD
276112011-10-16 Ulrich Drepper <drepper@gmail.com>
27612
aa78043a
UD
27613 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27614
ad0f5cad
UD
27615 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27616 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27620 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27621 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27622 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27623 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27624 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27625 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27626 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27627 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27628 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27629 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27630 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27631 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27632 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27633 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27634 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27635 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27636 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27637
27638 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27639 ceil, ceilf, floor, floorf.
27640
27641 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27642 Perform IRELATIVE relocations last.
27643
e453f6cd
UD
27644 * elf/do-rel.h: Add another parameter nrelative, replacing the
27645 local variable with the same name. Change name of the function
27646 to end in Rel or Rela (uppercase).
27647 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27648 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27649 elf_dynamic_do_##reloc function.
27650
fd5bdc09
UD
276512011-10-15 Ulrich Drepper <drepper@gmail.com>
27652
79b195b5
UD
27653 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27654 is sufficient, at least on modern CPUs.
27655
d4a28569
UD
27656 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27657
b61099b5
UD
27658 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27659 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27660
bcf01e6d
UD
27661 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27662 __expl_finite.
27663 * math/bits/math-finite.h: Add entries for exp.
27664 * math/e_expl.c: Add __*_finite alias.
27665 * sysdeps/i386/fpu/e_exp.S: Likewise.
27666 * sysdeps/i386/fpu/e_expf.S: Likewise.
27667 * sysdeps/i386/fpu/e_expl.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27669 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27672 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27673 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27674 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27675
ba1a0d59
UD
27676 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27677 is sufficient, at least on modern CPUs.
27678
fd5bdc09
UD
27679 * ctype/ctype-info.c (__ctype_init): Define.
27680 * include/ctype.h (__ctype_init): Declare.
27681 (__ctype_b_loc): The variable is always initialized.
27682 (__ctype_toupper_loc): Likewise.
27683 (__ctype_tolower_loc): Likewise.
27684 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27685 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27686
7872cfb0
AS
276872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27688
b468825a
AS
27689 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27690
7872cfb0
AS
27691 * configure.in: Also look in $cxxmachine/include for C++ system
27692 headers.
27693
be13f7bf
LD
276942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27695
27696 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27697 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27698 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27699 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27700 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27701 (USE_AS_WMEMCMP): New macro.
27702 Fixing indents.
27703 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27704 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27705 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27706 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27708 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27709 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27710 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27711 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27712 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27713 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27714 (USE_AS_WMEMCMP): New macro.
27715 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27716 * sysdeps/string/test-memcmp.c: Update.
27717 Fix simple_wmemcmp.
27718 Add new tests.
27719 * wcsmbs/wmemcmp.c: Update.
27720 (WMEMCMP): New macro.
27721 Fix overflow bug.
27722
556a2007
AJ
277232011-10-12 Andreas Jaeger <aj@suse.de>
27724
27725 [BZ #13268]
27726 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27727
538faaa7
UD
277282011-10-15 Ulrich Drepper <drepper@gmail.com>
27729
ab6737ff
UD
27730 * libio/iofwide.c (do_length): Avoid warning.
27731
538faaa7
UD
27732 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27733
396a21b1
UD
277342011-10-14 Ulrich Drepper <drepper@gmail.com>
27735
cdf2901f
UD
27736 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27737
38ad40ce
UD
27738 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27739 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27740 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27741 * sysdeps/i386/i686/fpu/e_log.S: New file.
27742 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27743 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27744
396a21b1
UD
27745 * ctype/ctype.h: Add support for inlined isXXX functions when
27746 compiling C++ code.
27747
6b1f68c9
AS
277482011-10-14 Andreas Schwab <schwab@redhat.com>
27749
349290c0
AS
27750 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27751
6b1f68c9
AS
27752 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27753
f2282d42
RM
277542011-10-13 Roland McGrath <roland@hack.frob.com>
27755
27756 [BZ #13291]
27757 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27758
5298ffa8
AS
277592011-10-13 Andreas Schwab <schwab@redhat.com>
27760
714fad23
AS
27761 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27762 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27763 feraiseexcept.
27764
81dcc7fb
AS
27765 * sysdeps/x86_64/memrchr.S: Check for zero size.
27766
5298ffa8
AS
27767 * string/stratcliff.c: Add memrchr tests.
27768
951fbcec
LD
277692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27770
27771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27772 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27773 rawmemchr-sse2 rawmemchr-sse2-bsf.
27774 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27775 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27776 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27777 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27778 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27779 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27780 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27781 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27782 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27783 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27784 * string/memrchr.c (MEMRCHR): New macro.
27785
0ac5ae23
UD
277862011-10-12 Ulrich Drepper <drepper@gmail.com>
27787
27788 Add integration with gcc's -ffinite-math-only and optimize wrapper
27789 functions in libm.
27790 * Versions.def: Define GLIBC_2.15 version for libm.
27791 * math/Makefile (headers): Add bits/math-finite.h.
27792 * math/bits/math-finite.h: New file.
27793 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27794 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27795 * math/e_acoshl.c: Add __*_finite alias.
27796 * math/e_acosl.c: Likewise.
27797 * math/e_asinl.c: Likewise.
27798 * math/e_atan2l.c: Likewise.
27799 * math/e_atanhl.c: Likewise.
27800 * math/e_coshl.c: Likewise.
27801 * math/e_exp10.c: Likewise.
27802 * math/e_exp10f.c: Likewise.
27803 * math/e_exp10l.c: Likewise.
27804 * math/e_exp2l.c: Likewise.
27805 * math/e_fmodl.c: Likewise.
27806 * math/e_gammal_r.c: Likewise.
27807 * math/e_hypotl.c: Likewise.
27808 * math/e_j0l.c: Likewise.
27809 * math/e_j1l.c: Likewise.
27810 * math/e_jnl.c: Likewise.
27811 * math/e_lgammal_r.c: Likewise.
27812 * math/e_log10l.c: Likewise.
27813 * math/e_log2l.c: Likewise.
27814 * math/e_logl.c: Likewise.
27815 * math/e_powl.c: Likewise.
27816 * math/e_sinhl.c: Likewise.
27817 * math/e_sqrtl.c: Likewise.
27818 * math/e_scalb.c: Completely rewritten and optimized.
27819 * math/e_scalbf.c: Likewise.
27820 * math/e_scalbl.c: Likewise.
27821 * math/w_acos.c: Likewise.
27822 * math/w_acosf.c: Likewise.
27823 * math/w_acosl.c: Likewise.
27824 * math/w_acosh.c: Likewise.
27825 * math/w_acoshf.c: Likewise.
27826 * math/w_acoshl.c: Likewise.
27827 * math/w_asin.c: Likewise.
27828 * math/w_asinf.c: Likewise.
27829 * math/w_asinl.c: Likewise.
27830 * math/w_atan2.c: Likewise.
27831 * math/w_atan2f.c: Likewise.
27832 * math/w_atan2l.c: Likewise.
27833 * math/w_atanh.c: Likewise.
27834 * math/w_atanhf.c: Likewise.
27835 * math/w_atanhl.c: Likewise.
27836 * math/w_exp10.c: Likewise.
27837 * math/w_exp10f.c: Likewise.
27838 * math/w_exp10l.c: Likewise.
27839 * math/w_fmod.c: Likewise.
27840 * math/w_fmodf.c: Likewise.
27841 * math/w_fmodl.c: Likewise.
27842 * math/w_j0.c: Likewise.
27843 * math/w_j0f.c: Likewise.
27844 * math/w_j0l.c: Likewise.
27845 * math/w_j1.c: Likewise.
27846 * math/w_j1f.c: Likewise.
27847 * math/w_j1l.c: Likewise.
27848 * math/w_jn.c: Likewise.
27849 * math/w_jnf.c: Likewise.
27850 * math/w_log.c: Likewise.
27851 * math/w_logf.c: Likewise.
27852 * math/w_logl.c: Likewise.
27853 * math/w_log10.c: Likewise.
27854 * math/w_log10f.c: Likewise.
27855 * math/w_log10l.c: Likewise.
27856 * math/w_log2.c: Likewise.
27857 * math/w_log2f.c: Likewise.
27858 * math/w_log2l.c: Likewise.
27859 * math/w_pow.c: Likewise.
27860 * math/w_powf.c: Likewise.
27861 * math/w_powl.c: Likewise.
27862 * math/w_remainder.c: Likewise.
27863 * math/w_remainderf.c: Likewise.
27864 * math/w_remainderl.c: Likewise.
27865 * math/w_scalb.c: Likewise.
27866 * math/w_scalbf.c: Likewise.
27867 * math/w_scalbl.c: Likewise.
27868 * math/w_sqrt.c: Likewise.
27869 * math/w_sqrtf.c: Likewise.
27870 * math/w_sqrtl.c: Likewise.
27871 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27872 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27873 used.
27874 * math/math_private.h: Declare __kernel_standard_f.
27875 * math/w_cosh.c: Remove cruft and optimize a bit.
27876 * math/w_coshf.c: Likewise.
27877 * math/w_coshl.c: Likewise.
27878 * math/w_exp2.c: Likewise.
27879 * math/w_exp2f.c: Likewise.
27880 * math/w_exp2l.c: Likewise.
27881 * math/w_hypot.c: Likewise.
27882 * math/w_hypotf.c: Likewise.
27883 * math/w_hypotl.c: Likewise.
27884 * math/w_lgamma.c: Likewise.
27885 * math/w_lgamma_r.c: Likewise.
27886 * math/w_lgammaf.c: Likewise.
27887 * math/w_lgammaf_r.c: Likewise.
27888 * math/w_lgammal.c: Likewise.
27889 * math/w_lgammal_r.c: Likewise.
27890 * math/w_sinh.c: Likewise.
27891 * math/w_sinhf.c: Likewise.
27892 * math/w_sinhl.c: Likewise.
27893 * math/w_tgamma.c: Likewise.
27894 * math/w_tgammaf.c: Likewise.
27895 * math/w_tgammal.c: Likewise.
27896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27897 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27898 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27899 Minor optimizations. Pretty printing. Remove cruft.
27900 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27901 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27902 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27903 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27904 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27905 * sysdeps/i386/fpu/e_asin.S: Likewise.
27906 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27907 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27908 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27909 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27910 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27911 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27912 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27913 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27914 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27915 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27916 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27917 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27918 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27919 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27920 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27921 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27922 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27923 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27924 * sysdeps/i386/fpu/e_log.S: Likewise.
27925 * sysdeps/i386/fpu/e_log10.S: Likewise.
27926 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27927 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27928 * sysdeps/i386/fpu/e_log2.S: Likewise.
27929 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27930 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27931 * sysdeps/i386/fpu/e_logf.S: Likewise.
27932 * sysdeps/i386/fpu/e_logl.S: Likewise.
27933 * sysdeps/i386/fpu/e_pow.S: Likewise.
27934 * sysdeps/i386/fpu/e_powf.S: Likewise.
27935 * sysdeps/i386/fpu/e_powl.S: Likewise.
27936 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27937 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27938 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27939 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27940 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27941 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27942 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27943 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27944 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27945 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27946 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27949 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27952 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27956 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27960 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27962 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27963 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27965 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27966 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27967 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27968 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27969 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27970 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27971 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27972 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27973 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27974 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27975 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27976 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27977 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27978 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27979 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27980 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27981 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27982 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27983 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27984 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27985 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27986 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27990 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27991 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27993 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27994 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27995 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27997 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27998 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28000 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28001 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28002 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28004 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28005 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28008 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28009 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28013 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28015 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28016 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28017 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28020 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28021 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28022 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28023 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28024 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28025 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28026 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28028 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28029 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28030 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28031 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28032 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28033 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28034 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28035 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28036 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28037 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28038 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28039 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28040 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28041 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28042 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28043 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28044 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28045 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28046 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28047 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28048 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28049 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28050 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28051 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28052 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28053 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28054 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28055 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28056 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28057 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28058 (__isnanf): Likewise.
28059 (__isinf_ns): Likewise.
28060 (__isinf_nsf): Likewise.
28061 (__finite): Likewise.
28062 (__finitef): Likewise.
28063 (__ieee754_sqrt): Define as macro.
28064 (__ieee754_sqrtf): Define as macro.
28065 (__ieee754_sqrtl): Define as macro.
28066 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28067 inlined copy.
28068 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28069 __FINITE_MATH_ONLY__ consistent.
28070 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28071
12cc2fcd
AS
280722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28073
a843a204
AS
28074 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28075 of rawmemchr.
28076
12cc2fcd
AS
28077 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28078
c853acd5
UD
280792011-10-09 Ulrich Drepper <drepper@gmail.com>
28080
28081 * po/ja.po: Update from translation team.
28082
c658d255
RM
280832011-10-08 Roland McGrath <roland@hack.frob.com>
28084
110946e4
RM
28085 * locale/programs/locarchive.c (prepare_address_space): New function.
28086 (create_archive, enlarge_archive, open_archive): Use it.
28087
50604220
RM
28088 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28089 inside [SHARED], where it is used.
28090
c658d255
RM
28091 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28092
28093 * nss/getent.c (netgroup_keys): Remove unused variable.
28094 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28095
6a621eb7
UD
280962011-10-08 Ulrich Drepper <drepper@gmail.com>
28097
7edb55ce
UD
28098 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28099 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28101 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28102 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28103 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28104 * math/Makefile (libm-calls): Add s_isinf_ns.
28105 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28106 * math/multc3.c: Likewise.
28107 * math/s_casin.c: Likewise.
28108 * math/s_casinf.c: Likewise.
28109 * math/s_casinl.c: Likewise.
28110 * math/s_ccos.c: Likewise.
28111 * math/s_ccosf.c: Likewise.
28112 * math/s_ccosl.c: Likewise.
28113 * math/s_ctan.c: Likewise.
28114 * math/s_ctanf.c: Likewise.
28115 * math/s_ctanh.c: Likewise.
28116 * math/s_ctanhf.c: Likewise.
28117 * math/s_ctanhl.c: Likewise.
28118 * math/s_ctanl.c: Likewise.
28119 * math/w_fmod.c: Likewise.
28120 * math/w_fmodf.c: Likewise.
28121 * math/w_fmodl.c: Likewise.
28122 * math/w_remainder.c: Likewise.
28123 * math/w_remainderf.c: Likewise.
28124 * math/w_remainderl.c: Likewise.
28125 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28126 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28127 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28129 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28130 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28131 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28132 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28133
187da0ae
UD
28134 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28135 of the number.
28136 * stdio-common/printf_fphex.c: Likewise.
28137 * stdio-common/printf_size.c: Likewise.
28138
9277c064
UD
28139 * math/e_exp10.c: Include math_private.h using <...> not "...".
28140 * math/e_exp10f.c: Likewise.
28141 * math/e_exp10l.c: Likewise.
28142 * math/e_exp2l.c: Likewise.
28143 * math/e_j0l.c: Likewise.
28144 * math/e_j1l.c: Likewise.
28145 * math/e_jnl.c: Likewise.
28146 * math/e_lgammal_r.c: Likewise.
28147 * math/e_rem_pio2l.c: Likewise.
28148 * math/e_scalb.c: Likewise.
28149 * math/e_scalbf.c: Likewise.
28150 * math/e_scalbl.c: Likewise.
28151 * math/k_cosl.c: Likewise.
28152 * math/k_sinl.c: Likewise.
28153 * math/k_tanl.c: Likewise.
28154 * math/s_cacoshf.c: Likewise.
28155 * math/s_catan.c: Likewise.
28156 * math/s_catanf.c: Likewise.
28157 * math/s_catanh.c: Likewise.
28158 * math/s_catanhf.c: Likewise.
28159 * math/s_catanhl.c: Likewise.
28160 * math/s_catanl.c: Likewise.
28161 * math/s_ccosh.c: Likewise.
28162 * math/s_ccoshf.c: Likewise.
28163 * math/s_ccoshl.c: Likewise.
28164 * math/s_cexp.c: Likewise.
28165 * math/s_cexpf.c: Likewise.
28166 * math/s_cexpl.c: Likewise.
28167 * math/s_clog.c: Likewise.
28168 * math/s_clog10.c: Likewise.
28169 * math/s_clog10f.c: Likewise.
28170 * math/s_clog10l.c: Likewise.
28171 * math/s_clogf.c: Likewise.
28172 * math/s_clogl.c: Likewise.
28173 * math/s_csin.c: Likewise.
28174 * math/s_csinf.c: Likewise.
28175 * math/s_csinh.c: Likewise.
28176 * math/s_csinhf.c: Likewise.
28177 * math/s_csinhl.c: Likewise.
28178 * math/s_csinl.c: Likewise.
28179 * math/s_csqrt.c: Likewise.
28180 * math/s_csqrtf.c: Likewise.
28181 * math/s_csqrtl.c: Likewise.
28182 * math/s_ctan.c: Likewise.
28183 * math/s_ctanf.c: Likewise.
28184 * math/s_ctanh.c: Likewise.
28185 * math/s_ctanhf.c: Likewise.
28186 * math/s_ctanhl.c: Likewise.
28187 * math/s_ctanl.c: Likewise.
28188 * math/s_ldexp.c: Likewise.
28189 * math/s_ldexpf.c: Likewise.
28190 * math/s_ldexpl.c: Likewise.
28191 * math/s_significand.c: Likewise.
28192 * math/s_significandf.c: Likewise.
28193 * math/s_significandl.c: Likewise.
28194 * math/w_acos.c: Likewise.
28195 * math/w_acosf.c: Likewise.
28196 * math/w_acosh.c: Likewise.
28197 * math/w_acoshf.c: Likewise.
28198 * math/w_acoshl.c: Likewise.
28199 * math/w_acosl.c: Likewise.
28200 * math/w_asin.c: Likewise.
28201 * math/w_asinf.c: Likewise.
28202 * math/w_asinl.c: Likewise.
28203 * math/w_atan2.c: Likewise.
28204 * math/w_atan2f.c: Likewise.
28205 * math/w_atan2l.c: Likewise.
28206 * math/w_atanh.c: Likewise.
28207 * math/w_atanhf.c: Likewise.
28208 * math/w_atanhl.c: Likewise.
28209 * math/w_cosh.c: Likewise.
28210 * math/w_coshf.c: Likewise.
28211 * math/w_coshl.c: Likewise.
28212 * math/w_dremf.c: Likewise.
28213 * math/w_exp10.c: Likewise.
28214 * math/w_exp10f.c: Likewise.
28215 * math/w_exp10l.c: Likewise.
28216 * math/w_exp2.c: Likewise.
28217 * math/w_exp2f.c: Likewise.
28218 * math/w_fmod.c: Likewise.
28219 * math/w_fmodf.c: Likewise.
28220 * math/w_fmodl.c: Likewise.
28221 * math/w_hypot.c: Likewise.
28222 * math/w_hypotf.c: Likewise.
28223 * math/w_hypotl.c: Likewise.
28224 * math/w_j0.c: Likewise.
28225 * math/w_j0f.c: Likewise.
28226 * math/w_j0l.c: Likewise.
28227 * math/w_j1.c: Likewise.
28228 * math/w_j1f.c: Likewise.
28229 * math/w_j1l.c: Likewise.
28230 * math/w_jn.c: Likewise.
28231 * math/w_jnf.c: Likewise.
28232 * math/w_jnl.c: Likewise.
28233 * math/w_lgamma.c: Likewise.
28234 * math/w_lgamma_r.c: Likewise.
28235 * math/w_lgammaf.c: Likewise.
28236 * math/w_lgammaf_r.c: Likewise.
28237 * math/w_lgammal.c: Likewise.
28238 * math/w_lgammal_r.c: Likewise.
28239 * math/w_log.c: Likewise.
28240 * math/w_log10.c: Likewise.
28241 * math/w_log10f.c: Likewise.
28242 * math/w_log10l.c: Likewise.
28243 * math/w_log2.c: Likewise.
28244 * math/w_log2f.c: Likewise.
28245 * math/w_log2l.c: Likewise.
28246 * math/w_logf.c: Likewise.
28247 * math/w_logl.c: Likewise.
28248 * math/w_pow.c: Likewise.
28249 * math/w_powf.c: Likewise.
28250 * math/w_powl.c: Likewise.
28251 * math/w_remainder.c: Likewise.
28252 * math/w_remainderf.c: Likewise.
28253 * math/w_remainderl.c: Likewise.
28254 * math/w_scalb.c: Likewise.
28255 * math/w_scalbf.c: Likewise.
28256 * math/w_scalbl.c: Likewise.
28257 * math/w_sinh.c: Likewise.
28258 * math/w_sinhf.c: Likewise.
28259 * math/w_sinhl.c: Likewise.
28260 * math/w_sqrt.c: Likewise.
28261 * math/w_sqrtf.c: Likewise.
28262 * math/w_sqrtl.c: Likewise.
28263 * math/w_tgamma.c: Likewise.
28264 * math/w_tgammaf.c: Likewise.
28265 * math/w_tgammal.c: Likewise.
28266
6a621eb7
UD
28267 * po/ja.po: Update from translation team.
28268
bf582445
AJ
282692011-09-29 Andreas Jaeger <aj@suse.de>
28270
f9efbf3a
AJ
28271 [BZ #13179]
28272 * sunrpc/netname.c (netname2host): Fix logic.
28273
bf582445
AJ
28274 [BZ #6779]
28275 [BZ #6783]
28276 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28277 correctly.
28278 * math/w_remainder.c (__remainder): Likewise.
28279 * math/w_remainderf.c (__remainderf): Likewise.
28280 * math/libm-test.inc (remainder_test): Add test cases.
28281
48693bea
AK
282822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28283
28284 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28285 sdiv_qrnnd.
28286
42622229
LD
282872011-10-07 Ulrich Drepper <drepper@gmail.com>
28288
28289 * string/test-memcmp.c: Avoid unncessary #defines.
28290 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28291
093ecf92
LD
282922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28293
28294 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28295 Use new sse2 version for core i3 - i7 as it's faster
28296 than sse42 version.
28297 (bit_Prefer_PMINUB_for_stringop): New.
28298 * sysdeps/x86_64/rawmemchr.S: Update.
28299 Replace with faster SSE2 version.
28300 * sysdeps/x86_64/memrchr.S: New file.
28301 * sysdeps/x86_64/memchr.S: Update.
28302 Replace with faster SSE2 version.
28303
fde56e5c
MP
283042011-09-12 Marek Polacek <mpolacek@redhat.com>
28305
28306 * elf/dl-load.c (lose): Add cast to avoid warning.
28307
21fd49a9
UD
283082011-10-07 Ulrich Drepper <drepper@gmail.com>
28309
5a06e643
UD
28310 * po/ca.po: Update from translation team.
28311
684ae515
UD
28312 * inet/getnetgrent_r.c: Hook up nscd.
28313 * nscd/Makefile (routines): Add nscd_netgroup.
28314 (nscd-modules): Add netgroupcache.
28315 (CFLAGS-netgroupcache.c): Define.
28316 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28317 (cache_search): Add const to second parameter.
28318 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28319 INNETGR.
28320 (dbs): Add netgrdb entry.
28321 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28322 (verify_persistent_db): Handle netgrdb.
28323 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28324 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28325 GETFDNETGR.
28326 (netgroup_response_header): Define.
28327 (innetgroup_response_header): Define.
28328 (datahead): Add netgroup_response_header and innetgroup_response_header
28329 elements.
28330 * nscd/nscd.conf: Add entries for netgroup cache.
28331 * nscd/nscd.h (dbtype): Add netgrdb.
28332 (_PATH_NSCD_NETGROUP_DB): Define.
28333 (netgroup_iov_disabled): Declare.
28334 (xmalloc, xcalloc, xrealloc): Move declarations here.
28335 (cache_search): Adjust prototype.
28336 Add netgroup-related prototypes.
28337 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28338 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28339 (__nscd_innetgr): Declare.
28340 * nscd/selinux.c (perms): Use access_vector_t as element type and
28341 add netgroup-related initializers.
28342 * nscd/netgroupcache.c: New file.
28343 * nscd/nscd_netgroup.c: New file.
28344 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28345 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28346 For four parameters use innetgr.
28347 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28348 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28349 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28350 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28351
21fd49a9
UD
28352 * nscd/connections.c (register_traced_file): Don't register file
28353 for disabled databases.
28354
054c0457
UD
283552011-10-06 Ulrich Drepper <drepper@gmail.com>
28356
32b63198
UD
28357 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28358
054c0457
UD
28359 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28360 from tree and freeing node.
28361
64031225
JO
283622011-09-25 Jiri Olsa <jolsa@redhat.com>
28363
28364 * nss/nsswitch.c (__nss_database_lookup): Handle
28365 nss_parse_service_list out of memory case.
28366
0490345c
JO
283672011-09-15 Jiri Olsa <jolsa@redhat.com>
28368
28369 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28370 out of memory case.
28371
3a62d00d
AS
283722011-10-04 Andreas Schwab <schwab@redhat.com>
28373
28374 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28375 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28376 pass it down.
28377 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28378 elf_machine_rela, elf_machine_lazy_rel.
28379 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28380 (ELF_DYNAMIC_DO_REL): Likewise.
28381 (ELF_DYNAMIC_DO_RELA): Likewise.
28382 (ELF_DYNAMIC_RELOCATE): Likewise.
28383 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28384 to ELF_DYNAMIC_DO_REL.
28385 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28386 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28387 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28388 elf_machine_rela.
28389 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28390 skip_ifunc, don't call ifunc function if non-zero.
28391 (elf_machine_rela): Likewise.
28392 (elf_machine_lazy_rel): Likewise.
28393 (elf_machine_lazy_rela): Likewise.
28394 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28395 (elf_machine_lazy_rel): Likewise.
28396 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28397 Likewise.
28398 (elf_machine_lazy_rel): Likewise.
28399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28400 Likewise.
28401 (elf_machine_lazy_rel): Likewise.
28402 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28403 (elf_machine_lazy_rel): Likewise.
28404 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28405 (elf_machine_lazy_rel): Likewise.
28406 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28407 (elf_machine_lazy_rel): Likewise.
28408 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28409 (elf_machine_lazy_rel): Likewise.
28410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28411 (elf_machine_lazy_rel): Likewise.
28412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28413 (elf_machine_lazy_rel): Likewise.
28414
68577918
UD
284152011-09-28 Ulrich Drepper <drepper@gmail.com>
28416
28417 * nss/nss_files/files-init.c (_nss_files_init): Use static
28418 initialization for all the *_traced_file variables.
28419
68822d74
AS
284202011-09-28 Andreas Schwab <schwab@redhat.com>
28421
28422 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28423
2056100b
RM
284242011-09-27 Roland McGrath <roland@hack.frob.com>
28425
28426 [BZ #13226]
28427 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28428
32c76b63
AS
284292011-09-27 Andreas Schwab <schwab@redhat.com>
28430
28431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28432 Reread the line before reparsing it.
28433
bf972c9d
AS
284342011-09-26 Andreas Schwab <schwab@redhat.com>
28435
28436 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28437
e057a1b5
JM
284382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28439 Maxim Kuvyrkov <maxim@codesourcery.com>
28440 Joseph Myers <joseph@codesourcery.com>
28441
28442 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28443 if needed for __stack_chk_guard.
28444
bc7e1c36
RM
284452011-09-19 Roland McGrath <roland@hack.frob.com>
28446
ecb1482f
RM
28447 * sysdeps/posix/spawni.c (script_execute): Always define it.
28448 It will be optimized away if unused.
28449 (maybe_script_execute): New function.
28450 (__spawni): Call it.
28451
bc7e1c36
RM
28452 * Makerules: Don't include tls.make.
28453 (config-tls): Always set to thread.
28454 * tls.make.c: File removed.
28455
1c3b002b
MF
284562011-09-19 Mike Frysinger <vapier@gentoo.org>
28457
28458 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28459 * config.make.in (CPPFLAGS-config): New substituted variable.
28460
2840865d
UD
284612011-09-15 Ulrich Drepper <drepper@gmail.com>
28462
88738eb6
UD
28463 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28464
cbf645a6 28465 [BZ #13192]
2840865d
UD
28466 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28467 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28468
b402e91a
RM
284692011-09-15 Roland McGrath <roland@hack.frob.com>
28470
28471 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28472 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28474 (CALL_FAIL): Likewise.
28475 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28476 (CALL_FAIL): Macro removed.
28477 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28478
4c1a1f71
UD
284792011-09-15 Ulrich Drepper <drepper@gmail.com>
28480
28481 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28482 for __FINITE_MATH_ONLY__ == 1.
28483
edc121be
AS
284842011-09-15 Andreas Schwab <schwab@redhat.com>
28485
28486 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28487 __ieee754_sqrt instead of sqrt.
28488 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28489 __ieee754_sqrtf instead of sqrtf.
28490 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28491 __floorf instead of floorf.
28492 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28493 __floorf, __truncf instead of floorf, truncf.
28494
cd205654
UD
284952011-09-14 Ulrich Drepper <drepper@gmail.com>
28496
ee4d0315
UD
28497 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28498
cd205654
UD
28499 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28500 __extern_always_inline.
28501 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28502 32-bit.
28503
48b67d71
AS
285042011-09-14 Andreas Schwab <schwab@redhat.com>
28505
28506 * elf/rtld.c (dl_main): Also relocate in dependency order when
28507 doing symbol dependency testing.
28508
1ae12c75
AS
285092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28510
28511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28512 Always define `refsym'.
28513
995a80df
AS
285142011-09-13 Andreas Schwab <schwab@redhat.com>
28515
e529793b
AS
28516 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28517 (__FD_ELT): Renamed from __FDELT.
28518 * misc/bits/select2.h (__FD_ELT): Likewise.
28519 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28520 __FD_MASK instead of __FDELT, __FDMASK.
28521 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28522 Likewise.
28523 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28524 Likewise.
28525
52d4fef8
AS
28526 * elf/Makefile (gen-ldd): Fix pattern.
28527
995a80df
AS
28528 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28529 (init_tls): Likewise.
28530
8682f8b0
UD
285312011-09-12 Ulrich Drepper <drepper@gmail.com>
28532
28533 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28534
de82006d
AS
285352011-09-12 Andreas Schwab <schwab@redhat.com>
28536
a7c8e6a1
AS
28537 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28538 `struct cmsghdr *' instead of `void *'.
28539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28540 Likewise.
28541
0f31fe77
AS
285422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28543
28544 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28545 if non-absolute.
28546 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28547 ldd_rewrite_script.
0f31fe77 28548
32b4c839
UD
285492011-09-11 Ulrich Drepper <drepper@gmail.com>
28550
83cd1420
UD
28551 * configure.in: Remove --with-tls option.
28552 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28553 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28554 out in case it is missing.
28555 * sysdeps/ia64/elf/configure.in: Likewise.
28556 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28557 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28558 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28559 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28560 * sysdeps/sh/elf/configure.in: Likewise.
28561 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28562 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28563 * sysdeps/x86_64/elf/configure.in: Likewise.
28564 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28565 * sysdeps/mach/hurd/tls.h: Likewise.
28566
633f745d
UD
28567 [BZ #13067]
28568 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28569
f318beb8
UD
28570 [BZ #13090]
28571 * configure.in: Fix use of AC_INIT.
28572
32b4c839
UD
28573 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28574
3ce1f295
UD
285752011-09-10 Ulrich Drepper <drepper@gmail.com>
28576
bb016596
UD
28577 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28578 __set_errno.
8e58439c
UD
28579 * malloc/hooks.c: Likewise.
28580
aebae053 28581 [BZ #11929]
02d46fc4
UD
28582 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28583 variables statically.
28584 (narenas): Initialize.
28585 (list_lock): Initialize.
bb016596
UD
28586 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28587 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28588 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28589 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28590 Add initializers to main_arena and mp_.
28591 (malloc_state): Remove pagesize member. Change all users to use
28592 GLRO(dl_pagesize).
28593
28594 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28595 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28596 is always initialized.
28597
22a89187
UD
28598 * malloc/malloc.c: Removed unused configurations and dead code.
28599 * malloc/arena.c: Likewise.
28600 * malloc/hooks.c: Likewise.
02d46fc4 28601 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28602
d063d164
UD
28603 * include/tls.h: Removed. USE___THREAD must always be defined.
28604 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28605 * elf/dl-libc.c: Likewise.
28606 * elf/dl-tsd.c: Likewise.
28607 * include/errno.h: Likewise.
28608 * include/netdb.h: Likewise.
28609 * include/resolv.h: Likewise.
28610 * inet/herrno-loc.c: Likewise.
28611 * inet/herrno.c: Likewise.
28612 * malloc/arena.c: Likewise.
28613 * malloc/hooks.c: Likewise.
28614 * malloc/malloc.c: Likewise.
28615 * resolv/res-state.c: Likewise.
28616 * resolv/res_libc.c: Likewise.
28617 * sysdeps/i386/dl-machine.h: Likewise.
28618 * sysdeps/ia64/dl-machine.h: Likewise.
28619 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28620 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28621 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28622 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28623 * sysdeps/sh/dl-machine.h: Likewise.
28624 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28625 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28626 * sysdeps/unix/i386/sysdep.S: Likewise.
28627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28628 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28633 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28634 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28637 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28638 * sysdeps/x86_64/dl-machine.h: Likewise.
28639 * tls.make.c: Likewise.
28640
3ce1f295
UD
28641 * configure.in: Remove --with-__thread option. Make tests for
28642 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28643 tls_model attribute fail if no support is available. Remove
28644 USE_IN_LIBIO.
28645 * Makeconfig: Adjust for dropped configure option. All features are
28646 now mandatory.
28647 * Makerules: Likewise.
28648 * Versions.def: Likewise.
28649 * argp/argp-fmtstream.c: Likewise.
28650 * argp/argp-fmtstream.h: Likewise.
28651 * argp/argp-help.c: Likewise.
28652 * assert/assert.c: Likewise.
28653 * config.h.in: Likewise.
28654 * config.make.in: Likewise.
28655 * configure: Likewise.
28656 * configure.in: Likewise.
28657 * csu/Versions: Likewise.
28658 * csu/init.c: Likewise.
28659 * elf/tst-audit2.c: Likewise.
28660 * elf/tst-tls10.c: Likewise.
28661 * elf/tst-tls10.h: Likewise.
28662 * elf/tst-tls11.c: Likewise.
28663 * elf/tst-tls12.c: Likewise.
28664 * elf/tst-tls14.c: Likewise.
28665 * elf/tst-tlsmod11.c: Likewise.
28666 * elf/tst-tlsmod12.c: Likewise.
28667 * elf/tst-tlsmod13.c: Likewise.
28668 * elf/tst-tlsmod13a.c: Likewise.
28669 * elf/tst-tlsmod14a.c: Likewise.
28670 * elf/tst-tlsmod15b.c: Likewise.
28671 * elf/tst-tlsmod16a.c: Likewise.
28672 * elf/tst-tlsmod16b.c: Likewise.
28673 * elf/tst-tlsmod7.c: Likewise.
28674 * elf/tst-tlsmod8.c: Likewise.
28675 * elf/tst-tlsmod9.c: Likewise.
28676 * gmon/gmon.c: Likewise.
28677 * grp/fgetgrent_r.c: Likewise.
28678 * grp/putgrent.c: Likewise.
28679 * hurd/fopenport.c: Likewise.
28680 * include/libc-symbols.h: Likewise.
28681 * include/tls.h: Likewise.
28682 * intl/gettextP.h: Likewise.
28683 * intl/loadinfo.h: Likewise.
28684 * locale/global-locale.c: Likewise.
28685 * locale/localeinfo.h: Likewise.
28686 * mach/devstream.c: Likewise.
28687 * malloc/arena.c: Likewise.
28688 * malloc/set-freeres.c: Likewise.
28689 * misc/err.c: Likewise.
28690 * misc/getttyent.c: Likewise.
28691 * misc/mntent_r.c: Likewise.
28692 * posix/getopt.c: Likewise.
28693 * posix/wordexp.c: Likewise.
28694 * pwd/fgetpwent_r.c: Likewise.
28695 * resolv/Versions: Likewise.
28696 * resolv/res_hconf.c: Likewise.
28697 * shadow/fgetspent_r.c: Likewise.
28698 * shadow/putspent.c: Likewise.
28699 * stdio-common/printf_fphex.c: Likewise.
28700 * stdio-common/tmpfile.c: Likewise.
28701 * stdlib/abort.c: Likewise.
28702 * stdlib/fmtmsg.c: Likewise.
28703 * sunrpc/auth_unix.c: Likewise.
28704 * sunrpc/clnt_perr.c: Likewise.
28705 * sunrpc/clnt_tcp.c: Likewise.
28706 * sunrpc/clnt_udp.c: Likewise.
28707 * sunrpc/clnt_unix.c: Likewise.
28708 * sunrpc/openchild.c: Likewise.
28709 * sunrpc/svc_simple.c: Likewise.
28710 * sunrpc/svc_tcp.c: Likewise.
28711 * sunrpc/svc_udp.c: Likewise.
28712 * sunrpc/svc_unix.c: Likewise.
28713 * sunrpc/xdr.c: Likewise.
28714 * sunrpc/xdr_array.c: Likewise.
28715 * sunrpc/xdr_rec.c: Likewise.
28716 * sunrpc/xdr_ref.c: Likewise.
28717 * sunrpc/xdr_stdio.c: Likewise.
28718
1248c1c4
PB
287192011-09-09 Ulrich Drepper <drepper@gmail.com>
28720
28721 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28722
287232011-07-03 Andreas Jaeger <aj@suse.de>
28724
28725 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28726 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28727 regenerate with gen-libm-tests.pl.
28728
287292010-05-12 Petr Baudis <pasky@suse.cz>
28730
28731 [BZ #11589]
28732 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28733 around j0() zero points by switching to j1().
28734 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28738
f22e1074
UD
287392011-09-09 Ulrich Drepper <drepper@gmail.com>
28740
f19009c1
UD
28741 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28742 instead of 0.
28743 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28744 instead of 0.
f19009c1
UD
28745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28746 Patch in part by Pavel Roskin <proski@gnu.org>.
28747
3f8cc204
UD
28748 [BZ #13138]
28749 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28750 realloc.
28751 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28752 Free memory block if necessary.
28753
f22e1074
UD
28754 [BZ #12847]
28755 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28756 be NULL. Don't lock in this case.
28757
0a2349f9
RM
287582011-09-09 Roland McGrath <roland@hack.frob.com>
28759
28760 * elf/elf.h (ELFOSABI_GNU): New macro.
28761 (ELFOSABI_LINUX): Define to that.
28762
f3cdd467
DZ
287632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28764
28765 * string/strncat.c (strncat): Undef the symbol in case it has been
28766 defined in bits/string.h.
28767
74718d13
UD
287682011-09-09 Ulrich Drepper <drepper@gmail.com>
28769
633e9e0f
UD
28770 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28771
0a2349f9 28772 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28773 link map.
28774
f9924780
AJ
287752011-08-17 Andreas Jaeger <aj@suse.de>
28776
28777 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28778
7f5517aa
PP
287792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28780 Ian Lance Taylor <iant@google.com>
28781
28782 * math/libm-test.inc (lround_test): New testcase.
28783 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28784
762011fe
UD
287852011-09-08 Ulrich Drepper <drepper@gmail.com>
28786
92963737
UD
28787 * Makefile: Remove support for automatic cvs check-ins.
28788 * Makerules: Likewise.
28789 * config.make.in: Likewise.
28790 * configure.in: Likewise.
28791 * intl/Makefile: Likewise.
28792 * locale/Makefile: Likewise.
28793 * po/Makefile: Likewise.
28794 * posix/Makefile: Likewise.
28795 * sysdeps/gnu/Makefile: Likewise.
28796 * sysdeps/mach/hurd/Makefile: Likewise.
28797 * sysdeps/sparc/sparc32/Makefile: Likewise.
28798
b0727fd8
JS
28799 [BZ #13118]
28800 * posix/Makefile (bug-regex32-ENV): Define.
28801 Patch by John Stanley <jpsinthemix@verizon.net>.
28802
a0f33f99
UD
28803 * misc/Makefile (headers): Add bits/select2.h.
28804 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28805 * misc/bits/select2.h: New file.
28806 * include/bits/select2.h: New file.
28807 * debug/Makefile (routines): Add fdelt_chk.
28808 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28809 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28810 FD_ISSET.
28811 * debug/fdelt_chk.c: New file.
28812
762011fe
UD
28813 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28814 * wcsmbs/test-wmemcmp.c: Likewise.
28815 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28816 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28817
288182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28819
28820 * string/Makefile (strop-tests): Add memcmp.
28821 * string/test-wmemcmp.c: New file.
28822 * string/test-memcmp.c: Add wmemcmp support.
28823
7f513ec8
RM
288242011-09-08 Roland McGrath <roland@hack.frob.com>
28825
0442afb4
RM
28826 [BZ #13153]
28827 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28828 2011-07-19 change.
28829
7f513ec8
RM
28830 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28831 garbage value in a __mach_port_mod_refs call in the cases of the
28832 task-self and thread-self ports.
28833
a12b2239
ST
288342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28835
28836 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28837
610f9ab4
AS
288382011-09-08 Andreas Schwab <schwab@redhat.com>
28839
7f513ec8 28840 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28841
48882a1a
LD
288422011-09-07 Ulrich Drepper <drepper@gmail.com>
28843
b49865be
UD
28844 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28845
fdc86bc9
UD
28846 * elf/dl-libc.c (dlerror_run): Pass back error code from
28847 dl_catch_error.
28848
c966526a
UD
28849 [BZ #13123]
28850 * elf/dl-load.c (lose): Free l_origin if it is valid.
28851
48882a1a
LD
28852 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28853 names.
28854 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28855 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28856 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28858 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28859 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28860
77a2a8b4
AZ
288612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28862
28863 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28864 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28865 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28866 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28867 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28868 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28869 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28870 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28871 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28872 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28873
24f579d8
AM
288742011-08-15 Alan Modra <amodra@gmail.com>
28875
28876 [BZ #13092]
28877 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28878 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28879 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28880 ppc_mcount to static-only-routines.
28881 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28882 __mcount_internal.
28883 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28884 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28885
3d4837df
UD
288862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28887
28888 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28889 for finite and infinity parameters.
28890
22700377
WS
288912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28892
28893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28894 and add nop instructions for throughput optimization.
28895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28896
5025581e
WS
288972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28898
28899 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28900 aligned copy for power7 with vector-scalar instructions.
28901 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28902
08a300c9
L
289032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28904
28905 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28906 AVX check.
28907
59178ef9
AS
289082011-09-07 Andreas Schwab <schwab@redhat.com>
28909
28910 [BZ #13144]
28911 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28912 last change.
28913
e38ba7ab
UD
289142011-09-07 Ulrich Drepper <drepper@gmail.com>
28915
28916 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28917 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28918 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28919 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28920 clock_gettime.
28921
d53a73ac
UD
289222011-09-06 Ulrich Drepper <drepper@gmail.com>
28923
fc8bffcc
UD
28924 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28925 Forgot to demangle the pointer.
28926
ceaa0c5d
UD
28927 * sysdeps/i386/sysdep.h: Define atom_text_section.
28928 * sysdeps/x86_64/sysdep.h: Likewise.
28929 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28930 section with atom_text_section.
28931 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28932 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28933 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28934 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28935 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28936
a77d3c17
UD
28937 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28938 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28939 already be defined. Change to take two parameters and don't assign
28940 result to variable. Adjust all users.
28941 Define INTERNAL_GETTIME if not already defined.
28942 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28943 call.
28944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28945 HAVE_CLOCK_GETTIME_VSYSCALL.
28946 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28947
d53a73ac
UD
28948 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28949 gettimeofday vsyscall, just use time.
28950
a8f84144
AS
289512011-09-06 Andreas Schwab <schwab@redhat.com>
28952
28953 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28954 <errno.h>.
28955
ef606249
UD
289562011-09-06 Ulrich Drepper <drepper@gmail.com>
28957
28958 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28959 syscall on x86-64.
28960 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28961 syscall.
28962 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28963 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28964 syscall if possible.
28965
6585cb60
UD
289662011-09-05 Ulrich Drepper <drepper@gmail.com>
28967
28968 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28969 e_ident. Don't pass to find_mapsXX.
28970 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28971
a5f524e4
LD
289722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28973
28974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28975 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28976 * sysdeps/x86_64/multiarch/strchr.S: Update.
28977 Check bit_slow_BSF bit.
28978 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28979 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28980 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28981
554881ef
UD
289822011-09-05 Ulrich Drepper <drepper@gmail.com>
28983
d96de963
UD
28984 [BZ #13134]
28985 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28986 before glibc 2.15.
28987 (tryshell): Define.
28988 (__spawni): Change last parameter to be flag. Test
28989 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28990 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28991 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28992 * posix/spawni.c: Likewise.
28993 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28994 * posix/spawnp.c: Likewise. Change normal version to use
28995 SPAWN_XFLAGS_USE_PATH.
28996 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28997 SPAWN_XFLAGS_TRY_SHELL.
28998
d48e5868
UD
28999 [BZ #13150]
29000 * posix/glob.h: Remove gcc 1.x support.
29001
554881ef
UD
29002 [BZ #13068]
29003 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29004
693fb948
LD
290052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29006
29007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29008 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29009 strrchr-sse2-bsf
29010 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29011 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29012 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29013 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29014 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29015 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29016
1b48c537
UD
290172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29018
49d42c37
UD
29019 * sysdeps/x86_64/wcscmp.S: New file.
29020
1b48c537
UD
29021 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29022 wcscmp-c wcscmp-sse2
29023 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29024 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29025 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29026 * wcsmbs/wcscmp.c: Allow renaming.
29027
15c95c5d
DM
290282011-09-05 David S. Miller <davem@davemloft.net>
29029
29030 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29031 stack slot, rather than the struct return pointer slot.
29032 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29033 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29035 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29036
2f0ad8f3
UD
290372011-09-05 Ulrich Drepper <drepper@gmail.com>
29038
d88ae418
UD
29039 * po/ja.po: Update from translation team.
29040
2f0ad8f3
UD
29041 [BZ #13144]
29042 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29043 kernel in 64-bit binaries.
29044
5f4318d1
DM
290452011-09-01 David S. Miller <davem@davemloft.net>
29046
29047 * elf/elf.h (HWCAP_SPARC_*): Move to..
29048 * sysdeps/sparc/sysdep.h: this new file and add new values.
29049 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29050 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29051 _DL_HWCAP_COUNT to 24.
29052 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29053 entries.
29054 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29055 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29056 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29058 instead of magic constants.
29059 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29060
3ba57516
DM
290612011-08-31 David S. Miller <davem@davemloft.net>
29062
29063 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29065 Reimplement to do errno handling inline.
29066 (SYSCALL_ERROR_HANDLER): New macro.
29067 (__SYSCALL_STRING): Do not do errno handling in asm.
29068 (__CLONE_SYSCALL_STRING): Delete.
29069 (__INTERNAL_SYSCALL_STRING): Delete.
29070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29071 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29072 (PSEUDO): Reimplement to do errno handling inline.
29073 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29074 (SYSCALL_ERROR_HANDLER): New macro.
29075 (__SYSCALL_STRING): Do not do errno handling in asm.
29076 (__CLONE_SYSCALL_STRING): Delete.
29077 (__INTERNAL_SYSCALL_STRING): Delete.
29078 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29079 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29080 i386.
29081 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29082 (inline_syscall*): Add 'err' argument.
29083 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29084 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29085 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29086 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29087
29088 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29089 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29090
2bc17433
AS
290912011-08-30 Andreas Schwab <schwab@redhat.com>
29092
29093 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29094
fbeb5f4d
JO
290952011-08-29 Jiri Olsa <jolsa@redhat.com>
29096
29097 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29098 directive.
29099
ad69cc26
DM
291002011-08-24 David S. Miller <davem@davemloft.net>
29101
29102 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29103
39dd69df
AS
291042011-08-24 Andreas Schwab <schwab@redhat.com>
29105
29106 * elf/Makefile: Add rules to build and run unload8 test.
29107 * elf/unload8.c: New file.
29108 * elf/unload8mod1.c: New file.
29109 * elf/unload8mod1x.c: New file.
29110 * elf/unload8mod2.c: New file.
29111 * elf/unload8mod3.c: New file.
29112
29113 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29114 it wasn't used.
29115
2c0b250a
DM
291162011-08-23 David S. Miller <davem@davemloft.net>
29117
29118 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29119 subtract stack bias.
29120 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29121 %sp not %fp in calculations.
29122 (_JMPBUF_UNWINDS_ADJ): Likewise.
29123
22044b48
DM
29124 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29125 (aio_suspend): Call it to force an exception region around the
29126 AIO_MISC_WAIT() invocation.
29127
2cae4995
AS
291282011-08-23 Andreas Schwab <schwab@redhat.com>
29129
29130 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29131 backslash.
29132
873a772e
AJ
291332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29134
29135 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29136 protection macro.
29137 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29138 and <dl-machine.h>.
29139 (Elf64_FuncDesc): Remove.
29140
25ad0df1
DM
291412011-08-22 David S. Miller <davem@davemloft.net>
29142
29143 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29144 sigaltstack check, add missing cfi directives.
29145 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29146 missing cfi directives, and sigaltstack handling.
29147
e888bcbe
AS
291482011-08-16 Andreas Schwab <schwab@redhat.com>
29149
29150 [BZ #11724]
29151 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29152 object is seen twice.
29153 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29154
29155 * elf/Makefile (distribute): Add tst-initorder2.c.
29156 (tests): Add tst-initorder2.
29157 (modules-names): Add tst-initorder2a tst-initorder2b
29158 tst-initorder2c tst-initorder2d. Add rules to build them.
29159 ($(objpfx)tst-initorder2.out): New rule.
29160 * elf/tst-initorder2.c: New file.
29161 * elf/tst-initorder2.exp: New file.
29162
87162f46
AS
291632011-08-22 Andreas Schwab <schwab@redhat.com>
29164
70538b7f
AS
29165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29166
f55ffe58
AS
29167 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29168 dependencies back to end of function.
29169
87162f46
AS
29170 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29171 $(elfobjdir)/ld.so.
29172
91b392a4
UD
291732011-08-21 Ulrich Drepper <drepper@gmail.com>
29174
29175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29176 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29178 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29179 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29180 of __vdso_gettimeofday.
29181 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29182 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29183 attribute_hidden.
29184 (_libc_vdso_platform_setup): Remove initialization of
29185 __vdso_gettimeofday and __vdso_time.
29186
5c43483f
UD
291872011-08-20 Ulrich Drepper <drepper@gmail.com>
29188
775a77e7
UD
29189 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29190 and fgetc_unlocked.
29191 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29192 getc_unlocked.
89f447ed 29193
49c74ba9
UD
29194 * elf/dl-open.c (add_to_global): Report additions to the global scope
29195 for LD_DEBUG=scopes.
29196 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29197 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29198
5c43483f
UD
29199 [BZ #13114]
29200 * stdio-common/Makefile (tests): Add bug24.
29201 * stdio-common/bug24.c: New file.
29202
a101b025
AJ
292032011-08-19 Andreas Jaeger <aj@suse.de>
29204
29205 [BZ #13114]
29206 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29207 non-existant file when using close-on-exec mode.
29208
c88f1766
UD
292092011-08-20 Ulrich Drepper <drepper@gmail.com>
29210
0276a718
UD
29211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29212 the very first instruction.
29213
c88f1766
UD
29214 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29215 the CFI state in the end.
29216 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29217 inclusion of dl-trampoline.h.
29218 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29219
51ccffa0
AS
292202011-08-19 Andreas Schwab <schwab@redhat.com>
29221
94d7165f
AS
29222 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29223 expectations for long double.
29224
51ccffa0
AS
29225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29226 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29227
fd708658 292282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29229
29230 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29231 artificual limit depends upon the system page size.
29232
44f0a71e
UD
292332011-08-17 Ulrich Drepper <drepper@gmail.com>
29234
29235 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29236 * resolv/Makefile: Define CFLAGS-libresolv.
29237
8de79a24
AS
292382011-08-17 Andreas Schwab <schwab@redhat.com>
29239
29240 * nss/makedb.c (compute_tables): Make variables used in nested
29241 function static.
29242
27724598
UD
292432011-08-17 Ulrich Drepper <drepper@gmail.com>
29244
c5305d88
UD
29245 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29246 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29247 if buffer was too small.
29248
27724598
UD
29249 * elf/pldd.c (main): Attach to all threads in the process.
29250 Rewrite /proc handling to use *at functions.
29251
076fe015
UD
292522011-08-16 Ulrich Drepper <drepper@gmail.com>
29253
174baab3
UD
29254 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29255 specifies first scope to show.
29256 (dl_open_worker): Update callers. Move printing scope of new
29257 object to before the relocation.
44f0a71e 29258 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29259 * sysdeps/generic/ldsodefs.h: Update declaration.
29260
076fe015
UD
29261 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29262 string for the scope number.
29263
a60df2c3
UD
292642011-08-14 Ulrich Drepper <drepper@gmail.com>
29265
29266 * nscd/servicescache.c (cache_addserv): Make sure written is always
29267 initialized.
29268
5e4287d1
RM
292692011-08-14 Roland McGrath <roland@hack.frob.com>
29270
85ae0589
RM
29271 * sysdeps/i386/i486/bits/atomic.h
29272 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29273 statement expression, so as to suppress "set but not used" warning.
29274 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29275
69f63097
RM
29276 * string/strncat.c (STRNCAT): Use prototype definition.
29277
675456ef
RM
29278 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29279 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29280 -Iprograms here.
29281 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29282 (localedef-modules): Add localedef.
29283 (locale-modules): Add locale.
29284
5e4287d1
RM
29285 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29286 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29287 to avoid a warning.
29288
9c96ff23
DM
292892011-08-14 David S. Miller <davem@davemloft.net>
29290
29291 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29292 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29293
f9ddf089
UD
292942011-08-13 Ulrich Drepper <drepper@gmail.com>
29295
44f0a71e 29296 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29297 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29298 * elf/rtld.c (dl_main): Set l_name of vDSO.
29299 Call _dl_show_scope when DL_DEBUG_SCOPES.
29300 (process_dl_debug): Recognize scopes flag and also set it for all.
29301 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29302 Declare _dl_show_scope.
29303
1dc27704
UD
29304 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29305 (do_dlopen): Pass caller_dlopen to dl_open.
29306 (__libc_dlopen_mode): Initialize caller_dlopen.
29307
f9ddf089
UD
29308 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29309 of libc. Make tolower call locale-independent. Optimize a bit by
29310 using isdigit instead of isalnum.
29311 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29312
9ac533d3
UD
293132011-08-12 Ulrich Drepper <drepper@gmail.com>
29314
29315 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29316 was a dependency or dynamically loaded.
29317
89edf2e9
UD
293182011-08-11 Ulrich Drepper <drepper@gmail.com>
29319
8e999d29
UD
29320 * intl/l10nflist.c: Allow architecture-specific pop function.
29321 * sysdeps/x86_64/l10nflist.c: New file.
29322
89edf2e9
UD
29323 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29324 classification.
29325
14d96785
AS
293262011-08-10 Andreas Schwab <schwab@redhat.com>
29327
29328 * include/dirent.h: Add libc_hidden_proto for scandirat and
29329 scandirat64. Don't declare __scandirat64.
29330 * dirent/scandirat.c: Add libc_hidden_def.
29331 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29332 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29333
6761ac04
DM
293342011-08-10 David S. Miller <davem@davemloft.net>
29335
29336 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29337 enum.
29338 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29340 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29341
c55fbd1e
UD
293422011-08-09 Ulrich Drepper <drepper@gmail.com>
29343
29344 * Versions.def [libc]: Add GLIBC_2.15.
29345 * dirent/Makefile (routines): Add scandirat and scandirat64.
29346 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29347 GLIBC_2.15.
29348 * dirent/dirent.h: Declare scandirat and scandirat64.
29349 * dirent/scandirat.c: New file.
29350 * dirent/scandirat64.c: New file.
29351 * sysdeps/wordsize-64/scandirat.c: New file.
29352 * sysdeps/wordsize-64/scandirat64.c: New file.
29353 * dirent/opendir.c: Define opendirat.
29354 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29355 using scandirat.
29356 * dirent/scandir64.c: Adjust for scandir.c change.
29357 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29358 __scandirat64, and __scandir_cancel_handler.
29359 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29360 additional parameter and use openat instead of open (outside of ld.so).
29361 Add new __opendir as wrapper around __opendirat.
29362 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29363 here without requiring old scandirat implementation.
29364
879165f2
UD
293652011-08-08 Ulrich Drepper <drepper@gmail.com>
29366
29367 * dirent/scandir.c (cancel_handler): Renamed to
29368 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29369 defined. Adjust users.
29370 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29371 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29372
cb7e923b
UD
293732011-08-04 Ulrich Drepper <drepper@gmail.com>
29374
16292edd
UD
29375 * string/test-string.h (IMPL): Use __STRING to expand name and then
29376 stringify it.
29377
cb7e923b
UD
29378 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29379 of cleanups.
29380
cff82933
LD
293812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29382
29383 * string/Makefile: Update.
29384 (strop-tests): Append strncat.
29385 * string/test-wcscmp.c: New file.
29386 New comprehensive test for wcscmp.
29387 * string/test-strcmp.c: Update.
29388 (WIDE): New define.
29389
9be9bfcc
AS
293902011-07-22 Andreas Schwab <schwab@redhat.com>
29391
29392 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29393 line.
29394
2e96f1c7
AS
293952011-07-26 Andreas Schwab <schwab@redhat.com>
29396
29397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29398 encoding to ACE if AI_IDN.
29399
85188888
JJ
294002011-08-01 Jakub Jelinek <jakub@redhat.com>
29401
29402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29403 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29404
5fa16e9b
LD
294052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29406
29407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29408 Fix overflow bug in strncat.
29409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29410
29411 * string/test-strncat.c: Update.
29412 Add new tests for checking overflow bugs.
29413
294142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29415
29416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29417 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29418 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29419 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29420 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29421 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29422 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29423 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29424 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29425
29426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29427 (USE_AS_STRCAT): Define.
29428 Add strcat and strncat support.
29429 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29430
8c1a459f
AS
294312011-07-25 Andreas Schwab <schwab@redhat.com>
29432
29433 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29434 __n bigger than INT_MAX+1.
29435 (__strncmp_g): Likewise.
29436
bba33c28
UD
294372011-07-23 Ulrich Drepper <drepper@gmail.com>
29438
798be72d
UD
29439 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29440 * libio/stido.h: Likewise.
29441
8accd4dc
UD
29442 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29443 (AF_NFC): Define.
29444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29445 (AF_NFC): Define.
29446
cbff0d96
UD
29447 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29448 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29449 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29450 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29452
9191c04a
UD
29453 [BZ #13021]
29454 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29455 installed.
29456
bba33c28
UD
29457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29458 typo.
29459 (_dl_x86_64_save_sse): Likewise.
29460
90f139dd
UD
294612011-07-22 Ulrich Drepper <drepper@gmail.com>
29462
1aae088a
UD
29463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29464 OSXSAVE.
29465 (_dl_x86_64_save_sse): Likewise.
29466
8e2045f5
UD
29467 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29468
90f139dd
UD
29469 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29470
1d002f25
AS
294712011-07-21 Andreas Schwab <schwab@redhat.com>
29472
29473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29474 change.
29475 (_dl_x86_64_save_sse): Use correct AVX check.
29476
21137f89
UD
294772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29478
29479 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29480 bug in strncpy/strncat.
29481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29482
a65c0b7a
UD
294832011-07-21 Ulrich Drepper <drepper@gmail.com>
29484
29485 * string/tester.c (test_strcat): Add tests for different alignments
29486 of source and destination.
29487 (test_strncat): Likewise.
29488
6986b98a
UD
294892011-07-20 Ulrich Drepper <drepper@gmail.com>
29490
90bb2039
UD
29491 [BZ #12852]
29492 * posix/glob.c (glob): Check passed in values before using them in
29493 expressions to avoid some overflows.
29494 (glob_in_dir): Likewise.
29495
5644ef54
UD
29496 [BZ #13007]
29497 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29498 check for AVX enablement so that we don't crash with old kernels and
29499 new hardware.
29500 * elf/tst-audit4.c: Add same checks here.
29501 * elf/tst-audit6.c: Likewise.
29502
29503 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29504
bfc9dc9b
AS
295052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29506
29507 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29508
702e64bb
UD
295092011-07-20 Ulrich Drepper <drepper@gmail.com>
29510
29511 * po/cs.po: Update from translation team.
29512 * po/bg.po: Likewise.
29513
295e904f
MP
295142011-07-12 Marek Polacek <mpolacek@redhat.com>
29515
29516 * misc/sys/cdefs.h: Add support for const attribute.
29517 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29518 to gnu_dev_{major,minor,makedev} functions.
29519
3ff94596
MP
295202011-07-20 Marek Polacek <mpolacek@redhat.com>
29521
29522 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29523
28b59fca
AS
295242011-07-20 Andreas Schwab <schwab@redhat.com>
29525
29526 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29527 strlen results.
29528
19df733e
AK
295292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29530
29531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29532 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29533 register in order to avoid conflicts with the soft frame pointer
29534 being held in r11 when necessary.
29535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29536 (INTERNAL_VSYSCALL_NCS): Likewise.
29537
c8835729
MP
295382011-07-14 Marek Polacek <mpolacek@redhat.com>
29539
29540 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29541 * elf/dl-fini.c (_dl_fini): Adjust caller.
29542 * elf/dl-close.c (_dl_close_worker): Likewise.
29543 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29544
b902330c
MP
295452011-07-15 Marek Polacek <mpolacek@redhat.com>
29546
8991e135
MP
29547 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29548 "aux_cache->nlibs < 0".
29549
b902330c
MP
29550 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29551 in the reload-count case.
29552
99710781
LD
295532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29554
29555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29556 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29557 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29558 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29559 * sysdeps/x86_64/multiarch/strcat.S: New file.
29560 * sysdeps/x86_64/multiarch/strncat.S: New file.
29561 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29562 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29563 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29564 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29565 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29566 (USE_AS_STRCAT): Define.
29567 Add strcat and strncat support.
29568 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29569 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29570 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29571 * string/strncat.c: Update.
29572 (USE_AS_STRNCAT): Define.
29573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29574 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29575 and i7.
29576 * sysdeps/x86_64/multiarch/init-arch.h
29577 (bit_Prefer_PMINUB_for_stringop): New.
29578 (index_Prefer_PMINUB_for_stringop): Likewise.
29579 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29580 bit_Prefer_PMINUB_for_stringop.
29581
7dc6bd90
UD
295822011-07-19 Ulrich Drepper <drepper@gmail.com>
29583
29584 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29585 buffer64.
29586 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29587 of casting of buffer.
29588 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29589 buffer32 and buffer64.
29590 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29591 writes instead of casting of buffer.
29592 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29593 buffer32.
29594 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29595 casting of buffer.
29596
e0e72284
AS
295972011-07-19 Andreas Schwab <schwab@redhat.com>
29598
29599 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29600
feb1eb0b
UD
296012011-07-19 Ulrich Drepper <drepper@gmail.com>
29602
29603 * nscd/nscd.c (termination_handler): Don't do anything for a database
29604 if it has not yet been initialized.
29605
298711ff
UD
296062011-07-18 Ulrich Drepper <drepper@gmail.com>
29607
29608 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29609
296102011-07-15 Marek Polacek <mpolacek@redhat.com>
29611
29612 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29613
f9d68389
UD
296142011-07-18 Ulrich Drepper <drepper@gmail.com>
29615
29616 * po/nl.po: Update from translation team.
29617 * po/sv.po: Likewise.
29618
db290cf5
RM
296192011-07-16 Roland McGrath <roland@hack.frob.com>
29620
29621 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29622 now disallowed by GCC.
5c550700 29623
fd5e21c7
RM
29624 * configure.in (use-default-link): Default to yes if a test -shared
29625 link meets our qualifications.
29626 * configure: Regenerated.
29627
5c550700
RM
29628 * config.make.in (output-format): New variable.
29629 * configure.in: Check for ld --print-output-format support.
29630 * configure: Regenerated.
29631 * Makerules ($(common-objpfx)format.lds)
29632 [$(output-format) != unknown]: Just use $(output-format),
29633 instead of the linker-script munging.
29634
9fa2c032
RM
296352011-07-14 Roland McGrath <roland@hack.frob.com>
29636
a6928d51
RM
29637 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29638 of $(common-objpfx)shlib.lds.
29639 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29640
661607b3
RM
29641 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29642 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29643
9fa2c032
RM
29644 * configure.in (-z relro check): Adjust test code to add a large
29645 writable data section after it.
29646 * configure: Regenerated.
29647
defe9061
RM
296482011-07-11 Roland McGrath <roland@hack.frob.com>
29649
29650 * configure.in (-z relro check): Fix test code to make the variable
29651 truly const.
29652 * configure: Regenerated.
29653
319b9ad4
UD
296542011-07-11 Ulrich Drepper <drepper@gmail.com>
29655
29656 * nscd/nscd.h (struct traced_file): Define.
29657 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29658 elements. Add traced_files.
29659 (inotify_fd): Declare.
29660 (register_traced_file): Declare.
29661 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29662 (inotify_fd): Export.
29663 (resolv_conf_descr): Remove.
29664 (nscd_init): Move inotify descriptor creation to main.
29665 Don't register files for notification here.
29666 (register_traced_file): New function.
29667 (invalidate_cache): Don't use reset_res to determine whether to call
29668 res_init, go through the list of registered files.
29669 (main_loop_poll): The inotify descriptors are now stored in the
29670 structures for the traced files.
29671 (main_loop_epoll): Likewise
29672 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29673 to __nss_disable_nscd.
29674 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29675 for a database anymore. Check the records for all the registered
29676 files instead.
29677 * nss/Makefile (libnss_files-routines): Add files-init.
29678 (libnss_db-routines): Add db-init.
29679 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29680 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29681 * nss/nss_db/db-init.c: New file.
29682 * nss/nss_files/files-init.c: New file.
29683 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29684 __nss_lookup_function.
29685 (__nss_lookup_function): Call nss_load_library.
29686 (nss_load_all_libraries): New function.
29687 (__nss_disable_nscd): Take parameter with callback function for files
29688 to register. Set is_nscd. Load all the DSOs for the NSS modules
29689 used for the cached services.
29690 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29691 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29692 options for features to all the files in nscd.
29693
29694 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29695
23bee3e8
RM
296962011-07-10 Roland McGrath <roland@hack.frob.com>
29697
29698 * csu/elf-init.c (__libc_csu_init): Comment typo.
29699
46a5b7f0
UD
297002011-07-09 Ulrich Drepper <drepper@gmail.com>
29701
29702 * po/pl.po: Update from translation team.
29703 * po/ja.po: Likewise.
29704 * po/ru.po: Likewise.
29705 * po/ko.po: Likewise.
29706 * po/fr.po: Likewise.
29707
d30cf5bb
RM
297082011-07-09 Roland McGrath <roland@hack.frob.com>
29709
113ddea4
RM
29710 * configure.in (.ctors/.dtors header and trailer check):
29711 Use an empirical test on a built program.
29712 * configure: Regenerated.
29713
574920b4
RM
29714 * configure.in (-z relro check): Use an empirical test on a built DSO.
29715 Detect, but do not require, on ia64.
29716 * configure: Regenerated.
29717
d30cf5bb
RM
29718 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29719 Update tests that use readelf to use $READELF instead.
29720 * configure: Regenerated.
29721
8538fdb3
UD
297222011-07-08 Ulrich Drepper <drepper@gmail.com>
29723
29724 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29725 if the result is not used.
29726
04d08991
AJ
297272011-07-05 Andreas Jaeger <aj@suse.de>
29728
29729 [BZ#9696]
29730 * stdlib/tst-strtod.c: Add testcase.
29731
de283087
AD
297322011-07-07 Ulrich Drepper <drepper@gmail.com>
29733
4e5f31c8 29734 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29735 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29736 The latter has a higher limit. Take additional parameter to pass to
29737 the new function.
29738 (__pathconf): Pass file to __statfs_link_max.
29739 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29740 __statfs_link_max.
29741 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29742 __statfs_link_max.
29743
de283087
AD
29744 [BZ #12868]
29745 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29746 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29747 Handle Lustre.
29748 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29749 (__statfs_filesize_max): Likewise.
29750 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29751
c75fa153
AJ
297522011-07-05 Andreas Jaeger <aj@suse.de>
29753
29754 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29755
1a544854
UD
297562011-07-06 Marek Polacek <mpolacek@redhat.com>
29757
29758 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29759 `status' variable.
29760 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29761 Likewise.
29762
6f0eec67
UD
297632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 * Makefile (strop-tests): Add strncat.
29766 * string/test-strncat.c: New file.
29767
aae30307
UD
297682011-06-30 Marek Polacek <mpolacek@redhat.com>
29769
29770 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29771
c0cfb5eb
UD
297722011-06-21 Andreas Jaeger <aj@suse.de>
29773
29774 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29775 Copy rule from iconvdata/Makefile.
29776
01636b21
UD
297772011-07-06 Ulrich Drepper <drepper@gmail.com>
29778
29779 [BZ #12922]
29780 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29781 but no long options are defined, just return 'W'.
29782
9895c8bc
UD
297832011-06-22 Marek Polacek <mpolacek@redhat.com>
29784
29785 [BZ #9696]
29786 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29787
5d4cf042
UD
297882011-07-06 Ulrich Drepper <drepper@gmail.com>
29789
29790 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29791 netgroups to read.
960e5535 29792 (innetgr): Likewise.
5d4cf042 29793
751eb97e
RM
297942011-07-05 Roland McGrath <roland@hack.frob.com>
29795
29796 * config.make.in (install_root): Default to $(DESTDIR).
29797
f15f1e45
UD
297982011-07-05 Ulrich Drepper <drepper@gmail.com>
29799
29800 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29801
4e34ac6a
RM
298022011-07-02 Roland McGrath <roland@hack.frob.com>
29803
5e9b6af4
RM
29804 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29805
84f9ea0f
RM
29806 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29807 containing directory rather than embedding absolute directory names.
29808
ea5ee9f7
RM
29809 * scripts/check-local-headers.sh: Rewritten using awk.
29810 Match by word, not by line. Print error messages for matches.
29811 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29812
1b74661a
RM
29813 * Makerules [shlib-lds-flags empty]:
29814 ($(common-objpfx)libc_pic.opts): New target.
29815 ($(common-objpfx)libc_pic.os.clean): New target.
29816 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29817
29818 * config.make.in (OBJCOPY): New variable.
29819 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29820 * configure: Regenerated.
29821
f781ef40
RM
29822 * config.make.in (use-default-link): New variable.
29823 * configure.in (use_default_link): Grok --with-default-link to set it.
29824 * configure: Regenerated.
29825 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29826 (shlib-lds, shlib-lds-flags): Define to empty.
29827
2d4fa81e
RM
29828 * Makerules (shlib-lds): New variable.
29829 (shlib-lds-flags): New variable.
29830 (build-shlib, build-moduile, build-module-asneeded): Use it.
29831 ($(common-objpfx)libc.so): Use $(shlib-lds).
29832 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29833 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29834
31fffa6b
RM
29835 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29836 DT_FLAGS/DT_FLAGS_1 with zero flags.
29837
4e34ac6a
RM
29838 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29839 linker script munging.
29840
fcfc776b
UD
298412011-07-02 Ulrich Drepper <drepper@gmail.com>
29842
29843 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29844 as 128-bit value.
29845 * crypt/sha512.c (sha512_process_block): Perform total addition using
29846 128-bit if possible.
29847 (__sha512_finish_ctx): Likewise.
29848 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29849 as 64-bit value.
29850 * crypt/sha256.c (SWAP64): Define.
29851 (sha256_process_block): Perform total addition using 64-bit if
29852 possible.
29853 (__sha256_finish_ctx): Likewise.
29854
99231d9a
UD
298552011-07-01 Ulrich Drepper <drepper@gmail.com>
29856
29857 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29858 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29859 * nscd/hstcache.c (cache_addhst): Likewise.
29860 * nscd/grpcache.c (cache_addgr): Likewise.
29861 * nscd/aicache.c (addhstaiX): Likewise
29862 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29863
445b4a53
TK
298642011-07-01 Thorsten Kukuk <kukuk@suse.de>
29865
29866 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29867 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29868 * nscd/hstcache.c (cache_addhst): Likewise.
29869 * nscd/grpcache.c (cache_addgr): Likewise.
29870 * nscd/aicache.c (addhstaiX): Likewise
29871
6d4d8e8e
AS
298722011-07-01 Andreas Schwab <schwab@redhat.com>
29873
29874 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29875 domain only when needed.
29876
89f654c5
AS
298772011-06-30 Andreas Schwab <schwab@redhat.com>
29878
29879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29880 is always restored.
29881
cf3b23ff
UD
298822011-06-29 Ulrich Drepper <drepper@gmail.com>
29883
29884 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29885 are re-adding the entry.
29886 * nscd/servicescache.c (cache_addserv): Likewise.
29887
751626f9
AJ
298882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29889
29890 * sysdeps/generic/dl-irel.h: fix protection against multiple
29891 inclusions.
29892 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29893
9113ea1f
UD
298942011-06-28 Ulrich Drepper <drepper@gmail.com>
29895
5c0b8d90
UD
29896 [BZ #12935]
29897 * malloc/memusage.sh: Fix quoting in message.
29898 * debug/xtrace.sh: Likewise.
29899
9113ea1f
UD
29900 * configure.in: Remove support for --experimental-malloc option, make
29901 it the default.
29902 * config.make.in: Likewise.
29903 * malloc/Makefile: Likewise.
29904
a4172181
AS
299052011-06-27 Andreas Schwab <schwab@redhat.com>
29906
29907 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29908 two-byte characters.
29909
78a7eee7
RM
299102011-06-27 Roland McGrath <roland@hack.frob.com>
29911
62bede13
RM
29912 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29913 AC_CACHE_CHECK invocation.
29914 * configure: Regenerated.
29915
78a7eee7
RM
29916 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29917
5ce33a62
UD
299182011-06-27 Ulrich Drepper <drepper@gmail.com>
29919
034807a9
UD
29920 [BZ #12350]
29921 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29922 bit from old_res_options.
29923
4902da17
UD
29924 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29925
5ce33a62
UD
29926 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29927 value type for setfct.
29928
c2344f56
L
299292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29930
29931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29932 __gettimeofday instead of gettimeofday.
29933
68468076
UD
299342011-06-26 Ulrich Drepper <drepper@gmail.com>
29935
29936 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29937
acb0d739
L
299382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29939
29940 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29941
29942 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29943 info.
29944
8912479f
L
299452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29946
29947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29948 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29949 strcpy-sse2-unaligned strncpy-sse2-unaligned
29950 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29951 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29952 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29953 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29954 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29955 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29956 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29957 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29958 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29959 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29960 (STRCPY): Support SSE2 and SSSE3 versions.
29961
d5495a11
UD
299622011-06-24 Ulrich Drepper <drepper@gmail.com>
29963
29964 [BZ #12874]
29965 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29966 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29967 kernels which artificially limit size of requests.
29968
0b1cbaae
L
299692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29970
29971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29972 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29973 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29974 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29975 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29976 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29977 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29978 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29979 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29980 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29981 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29982 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29983 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29984 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29985 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29987 Enable unaligned load optimization for Intel Core i3, i5 and i7
29988 processors.
29989 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29990 Define.
29991 (index_Fast_Unaligned_Load): Define.
29992 (HAS_FAST_UNALIGNED_LOAD): Define.
29993
07f494a0
MP
299942011-06-23 Marek Polacek <mpolacek@redhat.com>
29995
29996 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29997
fa3fc0fe
UD
299982011-06-22 Ulrich Drepper <drepper@gmail.com>
29999
30000 [BZ #12907]
30001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30002 until it is clear that the information is realy needed.
30003 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30004
e12df166
AS
300052011-06-22 Andreas Schwab <schwab@redhat.com>
30006
30007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30008
852eb34d
UD
300092011-06-22 Ulrich Drepper <drepper@gmail.com>
30010
84e2a551
UD
30011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30012 /sys/devices/system/cpu/online if it is usable.
30013
852eb34d
UD
30014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30015 reading the information from the /proc filesystem to once a second.
30016
6e502e19
UD
300172011-06-21 Andreas Jaeger <aj@suse.de>
30018
30019 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30020 NULL after inclusion of kernel headers.
30021
75d39ff2
UD
300222011-06-21 Ulrich Drepper <drepper@gmail.com>
30023
51f9aa6a
UD
30024 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30025 calls to internal_setent.
30026
c0244a9d
UD
30027 [BZ #12885]
30028 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30029 addresses using gethostbyname4_r ignore IPv4 addresses.
30030
c5e3c2ae
UD
30031 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30032 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30033
75d39ff2
UD
30034 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30035
42675c6f
DM
300362011-06-20 David S. Miller <davem@davemloft.net>
30037
30038 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30039 inclusions.
30040 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30041
30042 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30043 (elf_irel): Use it.
30044 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30045 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30046 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30047 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30048 * sysdeps/x86_64/dl-irel.h: Likewise.
30049
30050 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30051 * elf/dl-sym.c: Likewise.
30052
57912a71
UD
300532011-06-15 Ulrich Drepper <drepper@gmail.com>
30054
30055 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30056 need to dereference resplen2.
30057
ee22793d
AS
300582011-06-14 Andreas Schwab <schwab@redhat.com>
30059
30060 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30061
a9e836b0
UD
300622011-06-15 Ulrich Drepper <drepper@gmail.com>
30063
77fb9117
UD
30064 * Makeconfig: Define vardbdir and inst_vardbdir.
30065 * nss/Makefile: Add rules to install db-Makefile.
30066
40c1b22c
UD
30067 * nss/nss_db/db-XXX.c: Cleanup.
30068
9f2da732
UD
30069 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30070 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30071 GLIBC_PRIVATE.
30072 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30073 * nss/makedb.c: Implement -g option to specify that value strings
30074 are generated and should not be added to table iterated over for
30075 get*ent calls.
30076 * nss/nss_db/db-initgroups.c: New file.
30077
82e9a1f7
UD
30078 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30079 interface.
30080
c41af17e
UD
30081 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30082 (internal_getgrouplist): Adjust to name change.
30083 Update use_initgroups_entry if this is not the first call.
30084 * nss/databases.def: Add initgroups entry.
30085
a9e836b0
UD
30086 * nss/makedb.c (compute_tables): Check result of multiple hash table
30087 sizes to minimize maximum chain length.
30088
2666d441
UD
300892011-06-14 Ulrich Drepper <drepper@gmail.com>
30090
30091 * Versions.def: Add entry for libnss_db.
30092 * shlib-versions: Likewise.
30093 * nss/Makefile: Add rules to build libnss_db.
30094 * nss/Versions: Add libnss_db information. Organize libnss_files
30095 entries better.
30096 * nss/db-Makefile: Add gshadow support. Change rules for the new
30097 makedb progra. Some minor improvements to generate smaller files.
30098 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30099 here from...
30100 * nss/makedb.c: ...here.
30101 Improve database format to be smaller and require less memory at
30102 runtime.
30103 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30104 db anymore.
30105 * nss/nss_db/db-netgrp.c: Likewise.
30106 * nss/nss_db/db-open.c: Likewise.
30107 * nss/nss_files/flies-XXX.x: Adjust comments.
30108 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30109 * nss/nss_files/files-grp.c: Likewise.
30110 * nss/nss_files/files-hosts.c: Likewise.
30111 * nss/nss_files/files-network.c: Likewise.
30112 * nss/nss_files/files-proto.c: Likewise.
30113 * nss/nss_files/files-pwd.c: Likewise.
30114 * nss/nss_files/files-rpc.c: Likewise.
30115 * nss/nss_files/files-service.c: Likewise.
30116 * nss/nss_files/files-sgrp.c: Likewise.
30117 * nss/nss_files/files-spwd.c: Likewise.
30118 * nss/nss_db/db-alias.c: Removed.
30119 * nss/nss_db/dummy-db.h: Removed.
30120
9ee76b5a
UD
301212011-06-02 Ulrich Drepper <drepper@gmail.com>
30122
30123 * nss/makedb.c: Rewritten to not use database library.
30124 * nss/Makefile: Update to build new makedb program.
30125
c71ca1f8
AJ
301262011-06-14 Andreas Jaeger <aj@suse.de>
30127
30128 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30129 memset declaration.
30130
3154bfb8
UD
301312011-06-10 Andreas Schwab <schwab@redhat.com>
30132
30133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30134 tmpbuf.
30135
b350afab
RM
301362011-06-10 Roland McGrath <roland@hack.frob.com>
30137
decd4e50
RM
30138 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30139 * elf/Makefile ($(objpfx)ld.so): Likewise.
30140
5615eaf2
RM
30141 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30142 Don't list ld.so twice in dependencies.
30143
30144 * posix/bug-regex31.c: Include <stdlib.h>.
30145
30146 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30147
30148 * nis/nss_compat/compat-spwd.c
30149 (getspent_next_nss_netgr): Remove unused variable.
30150 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30151
30152 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30153 nonmembers" output to use the right array.
30154
30155 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30156
30157 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30158
30159 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30160 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30161 * catgets/gencat.c (read_input_file): Likewise.
30162 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30163
30164 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30165 variable definition inside #if's controlling its use.
30166
30167 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30168
30169 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30170
30171 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30172
30173 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30174 unreachable code.
30175
30176 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30177
b68e08db
RM
30178 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30179 * configure: Regenerated.
30180
b350afab
RM
30181 * Makerules: Revert last change.
30182 * elf/Makefile: Likewise.
30183
28368601
RM
301842011-06-09 Roland McGrath <roland@hack.frob.com>
30185
30186 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30187 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30188 (reloc-link): Likewise.
30189
11988f8f
UD
301902011-06-09 Ulrich Drepper <drepper@gmail.com>
30191
30192 * elf/Makefile: Add rules to build pldd.
30193 * elf/pldd.c: New file.
30194 * elf/pldd-xx.c: New file.
30195
e80fab37
UD
301962011-06-07 Ulrich Drepper <drepper@gmail.com>
30197
30198 * version.h: Update for 2.15 development version.
30199
9b849836
DM
302002011-06-07 David S. Miller <davem@davemloft.net>
30201
30202 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30203 ifuncs.
30204 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30205 elf_machine_lazy_rel): Likewise.
30206 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30208 elf_machine_lazy_rel): Likewise.
30209 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30210 dl_hwcap via passed in argument.
30211 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30212 Likewise.
30213
5a31b283
AK
302142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30215
30216 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30217
069e52f8
RM
302182011-06-06 Roland McGrath <roland@hack.frob.com>
30219
30220 [BZ #12849]
30221 * manual/fdl-1.1.texi: New file, verbatim from:
30222 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30223 * manual/lgpl-2.1.texi: New file, verbatim from:
30224 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30225 * manual/Makefile (licenses): New variable, list those new file names.
30226 (texis): Use it.
30227 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30228
30229 * manual/fdl.texi: File removed.
30230 * manual/lesser.texi: File removed.
30231 * manual/libc.texinfo (Copying, Documentation License):
30232 Use new @include file names, put @appendix directive before @include.
30233
f16846a5
JJ
302342011-06-04 Jakub Jelinek <jakub@redhat.com>
30235
30236 [BZ #12841]
30237 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30238 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30239 (mq_open): Add __NTH.
30240
3d29045b
L
302412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30242
30243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30244 Assume Intel Core i3/i5/i7 processor if AVX is available.
30245
8c297311
UD
302462011-05-31 Ulrich Drepper <drepper@gmail.com>
30247
30248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30249 typo.
30250
c8fc0c91
UD
302512011-05-31 Andreas Schwab <schwab@redhat.com>
30252
30253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30254 memory. Use alloca_account. Fix memory leak when retrying.
30255
5b27a807
UD
302562011-05-31 Ulrich Drepper <drepper@gmail.com>
30257
356f8bc6
UD
30258 * version.h (RELEASE): Bump for 2.14 release.
30259 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30260
5b27a807
UD
30261 * config.make.in (RANLIB): Remove entry.
30262
01f16ab0
UD
302632011-05-30 Ulrich Drepper <drepper@gmail.com>
30264
41fce8bd
UD
30265 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30266 (libc.pot): Work around missing support for .ksh extension in xgettext.
30267
4769ae77
UD
30268 [BZ #12684]
30269 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30270 if both request failed.
30271 (send_dg): In case of server errors clear resplen or *resplen2.
30272
6b1e7d19
UD
30273 [BZ #12454]
30274 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30275 when there are multiple maps.
30276 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30277 (_dl_fini): Remove test here.
30278
01f16ab0
UD
30279 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30280
b1ebd700
UD
302812011-05-29 Ulrich Drepper <drepper@gmail.com>
30282
7ae22829
UD
30283 [BZ #12350]
30284 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30285 bit from old_res_options.
30286 (gaih_inet): Likewise.
30287
553149f6 30288 [BZ #11099]
18a84741 30289 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30290 as signed.
30291
652ffab1
UD
30292 * resolv/res_init.c (res_setoptions): Make the code more compact.
30293
16985fd0
UD
30294 [BZ #11558]
30295 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30296 set RES_USEVC.
30297
0464f746
UD
30298 [BZ #11634]
30299 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30300
7d17596c
UD
30301 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30302
cf6bbbd7
UD
30303 [BZ #11781]
30304 * malloc/malloc.h: Declare malloc hook variables as volatile.
30305
13f1ab36
UD
30306 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30307 in last patch.
30308
b1ebd700
UD
30309 [BZ #11799]
30310 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30311 raise in the comment.
80e2212d
UD
30312 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30313 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30314 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30315
ce67228d
UD
303162011-05-28 Ulrich Drepper <drepper@gmail.com>
30317
8887a920
UD
30318 [BZ #12811]
30319 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30320 grow the buffers more if it already has to be sufficient.
30321 (build_wcs_upper_buffer): Likewise.
30322 * posix/regexec.c (check_matching): Likewise.
30323 (clean_state_log_if_needed): Likewise.
30324 (extend_buffers): Don't enlarge buffers beyond size of the input
30325 buffer.
30326 Patches mostly by Emil Wojak <emil@wojak.eu>.
30327 * posix/bug-regex32.c: New file.
30328 * posix/Makefile (tests): Add bug-regex32.
30329
4f031072
UD
30330 * locale/findlocale.c (_nl_find_locale): Return right away if
30331 _nl_explode_name failed.
30332 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30333
d0478f0c
UD
30334 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30335
de81b246
UD
30336 * debug/xtrace.sh: Unify messages.
30337 * malloc/memusage.sh: Likewise.
30338
c738465a
UD
30339 [BZ #12813]
30340 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30341 time symbol from vDSO. Substitute with vsyscall if not available.
30342 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30343 __vdso_time.
30344
f1f929d7
UD
30345 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30346 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30347 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30348 Add sendmmsg and internal_sendmmsg.
30349 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30350 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30351 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30352
ce67228d
UD
30353 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30354 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30355 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30356
e57420c6
UD
303572011-05-27 Ulrich Drepper <drepper@gmail.com>
30358
a8509ca5
UD
30359 [BZ #12813]
30360 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30361 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30362 available.
30363 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30364 __vdso_getcpu.
30365
e57420c6
UD
30366 [BZ #12814]
30367 * iconvdata/Makefile (tests): Add bug-iconv9.
30368 * iconvdata/bug-iconv9.c: New file.
30369
4d07db15
AS
303702011-05-27 Andreas Schwab <schwab@redhat.com>
30371
30372 [BZ #12814]
30373 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30374
ea486f69
JJ
303752011-05-25 Jakub Jelinek <jakub@redhat.com>
30376
30377 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30378 (struct user_regs_struct): Change intcs field back to cs.
30379
6f038433
UD
303802011-05-25 Ulrich Drepper <drepper@gmail.com>
30381
30382 * po/ja.po: Update from translation team.
30383
67f86a25
UD
303842011-05-23 Ulrich Drepper <drepper@gmail.com>
30385
30386 [BZ #12795]
30387 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30388 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30389
def7fbd6
AS
303902011-05-20 Andreas Schwab <schwab@redhat.com>
30391
30392 * stdlib/longlong.h: Update from GCC.
30393
f50ef8f1
AS
303942011-05-23 Andreas Schwab <schwab@redhat.com>
30395
30396 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30397 parameter name.
30398 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30399 Add parameter name.
30400 (__sysconf): Pass it down.
30401
de7ce8f1
UD
304022011-05-22 Ulrich Drepper <drepper@gmail.com>
30403
f2962a71
UD
30404 [BZ #12671]
30405 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30406 some situations.
30407 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30408 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30409 add in in __libc_use_alloca calls. Adjust callers.
30410 (glob): Use malloc in some situations.
30411
de7ce8f1
UD
30412 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30413 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30414 pltexit.
30415
aec84f53
UD
304162011-05-21 Ulrich Drepper <drepper@gmail.com>
30417
05bb4a68
UD
30418 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30419 and CLOCK_BOOTTIME_ALARM.
30420
7ea72f99
UD
30421 [BZ #12782]
30422 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30423 is returned.
30424
7e4afad5
UD
30425 * string/_strerror.c (__strerror_r): Print negative errors as signed
30426 numbers.
30427
8e211fec
UD
30428 [BZ #12777]
30429 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30430 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30431 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30432
f7d82dc9
UD
30433 * configure.in: Fix typo in redirection and correct removal of test
30434 files in two cases.
30435
cc9e536d
UD
30436 [BZ #12788]
30437 * locale/setlocale.c (new_composite_name): Fix test to check for
30438 identical name of all categories.
30439
aec84f53
UD
30440 [BZ #12792]
30441 * libio/filedoalloc.c (local_isatty): New function.
30442 (_IO_file_doallocate): Use local_isatty.
30443 * stdio-common/perror.c (perror): In case a new stream is used
30444 forward the stream error.
30445 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30446 error flag.
30447
78e64fdc
RT
304482011-05-20 Ulrich Drepper <drepper@gmail.com>
30449
34a9094f
UD
30450 [BZ #11869]
30451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30452 alloca.
30453 * include/alloca.h (extend_alloca_account): Define.
30454
78e64fdc
RT
30455 [BZ #11857]
30456 * posix/regex.h: Fix comments with documentation of user-accessible
30457 fields after compilation and describe correct free'ing of pattern
30458 after re_compile_pattern.
30459 Patch by Reuben Thomas <rrt@sc3d.org>.
30460
457bddfc
RA
304612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30462
30463 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30464 and -mno-altivec to prevent the compiler from using Altivec and/or
30465 VSX instructions when the corresponding registers are not available.
30466
a4527b51
AS
304672011-05-19 Andreas Schwab <schwab@redhat.com>
30468
30469 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30470
ed690b2f
UD
304712011-05-19 Ulrich Drepper <drepper@gmail.com>
30472
30473 * libio/freopen.c (freopen): Use __dup2, not dup2.
30474 * libio/freopen64.c (freopen64): Likewise.
30475
8db73634
L
304762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30477
30478 [BZ #12775]
30479 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30480 * math/Makefile (tests): Add test-powl.
30481 (CFLAGS-test-powl.c): Define.
30482 * math/test-powl.c: New file.
30483
0a197a9d
L
304842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30485
30486 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30487
ee30c380
UD
304882011-05-17 Ulrich Drepper <drepper@gmail.com>
30489
30490 [BZ #11837]
30491 * iconvdata/gb18030.c: Update to GB18020-2005.
30492
6ce75379
UD
304932011-05-16 Ulrich Drepper <drepper@gmail.com>
30494
a4b89fd8
AR
30495 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30496 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30497 Patch by Aharon Robbins <arnold@skeeve.com>.
30498
ea389b12
UD
30499 [BZ #11892]
30500 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30501 on the stack.
30502
68a3f91f
UD
30503 [BZ #11895]
30504 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30505 through underflows.
30506
15cc7dd1
UD
30507 [BZ #12766]
30508 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30509 point to strings before performing equality test for error_one_per_line
30510 mode.
30511
f3799213
UD
30512 [BZ #11697]
30513 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30514
d79a9c94
UD
30515 [BZ #11820]
30516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30517 (struct user_fpregs_struct): Avoid __uint*_t types.
30518
56e5eb46
UD
30519 [BZ #6420]
30520 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30521 symbol info. Use it instead of calling _dl_addr locally.
30522 (lock_and_info): New function.
30523 (tr_freehook): Call lock_and_info and pass symbol info as additional
30524 parameter to tr_where.
30525 (tr_mallochook): Likewise.
30526 (tr_reallochook): Likewise.
30527 (tr_memalignhook): Likewise.
30528
6ce75379
UD
30529 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30530 used and couldn't be at all thread-safe.
30531
f8a3b5bf
UD
305322011-05-15 Ulrich Drepper <drepper@gmail.com>
30533
94b7cc37
UD
30534 * libio/freopen.c (freopen): Don't close old file descriptor
30535 before the new one is opened. Instead dup the new file descriptor
30536 to the old one after the new stream is created.
30537 * libio/freopen64.c (freopen64): Likewise.
30538 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30539 * libio/fileops.c (_IO_new_file_close_it): Handle new
30540 _IO_FLAGS2_NOCLOSE flag.
30541 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30542 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30543 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30544 _IO_FLAGS2_NOCLOSE flag.
30545 * include/unistd.h: Add hidden_proto for dup3.
30546 Define __have_dup3.
30547 * io/dup3.c: Define hidden symbol.
30548 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30549
bd25564e
UD
30550 [BZ #7101]
30551 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30552 when an incomplete long option is used.
30553 * posix/tst-getopt_long1.c: New file.
30554 * posix/Makefile (tests): Add tst-getopt_long1.
30555
c84cfef4
UD
30556 [BZ #10138]
30557 * scripts/config.guess: Update from autoconf-2.68.
30558 * scripts/config.sub: Likewise.
30559
3b85df27
UD
30560 [BZ #10157]
30561 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30562 tests into ...
30563 (has_cpuclock): ...this. New function.
30564 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30565 macro here based on has_cpuclock code.
30566
15a856b1
UD
30567 [BZ #10149]
30568 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30569 First byte (not low byte) is now always NUL.
30570 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30571
05f399e6
UD
30572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30573 Use non-cancelable interfaces.
30574
10a52685 30575 [BZ #9809]
94ecc67d
UD
30576 * locale/iso-639.def: Add entry for Sorani.
30577
f8a3b5bf
UD
30578 [BZ #11901]
30579 * include/stdlib.h: Move include protection to the right place.
30580 Define abort_msg_s. Declare __abort_msg with it.
30581 * stdlib/abort.c (__abort_msg): Adjust type.
30582 * assert/assert.c (__assert_fail_base): New function. Majority
30583 of code from __assert_fail. Allocate memory for __abort_msg with
30584 mmap.
30585 (__assert_fail): Now call __assert_fail_base.
30586 * assert/assert-perr.c: Remove bulk of implementation. Use
30587 __assert_fail_base.
30588 * include/assert.hL Declare __assert_fail_base.
30589 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30590 mmap.
30591 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30592
1af4e298
UD
305932011-05-14 Ulrich Drepper <drepper@gmail.com>
30594
f8a3b5bf 30595 [BZ #11952]
d26dfc60
MG
30596 [BZ #12453]
30597 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30598 until all modules are registered in the DTV.
30599 * elf/Makefile: Add rules to build and run tst-tls19.
30600 * elf/tst-tls19.c: New file.
30601 * elf/tst-tls19mod1.c: New file.
30602 * elf/tst-tls19mod2.c: New file.
30603 * elf/tst-tls19mod3.c: New file.
30604 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30605
2fc54d6f
UD
30606 [BZ #12083]
30607 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30608 correctly.
30609
98d76b46
UD
30610 [BZ #12601]
30611 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30612 two-byte sequence errors.
30613 * iconvdata/Makefile (tests): Add bug-iconv8.
30614 * iconvdata/bug-iconv8.c: New file.
30615
da3c19ef
UD
30616 [BZ #12626]
30617 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30618 buf2 definition.
30619
ca408c15
UD
30620 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30621
d6f67f7d
UD
30622 [BZ #12432]
30623 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30624 (dummy_getcfa): New function.
30625 (init): Get _Unwind_GetCFA address, use dummy if not found.
30626 (backtrace_helper): In recursion check, also check whether CFA changes.
30627 (__backtrace): Completely initialize arg.
30628
1af4e298 30629 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30630 storing incomplete byte sequence in state object. Avoid testing for
30631 guaranteed too small input if we know there is enough data available.
1af4e298 30632
da62f81b
AS
306332011-05-11 Andreas Schwab <schwab@redhat.com>
30634
30635 * Makeconfig (+link-pie): Indent.
30636 * Rules (binaries-pie): Define if $(have-fpie) and
30637 $(build-shared).
30638 (binaries-shared): Also filter out $(binaries-pie).
30639 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30640 * nscd/Makefile (others-pie): Add nscd.
30641 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30642 ($(objpfx)nscd): Remove command override.
30643 * login/Makefile (others-pie): Add pt_chown.
30644 ($(objpfx)pt_chown): Remove command override.
30645 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30646 remove command overrides.
30647
fcabc0f8
UD
306482011-05-13 Ulrich Drepper <drepper@gmail.com>
30649
20030ae6
UD
30650 * libio/tst_putwc.c: Fix error messages.
30651
fcabc0f8
UD
30652 [BZ #12724]
30653 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30654 currently writing and seek to current position when not.
30655 * libio/Makefile (tests): Add bug-fclose1.
30656 * libio/bug-fclose1.c: New file.
30657
320a5dc0
PB
306582011-05-12 Ulrich Drepper <drepper@gmail.com>
30659
30660 [BZ #12511]
30661 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30662 don't set DF_1_NODELETE here.
30663 (do_lookup_x): When entering new entry test for copy relocation
30664 and if necessary set DF_1_NODELETE flag.
30665 * elf/tst-unique4.cc: New file.
30666 * elf/tst-unique4.h: New file.
30667 * elf/tst-unique4lib.cc: New file.
30668 * elf/Makefile: Add rules to build and run tst-unique4.
30669 Patch by Piotr Bury <pbury@goahead.com>.
30670
22836f52
UD
306712011-05-11 Ulrich Drepper <drepper@gmail.com>
30672
f574184a
UD
30673 [BZ #12052]
30674 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30675
e1fb097f
UD
30676 [BZ #12625]
30677 * misc/mntent_r.c (addmntent): Flush the stream after the output
30678
22836f52
UD
30679 [BZ #12393]
30680 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30681 (is_trusted_path_normalize): Skip initial colon. Append slash
30682 to empty buffer. Duplicate is_trusted_path code but allow
30683 constructed patch to be prefix.
30684 (is_dst): Allow $ORIGIN followed by /.
30685 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30686 Correct testing of result of is_trusted_path_normalize
30687 (decompose_rpath): Fix warning.
30688
7b3b0b2a
UD
306892011-05-10 Ulrich Drepper <drepper@gmail.com>
30690
30691 [BZ #11257]
30692 * grp/initgroups.c (internal_getgrouplist): When we found the service
30693 list through the initgroups entry in nsswitch.conf do not always
30694 continue on a successful lookup. Don't always use the
eac80ce2 30695 __nss_group_database value if it is set.
7b3b0b2a
UD
30696 * nss/nsswitch.conf (initgroups): Change action for successful db
30697 lookup to continue for compatibility.
30698
2a81eaa5
UD
306992011-05-09 Ulrich Drepper <drepper@gmail.com>
30700
be97a69e
UD
30701 [BZ #11532]
30702 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30703 and CP774 modules.
30704 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30705 and CP774 modules.
30706 * iconvdata/tst-tables.sh: Likewise.
30707 * iconvdata/cp770.c: New file.
30708 * iconvdata/cp771.c: New file.
30709 * iconvdata/cp772.c: New file.
30710 * iconvdata/cp773.c: New file.
30711 * iconvdata/cp774.c: New file.
30712 * iconvdata/testdata/CP770: New file.
30713 * iconvdata/testdata/CP770..UTF8: New file.
30714 * iconvdata/testdata/CP771: New file.
30715 * iconvdata/testdata/CP771..UTF8: New file.
30716 * iconvdata/testdata/CP772: New file.
30717 * iconvdata/testdata/CP772..UTF8: New file.
30718 * iconvdata/testdata/CP773: New file.
30719 * iconvdata/testdata/CP773..UTF8: New file.
30720 * iconvdata/testdata/CP774: New file.
30721 * iconvdata/testdata/CP774..UTF8: New file.
30722
30723 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30724 END CHARMAP line.
30725 * iconvdata/gen-8bit-gap.sh: Likewise.
30726 * iconvdata/gen-8bit.sh: Likewise.
30727
c1e9e399
UD
30728 * locale/iso-639.def: Add ary entry.
30729
24c55fb3 30730 [BZ #11258]
96b4b1b0
UD
30731 * locale/C-translit.h.in: Add U20A1 transliteration.
30732
bdc2f971
KB
30733 [BZ #12178]
30734 * locale/iso-639.def: Add wae entry.
30735 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30736
2952b117
UD
30737 [BZ #12545]
30738 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30739 for n.
30740
2a81eaa5
UD
30741 [BZ #12711]
30742 * locale/C-translit.h.in: Add entry for U20B9.
30743 Patch by pravin.d.s@gmail.com.
30744
28377d1b
UD
307452011-05-08 Ulrich Drepper <drepper@gmail.com>
30746
7fb90fb8
UD
30747 [BZ #12713]
30748 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30749 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30750 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30751 in rtld. Use *stat64.
7fb90fb8 30752 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30753 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30754 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30755 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30756 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30757 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30758 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30759 __fstatat64 macros.
7fb90fb8
UD
30760 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30761 * dirent/rewinddir.c: Add libc_hidden_def.
30762 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30763 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30764
28377d1b
UD
30765 * include/dirent.h (__alloc_dir): Add flags parameter.
30766 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30767 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30768 __alloc_dir.
30769 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30770 from fdopendir if O_CLOEXEC is already set.
30771
66bdbaa4
AM
307722011-03-15 Alan Modra <amodra@gmail.com>
30773
30774 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30775 l_tls_firstbyte_offset non-zero. Save padding offset in
30776 l_tls_firstbyte_offset for later use.
30777 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30778 freeing static tls block.
30779
95721191
JN
307802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30781
30782 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30783 where #ifdef was intended. The intent is to prevent ARG_MAX from
30784 being defined by the kernel headers.
30785
f87dfb1f
UD
307862011-05-07 Ulrich Drepper <drepper@gmail.com>
30787
30788 [BZ #12734]
30789 * resolv/resolv.h: Define RES_NOTLDQUERY.
30790 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30791 no-tld-query and set RES_NOTLDQUERY.
30792 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30793 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30794 modern BIND to search name as TLD unless forbidden.
30795
47c3cd7a
UD
307962011-05-07 Petr Baudis <pasky@suse.cz>
30797 Ulrich Drepper <drepper@gmail.com>
30798
30799 [BZ #12393]
30800 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30801 (is_trusted_path): ...to here.
c1e9ea35 30802 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30803 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30804 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30805
8a35c912
PP
308062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30807
30808 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30809 __BEGIN/__END_DECLS.
30810
acd41f47
UD
308112011-05-06 Ulrich Drepper <drepper@gmail.com>
30812
30813 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30814 NSS_STATUS_NOTFOUND if no record was found.
30815
597df647
AS
308162011-05-05 Andreas Schwab <schwab@redhat.com>
30817
30818 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30819 (headers-not-in-tirpc): Remove rpc/netdb.h
30820 * resolv/netdb.h: Revert last change.
30821
b9af1301
PP
308222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30823
30824 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30825 circular dependency between libgcc.a and libc.a.
30826
4e34d5f5
AS
308272011-05-05 Andreas Schwab <schwab@redhat.com>
30828
30829 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30830 * nis/Makefile: Don't install rpcsvc/*.
30831 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30832 instead of <rpc/types.h>.
30833 (MAXHOSTNAMELEN): Define.
30834
00ee369c
AS
308352011-05-03 Andreas Schwab <schwab@redhat.com>
30836
30837 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30838
0b592a30
MB
308392011-04-28 Maciej Babinski <mbabinski@google.com>
30840
30841 [BZ #12714]
30842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30843 gethostbyname4_r when IPv6 results are possible.
30844
6e04cbbe
UD
308452011-05-02 Ulrich Drepper <drepper@gmail.com>
30846
30847 [BZ #12723]
30848 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30849 _PC_PIPE_BUF handling.
30850
e4ecafe0
BH
308512011-04-30 Bruno Haible <bruno@clisp.org>
30852
30853 [BZ #12717]
30854 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30855 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30856 to 'int'.
30857 * inet/getnameinfo.c (getnameinfo): Likewise.
30858
125ee683
UD
308592011-04-29 Ulrich Drepper <drepper@gmail.com>
30860
30861 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30862 to groups setting in database lookup.
30863 * nss/nsswitch.conf: Add initgroups entry.
30864
b722481a
EB
308652011-04-22 Ulrich Drepper <drepper@gmail.com>
30866
30867 [BZ #12685]
30868 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30869 mode string.
30870 Patch by Eric Blake <eblake@redhat.com>.
30871
4df46dbd
L
308722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30873
30874 * sunrpc/Makefile (need-export-routines): Add svc_run.
30875 (routines): Remove svc_run.
30876 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30877 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30878 * sunrpc/svc_run.c (svc_run): Likewise.
30879 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30880
e84142d2
UD
308812011-04-21 Ulrich Drepper <drepper@gmail.com>
30882
30883 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30884 problem in reallocation in last patch.
30885
877175d8
UD
308862011-04-20 Ulrich Drepper <drepper@gmail.com>
30887
30888 * sunrpc/Makefile: Move inclusion of Rules.
30889
ab8eed78
UD
308902011-04-19 Ulrich Drepper <drepper@gmail.com>
30891
30892 * nss/nss_files/files-initgroups.c: New file.
30893 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30894 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30895 _nss_files_initgroups_dyn.
30896
e3d8f584
RS
308972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30898
30899 * elf/elf.h (R_ARM_IRELATIVE): Define.
30900
af190f45
UD
309012011-04-19 Ulrich Drepper <drepper@gmail.com>
30902
30903 * po/ru.po: Update from translation team.
30904
53cf59ef
UD
309052011-04-17 Ulrich Drepper <drepper@gmail.com>
30906
30907 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30908 dependencies.
30909
4c559bcd
MF
309102011-02-06 Mike Frysinger <vapier@gentoo.org>
30911
30912 [BZ #12653]
30913 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30914 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30918
4420675c
AS
309192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30920
30921 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30922 differing bytes.
30923 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30925 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30926
75ea32ab
UD
309272011-04-17 Ulrich Drepper <drepper@gmail.com>
30928
30929 [BZ #12420]
30930 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30931 storing it.
30932 * stdlib/bug-getcontext.c: New file.
30933 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30934
27390476
AK
309352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30936
30937 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30938 instructions into .machine "z9-109".
30939 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30940 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30941
10442705
AK
309422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30943
30944 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30945 between environment variables and auxiliary vector.
30946
7b57bfe5
UD
309472011-04-16 Ulrich Drepper <drepper@gmail.com>
30948
30949 * Makefile: Add rules to build linkobj/libc.so.
30950 * include/libc-symbols.h: Define libc_hidden_nolink.
30951 * include/rpc/auth.h: Mark functions which are to be hidden.
30952 * include/rpc/auth_des.h: Likewise.
30953 * include/rpc/auth_unix.h: Likewise.
30954 * include/rpc/clnt.h: Likewise.
30955 * include/rpc/des_crypt.h: Likewise.
30956 * include/rpc/key_prot.h: Likewise.
30957 * include/rpc/pmap_clnt.h: Likewise.
30958 * include/rpc/pmap_prot.h: Likewise.
30959 * include/rpc/pmap_rmt.h: Likewise.
30960 * include/rpc/rpc_msg.h: Likewise.
30961 * include/rpc/svc.h: Likewise.
30962 * include/rpc/svc_auth.h: Likewise.
30963 * include/rpc/xdr.h: Likewise.
30964 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30965 * nss/Makefile: Likewise.
30966 * sunrpc/Makefile: Don't install headers. Build library with normal
30967 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30968 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30969 for the compat linking library. Remove use of INTDEF/INTUSE.
30970 * sunrpc/auth_none.c: Likewise.
30971 * sunrpc/auth_unix.c: Likewise.
30972 * sunrpc/authdes_prot.c: Likewise.
30973 * sunrpc/authuxprot.c: Likewise.
30974 * sunrpc/clnt_gen.c: Likewise.
30975 * sunrpc/clnt_perr.c: Likewise.
30976 * sunrpc/clnt_raw.c: Likewise.
30977 * sunrpc/clnt_simp.c: Likewise.
30978 * sunrpc/clnt_tcp.c: Likewise.
30979 * sunrpc/clnt_udp.c: Likewise.
30980 * sunrpc/clnt_unix.c: Likewise.
30981 * sunrpc/des_crypt.c: Likewise.
30982 * sunrpc/des_soft.c: Likewise.
30983 * sunrpc/get_myaddr.c: Likewise.
30984 * sunrpc/key_call.c: Likewise.
30985 * sunrpc/key_prot.c: Likewise.
30986 * sunrpc/netname.c: Likewise.
30987 * sunrpc/pm_getmaps.c: Likewise.
30988 * sunrpc/pm_getport.c: Likewise.
30989 * sunrpc/pmap_clnt.c: Likewise.
30990 * sunrpc/pmap_prot.c: Likewise.
30991 * sunrpc/pmap_prot2.c: Likewise.
30992 * sunrpc/pmap_rmt.c: Likewise.
30993 * sunrpc/publickey.c: Likewise.
30994 * sunrpc/rpc_cmsg.c: Likewise.
30995 * sunrpc/rpc_common.c: Likewise.
30996 * sunrpc/rpc_dtable.c: Likewise.
30997 * sunrpc/rpc_prot.c: Likewise.
30998 * sunrpc/rpc_thread.c: Likewise.
30999 * sunrpc/rtime.c: Likewise.
31000 * sunrpc/svc.c: Likewise.
31001 * sunrpc/svc_auth.c: Likewise.
31002 * sunrpc/svc_authux.c: Likewise.
31003 * sunrpc/svc_raw.c: Likewise.
31004 * sunrpc/svc_run.c: Likewise.
31005 * sunrpc/svc_simple.c: Likewise.
31006 * sunrpc/svc_tcp.c: Likewise.
31007 * sunrpc/svc_udp.c: Likewise.
31008 * sunrpc/svc_unix.c: Likewise.
31009 * sunrpc/svcauth_des.c: Likewise.
31010 * sunrpc/xcrypt.c: Likewise.
31011 * sunrpc/xdr.c: Likewise.
31012 * sunrpc/xdr_array.c: Likewise.
31013 * sunrpc/xdr_float.c: Likewise.
31014 * sunrpc/xdr_intXX_t.c: Likewise.
31015 * sunrpc/xdr_mem.c: Likewise.
31016 * sunrpc/xdr_rec.c: Likewise.
31017 * sunrpc/xdr_ref.c: Likewise.
31018 * sunrpc/xdr_sizeof.c: Likewise.
31019 * sunrpc/xdr_stdio.c: Likewise.
31020
e6c61494
UD
310212011-04-10 Ulrich Drepper <drepper@gmail.com>
31022
31023 [BZ #12650]
31024 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31025 * sysdeps/ia64/dl-tls.h: Likewise.
31026 * sysdeps/powerpc/dl-tls.h: Likewise.
31027 * sysdeps/s390/dl-tls.h: Likewise.
31028 * sysdeps/sh/dl-tls.h: Likewise.
31029 * sysdeps/sparc/dl-tls.h: Likewise.
31030 * sysdeps/x86_64/dl-tls.h: Likewise.
31031 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31032
34fe483e
AS
310332011-03-14 Andreas Schwab <schwab@redhat.com>
31034
31035 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31036 rpath element also skip the following colon.
31037 (expand_dynamic_string_token): Add is_path parameter and pass
31038 down to DL_DST_REQUIRED and _dl_dst_substitute.
31039 (decompose_rpath): Call expand_dynamic_string_token with
31040 non-zero is_path. Ignore empty rpaths.
31041 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31042 with zero is_path.
31043
f12a32e6
AS
310442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31045
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31047 Make cancelable.
31048
38a7d692
UD
310492011-04-09 Ulrich Drepper <drepper@gmail.com>
31050
31051 [BZ #12655]
31052 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31053 Patch by Filipe David Manana <fdmanana@apache.org>.
31054
e451d22b
AS
310552011-04-07 Andreas Schwab <schwab@redhat.com>
31056
31057 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31058 Maintain aligned stack.
31059 (CHECK_RSP): Remove unused macro.
31060
dedc7c7b
UD
310612011-04-03 Ulrich Drepper <drepper@gmail.com>
31062
31063 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31064 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31065
94521213
UD
310662011-04-02 Ulrich Drepper <drepper@gmail.com>
31067
31068 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31069
8cb700c0 31070 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31071
0354e355
L
310722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31073
31074 [BZ #12518]
31075 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31076 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31077 * sysdeps/x86_64/memmove.c: New file.
31078 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31079 (memcpy): Renamed to ...
31080 (__new_memcpy): This.
31081 (memcpy): Provide GLIBC_2_14 memcpy.
31082 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31083 (memcpy): Provide GLIBC_2_2_5 memcpy.
31084
8593482f
UD
310852011-04-01 Ulrich Drepper <drepper@gmail.com>
31086
31087 [BZ #12631]
31088 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31089
81a5726b
AS
310902011-03-30 Andreas Schwab <schwab@redhat.com>
31091
31092 * misc/syncfs.c: New file.
31093 * misc/Makefile (routines): Add syncfs.
31094 * posix/unistd.h: Declare syncfs.
31095 * sysdeps/unix/syscalls.list: Add syncfs.
31096
00e5419f
AS
310972011-04-01 Andreas Schwab <schwab@redhat.com>
31098
31099 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31100 open_by_handle_at.
31101 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31102 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31106 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31108
748876bf
UD
311092011-04-01 Ulrich Drepper <drepper@gmail.com>
31110
658e451d
UD
31111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31112 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31113 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31118
748876bf
UD
31119 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31120 sync_file_range.c with -fexceptions.
31121 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31122 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31123 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31124 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31125 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31126 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31128 sync_file_range as cancellation point
31129 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31130 now a wrapper around __call_sync_file_range with cancellation handling.
31131 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31132 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31133 function name to __call_sync_file_range.
31134 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31135 Add call_sync_file_range.
748876bf 31136
6e63d5e1
AS
311372011-04-01 Andreas Schwab <schwab@redhat.com>
31138
31139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31140 bits/timex.h.
6e63d5e1 31141
46998f74
UD
311422011-04-01 Ulrich Drepper <drepper@gmail.com>
31143
4c1423ed
UD
31144 * iconv/iconv.h: Fix typo in comment.
31145 * io/fcntl.h: Likewise.
31146 * libio/stdio.h: Likewise.
31147 * posix/spawn.h: Likewise.
31148 * posix/unistd.h: Likewise.
31149 * stdlib/stdlib.h: Likewise.
31150 * time/time.h: Likewise.
31151 * wcsmbs/wchar.h: Likewise.
31152
158648c0
UD
31153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31154 open_by_handle): Add.
31155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31156 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31157 Augment a few comments.
31158 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31160 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31163 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31164 open_by_handle.
31165
46998f74
UD
31166 * io/fcntl.h (AT_EMPTY_PATH): Define.
31167
83fe108b
UD
311682011-03-30 Ulrich Drepper <drepper@gmail.com>
31169
31170 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31171 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31172 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31173 to...
31174 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31175 * Versions.def: Add GLIBC_2.14.
31176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31177 Export.
83fe108b 31178
bb242059
UD
311792011-03-22 Ulrich Drepper <drepper@gmail.com>
31180
31181 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31182 round counter.
31183 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31184
c97a1282
L
311852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31186
31187 [BZ #12597]
31188 * string/test-strncmp.c (do_page_test): New function.
31189 (check2): Likewise.
31190 (test_main): Call check2.
31191 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31192
2a115601
UD
311932011-03-20 Ulrich Drepper <drepper@gmail.com>
31194
31195 [BZ #12587]
31196 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31197 Handle cache information in CPU leaf 4.
31198 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31199
8126d904
UD
312002011-03-18 Ulrich Drepper <drepper@gmail.com>
31201
042c49c6 31202 [BZ #12583]
8126d904
UD
31203 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31204 character representation.
31205 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31206
ccfe366e
RA
312072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31208
31209 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31210 END(__isnan) to END(__isnanf) to match function entry point/label
31211 EALIGN(__isnanf,...).
31212
c6e13027
JJ
312132011-03-10 Jakub Jelinek <jakub@redhat.com>
31214
31215 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31216
33f85a3f
UD
312172011-03-10 Ulrich Drepper <drepper@gmail.com>
31218
028478fa
UD
31219 [BZ #12510]
31220 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31221 copy from the symbol referenced in the relocation to initialize the
31222 used variable.
31223 Patch by Piotr Bury <pbury@goahead.com>.
31224 * elf/Makefile: Add rules to build and tst-unique3.
31225 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31226 * elf/tst-unique3.cc: New file.
31227 * elf/tst-unique3.h: New file.
31228 * elf/tst-unique3lib.cc: New file.
31229 * elf/tst-unique3lib2.cc: New file.
31230
33f85a3f
UD
31231 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31232
03592fc7
MF
312332011-03-10 Mike Frysinger <vapier@gentoo.org>
31234
31235 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31236 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31237 to _start.
03592fc7 31238
6a5ee102
UD
312392011-03-06 Ulrich Drepper <drepper@gmail.com>
31240
31241 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31242 to-be-loaded object along a path to loader is ld.so.
31243
7e4ba49c
HJ
312442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31245 Ulrich Drepper <drepper@gmail.com>
31246
31247 * sysdeps/x86_64/memset.S: After aligning destination, code
31248 branches to different locations depending on the value of
31249 misalignment, when multiarch is enabled. Fix this.
31250
312512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31252
31253 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31254 Set _x86_64_preferred_memory_instruction for AMD processsors.
31255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31256 Set bit_Prefer_SSE_for_memop for AMD processors.
31257
13a804de
UD
312582011-03-04 Ulrich Drepper <drepper@gmail.com>
31259
31260 * libio/fmemopen.c (fmemopen): Optimize a bit.
31261
9d25c392
AS
312622011-03-03 Andreas Schwab <schwab@redhat.com>
31263
31264 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31265
a5543c6a
RM
312662011-03-03 Roland McGrath <roland@redhat.com>
31267
31268 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31269
012d35f7
DM
312702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31271
7e4ba49c 31272 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31273 __bzero_ultra1 instead of __memset_ultra1.
31274
4bff6e01
AS
312752011-02-23 Andreas Schwab <schwab@redhat.com>
31276 Ulrich Drepper <drepper@gmail.com>
31277
31278 [BZ #12509]
31279 * include/link.h (struct link_map): Add l_orig_initfini.
31280 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31281 returning unsuccessfully.
31282 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31283 close of a file loaded at startup, restore the original l_initfini
31284 list.
31285 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31286 list, store the pointer.
31287 * elf/Makefile ($(objpfx)noload-mem): New rule.
31288 (noload-ENV): Define.
31289 (tests): Add $(objpfx)noload-mem.
31290 * elf/noload.c: Include <memcheck.h>.
31291 (main): Call mtrace. Close all opened handles.
31292
f2092faf
AS
312932011-02-17 Andreas Schwab <schwab@redhat.com>
31294
31295 [BZ #12454]
31296 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31297 dependencies are missing.
31298
6c8a2e88
ST
312992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31300
f2092faf 31301 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31302 Hurd needs munmap.
31303 * sysdeps/mach/hurd/ifreq.h: New file.
31304
84a42118
PB
313052011-01-27 Petr Baudis <pasky@suse.cz>
31306 Ulrich Drepper <drepper@gmail.com>
31307
071f805e 31308 [BZ 12445]#
84a42118
PB
31309 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31310 to extend_alloca().
31311 * stdio-common/bug23.c: New file.
31312 * stdio-common/Makefile (tests): Add bug23.
31313
e23fe25b
AS
313142010-09-28 Andreas Schwab <schwab@redhat.com>
31315 Ulrich Drepper <drepper@gmail.com>
31316
31317 [BZ #12489]
31318 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31319 before performing relro protection. At old place add assertion
31320 to make sure nothing changed.
31321
d3f02e10
NS
313222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31323 Glauber de Oliveira Costa <glommer@gmail.com>
31324
31325 * elf/elf.h: Add new ARM TLS relocs.
31326
d55fd7a5
RA
313272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31328
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31330 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31331 cast from r3.
31332 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31333 'tests' variable.
31334 * sysdeps/wordsize-64/tst-writev.c: New file.
31335
2206397e
RA
313362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31337
31338 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31339 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31340 insns in _dl_start to prevent a TOC reference before relocs are
31341 resolved.
31342
e9433893
UD
313432011-02-15 Ulrich Drepper <drepper@gmail.com>
31344
31345 [BZ #12469]
31346 * Makeconfig: Remove RANLIB definition.
31347 * Makerules: Don't use RANLIB.
31348 * aclocal.m4: Remove ranlib test.
31349 * configure.in: No need to check for ranlib.
31350 * elf/rtld-Rules: Don't use RANLIB.
31351
f75286c6
ST
313522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31353
8e31c82d
ST
31354 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31355 protection macro.
31356 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31357 inclusion protection macro.
31358
f75286c6
ST
31359 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31360 SIGRTMIN and SIGRTMAX and print information in that case only when
31361 SIGRTMIN is defined.
31362
c1d0e639
JJ
313632011-02-11 Jakub Jelinek <jakub@redhat.com>
31364
31365 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31366 arginfo fn returning -1.
31367
31368 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31369 and thousands string is zero terminated.
31370
edf9294e
AS
313712011-02-03 Andreas Schwab <schwab@redhat.com>
31372
31373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31374 sysdeps/unix/sysv/linux/bits/socket.h.
31375
2b7e92df
ST
313762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31377
edf9294e
AS
31378 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31379 (__CPU_COUNT): Remove old macros.
31380 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31381 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31382 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31383 (__sched_cpualloc, __sched_cpufree): Add declarations.
31384
a4c7ea7b
UD
313852011-02-05 Ulrich Drepper <drepper@gmail.com>
31386
31387 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31388 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31389 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31390 (readdhstai): Return value of addhstaiX call.
31391 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31392 (addgrbyX): Return value returned by cache_addgr.
31393 (readdgrbyname): Return value returned by addgrbyX.
31394 (readdgrbygid): Likewise.
31395 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31396 (addpwbyX): Return value returned by cache_addpw.
31397 (readdpwbyname): Return value returned by addhstbyX.
31398 (readdpwbyuid): Likewise.
31399 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31400 (addservbyX): Return value returned by cache_addserv.
31401 (readdservbyname): Return value returned by addservbyX:
31402 (readdservbyport): Likewise.
31403 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31404 (addhstbyX): Return value returned by cache_addhst.
31405 (readdhstbyname): Return value returned by addhstbyX.
31406 (readdhstbyaddr): Likewise.
31407 (readdhstbynamev6): Likewise.
31408 (readdhstbyaddrv6): Likewise.
31409 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31410 (readdinitgroups): Return value returned by addinitgroupsX.
31411 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31412 (prune_cache): Keep track of timeout value of re-added entries.
31413 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31414 * nscd/nscd.h: Adjust prototypes of readd* functions.
31415
a0bf67cc
RM
314162011-02-04 Roland McGrath <roland@redhat.com>
31417
31418 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31419 (nis_stats): Likewise.
31420 * nis/nis_modify.c (nis_modify): Likewise.
31421 * nis/nis_remove.c (nis_remove): Likewise.
31422 * nis/nis_add.c (nis_add): Likewise.
31423
31424 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31425
31426 * posix/fnmatch_loop.c: Add some consts.
31427
31428 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31429
435b95eb
L
314302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31431
31432 [BZ #12460]
31433 * config.make.in (config-cflags-novzeroupper): Define.
31434 * configure.in: Substitute libc_cv_cc_novzeroupper.
31435 * elf/Makefile (AVX-CFLAGS): Define.
31436 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31437 (CFLAGS-tst-auditmod4a.c): Likewise.
31438 (CFLAGS-tst-auditmod4b.c): Likewise.
31439 (CFLAGS-tst-auditmod6b.c): Likewise.
31440 (CFLAGS-tst-auditmod6c.c): Likewise.
31441 (CFLAGS-tst-auditmod7b.c): Likewise.
31442 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31443
8517b15e
UD
314442011-02-02 Ulrich Drepper <drepper@gmail.com>
31445
31446 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31447 function to the callback.
31448 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31449
10a656fe
AS
314502011-02-02 Andreas Schwab <schwab@redhat.com>
31451
31452 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31453 of errno.
31454
968dad0a
UD
314552011-01-19 Ulrich Drepper <drepper@gmail.com>
31456
9f94d2ea 31457 [BZ #11724]
968dad0a
UD
31458 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31459 of constructors.
31460 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31461 of destructors.
31462 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31463
31464 [BZ #11724]
31465 * elf/Makefile: Add rules to build and run new test.
31466 * elf/tst-initorder.c: New file.
31467 * elf/tst-initorder.exp: New file.
31468 * elf/tst-initordera1.c: New file.
31469 * elf/tst-initordera2.c: New file.
31470 * elf/tst-initordera3.c: New file.
31471 * elf/tst-initordera4.c: New file.
31472 * elf/tst-initorderb1.c: New file.
31473 * elf/tst-initorderb2.c: New file.
31474 * elf/tst-order-a1.c: New file.
31475 * elf/tst-order-a2.c: New file.
31476 * elf/tst-order-a3.c: New file.
31477 * elf/tst-order-a4.c: New file.
31478 * elf/tst-order-b1.c: New file.
31479 * elf/tst-order-b2.c: New file.
31480 * elf/tst-order-main.c: New file.
31481 New test case by George Gensure <werkt0@gmail.com>.
31482
86e92359
UD
314832010-10-01 Andreas Schwab <schwab@redhat.com>
31484
31485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31486 decoding ACE if AI_CANONIDN.
31487
5d5732b0
UD
314882011-01-18 Ulrich Drepper <drepper@gmail.com>
31489
31490 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31491
a77e8cbc
UD
314922011-01-17 Ulrich Drepper <drepper@gmail.com>
31493
6392473f
UD
31494 * version.h (RELEASE): Bump for 2.13 release.
31495 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31496
620a0529
UD
31497 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31498
18ba70a5
UD
31499 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31500 MADV_NOHUGEPAGE.
32465c3e
UD
31501 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31502 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31503 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31504 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31506 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31507
c0dafcf1
UD
31508 * posix/getconf.c: Update copyright year.
31509 * catgets/gencat.c: Likewise.
31510 * csu/version.c: Likewise.
31511 * debug/catchsegv.sh: Likewise.
31512 * debug/xtrace.sh: Likewise.
31513 * elf/ldconfig.c: Likewise.
31514 * elf/ldd.bash.in: Likewise.
31515 * elf/sprof.c (print_version): Likewise.
31516 * iconv/iconv_prog.c: Likewise.
31517 * iconv/iconvconfig.c: Likewise.
31518 * locale/programs/locale.c: Likewise.
31519 * locale/programs/localedef.c: Likewise.
31520 * malloc/memusage.sh: Likewise.
31521 * malloc/mtrace.pl: Likewise.
31522 * nscd/nscd.c (print_version): Likewise.
31523 * nss/getent.c: Likewise.
31524
a77e8cbc
UD
31525 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31526 PF_CAIF, and PF_ALG.
31527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31528
77e8bddf
AS
315292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31530
1f20b93a
AS
31531 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31532 (modules-names): Use them.
31533 (ifunc-test-modules, ifunc-pie-tests): Define.
31534 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31535 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31536 (test-extras): Likewise.
31537 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31538 $(compile-command.c).
31539 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31540 (all-built-dso): Define.
31541 (check-textrel.out, check-execstack.out): Depend on it.
31542
77e8bddf
AS
31543 * configure.in: Don't override --enable-multi-arch.
31544
bc425b33
UD
315452011-01-15 Ulrich Drepper <drepper@gmail.com>
31546
31547 [BZ #6812]
31548 * nscd/hstcache.c (tryagain): Define.
31549 (cache_addhst): Return tryagain not notfound for temporary errors.
31550 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31551 failed.
31552
794c3ad3
UD
315532011-01-14 Ulrich Drepper <drepper@gmail.com>
31554
70181fdd
UD
31555 [BZ #10563]
31556 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31557 to make the syscall.
31558 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31559
794c3ad3
UD
31560 [BZ #12378]
31561 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31562 and fall back to matching as normal character if the string ends before
31563 the matching ']' is found. This is what POSIX requires.
31564 * posix/testfnm.c: Adjust test result.
31565 * posix/globtest.sh: Adjust test result. Add new test.
31566 * posix/tst-fnmatch.input: Likewise.
31567 * posix/tst-fnmatch2.c: Add new test.
31568
68dc9497
AS
315692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31570
31571 * elf/Makefile (check-execstack): Revert last change. Depend on
31572 check-execstack.h.
31573 (check-execstack.h): New target.
31574 (generated): Add check-execstack.h.
31575 * elf/check-execstack.c: Include "check-execstack.h".
31576 (main): Revert last change.
31577 (handle_file): Return zero if GNU_STACK is absent and
31578 DEFAULT_STACK_PERMS doesn't include PF_X.
31579
451f001b
UD
315802011-01-13 Ulrich Drepper <drepper@gmail.com>
31581
cfa28e56
UD
31582 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31583 in child fails because the descriptor is already closed.
8cf8ce17
UD
31584 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31585 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31586 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31587
1086d70d
UD
31588 [BZ #12397]
31589 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31590 syscall.
31591
451f001b
UD
31592 [BZ #10484]
31593 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31594 temporary buffer used to handle multi lookups locally.
a85b5cb4 31595 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31596
08769175
UD
315972011-01-12 Ulrich Drepper <drepper@gmail.com>
31598
31599 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31600 loader is ld.so.
31601
5e49c52e
UD
316022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31603
31604 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31605 alignment for SSE2.
31606
60522a5f
UD
316072011-01-12 Ulrich Drepper <drepper@gmail.com>
31608
31609 [BZ #12394]
31610 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31611 characters. When rounding increased number of integer digits recompute
31612 number of groups.
31613 * stdio-common/tst-grouping.c: New file.
31614 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31615
f257bbd7
UD
316162011-01-09 Ulrich Drepper <drepper@gmail.com>
31617
31618 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31619 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31620
31621 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31622 void.
31623 * bits/select.h: Likewise.
31624
fa9c15cb
UD
316252011-01-08 Ulrich Drepper <drepper@gmail.com>
31626
31627 * po/ja.po: Update from translation team.
31628
16c2895f
DM
316292011-01-04 David S. Miller <davem@sunset.davemloft.net>
31630
31631 [BZ #11155]
31632 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31633 implementation just like for lxstat, fxstatat, et al.
31634
2543fef2
JM
316352010-12-27 Jim Meyering <meyering@redhat.com>
31636
31637 [BZ #12348]
31638 * posix/regexec.c (build_trtable): Return failure indication upon
31639 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31640
98727dbe
UD
316412010-12-25 Ulrich Drepper <drepper@gmail.com>
31642
5bd6dc5c
UD
31643 [BZ #12201]
31644 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31645 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31646 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31647 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31648
97983464
UD
31649 [BZ #12207]
31650 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31651
98727dbe
UD
31652 [BZ #12204]
31653 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31654 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31655
4a531bb0
L
316562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31659 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31660 script has SORT_BY_INIT_PRIORITY.
31661 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31662 NO_CTORS_DTORS_SECTIONS is defined.
31663 * elf/soinit.c: Likewise.
31664 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31665 NO_CTORS_DTORS_SECTIONS is defined.
31666 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31667 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31668 * sysdeps/sh/init-first.c: Likewise.
31669 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31670
07eb4b71
UD
316712010-12-24 Ulrich Drepper <drepper@gmail.com>
31672
31673 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31674 always use the slow path.
31675
30950a5f
RA
316762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31677
31678 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31679 similar rule which adds the sysdep directories to the header search in
31680 order to pick up the correct platform stackinfo.h.
31681 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31682 perform test if it is, otherwise return successfully without testing.
31683 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31684 DEFAULT_STACK_PERMS define in stackinfo.h.
31685 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31686 defined in stackinfo.h.
31687 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31688 DEFAULT_STACK_PERMS defined in stackinfo.h.
31689 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31690 * sysdeps/ia64/stackinfo.h: Likewise.
31691 * sysdeps/s390/stackinfo.h: Likewise.
31692 * sysdeps/sh/stackinfo.h: Likewise.
31693 * sysdeps/sparc/stackinfo.h: Likewise.
31694 * sysdeps/x86_64/stackinfo.h: Likewise.
31695 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31696 PF_X for powerpc64. Retain PF_X for powerpc32.
31697
db753e2c
UD
316982010-12-19 Ulrich Drepper <drepper@gmail.com>
31699
14b697f7
UD
31700 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31701 accurately.
db753e2c
UD
31702 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31703 GETDENTS_64BIT_ALIGNED.
31704
28300719
UD
317052010-12-14 Ulrich Drepper <dreper@gmail.com>
31706
14b697f7 31707 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31708
4f197237
AS
317092010-12-10 Andreas Schwab <schwab@redhat.com>
31710
dbb0472f
AS
31711 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31712 _GNU_SOURCE.
31713
4f197237
AS
31714 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31715 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31716 Remove __restrict.
31717 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31718 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31719
fb88ac72
UD
317202010-12-09 Ulrich Drepper <drepper@gmail.com>
31721
31722 [BZ #11655]
31723 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31724 are initialized.
31725
42acbb92
JJ
317262010-12-09 Jakub Jelinek <jakub@redhat.com>
31727
31728 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31729
c038d98d
UD
317302010-12-03 Ulrich Drepper <drepper@gmail.com>
31731
31732 * po/it.po: Update from translation team.
31733
3a4a2499
L
317342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31735
31736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31737 unused codes.
31738
1e24cf6e
UD
317392010-11-30 Ulrich Drepper <drepper@gmail.com>
31740
31741 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31742
a7690819
AS
317432010-11-24 Andreas Schwab <schwab@redhat.com>
31744
31745 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31746 specially.
31747 (gaih_getanswer_slice): Likewise.
31748
3bf8d1b1
JJ
317492010-10-20 Jakub Jelinek <jakub@redhat.com>
31750
31751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31752
6db52fbb
PB
317532010-05-31 Petr Baudis <pasky@suse.cz>
31754
31755 [BZ #11149]
31756 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31757 silently even in the chroot mode.
31758
eaca7569
UD
317592010-11-22 Ulrich Drepper <drepper@gmail.com>
31760
31761 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31762 last patch a bit. Pretty printing
31763
3056dcdb
UD
317642010-05-31 Petr Baudis <pasky@suse.cz>
31765
31766 [BZ #10085]
31767 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31768 initialization of skip_initgroups_dyn.
31769
cf7c9078
UD
317702010-11-19 Ulrich Drepper <drepper@gmail.com>
31771
31772 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31773 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31774
a1fb5e3e
UD
317752010-11-16 Ulrich Drepper <drepper@gmail.com>
31776
31777 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31778
3540d66b
AS
317792010-11-11 Andreas Schwab <schwab@redhat.com>
31780
31781 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31782 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31783 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31784 ($(objpfx)tst-fnmatch-mem): New rule.
31785 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31786 * posix/tst-fnmatch.c (main): Call mtrace.
31787
13b69574
L
317882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31791 Support Intel processor model 6 and model 0x2c.
31792
da93d214
LM
317932010-11-10 Luis Machado <luisgpm@br.ibm.com>
31794
31795 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31796 signed comparison.
31797
8ca52c6e
L
317982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31799
31800 [BZ #12205]
31801 * string/test-strncasecmp.c (check_result): New function.
31802 (do_one_test): Use it.
31803 (check1): New function.
31804 (test_main): Use it.
31805 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31806 Support strcasecmp and strncasecmp.
31807
69da074d
UD
318082010-11-08 Ulrich Drepper <drepper@gmail.com>
31809
31810 [BZ #12194]
31811 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31812 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31813
ff02d528
L
318142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31815
31816 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31817 IFUNC support.
31818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31819 memset-x86-64.
31820 * sysdeps/x86_64/multiarch/bzero.S: New file.
31821 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31822 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31823 * sysdeps/x86_64/multiarch/memset.S: New file.
31824 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31826 Set bit_Prefer_SSE_for_memop for Intel processors.
31827 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31828 Define.
31829 (index_Prefer_SSE_for_memop): Define.
31830 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31831
344d0b54
LM
318322010-11-04 Luis Machado <luisgpm@br.ibm.com>
31833
31834 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31835 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31836
c0dde15b
UD
318372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31838
31839 [BZ #12191]
31840 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31841 (__x86_64_raw_data_cache_size_half): Likewise.
31842 (__x86_64_raw_shared_cache_size): Likewise.
31843 (__x86_64_raw_shared_cache_size_half): Likewise.
31844
31845 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31846 (__x86_64_raw_data_cache_size_half): Likewise.
31847 (__x86_64_raw_shared_cache_size): Likewise.
31848 (__x86_64_raw_shared_cache_size_half): Likewise.
31849 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31850 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31851 and __x86_64_raw_shared_cache_size_half. Round
31852 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31853 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31854 to multiple of 256 bytes.
31855
0e516e0e
MS
318562010-11-03 Ulrich Drepper <drepper@gmail.com>
31857
31858 [BZ #12167]
31859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31860 of inacessible symlinks. Verify result of symlink before returning it.
31861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31862 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31863
0e012e87
ER
318642010-10-28 Erich Ritz <erichritz@gmail.com>
31865
31866 * math/math.h (isinf): Fix typo in comment.
31867
de0ff7bc
UD
318682010-11-01 Ulrich Drepper <drepper@gmail.com>
31869
31870 * po/da.po: Update from translation team.
31871
fa41c84d
UD
318722010-10-26 Ulrich Drepper <drepper@gmail.com>
31873
31874 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31875 is added to the list.
31876
f0967738
AK
318772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31878 Ulrich Drepper <drepper@gmail.com>
31879
31880 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31881 the global list here. Move code to...
31882 (_dl_add_to_namespace_list): ...here. New function.
31883 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31884 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31885 * elf/dl-load.c (lose): Don't remove the element from the list.
31886 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31887 (_dl_map_object): Likewise.
31888
318892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31890
31891 [BZ #12159]
31892 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31893 into all bytes of SSE register.
31894 Patch by Richard Li <richardpku@gmail.com>.
31895
f0967738 318962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31897
31898 [BZ #12140]
31899 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31900 perturbing.
31901
d0b9e94f
MB
319022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31903
31904 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31905 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31906 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31907 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31909 submachine.
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31911
8e9f92e9
AS
319122010-10-22 Andreas Schwab <schwab@redhat.com>
31913
31914 * include/dlfcn.h (__RTLD_SECURE): Define.
31915 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31916 mode & __RTLD_SECURE instead.
31917 (open_path): Rename preloaded parameter to secure.
31918 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31919 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31920 * elf/dl-deps.c (openaux): Likewise.
31921 * elf/rtld.c (struct map_args): Remove is_preloaded.
31922 (map_doit): Don't use it.
31923 (dl_main): Likewise.
31924 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31925 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31926
bc96fbda
AS
319272010-09-09 Andreas Schwab <schwab@redhat.com>
31928
31929 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31930 (sysd-rules-targets): Remove duplicates.
31931 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31932 rtld-%.$o dependency.
31933
22cd1c9b
AS
319342010-10-18 Andreas Schwab <schwab@redhat.com>
31935
31936 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31937 _dl_map_object do it.
31938
18edac48
UD
319392010-10-19 Ulrich Drepper <drepper@gmail.com>
31940
31941 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31942 fast fma builtins, define the macros in the C99 standard.
31943 (FP_FAST_FMAF): Likewise.
31944 (FP_FAST_FMAL): Likewise.
31945 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31946
31947 * bits/mathdef.h: Update copyright year.
31948 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31949
d2050124
MM
319502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31951
31952 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31953 builtins, define the macros in the C99 standard.
31954 (FP_FAST_FMAF): Likewise.
31955 (FP_FAST_FMAL): Likewise.
31956 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31957 multiply/add.
31958 (FP_FAST_FMAF): Likewise.
31959
475facd1
JJ
319602010-10-15 Jakub Jelinek <jakub@redhat.com>
31961
31962 [BZ #3268]
31963 * math/libm-test.inc (fma_test): Some new testcases.
31964 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31965 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31966 y and infinite z. Do multiplication by C already in long double.
31967 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31969 y and infinite z. Do bitwise or of inexact bit into u.d.
31970 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31971 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31972 * sysdeps/i386/fpu/s_fma.S: Removed.
31973 * sysdeps/i386/fpu/s_fmal.S: Removed.
31974
7c08a05c
JJ
319752010-10-16 Jakub Jelinek <jakub@redhat.com>
31976
31977 [BZ #3268]
31978 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31980 computation is not scheduled after fetestexcept. Fix value
31981 of minimum denormal long double.
31982
f3f7372d
JJ
319832010-10-14 Jakub Jelinek <jakub@redhat.com>
31984
31985 [BZ #3268]
31986 * math/libm-test.inc (fma_test): Add some more tests.
31987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31988 correctly.
31989
14d43591
AS
319902010-10-15 Andreas Schwab <schwab@redhat.com>
31991
31992 * scripts/data/localplt-s390-linux-gnu.data: New file.
31993 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31994
5e908464
JJ
319952010-10-13 Jakub Jelinek <jakub@redhat.com>
31996
31997 [BZ #3268]
31998 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31999 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32000 instead of dbl-64.
32001 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32002 inlines.
32003 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32005 if one of x and y is very large and the other is subnormal.
32006 * sysdeps/s390/fpu/s_fmaf.c: New file.
32007 * sysdeps/s390/fpu/s_fma.c: New file.
32008 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32009 * sysdeps/powerpc/fpu/s_fma.S: New file.
32010 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32011 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32012 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32013
320142010-10-12 Jakub Jelinek <jakub@redhat.com>
32015
32016 [BZ #3268]
32017 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32018 fma tests.
32019 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32020 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32021 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32022 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32023 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32024 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32025 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32026
b833d51f
UD
320272010-10-12 Ulrich Drepper <drepper@redhat.com>
32028
32029 [BZ #12078]
32030 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32031 * posix/bug-regex31.input: Add test case.
32032
1751705d
UD
320332010-10-11 Ulrich Drepper <drepper@gmail.com>
32034
e9b9cbf5
UD
32035 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32036 * posix/bug-regex31.input: New file.
32037
32038 [BZ #12078]
32039 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32040 (parse_sub_exp): Fix last change, use postorder.
32041
ef06edbe
UD
32042 * posix/bug-regex31.c: New file.
32043 * posix/Makefile: Add rules to build and run bug-regex31.
32044
a129c80d
UD
32045 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32046
32047 [BZ #12078]
32048 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32049
b76b818e
UD
32050 [BZ #12108]
32051 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32052 to have entries in sys_siglist.
32053
1751705d
UD
32054 [BZ #12093]
32055 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32056 be NULL.
32057
9ff8d36f
JJ
320582010-10-07 Jakub Jelinek <jakub@redhat.com>
32059
32060 [BZ #3268]
32061 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32062 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32063 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32064 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32065 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32066 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32067 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32068 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32069 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32070 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32071 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32072 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32073 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32074 * math/ftestexcept.c (fetestexcept): Likewise.
32075 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32076 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32077 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32078 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32079 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32080 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32081 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32082
af325969
UD
320832010-10-11 Ulrich Drepper <drepper@gmail.com>
32084
c579b202 32085 [BZ #12107]
af325969
UD
32086 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32087 newline.
32088
67a67b95
UD
320892010-10-06 Ulrich Drepper <drepper@gmail.com>
32090
32091 * string/bug-strstr1.c: New file.
32092 * string/Makefile: Add rules to build and run bug-strstr1.
32093
5fb308bc
EB
320942010-10-05 Eric Blake <eblake@redhat.com>
32095
32096 [BZ #12092]
32097 * string/str-two-way.h (two_way_long_needle): Always clear memory
32098 when skipping input due to the shift table.
32099
45db99c7
UD
321002010-10-03 Ulrich Drepper <drepper@gmail.com>
32101
3b111893
UD
32102 [BZ #12005]
32103 * malloc/mcheck.c: Handle large requests.
32104
45db99c7
UD
32105 [BZ #12077]
32106 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32107 for strncmp and strncasecmp.
32108 * string/stratcliff.c: Add tests for strcmp and strncmp.
32109 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32110
cf7a1eb8
NI
321112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32112
32113 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32114 __set_fpscr.
32115
6484ba5e
AJ
321162010-09-30 Andreas Jaeger <aj@suse.de>
32117
32118 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32119 (CGROUP_SUPER_MAGIC): Define.
32120 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32121 Handle btrfs and cgroup file systems.
32122 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32123 Likewise.
32124
91c42559
LM
321252010-09-27 Luis Machado <luisgpm@br.ibm.com>
32126
32127 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32128 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32129
87a97932
AK
321302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32131
32132 [BZ #12067]
32133 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32134 trying to locate the ELF header.
32135
c21cc9bc
AS
321362010-09-27 Andreas Schwab <schwab@redhat.com>
32137
32138 [BZ #11611]
32139 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32140 Mask out sign-bit copies when constructing f_fsid.
32141
315970f6
PB
321422010-09-24 Petr Baudis <pasky@suse.cz>
32143
32144 * debug/stack_chk_fail_local.c: Add missing licence exception.
32145 * debug/warning-nop.c: Likewise.
32146
1ac7a2c7
JM
321472010-09-15 Joseph Myers <joseph@codesourcery.com>
32148
32149 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32150 implementing getdents64 using getdents syscall, set d_type if
32151 __ASSUME_GETDENTS32_D_TYPE.
32152
56801c50
AS
321532010-09-16 Andreas Schwab <schwab@redhat.com>
32154
32155 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32156 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32157
dda51327
UD
321582010-09-21 Ulrich Drepper <drepper@redhat.com>
32159
32160 [BZ #12037]
32161 * posix/unistd.h: Undo change of feature selection for ftruncate from
32162 2010-01-11.
32163
8ffcee4a
UD
321642010-09-20 Ulrich Drepper <drepper@redhat.com>
32165
a545ecd9 32166 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32167 detection.
32168
e24f0a8b
AS
321692010-09-20 Andreas Schwab <schwab@redhat.com>
32170
32171 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32172 fanotify_mark.
32173 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32174
7291c56f
AS
321752010-09-14 Andreas Schwab <schwab@redhat.com>
32176
32177 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32178 variables after CHECK_SP call.
32179 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32180
bc5fb037
AS
321812010-09-13 Andreas Schwab <schwab@redhat.com>
32182 Ulrich Drepper <drepper@redhat.com>
32183
32184 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32185 re-relocationg ld.so.
32186 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32187 _dl_init_paths call.
32188 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32189 here anymore.
32190
e66e7419
UD
321912010-09-14 Ulrich Drepper <drepper@redhat.com>
32192
32193 * resolv/res_init.c (__res_vinit): Count the default server we added.
32194
c044aa75
CLT
321952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32196 Ulrich Drepper <drepper@redhat.com>
32197
32198 [BZ #11968]
32199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32200 (____longjmp_chk): Use %ebx for saving value across system call.
32201 Add unwind info.
32202
32cf4069
AS
322032010-09-06 Andreas Schwab <schwab@redhat.com>
32204
32205 * manual/Makefile: Don't mix pattern rules with normal rules.
32206
817328ee
AS
322072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32208
32209 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32210 operation.
32211 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32212 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32213 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32214 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32216 Likewise.
32217
29fddf61
UD
322182010-09-04 Ulrich Drepper <drepper@redhat.com>
32219
32220 [BZ #11979]
32221 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32222 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32223
0959ffc9
UD
322242010-09-02 Ulrich Drepper <drepper@redhat.com>
32225
32226 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32227 * sysdeps/x86_64/addmul_1.S: Likewise.
32228 * sysdeps/x86_64/lshift.S: Likewise.
32229 * sysdeps/x86_64/mul_1.S: Likewise.
32230 * sysdeps/x86_64/rshift.S: Likewise.
32231 * sysdeps/x86_64/sub_n.S: Likewise.
32232 * sysdeps/x86_64/submul_1.S: Likewise.
32233
ece29840
ST
322342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32235
0959ffc9
UD
32236 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32237 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32238 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32239 * bits/sched.h [__need_schedparam]
ece29840 32240 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32241 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32242 (__defined_schedparam): Define to 1.
ece29840
ST
32243 (__sched_param): New structure, identical to sched_param.
32244 (__need_schedparam): Undefine.
32245
e53a31fe
MF
322462010-08-31 Mike Frysinger <vapier@gentoo.org>
32247
fdc0c10d
MF
32248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32249 (epoll_create1): Declare.
32250
e53a31fe
MF
32251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32252
a726d796
AS
322532010-08-31 Andreas Schwab <schwab@redhat.com>
32254
32255 [BZ #7066]
32256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32257 shifting retval into place.
32258
2f3e3dc7
UD
322592010-09-01 Ulrich Drepper <drepper@redhat.com>
32260
f2933da9
UD
32261 * nis/rpcsvc/nis.h: Update copyright notice.
32262 * nis/rpcsvc/nis.x: Likewise.
32263 * nis/rpcsvc/nis_callback.h: Likewise.
32264 * nis/rpcsvc/nis_callback.x: Likewise.
32265 * nis/rpcsvc/nis_object.x: Likewise.
32266 * nis/rpcsvc/nis_tags.h: Likewise.
32267 * nis/rpcsvc/yp.h: Likewise.
32268 * nis/rpcsvc/yp.x: Likewise.
32269 * nis/rpcsvc/ypupd.h: Likewise.
32270 * nis/yp_xdr.c: Likewise.
32271 * nis/ypupdate_xdr.c: Likewise.
32272
2f3e3dc7
UD
32273 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32274 mainly the body of pmap_getport. Add parameters to specify timeouts.
32275 (pmap_getport): Use __libc_rpc_getport.
32276 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32277 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32278 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32279
f3dcc2f9
AS
322802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32281
32282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32283 fanotify_mark.
32284
6d34eb5b
RM
322852010-08-27 Roland McGrath <roland@redhat.com>
32286
32287 * sysdeps/i386/i686/multiarch/Makefile
32288 (CFLAGS-varshift.c): New variable.
32289
9ea3de11
UD
322902010-08-27 Ulrich Drepper <drepper@redhat.com>
32291
c96d23fc
UD
32292 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32293 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32294
9ea3de11
UD
32295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32296
32297 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32298
623aac7f
L
322992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32300
32301 * sysdeps/x86_64/strlen.S: Unroll the loop.
32302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32303 strlen-sse2 strlen-sse2-bsf.
32304 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32305 __strlen_no_bsf if bit_Slow_BSF is set.
32306 (__strlen_sse42): Removed.
32307 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32308 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32309
8b2b7715
RM
323102010-08-25 Roland McGrath <roland@redhat.com>
32311
32312 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32313 * sysdeps/x86_64/multiarch/varshift.c: New file.
32314 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32315 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32316 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32317 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32318
e73015f2
L
323192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32320
32321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32322 strlen-sse2 strlen-sse2-bsf.
32323 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32324 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32325 (__strlen_sse2): Removed.
32326 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32327 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32329 bit_Slow_BSF for Atom.
32330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32331 (index_Slow_BSF): Define.
32332 (HAS_SLOW_BSF): Define.
32333
df24a73e
UD
323342010-08-25 Ulrich Drepper <drepper@redhat.com>
32335
32336 [BZ #10851]
32337 * resolv/res_init.c (__res_vinit): When no server address at all
32338 is given default to loopback.
32339
f2ac4868
RM
323402010-08-24 Roland McGrath <roland@redhat.com>
32341
09055553
RM
32342 * configure.in: Remove config-name.h generation.
32343 * configure: Regenerated.
32344 * config-name.in: File removed.
32345 * scripts/config-uname.sh: New file.
32346 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32347 ($(objdir)config-name.h): New target.
32348
f2ac4868
RM
32349 * sunrpc/rpc_parse.h: Avoid nested comment.
32350
73f27d5e
RH
323512010-08-24 Richard Henderson <rth@redhat.com>
32352 Ulrich Drepper <drepper@redhat.com>
32353 H.J. Lu <hongjiu.lu@intel.com>
32354
32355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32357 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32358 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32359 _mm_alignr_epi8 with _mm_loadu_si128.
32360 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32361 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32362 (__m128i_shift_right): Removed.
32363 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32364 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32365 * sysdeps/x86_64/multiarch/varshift.h: New file.
32366 * sysdeps/x86_64/multiarch/varshift.S: New file.
32367
84b9230c
MF
323682010-08-21 Mike Frysinger <vapier@gentoo.org>
32369
32370 * configure.in: Move assembler checks to before sysdep dir checking.
32371
9bbd0ddc
PB
323722010-08-20 Petr Baudis <pasky@suse.cz>
32373
32374 * LICENSES: Sync the sunrpc license.
32375
9da4bb31
UD
323762010-08-19 Ulrich Drepper <drepper@redhat.com>
32377
a7ab6ec8
UD
32378 * sunrpc/auth_des.c: Update copyright notice once again.
32379 * sunrpc/auth_none.c: Likewise.
32380 * sunrpc/auth_unix.c: Likewise.
32381 * sunrpc/authdes_prot.c: Likewise.
32382 * sunrpc/authuxprot.c: Likewise.
32383 * sunrpc/bindrsvprt.c: Likewise.
32384 * sunrpc/clnt_gen.c: Likewise.
32385 * sunrpc/clnt_perr.c: Likewise.
32386 * sunrpc/clnt_raw.c: Likewise.
32387 * sunrpc/clnt_simp.c: Likewise.
32388 * sunrpc/clnt_tcp.c: Likewise.
32389 * sunrpc/clnt_udp.c: Likewise.
32390 * sunrpc/clnt_unix.c: Likewise.
32391 * sunrpc/des_crypt.c: Likewise.
32392 * sunrpc/des_soft.c: Likewise.
32393 * sunrpc/get_myaddr.c: Likewise.
32394 * sunrpc/getrpcport.c: Likewise.
32395 * sunrpc/key_call.c: Likewise.
32396 * sunrpc/key_prot.c: Likewise.
32397 * sunrpc/openchild.c: Likewise.
32398 * sunrpc/pm_getmaps.c: Likewise.
32399 * sunrpc/pm_getport.c: Likewise.
32400 * sunrpc/pmap_clnt.c: Likewise.
32401 * sunrpc/pmap_prot.c: Likewise.
32402 * sunrpc/pmap_prot2.c: Likewise.
32403 * sunrpc/pmap_rmt.c: Likewise.
32404 * sunrpc/rpc/auth.h: Likewise.
32405 * sunrpc/rpc/auth_unix.h: Likewise.
32406 * sunrpc/rpc/clnt.h: Likewise.
32407 * sunrpc/rpc/des_crypt.h: Likewise.
32408 * sunrpc/rpc/key_prot.h: Likewise.
32409 * sunrpc/rpc/netdb.h: Likewise.
32410 * sunrpc/rpc/pmap_clnt.h: Likewise.
32411 * sunrpc/rpc/pmap_prot.h: Likewise.
32412 * sunrpc/rpc/pmap_rmt.h: Likewise.
32413 * sunrpc/rpc/rpc.h: Likewise.
32414 * sunrpc/rpc/rpc_des.h: Likewise.
32415 * sunrpc/rpc/rpc_msg.h: Likewise.
32416 * sunrpc/rpc/svc.h: Likewise.
32417 * sunrpc/rpc/svc_auth.h: Likewise.
32418 * sunrpc/rpc/types.h: Likewise.
32419 * sunrpc/rpc/xdr.h: Likewise.
32420 * sunrpc/rpc_clntout.c: Likewise.
32421 * sunrpc/rpc_cmsg.c: Likewise.
32422 * sunrpc/rpc_common.c: Likewise.
32423 * sunrpc/rpc_cout.c: Likewise.
32424 * sunrpc/rpc_dtable.c: Likewise.
32425 * sunrpc/rpc_hout.c: Likewise.
32426 * sunrpc/rpc_main.c: Likewise.
32427 * sunrpc/rpc_parse.c: Likewise.
32428 * sunrpc/rpc_parse.h: Likewise.
32429 * sunrpc/rpc_prot.c: Likewise.
32430 * sunrpc/rpc_sample.c: Likewise.
32431 * sunrpc/rpc_scan.c: Likewise.
32432 * sunrpc/rpc_scan.h: Likewise.
32433 * sunrpc/rpc_svcout.c: Likewise.
32434 * sunrpc/rpc_tblout.c: Likewise.
32435 * sunrpc/rpc_util.c: Likewise.
32436 * sunrpc/rpc_util.h: Likewise.
32437 * sunrpc/rpcinfo.c: Likewise.
32438 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32439 * sunrpc/rpcsvc/key_prot.x: Likewise.
32440 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32441 * sunrpc/rpcsvc/mount.x: Likewise.
32442 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32443 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32444 * sunrpc/rpcsvc/rex.x: Likewise.
32445 * sunrpc/rpcsvc/rstat.x: Likewise.
32446 * sunrpc/rpcsvc/rusers.x: Likewise.
32447 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32448 * sunrpc/rpcsvc/spray.x: Likewise.
32449 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32450 * sunrpc/rtime.c: Likewise.
32451 * sunrpc/svc.c: Likewise.
32452 * sunrpc/svc_auth.c: Likewise.
32453 * sunrpc/svc_authux.c: Likewise.
32454 * sunrpc/svc_raw.c: Likewise.
32455 * sunrpc/svc_run.c: Likewise.
32456 * sunrpc/svc_simple.c: Likewise.
32457 * sunrpc/svc_tcp.c: Likewise.
32458 * sunrpc/svc_udp.c: Likewise.
32459 * sunrpc/svc_unix.c: Likewise.
32460 * sunrpc/svcauth_des.c: Likewise.
32461 * sunrpc/xcrypt.c: Likewise.
32462 * sunrpc/xdr.c: Likewise.
32463 * sunrpc/xdr_array.c: Likewise.
32464 * sunrpc/xdr_float.c: Likewise.
32465 * sunrpc/xdr_mem.c: Likewise.
32466 * sunrpc/xdr_rec.c: Likewise.
32467 * sunrpc/xdr_ref.c: Likewise.
32468 * sunrpc/xdr_sizeof.c: Likewise.
32469 * sunrpc/xdr_stdio.c: Likewise.
32470
9da4bb31
UD
32471 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32472 handling.
32473
bdaa77bc
AS
324742010-08-19 Andreas Schwab <schwab@redhat.com>
32475
32476 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32477
fe2f79db
LM
324782010-08-19 Luis Machado <luisgpm@br.ibm.com>
32479
32480 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32482 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32483 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32484 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32485 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32486 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32487 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32488 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32489 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32490 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32491 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32492 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32493 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32494
b9b42ee0
AB
324952010-07-26 Anton Blanchard <anton@samba.org>
32496
32497 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32498 * malloc/arena.c (heap_trim): Likewise.
32499
1c06ba31
UD
325002010-08-16 Ulrich Drepper <drepper@redhat.com>
32501
32502 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32503 here. Not...
32504 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32505 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32506
f8392f40
L
325072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32508
32509 * sysdeps/i386/elf/Makefile: New file.
32510
3162f12e
AS
325112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32512
32513 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32514 from fanotify_init.
32515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32516 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32517
28c90b2c
UD
325182010-08-15 Ulrich Drepper <drepper@redhat.com>
32519
32520 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32521 of strncasecmp_l.
1feccb6c 32522 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32523
ca6bb004
UD
325242010-08-14 Ulrich Drepper <drepper@redhat.com>
32525
e9f82e0d
UD
32526 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32527 strncase_l-nonascii.
32528 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32529 Add strncase_l-ssse3.
32530 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32531 * sysdeps/x86_64/strcmp.S: Likewise.
32532 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32533 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32534 * sysdeps/x86_64/strncase.S: New file.
32535 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32536 * sysdeps/x86_64/strncase_l.S: New file.
32537 * string/Makefile (strop-tests): Add strncasecmp.
32538 * string/test-strncasecmp.c: New file.
32539
32540 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32541 warning.
32542
ca6bb004
UD
32543 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32544 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32545
052fa7b3
AS
325462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32547
32548 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32549
962dba78
UD
325502010-08-12 Ulrich Drepper <drepper@redhat.com>
32551
32552 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32553 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32554 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32555
bebff237
AM
325562010-05-01 Alan Modra <amodra@gmail.com>
32557
32558 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32559 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32560 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32561 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32562 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32563 tidying. Don't tail-call __sigjmp_save for static lib.
32564 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32565 save location.
32566 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32567 (CALL_MCOUNT): Add eh info, and nop after bl.
32568 (TAIL_CALL_SYSCALL_ERROR): New macro.
32569 (PSEUDO_RET): Use it.
32570 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32571 Correct save location of integer regs and cr.
32572 (_dl_profile_resolve): Correct cr save location. Delete nops
32573 after bl when SHARED. Reduce cfi size a little by better
32574 placement of cfi directives.
32575 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32576 make a stack frame. Instead use parm save area as a temp.
32577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32578 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32580 Don't make a stack frame for parent, use parm save area.
32581 Increase child stack frame to 112 bytes. Don't save unused reg,
32582 and adjust reg usage. Set up cfi on error recovery and
32583 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32585 (__makecontext): Add dummy nop after jump to exit.
32586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32587 Use correct parm save area and cr save, reduce stack frame.
32588 Correct cfi for possible PSEUDO_RET frame setup.
32589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32590 Branch to local label emitted by PSEUDO_RET rather than
32591 __syscall_error.
32592
02637374
AS
325932010-08-12 Andreas Schwab <schwab@redhat.com>
32594
32595 [BZ #11904]
32596 * locale/programs/locale.c (print_assignment): New function.
32597 (show_locale_vars): Use it.
32598
c3e2f19b
UD
325992010-08-11 Ulrich Drepper <drepper@redhat.com>
32600
3cdaa6ad
UD
32601 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32602 field.
32603 (struct statfs64): Likewise.
32604 (_STATFS_F_FLAGS): Define.
32605 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32606 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32607 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32608 (ST_VALID): Define locally.
32609 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32610 __statvfs_getflags, use the provided value.
32611 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32612 __ASSUME_STATFS_F_FLAGS.
32613
754f7da3
UD
32614 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32615
10b3bedc
UD
32616 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32617 Add sys/fanotify.h.
32618 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32619 fanotify_mask for GLIBC_2.13.
32620 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32621 fanotify_init and fanotify_mark.
32622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32623 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32624
c08fb0d7
UD
32625 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32626 Add prlimit.
32627 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32628 prlimit64 for GLIBC_2.13.
32629 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32630 prlimit64.
32631 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32632 syscall.
32633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32634 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32635 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32636 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32638 add prlimit alias.
32639 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32640
15bac72b
UD
32641 [BZ #11903]
32642 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32643 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32644
c3e2f19b
UD
32645 * nss/Makefile: Add rules to build and run tst-nss-test1.
32646 * shlib-versions: Add entry for libnss_test1.
32647 * nss/nss_test1.c: New file.
32648 * nss/tst-nss-test1.c: New file.
32649
32650 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32651 (__nss_configure_lookup): Set appropriate entry in
32652 __nss_configure_lookup to true.
32653 * nss/nsswitch.h: Define enum with indeces of databases in
32654 databases and __nss_database_custom arrays. Declare
32655 __nss_database_custom.
32656 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32657 to avoid using nscd when custom rules are installed.
32658 * nss/getXXbyYY_r.c: Likewise.
32659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32660
32661 * nss/nss_files/files-parse.c: Whitespace fixes.
32662
f15ce4d8
UD
326632010-08-09 Ulrich Drepper <drepper@redhat.com>
32664
32665 [BZ #11883]
32666 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32667 * posix/fnmatch_loop.c: Likewise.
32668
d22e4cc9
AK
326692010-07-17 Andi Kleen <ak@linux.intel.com>
32670
32671 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32672 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32673 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32674 * Versions.def [GLIBC_2.13]: Add.
32675
805bc17d
UD
326762010-08-06 Ulrich Drepper <drepper@redhat.com>
32677
32678 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32679 Also fail if tpwd after pwuid call is NULL.
32680
5a42321d
ST
326812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32682
32683 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32684 when converting to ms.
32685
fd3ebeda
ST
326862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32687
32688 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32689 EOPNOTSUPP errors with ENOTTY.
32690 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32691 EOPNOTSUPP errors with ENOTTY.
32692
73507d3a
UD
326932010-07-31 Ulrich Drepper <drepper@redhat.com>
32694
32695 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32696 Add strcasecmp_l-ssse3.
32697 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32698 strcasecmp.
32699 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32700 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32701 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32702
fe36dd02
UD
327032010-07-30 Ulrich Drepper <drepper@redhat.com>
32704
66f6765a
UD
32705 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32706
42e08a54
UD
32707 * string/Makefile (strop-tests): Add strcasecmp.
32708 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32709 strcasecmp_l-nonascii.
32710 (gen-as-const-headers): Add locale-defines.sym.
32711 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32712 * sysdeps/x86_64/strcasecmp.S: New file.
32713 * sysdeps/x86_64/strcasecmp_l.S: New file.
32714 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32715 * sysdeps/x86_64/locale-defines.sym: New file.
32716 * string/test-strcasecmp.c: New file.
32717
fe36dd02
UD
32718 * string/test-strcasestr.c: Test both ends of the range of characters.
32719 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32720
48cbc0d6
RM
327212010-07-29 Roland McGrath <roland@redhat.com>
32722
76e6d6bc 32723 [BZ #11856]
48cbc0d6
RM
32724 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32725
880113d9
UD
327262010-07-27 Ulrich Drepper <drepper@redhat.com>
32727
32728 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32729 for ld.so.
32730
deb9cabb
AS
327312010-07-27 Andreas Schwab <schwab@redhat.com>
32732
32733 * manual/memory.texi (Malloc Tunable Parameters): Document
32734 M_PERTURB.
32735
1c7570ff
RM
327362010-07-26 Roland McGrath <roland@redhat.com>
32737
32738 [BZ #11840]
32739 * configure.in (-fgnu89-inline check): Set and substitute
32740 gnu89_inline, not libc_cv_gnu89_inline.
32741 * configure: Regenerated.
32742 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32743
24fb0f88
UD
327442010-07-26 Ulrich Drepper <drepper@redhat.com>
32745
32746 * string/test-strnlen.c: New file.
32747 * string/Makefile (strop-tests): Add strnlen.
32748 * string/tester.c (test_strnlen): Add a few more test cases.
32749 * string/tst-strlen.c: Better error reporting.
32750
32751 * sysdeps/x86_64/strnlen.S: New file.
32752
8e96b93a
UD
327532010-07-24 Ulrich Drepper <drepper@redhat.com>
32754
32755 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32756 lower-latency instructions.
32757
dbc676d4
UD
327582010-07-23 Ulrich Drepper <drepper@redhat.com>
32759
32760 * string/test-strcasestr.c: New file.
32761 * string/test-strstr.c: New file.
32762 * string/Makefile (strop-tests): Add strstr and strcasestr.
32763 * string/str-two-way.h: Don't undefine MAX.
32764 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32765
f6a31e0e
AS
327662010-07-21 Andreas Schwab <schwab@redhat.com>
32767
32768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32769 strcasestr-nonascii.
32770 (CFLAGS-strcasestr-nonascii.c): Define.
32771 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32772 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32773 Remove unused attribute.
32774
5dbc3b6c
RM
327752010-07-20 Roland McGrath <roland@redhat.com>
32776
32777 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32778 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32779 ld.so.cache was broken. With it, there is no way to disable dsocaps
32780 like LD_HWCAP_MASK can disable hwcaps.
32781
23d101d8
EPM
327822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32783
32784 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32785
cc9f2e47
UD
327862010-07-16 Ulrich Drepper <drepper@redhat.com>
32787
32788 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32789 call in strcasestr.
32790 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32791 __strcasestr_sse42_nonascii.
32792 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32793 strcasestr-nonascii.c.
32794 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32795
77c1b069
LM
327962010-06-15 Luis Machado <luisgpm@br.ibm.com>
32797
32798 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32799 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32800 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32801 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32802
440566c3
UD
328032010-07-09 Ulrich Drepper <drepper@redhat.com>
32804
32805 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32806 fcntl.
32807
5be9d05d
AS
328082010-07-06 Andreas Schwab <schwab@redhat.com>
32809
c30b7ee2 32810 [BZ #11577]
5be9d05d
AS
32811 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32812 dl_signal_cerror.
32813
8a492a67
UD
328142010-07-06 Ulrich Drepper <drepper@redhat.com>
32815
32816 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32817 _PC_PIPE_BUF using F_GETPIPE_SZ.
32818
713df3d5
RM
328192010-07-05 Roland McGrath <roland@redhat.com>
32820
32821 * manual/arith.texi (Rounding Functions): Fix rint description
32822 implicit in round description.
32823
702e8f14
UD
328242010-07-02 Ulrich Drepper <drepper@redhat.com>
32825
32826 * elf/Makefile: Fix linking for a few tests to make recent linker
32827 happy.
32828
52ed8be9
AS
328292010-06-30 Andreas Schwab <schwab@redhat.com>
32830
32831 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32832 $(common-objpfx)libc_nonshared.a.
32833
f47c9a11
LM
328342010-06-21 Luis Machado <luisgpm@br.ibm.com>
32835
32836 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32837 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32838 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32839 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32840 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32841 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32842 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32843 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32858 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32859 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32860 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32861 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32862 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32863 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32864 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32865 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32866 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32867 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32868 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32869 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32884
6fb8cbcb
L
328852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32886
32887 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32888 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32889 * string/memmove.c (memmove): Renamed to ...
32890 (MEMMOVE): ...this. Default to memmove.
32891 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32892 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32893 (END_CHK): Define.
32894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32895 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32896 mempcpy-ssse3-back memmove-ssse3-back.
32897 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32898 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32900 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32901 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32902 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32903 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32904 * sysdeps/x86_64/multiarch/memmove.c: New file.
32905 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32906 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32907 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32908 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32909 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32911 Define.
32912 (index_Fast_Copy_Backward): Define.
32913 (HAS_ARCH_FEATURE): Define.
32914 (HAS_FAST_REP_STRING): Define.
32915 (HAS_FAST_COPY_BACKWARD): Define.
32916
4e733bac 329172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32918
32919 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32920 Restore proper fallback handling.
32921
63c4ed22
UD
329222010-06-19 Ulrich Drepper <drepper@redhat.com>
32923
ac2b484c
UD
32924 [BZ #11701]
32925 * posix/group_member.c (__group_member): Correct checking loop.
32926
63c4ed22
UD
32927 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32928 OOM in getpwuid_r correctly. Return error number when the caller
32929 should return, otherwise -1.
32930 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32931 call returning > 0 value.
32932 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32933
765ade4b
AS
329342010-06-07 Andreas Schwab <schwab@redhat.com>
32935
32936 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32937 libc_nonshared.a from targets in modules-names.
32938
80da2e09
KS
329392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32940
32941 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32942 requires it.
32943
158db122
LM
329442010-06-10 Luis Machado <luisgpm@br.ibm.com>
32945
32946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32948 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32950
caa78cf8
AS
329512010-06-02 Andreas Schwab <schwab@redhat.com>
32952
32953 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32954
b2ef2c01
UD
329552010-06-14 Ulrich Drepper <drepper@redhat.com>
32956
32957 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32958 and F_GETPIPE_SZ.
32959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32964 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32965
fbd643b6
RM
329662010-06-14 Roland McGrath <roland@redhat.com>
32967
32968 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32969
f32f2869
JJ
329702010-06-07 Jakub Jelinek <jakub@redhat.com>
32971
32972 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32973 __REDIRECT followed by __THROW.
32974 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32975 * posix/getopt.h (getopt): Likewise.
32976
2a50c078
EPM
329772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32978
32979 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32980 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32981 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32982 in AT_FLAGS.
32983 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32984 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32985
eb5ad2eb
LM
329862010-05-28 Luis Machado <luisgpm@br.ibm.com>
32987
32988 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32989
3c88fe1e
L
329902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32991
32992 [BZ #11640]
32993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32994 Properly check family and model.
32995
d2f73151
TY
329962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32997
32998 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32999
ebd2e13d
LM
330002010-05-24 Luis Machado <luisgpm@br.ibm.com>
33001
33002 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33003
b32b8b45
UD
330042010-05-21 Ulrich Drepper <drepper@redhat.com>
33005
33006 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33007 symbol reference.
33008
9acbe24d
AS
330092010-05-19 Andreas Schwab <schwab@redhat.com>
33010
33011 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33012 symbol reference.
33013
f0ccf6ea
AS
330142010-05-21 Andreas Schwab <schwab@redhat.com>
33015
3d04ff3a
AS
33016 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33017 and internal_recvmmsg.
33018 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33019 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33020 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33021 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33022
f0ccf6ea
AS
33023 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33024 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33025 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33026
5b08ac57
AS
330272010-05-20 Andreas Schwab <schwab@redhat.com>
33028
33029 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33030
4828935d
LM
330312010-05-17 Luis Machado <luisgpm@br.ibm.com>
33032
33033 POWER7 optimizations.
33034 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33035 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33036
373d545e
UD
330372010-05-19 Ulrich Drepper <drepper@redhat.com>
33038
33039 * version.h: Update for 2.13 development version.
33040
21a2b1ae
AS
330412010-05-12 Andrew Stubbs <ams@codesourcery.com>
33042
33043 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33044 exceptions. Return 0.
33045
3f7dcb2b
RM
330462010-05-07 Roland McGrath <roland@redhat.com>
33047
33048 * elf/ldconfig.c (main): Add a const.
33049
5f24d53a 330502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33051
a160f8d8
UD
33052 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33053 (args_options): Add no-idn option.
33054 (ahosts_keys_int): Add idn_flags to ai_flags.
33055 (parse_option): Handle 'i' option to clear idn_flags.
33056
5f24d53a
UD
33057 * malloc/malloc.c (_int_free): Possible race in the most recently
33058 added check. Only act on the data if no current modification
33059 happened.
265bb1ce
UD
33060
33061See ChangeLog.17 for earlier changes.