]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update to canonical freemanuals.texi file.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
39bf0bb4
RM
12013-09-24 Roland McGrath <roland@hack.frob.com>
2
3 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4 http://www.gnu.org/doc/freemanuals.texi.
5 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6
f02eed10
WN
72013-09-24 Will Newton <will.newton@linaro.org>
8
9 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10 macro.
11
a3a6c312
JM
122013-09-23 Joseph Myers <joseph@codesourcery.com>
13
14 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15 unsigned char.
16
107375ac
MR
172013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18
19 * manual/threads.texi (POSIX Threads): Fix a typo.
20
141f3a77
SP
212013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22
303e567a
SP
23 [BZ #14547]
24 * string/tst-strcoll-overflow.c: New test case.
25 * string/Makefile (xtests): Add tst-strcoll-overflow.
26 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27 cache if string sizes may cause integer overflow.
28
141f3a77
SP
29 [BZ #14547]
30 * string/strcoll_l.c (coll_seq): New members rule, idx,
31 save_idx and back_us.
32 (get_next_seq_nocache): New function.
33 (do_compare_nocache): New function.
34 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
35 when malloc fails.
36
c61b4d41
CD
372013-09-23 Carlos O'Donell <carlos@redhat.com>
38
0b1f8e35
CD
39 [BZ #15754]
40 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43
c61b4d41
CD
44 [BZ #15754]
45 * elf/Makefile (tests): Add tst-ptrguard1.
46 (tests-static): Add tst-ptrguard1-static.
47 (tst-ptrguard1-ARGS): Define.
48 (tst-ptrguard1-static-ARGS): Define.
49 * elf/tst-ptrguard1.c: New file.
50 * elf/tst-ptrguard1-static.c: New file.
51 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52 * sysdeps/i386/stackguard-macros.h: Likewise.
53 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59
602013-09-23 Hector Marco <hecmargi@upv.es>
61 Ismael Ripoll <iripoll@disca.upv.es>
62 Carlos O'Donell <carlos@redhat.com>
63
64 [BZ #15754]
65 * sysdeps/generic/stackguard-macros.h: Define
66 __pointer_chk_guard_local and POINTER_CHK_GUARD.
67 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
68 Define __pointer_chk_guard_local.
69 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
70 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
71
f5f4e7b4
VV
722013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
73
74 [BZ #15859]
75 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
76
5bb43a43
AS
772013-09-20 Andreas Schwab <schwab@linux-m68k.org>
78
79 * include/string.h (__ffs): Declare as hidden.
80 * string/ffs.c (__ffs): Define as hidden.
81 * sysdeps/i386/ffs.c (__ffs): Likewise.
82 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
83 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
84 * sysdeps/s390/ffs.c (__ffs): Likewise.
85 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
86
3ea5be54
AO
872013-09-20 Alexandre Oliva <aoliva@redhat.com>
88
ffb89e53
AO
89 * NEWS: Mention malloc probes.
90
322dea08
AO
91 * malloc/arena.c (new_heap): New memory_heap_new probe.
92 (grow_heap): New memory_heap_more probe.
93 (shrink_heap): New memory_heap_less probe.
94 (heap_trim): New memory_heap_free probe.
95 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
96 (systrim): New memory_sbrk_less probe.
97 * manual/probes.texi: Document them.
98
655673f3
AO
99 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
100 * manual/probes.texi: Document it.
101
35fed6f1
AO
102 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
103 (__libc_realloc): Add memory_realloc_retry probe.
104 (__libc_memalign): Add memory_memalign_retry probe.
105 (__libc_valloc): Add memory_valloc_retry probe.
106 (__libc_pvalloc): Add memory_pvalloc_retry probe.
107 (__libc_calloc): Add memory_calloc_retry probe.
108 * manual/probes.texi: Document them.
109
6999d38c
AO
110 * malloc/arena.c (get_free_list): Add probe
111 memory_arena_reuse_free_list.
112 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
113 and memory_arena_reuse.
114 (arena_get2) [!PER_THREAD]: Likewise.
115 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
116 memory_arena_reuse_realloc.
117 * manual/probes.texi: Document them.
118
0653427f
AO
119 * malloc/malloc.c (__libc_free): Add
120 memory_mallopt_free_dyn_thresholds probe.
121 (__libc_mallopt): Add multiple memory_mallopt probes.
122 * manual/probes.texi: Document them.
123
3ea5be54
AO
124 * malloc/malloc.c: Include stap-probe.h.
125 (__libc_mallopt): Add memory_mallopt probe.
126 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
127 * manual/probes.texi: New.
128 * manual/Makefile (chapters): Add probes.
129 * manual/threads.texi: Set next node.
130
e35696c3 1312013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 132
e35696c3
CL
133 [BZ #15963, #13985]
134 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
135 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
136 Add `Chinese' to `nan' entry name.
137
4aafb73c
SP
1382013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
139
140 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
141 (POLYNOMIAL): Likewise.
142 (TAYLOR_SINCOS): Likewise.
143 (TAYLOR_SLOW): Likewise.
144 (__sin): Use TAYLOR_SINCOS.
145 (__cos): Likewise.
146 (slow): Use TAYLOR_SLOW.
147 (sloww): Likewise.
148 (bsloww): Likewise.
149 (csloww): Likewise.
150
d84f25c7
LD
1512013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
152
153 * stdlib/strtod_l.c: Fix buffer overrun.
154
5eea0404
SP
1552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
156
7849ff93
SP
157 * benchtests/Makefile (bench): Add sincos.
158 * benchtests/bench-sincos.c: New file.
159
cfa3c886
SP
160 * math/libm-test.inc (cos_test_data): New test inputs.
161 (sin_test_data): Likewise.
162
b348e1e3
SP
163 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
164 macro.
165 (__sin): Use it.
166 (__cos): Likewise.
167 (slow1): Likewise.
168 (slow2): Likewise.
169 (sloww1): Likewise.
170 (sloww2): Likewise.
171 (bsloww1): Likewise.
172 (bsloww2): Likewise.
173 (cslow2): Likewise.
174 (csloww1): Likewise.
175 (csloww2): Likewise.
176
6cce25f8
SP
177 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
178 function.
179 (__sin): Use it.
180 (__cos): Likewise.
181
5eea0404
SP
182 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
183 gotos.
184 (__cos): Likewise.
185
9c21573c
MR
1862013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
187
188 * config.h.in (HAVE_MIPS_NAN2008): New macro.
189 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
190 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
191 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
192 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
193 * elf/cache.c (print_entry): Handle the new cache flags.
194
24d22e65
JM
1952013-09-18 Joseph Myers <joseph@codesourcery.com>
196 Aldy Hernandez <aldyh@redhat.com>
197
198 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
199 Change condition to [_SOFT_FLOAT].
200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
201 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
212 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
215 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
216 declaration.
217
d13ef066
JM
2182013-09-18 Joseph Myers <joseph@codesourcery.com>
219
2e071de0
JM
220 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
221 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
222 (__longjmp): Use LOAD_GP to load saved GPRs.
223 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
224 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
225 (__sigsetjmp): Use SAVE_GP to save GPRs.
226
d13ef066
JM
227 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
228 Do not append -msoft-float.
229 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
230
97a0650b
SP
2312013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
232
233 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
234
11ca09e9
JM
2352013-09-17 Joseph Myers <joseph@codesourcery.com>
236
237 [BZ #15966]
238 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
239 (_FPU_GETCW): Use initial "__" on variable and field names but not
240 on macro parameter name.
241 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
242 parentheses around reference to macro parameter.
243
08ffcf34
RS
2442013-09-13 Richard Sandiford <richard@codesourcery.com>
245
246 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
247 prototype.
248 (ctype_startup): Use uint32_t in cast and sizeof for
249 ctype->charnames.
250
ae7080d3
JL
2512013-09-11 Jia Liu <proljc@gmail.com>
252
253 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
254 __daddr_t_defined.
255 [__FreeBSD__]: Likewise.
256
5905e7b3
OB
2572013-09-11 Ondřej Bílka <neleai@seznam.cz>
258
259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
260 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
261 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
262 (strchr): Remove __strchr_sse42 ifunc selection.
263 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
264 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
265
b987c776
WN
2662013-09-11 Will Newton <will.newton@linaro.org>
267
268 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
269 parameter to RES. Remove hardcoded 1000 value.
270 * benchtests/bench-skeleton.c (main): Pass RES parameter
271 to TIMING_INIT and multiply result by 1000.
272
ddf985af
AZ
2732013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
274
275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
276
ffdd3181
AS
2772013-09-11 Andreas Schwab <schwab@suse.de>
278
279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
280 if not defined.
281 (O_TMPFILE) [__USE_GNU]: Define.
282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
283 Define.
284
b73ed247
WN
2852013-09-11 Will Newton <will.newton@linaro.org>
286
287 [BZ #15857]
288 * malloc/malloc.c (__libc_memalign): Check the value of bytes
289 does not overflow.
290
55e17aad
WN
2912013-09-11 Will Newton <will.newton@linaro.org>
292
293 [BZ #15856]
294 * malloc/malloc.c (__libc_valloc): Check the value of bytes
295 does not overflow.
296
1159a193
WN
2972013-09-11 Will Newton <will.newton@linaro.org>
298
299 [BZ #15855]
300 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
301 does not overflow.
302
5905e7b3 3032013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
304
305 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
306 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
307 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
308 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
309 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
310
cdfc721b
AM
3112013-09-10 Allan McRae <allan@archlinux.org>
312
aa04af00
AM
313 [BZ #15748]
314 * manual/arith.texi (Parsing of Floats): Clarify
315 cross-reference.
316
cdfc721b
AM
317 [BZ #15849]
318 * manual/install.texi (Running make install): Mention
319 --enable-pt-chown.
320 * INSTALL: Regenerated.
321
95e7cf29
MR
3222013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
323
324 * csu/init-first.c (_init): Remove the !SHARED condition around
325 FPU control word initialization.
326 * elf/dl-support.c (_dl_fpu_control): New variable.
327 (_dl_aux_init) <AT_FPUCW>: Initialize it.
328 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
329 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
330 * math/test-fpucw-static.c: New file.
331 * math/test-fpucw-ieee.c: New file.
332 * math/test-fpucw-ieee-static.c: New file.
333 * math/Makefile (tests): Add `test-fpucw-ieee' and
334 `$(tests-static)'.
335 (tests-static): New variable.
336 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
337 dependency to...
338 [($(build-shared),yes)]
339 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
340 ... this.
341 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
342 New dependency.
343
83e43bf0
AM
3442013-09-09 Allan McRae <allan@archlinux.org>
345
a9f5ce09
AM
346 [BZ #15939]
347 * manual/string.texi (Collation Functions): Fix typo in
348 strcoll example.
349 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
350
34829bc2
AM
351 [BZ #15893]
352 * stdlib/isomac.c (get_null_defines): Fix memory leak.
353
3932737d
AM
354 [BZ #15892]
355 * libio/memstream.c (open_memstream): Fix memory leak.
356 * libio/wmemstream.c (open_wmemstream): Likewise.
357
83e43bf0
AM
358 [BZ #15895]
359 * nscd/netgroupcache.c: Fix nesting of ifdefs.
360
0c66b8e9
WN
3612013-09-09 Will Newton <will.newton@linaro.org>
362
363 * malloc/Makefile: Add tst-realloc to tests.
364 * malloc/tst-realloc.c: New file.
365
f6b00fd1
AM
3662013-09-09 Allan McRae <allan@archlinux.org>
367
368 [BZ #15844]
369 * COPYING: Update from GNU website to fix FSF address.
370 * COPYING.LIB: Likewise.
371
eec55e16
DM
3722013-09-06 David S. Miller <davem@davemloft.net>
373
374 * po/zh_TW.po: Update Chinese (traditional) translation from
375 translation project.
376
1ecbb381
RS
3772013-09-06 Richard Sandiford <richard@codesourcery.com>
378 Joseph Myers <joseph@codesourcery.com>
379
380 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
381 "localeinfo.h".
382 (obstack_chunk_alloc): New macro.
383 (obstack_chunk_free): Likewise.
384 (record_offset): New function.
385 (init_locale_data): Likewise.
386 (align_locale_data): Likewise.
387 (add_locale_empty): Likewise.
388 (add_locale_raw_data): Likewise.
389 (add_locale_raw_obstack): Likewise.
390 (add_locale_string): Likewise.
391 (add_locale_wstring): Likewise.
392 (add_locale_uint32): Likewise.
393 (add_locale_uint32_array): Likewise.
394 (add_locale_char): Likewise.
395 (start_locale_structure): Likewise.
396 (end_locale_structure): Likewise.
397 (start_locale_prelude): Likewise.
398 (end_locale_prelude): Likewise.
399 (write_locale_data): Take locale_file structure rather than an
400 iovec.
401 * locale/programs/locfile.h: Include "obstack.h".
402 (struct locale_file): Change to store locale file contents instead
403 of header.
404 (init_locale_data): New prototype.
405 (align_locale_data): Likewise.
406 (add_locale_empty): Likewise.
407 (add_locale_raw_data): Likewise.
408 (add_locale_raw_obstack): Likewise.
409 (add_locale_string): Likewise.
410 (add_locale_wstring): Likewise.
411 (add_locale_uint32): Likewise.
412 (add_locale_uint32_array): Likewise.
413 (add_locale_char): Likewise.
414 (start_locale_structure): Likewise.
415 (end_locale_structure): Likewise.
416 (start_locale_prelude): Likewise.
417 (end_locale_prelude): Likewise.
418 (write_locale_data): Update prototype.
419 * locale/programs/3level.h (struct TABLE): Remove result field.
420 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
421 Use new locale_file interface.
422 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
423 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
424 * locale/programs/ld-address.c (address_output): Use new
425 locale_file interface.
426 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
427 NO_ADD_LOCALE.
428 (collate_finish): Don't call collseq_table_finalize.
429 (collate_output): Use new locale_file interface.
430 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
431 in file.
432 (NO_FINALIZE): Change to NO_ADD_LOCALE.
433 (TABLE): Move defines earlier in file.
434 (ELEMENT): Likewise.
435 (DEFAULT): Likewise.
436 (wctrans_table_add): Move macro and inline function earlier in
437 file.
438 (struct wctype_table): Move type earlier in file.
439 (add_locale_wctype_table): New static prototype.
440 (struct locale_ctype_t): Use logical types instead of struct iovec
441 pointers for members.
442 (ctype_output): Use new locale_file interface.
443 (wctype_table_finalize): Change to add_locale_wctype_table. Use
444 new locale_file interface.
445 (allocate_arrays): Update for use of new locale_file interface.
446 * locale/programs/ld-identification.c (identification_output): Use
447 new locale_file interface.
448 * locale/programs/ld-measurement.c (measurement_output): Likewise.
449 * locale/programs/ld-messages.c (messages_output): Likewise.
450 * locale/programs/ld-monetary.c (monetary_output): Likewise.
451 * locale/programs/ld-name.c (name_output): Likewise.
452 * locale/programs/ld-numeric.c (numeric_output): Likewise.
453 * locale/programs/ld-paper.c (paper_output): Likewise.
454 * locale/programs/ld-telephone.c (telephone_output): Likewise.
455 * locale/programs/ld-time.c (time_output): Likewise.
456
e029e2e5
AZ
4572013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
458
459 * benchtests/Makefile: Add memrchr benchmark.
460 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
461 benchmark as memrchr.
462 * benchtests/bench-memrchr-ifunc.c: New file.
463 * benchtests/bench-memrchr.c: New file.
464
bbf6e8e4
WN
4652013-09-06 Will Newton <will.newton@linaro.org>
466
467 * benchtests/Makefile (string-bench): Add memcpy.
468
6c82a2f8
CD
4692013-09-05 Carlos O'Donell <carlos@redhat.com>
470 Cong Wang <amwang@redhat.com>
471
472 * sysdeps/unix/sysv/linux/bits/in.h
473 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
474 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
475 before __USE_KERNEL_IPV6_DEFS uses.
476 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
477 IPPROTO_BEETPH.
478 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
479 sockaddr_in6, or ipv6_mreq.
480
5430fc65
AZ
4812013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
482
483 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
484 memory access for final bytes in some large inputs.
485 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
486
4660856c
AZ
4872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
488
489 * string/test-memrchr.c: New file.
490 * string/test-memrchr-ifunc.c: New file.
491 * string/Makefile: Add new memrchr testcase.
492
bb8ea713
MF
4932013-09-05 Mike Frysinger <vapier@gentoo.org>
494
495 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
496 fanotify_init returns EPERM.
497
b92a20b5
JM
4982013-09-04 Joseph Myers <joseph@codesourcery.com>
499
500 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
501 errors.
502 (top level): Treat second token from macro or constant entries for
503 allowed headers as allowed.
504 * include/complex.h: Condition internal declarations on
505 [!_ISOMAC].
506 * include/fenv.h: Condition include of <stdbool.h> and internal
507 declarations on [!_ISOMAC].
7447ccd9
CL
508
5092013-09-04 Chris Leonard <cjl@sugarlabs,.org>
510
3e181dda 511 [BZ #15923]
7447ccd9
CL
512 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
513
3f2e46a4
JM
5142013-09-04 Joseph Myers <joseph@codesourcery.com>
515
516 * configure.in (--enable-versioning): Remove configure option.
517 (libc_cv_asm_symver_directive): Remove configure test.
518 (libc_cv_ld_version_script_option): Likewise.
519 (VERSIONING): Remove variable and AC_SUBST.
520 (DO_VERSIONING): Remove AC_DEFINE.
521 * configure: Regenerated.
522 * config.h.in (DO_VERSIONING): Remove macro.
523 * Makerules [$(versioning) = yes]: Change conditionals to
524 [$(build-shared) = yes].
525 * config.make.in (versioning): Remove variable.
526 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
527 [$(build-shared) = yes].
528 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
529 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
530 * elf/Makefile [$(versioning) = yes]: Change conditionals to
531 [$(build-shared) = yes].
532 * extra-lib.mk [$(versioning) = yes]: Likewise.
533 * hurd/Makefile [$(versioning) = yes]: Likewise.
534 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
535 [SHARED].
536 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
537 [SHARED].
538 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
539 [SHARED && !NO_HIDDEN].
540 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
541 [SHARED].
542 [SHARED && DO_VERSIONING]: Likewise..
543 * libio/Makefile [$(versioning) = yes]: Change conditionals to
544 [$(build-shared) = yes].
545 * manual/install.texi (--disable-versioning): Remove
546 documentation.
547 * INSTALL: Regenerated.
548 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
549 to [SHARED].
550 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
551 [$(build-shared) = yes].
552 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
553 * sysdeps/i386/i686/multiarch/strstr-c.c
554 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
555 [SHARED && !NO_HIDDEN].
556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
557 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
558 * sysdeps/powerpc/powerpc32/dl-machine.c
559 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
560 * sysdeps/powerpc/powerpc32/sysdep.h
561 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
562 to [SHARED && PIC && !NO_HIDDEN].
563 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
564 conditional to [SHARED].
565
44558701
WN
5662013-09-04 Will Newton <will.newton@linaro.org>
567
568 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
569 * benchtests/bench-string.h: Include bench-timing.h instead
570 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
571 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
572 call to HP_TIMING_DIFF_INIT.
573 * benchtests/bench-memccpy.c: Use bench-timing.h macros
574 instead of hp-timing.h macros.
575 * benchtests/bench-memchr.c: Likewise.
576 * benchtests/bench-memcmp.c: Likewise.
577 * benchtests/bench-memcpy.c: Likewise.
578 * benchtests/bench-memmem.c: Likewise.
579 * benchtests/bench-memmove.c: Likewise.
580 * benchtests/bench-memset.c: Likewise.
581 * benchtests/bench-rawmemchr.c: Likewise.
582 * benchtests/bench-strcasecmp.c: Likewise.
583 * benchtests/bench-strcasestr.c: Likewise.
584 * benchtests/bench-strcat.c: Likewise.
585 * benchtests/bench-strchr.c: Likewise.
586 * benchtests/bench-strcmp.c: Likewise.
587 * benchtests/bench-strcpy.c: Likewise.
588 * benchtests/bench-strcpy_chk.c: Likewise.
589 * benchtests/bench-strlen.c: Likewise.
590 * benchtests/bench-strncasecmp.c: Likewise.
591 * benchtests/bench-strncat.c: Likewise.
592 * benchtests/bench-strncmp.c: Likewise.
593 * benchtests/bench-strncpy.c: Likewise.
594 * benchtests/bench-strnlen.c: Likewise.
595 * benchtests/bench-strpbrk.c: Likewise.
596 * benchtests/bench-strrchr.c: Likewise.
597 * benchtests/bench-strspn.c: Likewise.
598 * benchtests/bench-strstr.c: Likewise.
599
cae16d66
WN
6002013-09-04 Will Newton <will.newton@linaro.org>
601
602 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
603
ffa3cd7f
JM
6042013-09-03 Joseph Myers <joseph@codesourcery.com>
605
606 [BZ #15427]
607 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
608 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
609 * math/libm-test.inc (lgamma_test_data): Add more tests.
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
612
8f02859f
OB
6132013-09-03 Ondřej Bílka <neleai@seznam.cz>
614
615 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
617 Add ifunc.
618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
619 Add strcmp-sse2-unaligned
620 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
621
18d43716
MF
6222013-09-02 Mike Frysinger <vapier@gentoo.org>
623
624 * Versions.def (libc): Add GLIBC_2.19.
625
ac444012
MF
6262013-09-02 Mike Frysinger <vapier@gentoo.org>
627
628 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
629 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
630
b7835e32
JM
6312013-09-02 Joseph Myers <joseph@codesourcery.com>
632
633 [BZ #14155]
634 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
635 intermediate calculations in recurrence.
636 (__ieee754_ynf): Likewise.
637 * math/libm-test.inc (jn_test_data): Do not allow spurious
638 underflow exception. Add more tests.
639 (yn_test_data): Add more tests.
640 * sysdeps/i386/fpu/libm-test-ulps: Update.
641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642
8220f4f0
OB
6432013-09-02 Ondřej Bílka <neleai@seznam.cz>
644
645 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
646
f24a6d08
OB
6472013-08-30 Ondřej Bílka <neleai@seznam.cz>
648
649 * csu/init-first.c: Fix then/than typos.
650 * locale/programs/ld-collate.c: Likewise.
651 * locale/programs/linereader.h: Likewise.
652 * manual/charset.texi: Likewise.
653 * manual/filesys.texi: Likewise.
654 * manual/stdio.texi: Likewise.
655 * manual/string.texi: Likewise.
656 * stdlib/fmtmsg.c: Likewise.
657 * sysdeps/i386/stpncpy.S: Likewise.
658 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
659 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
660 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
661 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
662
382466e0
OB
6632013-08-30 Ondřej Bílka <neleai@seznam.cz>
664
665 * elf/dl-open.c: Fix typos.
666 * iconvdata/gbbig5.c: Likewise.
667 * iconvdata/iso-2022-jp.c: Likewise.
668 * iconv/gconv_int.h: Likewise.
669 * iconv/loop.c: Likewise.
670 * nis/rpcsvc/nis.h: Likewise.
671 * resolv/ns_name.c: Likewise.
672 * stdio-common/vfscanf.c: Likewise.
673 * streams/stropts.h: Likewise.
674 * sunrpc/rpc_thread.c: Likewise.
675 * sysdeps/i386/strpbrk.S: Likewise.
676 * sysdeps/ieee754/k_standard.c: Likewise.
677 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
678 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
679 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
680 * sysdeps/mach/hurd/profil.c: Likewise.
681 * sysdeps/s390/dl-procinfo.h: Likewise.
682 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
683 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
684 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
685 * sysdeps/x86_64/dl-trampoline.S: Likewise.
686 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
687
0186c6e9
OB
6882013-08-30 Ondřej Bílka <neleai@seznam.cz>
689
690 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
692
d4e16af1
OB
6932013-08-29 Ondřej Bílka <neleai@seznam.cz>
694
695 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
696 aix specific files.
697 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
700 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
702 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
703 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
704 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
705
88335980
TS
7062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
707 Roland McGrath <roland@hack.frob.com>
708
709 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
710 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
711
ed479b02
ST
7122013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
713
714 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
715 __executable_start symbol instead of _start.
716
f1cc4c86
TS
7172013-08-29 Thomas Schwinge <thomas@codesourcery.com>
718
d821f07c
TS
719 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
720 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
721 Move macros to...
722 * sysdeps/gnu/ldsodefs.h: ... this new file.
723
c54290cf
TS
724 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
725 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
726 instead of ELFOSABI_LINUX.
727
0007fc9b 728 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
729 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
730 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
731 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
732 Likewise.
733 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
734 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
735 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
736 Likewise.
737 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
738 (ibm_extended_long_double): Add ieee_nan member.
739 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
740 (do_test): New function.
741
f1cc4c86
TS
742 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
743 TEST_TRUNC.
744 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
745 functions, renamed from truncdfsf_test, trunctfsf_test,
746 trunctfdf_test.
747 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
748 functions.
749 (do_test): Run all these.
750
6f65e668
OB
7512013-08-29 Ondřej Bílka <neleai@seznam.cz>
752
753 * argp/argp-help.c: Fix typos.
754 * argp/argp-parse.c: Likewise.
755 * debug/backtracesyms.c: Likewise.
756 * elf/elf.h: Likewise.
757 * malloc/malloc.c: Likewise.
758 * nis/nis_print.c: Likewise.
759 * resolv/res_comp.c: Likewise.
760 * stdlib/stdlib.h: Likewise.
761 * sunrpc/clnt_tcp.c: Likewise.
762 * sunrpc/clnt_udp.c: Likewise.
763 * sunrpc/clnt_unix.c: Likewise.
764 * sysdeps/unix/bsd/ptsname.c: Likewise.
765 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
766 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
768 Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
770 Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
772 Likewise.
6f65e668
OB
773 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
774
3a309239
SP
7752013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
776
777 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
779
3b813b29
MF
7802013-08-27 Mike Frysinger <vapier@gentoo.org>
781
782 [BZ #15897]
783 * dlfcn/Makefile (tests): Add bug-dl-leaf.
784 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
785 ($(objpfx)bug-dl-leaf): New rule.
786 ($(objpfx)bug-dl-leaf.so): Likewise.
787 ($(objpfx)bug-dl-leaf.out): Likewise.
788 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
789 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
790 * dlfcn/bug-dl-leaf.c: New test.
791 * dlfcn/bug-dl-leaf-lib.c: Likewise.
792 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
793 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
794 (dlclose): Likewise.
795 (dlmopen): Likewise.
796
8cc3269f
RM
7972013-08-27 Roland McGrath <roland@hack.frob.com>
798
7f9d0034
RM
799 * include/netdb.h [!_ISOMAC]:
800 Don't include <tls.h>.
801 (h_errno, __libc_h_errno): Move declaration and macros out of
802 [_LIBC_REENTRANT].
803
fb431262
RM
804 * include/resolv.h [_RESOLV_H_]:
805 Don't include <tls.h>.
806 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
807 * resolv/res_libc.c: Don't include <tls.h>.
808 (_res): Use __attribute__ ((nocommon)) in place of
809 __attribute__ ((section (".bss"))).
810
bd81123a
RM
811 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
812 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
813
c4e42566
RM
814 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
815
f890a59b
RM
816 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
817 only under [SIOCGIFCONF && SIOCGIFNETMASK].
818
819 * resolv/res_mkquery.c: Include <sys/time.h>.
820
5d1f0a09
RM
821 * inet/ifreq.c: Moved to ...
822 * sysdeps/unix/ifreq.c: ... here.
823 * inet/ifreq.c: New file, true stub version.
824
6fcf28b3
RM
825 * socket/sa_len.c: New file.
826 * socket/Makefile (aux): Add it.
827 * sysdeps/unix/sysv/linux/Makefile
828 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
829 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
830 and #include <socket/sa_len.c>.
831 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
832 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
833
e041fb8b
RM
834 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
835 * bits/socket.h: ... here.
836
8cc3269f
RM
837 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
838 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
839 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
840
5d228a43
AS
8412013-08-27 Andreas Schwab <schwab@suse.de>
842
45b8accc
AS
843 [BZ #15736]
844 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
845 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
846 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
847 * string/test-strcasecmp.c (test_main): Run tests in several
848 locales.
849 * string/test-strncasecmp.c (test_main): Likewise.
850
5d228a43
AS
851 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
852 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
853 to __strcasecmp_nonascii and __strncasecmp_nonascii.
854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
855 (__strncasecmp_ssse3) [PIC]: Likewise.
856
59d112a4
RM
8572013-08-26 Roland McGrath <roland@hack.frob.com>
858
53234cc3
RM
859 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
860
59d112a4
RM
861 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
862 instead of explicitly declaring xdecrypt.
863 * nis/nss_nis/nis-publickey.c: Likewise.
864
595aba70
SP
8652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
866
867 [BZ #15890]
868 * nscd/aicache.c: Include res_hconf.h.
869 (addhstaiX): Initialize res_hconf.
870
ffabd393
AS
8712013-08-26 Andreas Schwab <schwab@suse.de>
872
873 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
874 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
875
e0a69f5c
SP
8762013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
877
878 * nscd/aicache.c (addhstaiX): Fix indentation.
879
8c12f01d
MF
8802013-08-25 Mike Frysinger <vapier@gentoo.org>
881
882 * configure.ac: Quote $build_pt_chown test.
883 * configure: Regenerated.
884
8fe89494
JM
8852013-08-23 Joseph Myers <joseph@codesourcery.com>
886
887 [BZ #15532]
888 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
889 * math/s_cexpf.c (__cexpf): Likewise.
890 * math/s_cexpl.c (__cexpl): Likewise.
891 * math/libm-test.inc (cexp_test_data): Correct expected return
892 value for NaN + i0. Add another test.
893
75b181d6
DM
8942013-08-22 David S. Miller <davem@davemloft.net>
895
896 * po/ca.po: Update Catalan translation from translation project.
936241e4 897 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 898
acd06bb1
JM
8992013-08-21 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #15797]
902 * math/s_fdim.c (__fdim): Check for infinite arguments if result
903 is infinite, not alongside NaN test.
904 * math/s_fdimf.c (__fdimf): Likewise.
905 * math/s_fdiml.c (__fdiml): Likewise.
906 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
907 errno is unchanged.
908
c0c3f78a
OB
9092013-08-21 Ondřej Bílka <neleai@seznam.cz>
910
911 * argp/argp-help.c: Fix typos.
912 * crypt/speeds.c: Likewise.
913 * csu/check_fds.c: Likewise.
914 * elf/dl-load.c: Likewise.
915 * elf/dl-open.c: Likewise.
916 * elf/reldep3.c: Likewise.
917 * elf/reldep.c: Likewise.
918 * elf/sprof.c: Likewise.
919 * iconv/iconv_charmap.c: Likewise.
920 * iconv/skeleton.c: Likewise.
921 * iconv/strtab.c: Likewise.
922 * io/lockf64.c: Likewise.
923 * libio/libioP.h: Likewise.
924 * resolv/gai_notify.c: Likewise.
925 * resolv/ns_name.c: Likewise.
926 * resolv/ns_samedomain.c: Likewise.
927 * resolv/res_send.c: Likewise.
928 * stdlib/random.c: Likewise.
929 * sunrpc/rpc/xdr.h: Likewise.
930 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
931 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
932 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
933 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
934 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
938 * sysdeps/mach/hurd/check_fds.c: Likewise.
939 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
940 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
942 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
943 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
944 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
945 * sysdeps/pthread/aio_notify.c: Likewise.
946 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
947 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
948 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
949 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
950 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
951
46ed1038
LD
9522013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
953
954 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
955 version if bit_Slow_SSE4_2 is set.
956 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
957 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
958
d400dcac
AZ
9592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
960
961 [BZ #15867]
962 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
963 trampoline stack frame information.
964 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
966 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
967 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
968 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
969 * sysdeps/unix/sysv/linux/powerpc/init-first.c
970 (_libc_vdso_platform_setup): Initialize the signal trampolines.
971 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
972 sa_flags value.
973 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
974 interrupting a syscall and set with option SA_SIGINFO.
975
42c8fdd8
JM
9762013-08-20 Joseph Myers <joseph@codesourcery.com>
977
c980f2f4
JM
978 [BZ #15531]
979 * math/s_cproj.c (__cproj): Only return an infinity if one part of
980 argument is infinite.
981 * math/s_cprojf.c (__cprojf): Likewise.
982 * math/s_cprojl.c (__cprojl): Likewise.
983 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
984 * math/libm-test.inc (cproj_test_data): Add more tests.
985
0716c4fc
JM
986 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
987
42c8fdd8
JM
988 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
989 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
990 size. Use __ffs to determine corresponding shift.
991
b31469d0
JM
9922013-08-20 Joseph Myers <joseph@codesourcery.com>
993 Roland McGrath <roland@hack.frob.com>
994
995 * Makefile (INSTALL): Remove trailing blank lines from output of
996 makeinfo.
997
4e39af6e
AK
9982013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
999
1000 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1001 Align 32 bit compat elf_greg to 8 bytes.
1002
f315524e
AA
10032013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1004
1005 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1006
1326ba1a
SP
10072013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
1009 * string/strcoll_l.c (coll_seq): New structure.
1010 (get_next_seq_cached): New function.
1011 (get_next_seq): New function.
1012 (do_compare): New function.
1013 (STRCOLL): Use GNU style definition. Simplify implementation
1014 by using get_next_seq, get_next_seq_cached and do_compare.
1015
91ce4085
FW
10162013-08-16 Florian Weimer <fweimer@redhat.com>
1017
1018 [BZ #14699]
1019 CVE-2013-4237
1020 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1021 member.
1022 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1023 member.
1024 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1025 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1026 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1027 conditional.
1028 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1029 GETDENTS_64BIT_ALIGNED.
1030 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1031 * manual/filesys.texi (Reading/Closing Directory): Document
1032 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1033 strongly.
1034 * manual/conf.texi (Limits for Files): Add portability note to
1035 NAME_MAX, PATH_MAX.
1036 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1037
ca0a6bc4
AS
10382013-08-13 Andreas Schwab <schwab@suse.de>
1039
1040 [BZ #15749]
1041 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1042 of fabs.
1043 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1044 LDBL_MAX_EXP >= 16384]: Add tests for it.
1045
6c1fd795
DM
10462013-08-12 David S. Miller <davem@davemloft.net>
1047
1048 * version.h (RELEASE): Set to "development".
1049 (VERSION): Set to "2.18.90".
1050 * NEWS: Add 2.19 section.
1051
31ad488d
DM
10522013-08-03 David S. Miller <davem@davemloft.net>
1053
1054 * po/ko.po: Update Korean translation from translation project.
1055
db24e684
DM
10562013-08-01 David S. Miller <davem@davemloft.net>
1057
1058 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1059 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1060 Bilka.
1061
f723285b
DM
10622013-07-30 David S. Miller <davem@davemloft.net>
1063
1064 * po/fr.po: Update French translation from translation project.
1065
3cbc52db
DM
10662013-07-28 David S. Miller <davem@davemloft.net>
1067
30bbc0cc
DM
1068 * po/cs.po: Update Czech translation from translation project.
1069
3cbc52db
DM
1070 * po/sv.po: Update Swedish translation from translation project.
1071
d492e6d0
DM
10722013-07-27 David S. Miller <davem@davemloft.net>
1073
f1a7f492
DM
1074 * po/eo.po: Update Esperanto translation from translation project.
1075
90e62a4a
DM
1076 * po/vi.po: Update Vietnamese translation from translation project.
1077
d492e6d0
DM
1078 * po/de.po: Update German translation from translation project.
1079
d4baa62d
DM
10802013-07-26 David S. Miller <davem@davemloft.net>
1081
641aa7b4
DM
1082 * po/bg.po: Update Bulgarian translation from translation project.
1083
d4baa62d
DM
1084 * po/nl.po: Update Dutch translation from translation project.
1085 * po/pl.po: Update Polish translation from translation project.
1086 * po/ru.po: Update Russian translation from translation project.
1087
61a9dcb9
DM
10882013-07-24 David S. Miller <davem@davemloft.net>
1089
1090 * po/libc.pot: Update.
1091
7b1f8b58
AZ
10922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093
1094 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1095 variable page size.
1096 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1097 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1098 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1099
a8fc7a03
AK
11002013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1101
1102 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1103
e4608715
CD
11042013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1105 Andreas Schwab <schwab@suse.de>
1106 Roland McGrath <roland@hack.frob.com>
1107 Joseph Myers <joseph@codesourcery.com>
1108 Carlos O'Donell <carlos@redhat.com>
1109
1110 [BZ #15755]
1111 * config.h.in: Define HAVE_PT_CHOWN.
1112 * config.make.in (build-pt-chown): New variable.
1113 * configure.in (--enable-pt_chown): New configure option.
1114 * configure: Regenerate.
1115 * login/Makefile: Include Makeconfig. Build pt_chown only if
1116 build-pt-chown is enabled.
1117 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1118 pt_chown to fix pty ownership.
1119 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1120 CLOSE_ALL_FDS.
1121 * manual/install.texi (Configuring and compiling): Mention
1122 --enable-pt_chown. Add @findex for grantpt.
1123 * INSTALL: Regenerate.
1124
da2d62df
DM
11252013-07-20 David S. Miller <davem@davemloft.net>
1126
1127 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1128 difference between 32-bit and 64-bit.
1129
d7e06450
CD
11302013-07-15 Carlos O'Donell <carlos@redhat.com>
1131
1132 [BZ #15711]
1133 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1134 Avoid system header dependency with -ffreestanding.
1135 ($(objpfx)bits/syscall%d): Likewise.
1136
f959cfd7
DM
11372013-07-13 David S. Miller <davem@davemloft.net>
1138
1139 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1140 underflows from atanl/atan2l due to bug 15319.
1141 (casinh_test_data): Likewise.
1142
c61f8513
DM
11432013-07-07 David S. Miller <davem@davemloft.net>
1144
1145 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1146
72c90ed0
JA
11472013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1148
1149 * sysdeps/i386/fpu/libm-test-ulps: Update.
1150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1151
52dfbe13
SP
11522013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1153
1154 * configure.in (--enable-lock-elision): Fix message text.
1155 * INSTALL: Regenerate.
1156 * configure: Regenerate.
1157
3f169543
AZ
11582013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159
1160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1161
521c6785
AJ
11622013-07-03 Andreas Jaeger <aj@suse.de>
1163
1164 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1165 define.
1166 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1167 (ptrace_peeksiginfo_args): Add.
1168 (__ptrace_peeksiginfo_flags): Add.
1169 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1170 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1171 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1172
d2cc15cb
AM
11732013-07-03 Allan McRae <allan@archlinux.org>
1174
1175 * sysdeps/i386/fpu/libm-test-ulps: Update.
1176
3aaeeca7
DM
11772013-07-02 David S. Miller <davem@davemloft.net>
1178
1179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1180
5314ed1a
MT
11812013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1182
1183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1184
67338156
JM
11852013-07-02 Joseph Myers <joseph@codesourcery.com>
1186
1187 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1189
1717da59
AK
11902013-07-02 Andi Kleen <ak@linux.intel.com>
1191
1192 * config.h.in (ENABLE_LOCK_ELISION): Add.
1193 * configure.in (--enable-lock-elision): Add option.
1194 * manual/install.texi: Document --enable lock elision.
1195 * configure: Regenerate
1196 * INSTALL: Regenerate.
1197
1c81621c
L
11982013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1201 SSE4.2 strcasecmp for libc.a.
1202 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1203
77f01ab5
JM
12042013-07-02 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #13304]
1207 * soft-fp/op-common.h (_FP_FMA): New macro.
1208 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1209 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1210 (_FP_MUL_MEAT_1_imm): ... here.
1211 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1212 (_FP_MUL_MEAT_1_wide): ... here.
1213 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1214 (_FP_MUL_MEAT_1_hard): ... here.
1215 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1216 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1217 (_FP_MUL_MEAT_2_wide): ... here.
1218 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1219 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1220 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1221 (_FP_MUL_MEAT_2_gmp): ... here.
1222 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1223 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1224 (_FP_MUL_MEAT_4_wide): ... here.
1225 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1226 (_FP_MUL_MEAT_4_gmp): ... here.
1227 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1228 (_FP_WFRACBITS_DW_S): Likewise.
1229 (_FP_WFRACXBITS_DW_S): Likewise.
1230 (_FP_HIGHBIT_DW_S): Likewise.
1231 (FP_FMA_S): Likewise.
1232 (_FP_FRAC_HIGH_DW_S): Likewise.
1233 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1234 (_FP_WFRACBITS_DW_D): Likewise.
1235 (_FP_WFRACXBITS_DW_D): Likewise.
1236 (_FP_HIGHBIT_DW_D): Likewise.
1237 (FP_FMA_D): Likewise.
1238 (_FP_FRAC_HIGH_DW_D): Likewise.
1239 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1240 (_FP_WFRACBITS_DW_E): Likewise.
1241 (_FP_WFRACXBITS_DW_E): Likewise.
1242 (_FP_HIGHBIT_DW_E): Likewise.
1243 (FP_FMA_E): Likewise.
1244 (_FP_FRAC_HIGH_DW_E): Likewise.
1245 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1246 (_FP_WFRACBITS_DW_Q): Likewise.
1247 (_FP_WFRACXBITS_DW_Q): Likewise.
1248 (_FP_HIGHBIT_DW_Q): Likewise.
1249 (FP_FMA_Q): Likewise.
1250 (_FP_FRAC_HIGH_DW_Q): Likewise.
1251 * soft-fp/fmasf4.c: New file.
1252 * soft-fp/fmadf4.c: Likewise.
1253 * soft-fp/fmatf4.c: Likewise.
1254
6308fd9a
LD
12552013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1256
1257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1258 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1259 Silvermont.
1260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1261 macro.
1262 (index_Slow_SSE4_2): Likewise.
1263 (index_Prefer_PMINUB_for_stringop): Likewise.
1264 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1265 bit_Slow_SSE4_2 is set.
1266 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1267 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1268
89cd9569
RA
12692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1270
1271 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1272 rtld_global._dl_hwcap2.
1273 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1274 POWER8.
1275 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1276 POWER8 feature descriptions defined in _dl_hwcap2.
1277 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1278 string handling for POWER8 feature bits.
1279 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1280 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1281 _dl_powerpc_cap_flags.
1282 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1283 * sysdeps/powerpc/rtld-global-offsets.sym
1284 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1285 _dl_hwcap2 in the rtld_global_ro structure.
1286
1ae8bfe0
RA
12872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1288
1289 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1290 hardware capabilities in support of AT_HWCAP2.
1291 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1292 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1293 GLRO(dl_hwcap2).
1294 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1295 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1296 explicitly the unknown a_type display mechanism is used.
1297 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1298 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1299 struct member.
1300 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1301 to macro prototype for AT_HWCAP2 support.
1302 * sysdeps/i386/dl-procinfo.h: Likewise.
1303 * sysdeps/s390/dl-procinfo.h: Likewise.
1304 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1305 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1306 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1307 return -1 for unknown a_type display fallback.
1308 * sysdeps/sparc/dl-procinfo.h: Likewise.
1309 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1310 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1311
8fbec010
JM
13122013-06-28 Joseph Myers <joseph@codesourcery.com>
1313
1314 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1315 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1316
0432680e
PY
13172013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1318
1319 [BZ #12492]
1320 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1321 mprotect making __stack_prot writable.
1322
ce61a2ad
NF
13232013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1324 Joseph Myers <joseph@codesourcery.com>
1325
1326 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1327 as being properly aligned.
1328
f91f1c0f
MR
13292013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1330
3d0f5d0c
MR
1331 * dlfcn/modstatic5.c: New file.
1332 * dlfcn/tststatic5.c: New file.
1333 * dlfcn/Makefile (tests): Add tststatic5.
1334 (tests-static): Likewise.
1335 (modules-names): Add modstatic5.
1336 (tststatic5-ENV): New variable.
1337 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1338
f91f1c0f
MR
1339 [BZ #15022]
1340 * elf/dl-support.c (_dl_main_map): New variable.
1341 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1342 (_dl_nns, _dl_load_adds): Set to 1.
1343 (_dl_initial_searchlist): Refer to _dl_main_map.
1344 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1345 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1346 call to _dl_get_origin.
1347 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1348 around call_map.
1349 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1350 * dlfcn/modstatic3.c: New file.
1351 * dlfcn/tststatic3.c: New file.
1352 * dlfcn/tststatic4.c: New file.
1353 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1354 (tests-static): Likewise.
1355 (modules-names): Add modstatic3.
1356 (tststatic3-ENV, tststatic4-ENV): New variables.
1357 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1358 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1359
cbe7d24b
JM
13602013-06-26 Joseph Myers <joseph@codesourcery.com>
1361
1362 * configure.in (CC): Require GCC version 4.4 or later.
1363 * configure: Regenerated.
1364 * manual/install.texi (Tools for Compilation): Update GCC version
1365 requirement.
1366 * INSTALL: Regenerated.
1367
11b8a0e1
LD
13682013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1369
1370 [BZ #15674]
bb5bb87c
L
1371 * string/test-memcmp.c (check2): New.
1372 (main): Call check2.
1373
11b8a0e1
LD
1374 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1375
b0037103
MR
13762013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1377
1378 [BZ #15022]
1379 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1380 over to...
1381 (dl_open_worker) [!SHARED]: ... here.
1382
c18c701d
RA
13832013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1384
1385 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1386
1d17fa5f
RH
13872013-06-25 Richard Henderson <rth@redhat.com>
1388
1389 * locale/programs/locarchive.c: Include <libc-internal.h>
1390
8fcb833a
JM
13912013-06-25 Joseph Myers <joseph@codesourcery.com>
1392
1393 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1394 trailing whitespace removed.
1395
17db6e8d
MF
13962013-06-24 Mike Frysinger <vapier@gentoo.org>
1397
1398 [BZ #10283]
17db6e8d
MF
1399 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1400 * locale/programs/locarchive.c: Include libc-mmap.h.
1401 (prepare_address_space): Take two new outputs (the mmap base and len).
1402 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1403 values.
1404 (create_archive): Declare new mmap base and len values for
1405 prepare_address_space, and store the result in ah.
1406 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1407 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1408 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1409 Declare new mmap base and len values for
1410 prepare_address_space, and store the result in new_ah.
1411 (open_archive): Declare new mmap base and len values for
1412 prepare_address_space, and store the result in ah.
1413 (close_archive): If ah->mmap_base is not NULL, use that and
1414 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1415 * sysdeps/generic/libc-mmap.h: New file.
1416
d605071e
MF
14172013-06-24 Mike Frysinger <vapier@gentoo.org>
1418
1419 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1420 (ALIGN_UP): Likewise.
1421 (PTR_ALIGN_DOWN): Likewise.
1422 (PTR_ALIGN_UP): Likewise.
1423
2f063a6e
RA
14242013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1425
1426 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1427 entry mapped to PPC_PLATFORM_POWER8.
1428 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1429 POWER8.
1430 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1431 (_dl_string_platform): Add case for exporting platform position for
1432 POWER8.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1434 search path to sysdeps/powerpc/powerpc32/power8 directory.
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1436 search path to sysdeps/powerpc/powerpc64/power8 directory.
1437 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1438 power7 directories.
1439 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1440 power7 directories.
1441
a31ee4b3
SP
14422013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1443
a74ca98f
SP
1444 * INSTALL: Regenerate.
1445
a31ee4b3
SP
1446 * nscd/connections.c (nscd_init): Fix comment.
1447
695c378f
JM
14482013-06-22 Joseph Myers <joseph@codesourcery.com>
1449
d8412221
JM
1450 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1451
695c378f
JM
1452 [BZ #15667]
1453 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1454 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1455
d1d54715
MR
14562013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1457
1458 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1459 DL_DST_REQ_STATIC.
1460 (DL_DST_REQ_STATIC): Remove macro.
1461
8fdda7af
JM
14622013-06-21 Joseph Myers <joseph@codesourcery.com>
1463
1464 [BZ #7006]
1465 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1466 with a shift of 0 bits.
1467
f3bc5e5a
MR
14682013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1469
1470 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1471 $(tststatic-ENV).
1472
be09e8c9
KK
14732013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1474
1475 [BZ #15655]
1476 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1477
85c2e611
AZ
14782013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1479
1480 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1481 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1482 accepts -fno-tree-loop-distribute-patterns.
1483 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1484 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1485 recursive call.
1486 * string/memset.c (memset): Likewise.
1487 * string/test-memmove.c (simple_memmove): Disable loop transformation
1488 to library calls.
1489 * string/test-memset.c (simple_memset): Likewise.
1490 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1491 * benchtests/bench-memset.c (simple_memset): Likewise.
1492 * configure: Regenerated.
1493
c91e0825
JM
14942013-06-20 Joseph Myers <joseph@codesourcery.com>
1495
b8c792af
JM
1496 * math/test-misc.c (main): Ignore fesetround failure when failures
1497 of subsequent rounding tests would be ignored.
1498
c91e0825
JM
1499 [BZ #15654]
1500 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1501 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1502 * math/fegetenv.c (__fegetenv): Return 0.
1503 * math/fegetexcept.c (fegetexcept): Return 0.
1504 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1505 FE_TONEAREST.
1506 * math/feholdexcpt.c (feholdexcept): Return 0.
1507 * math/fesetenv.c (__fesetenv): Return 0.
1508 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1509 argument FE_TONEAREST.
1510 * math/feupdateenv.c (__feupdateenv): Return 0.
1511 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1512
bfcacbde
RM
15132013-06-18 Roland McGrath <roland@hack.frob.com>
1514
1515 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1516 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1517 ($(objpfx)rtld-%.os rules): Use them.
1518
e55a9b25
AZ
15192013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1520
1521 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1522 fields.
1523
346d65b3
RM
15242013-06-17 Roland McGrath <roland@hack.frob.com>
1525
12086fb4
RM
1526 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1527 length of target pattern, then descending length of dependency pattern.
1528 * configure.in (AWK): Require gawk 3.1.2 or newer.
1529 * manual/install.texi (Tools for Compilation): Say that we do.
1530 * configure: Regenerated.
1531
346d65b3
RM
1532 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1533 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1534 * scripts/sysd-rules.awk: ... this new script.
1535 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1536 than a glob-style pattern.
1537
1a846317
JM
15382013-06-17 Joseph Myers <joseph@codesourcery.com>
1539
1540 * math/test-misc.c (main): Do not treat incorrectly rounded
1541 conversions as failure unless ROUNDING_TESTS passes.
1542
8fc75e6f
JM
15432013-06-15 Joseph Myers <joseph@codesourcery.com>
1544
3711a167
JM
1545 [BZ #15631]
1546 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1547 restore exception state around main square root computation, then
1548 check for inexactness explicitly.
1549
8fc75e6f
JM
1550 * math/libm-test.inc (fma_test_data): Add another test.
1551
61dd6208
SP
15522013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1553
adf23d2c
SP
1554 * manual/threads.texi (Non-POSIX Extensions): New document
1555 node. Document pthread_getattr_default_np and
1556 pthread_setattr_default_np.
1557
61dd6208
SP
1558 * Versions.def (libpthread): Add GLIBC_2.18.
1559 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1561 Likewise.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1563 Likewise.
1564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1565 Likewise.
1566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1567 Likewise.
1568 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1569 Likewise.
1570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1571 Likewise.
1572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1573 Likewise.
1574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1575 Likewise.
1576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1577 Likewise.
1578
d086fc7b
LD
15792013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1580
1581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1582 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1583
747ef469
SP
15842013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1585 H.J. Lu <hjl.tools@gmail.com>
1586
1587 [BZ #15627]
1588 * sysdeps/x86_64/rtld-memset.c: Remove file.
1589 * sysdeps/x86_64/rtld-memset.S: New file.
1590
1b2feed2
JM
15912013-06-14 Joseph Myers <joseph@codesourcery.com>
1592
1593 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1594 (test_in_one_mode): Take arguments for whether the rounding mode
1595 is supported for each floating-point type.
1596 (do_test): Pass new arguments to test_in_one_mode using
1597 ROUNDING_TESTS.
1598
a58ad3f8
RM
15992013-06-13 Roland McGrath <roland@hack.frob.com>
1600
1601 * posix/tst-waitid.c (do_test): Distinguish different instances of
1602 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1603 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1604 before entering the kernel for waitpid.
1605
c204ab28
SP
16062013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1607
1608 * NEWS: Fix note on clock function precision. Text by Roland
1609 McGrath.
1610
f4a29fba
RM
16112013-06-13 Roland McGrath <roland@hack.frob.com>
1612
1613 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1614 it into place only when and if the sanity check passes.
1615
1f24b9ad
JM
16162013-06-13 Joseph Myers <joseph@codesourcery.com>
1617
1618 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1619 output for whether conversion result is exact. Take argument
1620 indicating whether type is IBM long double.
1621 (round_for_all): Change need_exact field to ibm_ld.
1622 * stdlib/tst-strtod-round.c (struct exactness): New type.
1623 (struct test): Change bool ld_ok field to struct exactness exact.
1624 (TEST): Update all definitions for change to field.
1625 (tests): Regenerate array contents.
1626 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1627 field value. Check for IBM long double here.
1628 (do_test): Update calls to test_in_one_mode.
1629
58206c68
SP
16302013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1631
1632 [BZ #12515]
1633 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1634 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1635
2d6f4c5b 16362013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1637
1638 [BZ #15605]
1639 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1640 generated by the compiler on loop optimizations.
1641 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1642 general definitions.
1643
94f2c076
JM
16442013-06-12 Joseph Myers <joseph@codesourcery.com>
1645
1646 * math/bug-nextafter.c: Include <math-tests.h>.
1647 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1648 the relevant type.
1649 * math/bug-nexttoward.c: Include <math-tests.h>.
1650 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1651 the relevant type.
1652 * math/test-misc.c: Include <math-tests.h>.
1653 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1654 the relevant type.
1655
e0e50a0a
AJ
16562013-06-12 Andreas Jaeger <aj@suse.de>
1657
1658 * po/ia.po: Update Interlingua translation from translation
1659 project.
1660
25061094
SP
16612013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1662
1663 * include/fenv.h: Include stdbool.h.
1664 (struct rm_ctx): New structure.
1665 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1666 Define macro.
1667 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1668 (SET_RESTORE_ROUNDF): Likewise.
1669 (SET_RESTORE_ROUNDL): Likewise.
1670 (SET_RESTORE_ROUND_NOEX): Likewise.
1671 (SET_RESTORE_ROUND_NOEXF): Likewise.
1672 (SET_RESTORE_ROUND_NOEXL): Likewise.
1673 (SET_RESTORE_ROUND_53BIT): Likewise.
1674 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1675 (libc_feresetround_noexf_ctx): Likewise.
1676 (libc_feresetround_noexl_ctx): Likewise.
1677 (libc_feholdsetround_53bit_ctx): Likewise.
1678 (libc_feresetround_53bit_ctx): Likewise.
1679 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1680 (libc_feholdexcept_setround_sse_ctx): New function.
1681 (libc_fesetenv_sse_ctx): Likewise.
1682 (libc_feupdateenv_sse_ctx): Likewise.
1683 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1684 (libc_feholdexcept_setround_387_ctx): Likewise.
1685 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1686 (libc_feholdsetround_387_prec_ctx): Likewise.
1687 (libc_feholdsetround_387_ctx): Likewise.
1688 (libc_feholdsetround_387_53bit_ctx): Likewise.
1689 (libc_feholdsetround_sse_ctx): Likewise.
1690 (libc_feresetround_sse_ctx): Likewise.
1691 (libc_feresetround_387_ctx): Likewise.
1692 (libc_feupdateenv_387_ctx): Likewise.
1693 (libc_feholdexcept_setroundf_ctx): Define macro.
1694 (libc_fesetenvf_ctx): Likewise.
1695 (libc_feupdateenvf_ctx): Likewise.
1696 (libc_feholdsetroundf_ctx): Likewise.
1697 (libc_feresetroundf_ctx): Likewise.
1698 (libc_feholdexcept_setround_ctx): Likewise.
1699 (libc_fesetenv_ctx): Likewise.
1700 (libc_feupdateenv_ctx): Likewise.
1701 (libc_feholdsetround_ctx): Likewise.
1702 (libc_feresetround_ctx): Likewise.
1703 (libc_feholdexcept_setroundl_ctx): Likewise.
1704 (libc_feupdateenvl_ctx): Likewise.
1705 (libc_feholdsetroundl_ctx): Likewise.
1706 (libc_feresetroundl_ctx): Likewise.
1707 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1708 (libc_feresetround_53bit_ctx): Likewise.
1709
59b30555
SP
17102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1711
1712 * locale/iso-639.def: Convert to UTF-8.
1713
f1d73d30
JM
17142013-06-11 Joseph Myers <joseph@codesourcery.com>
1715
1716 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1717 (EXCEPTION_TESTS_double): Likewise.
1718 (EXCEPTION_TESTS_long_double): Likewise.
1719 (EXCEPTION_TESTS): Likewise.
1720 * math/libm-test.inc (test_exceptions): Only test exceptions if
1721 EXCEPTION_TESTS (FLOAT).
1722
94aca5e7
SP
17232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1724
1725 * benchtests/Makefile (string-bench): Add strcpy_chk and
1726 stpcpy_chk.
1727 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1728 * benchtests/bench-stpcpy_chk.c: New file.
1729 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1730 * benchtests/bench-strcpy_chk.c: New file.
1731 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1732 code.
1733 (do_test): Likewise.
1734
fac0c5f2
RA
17352013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1736
1737 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1738 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1739 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1740 with tabs where appropriate.
1741 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1742 dl-procinfo.h.
1743 [PPC_PLATFORM_PPC440]: Likewise.
1744 [PPC_PLATFORM_PPC464]: Likewise.
1745 [PPC_PLATFORM_PPC476]: Likewise.
1746 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1747 ppc464, and ppc476 platform strings merging from ports/
1748 dl-procinfo.h.
1749
f22bc486
AS
17502013-06-11 Andreas Schwab <schwab@suse.de>
1751
1752 [BZ #14991]
1753 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1754 (from_ucs4_idx): Regenerate.
1755 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1756 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1757 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1758 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1759 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1760 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1761 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1762 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1763 from FROM_LOOP and TO_LOOP specific macros.
1764 (BODY): Handle combining characters.
1765 * iconvdata/BIG5HKSCS.irreversible: Update.
1766 * iconvdata/BIG5HKSCS.precomposed: New file.
1767 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1768 characters.
1769 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1770
c1f75dc3
SP
17712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
4eacded2
SP
1773 * include/sys/time.h: Fix indentation and add copyright header.
1774
fec799f8
SP
1775 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1776 (do_test): Likewise.
1777 * string/test-memchr.c (do_one_test): Likewise.
1778 (do_test): Likewise.
1779 * string/test-memcmp.c (do_one_test): Likewise.
1780 (do_test): Likewise.
1781 * string/test-memcpy.c (do_one_test): Likewise.
1782 (do_test): Likewise.
1783 * string/test-memmem.c (do_one_test): Likewise.
1784 (do_test): Likewise.
1785 (do_random_tests): Likewise.
1786 * string/test-memmove.c (do_one_test): Likewise.
1787 (do_test): Likewise.
1788 * string/test-memset.c (do_one_test): Likewise.
1789 (do_test): Likewise.
1790 * string/test-rawmemchr.c (do_one_test): Likewise.
1791 (do_test): Likewise.
1792 * string/test-strcasecmp.c (do_one_test): Likewise.
1793 (do_test): Likewise.
1794 * string/test-strcasestr.c (do_one_test): Likewise.
1795 (do_test): Likewise.
1796 * string/test-strcat.c (do_one_test): Likewise.
1797 (do_test): Likewise.
1798 * string/test-strchr.c (do_one_test): Likewise.
1799 (do_test): Likewise.
1800 * string/test-strcmp.c (do_one_test): Likewise.
1801 (do_test): Likewise.
1802 * string/test-strcpy.c (do_one_test): Likewise.
1803 (do_test): Likewise.
1804 * string/test-string.h: Likewise.
1805 (test_init): Likewise.
1806 * string/test-strlen.c (do_one_test): Likewise.
1807 (do_test): Likewise.
1808 * string/test-strncasecmp.c (do_one_test): Likewise.
1809 (do_test): Likewise.
1810 * string/test-strncat.c (do_one_test): Likewise.
1811 (do_test): Likewise.
1812 * string/test-strncmp.c (do_one_test): Likewise.
1813 (do_test_limit): Likewise.
1814 (do_test): Likewise.
1815 * string/test-strncpy.c (do_one_test): Likewise.
1816 (do_test): Likewise.
1817 * string/test-strnlen.c (do_one_test): Likewise.
1818 (do_test): Likewise.
1819 * string/test-strpbrk.c (do_one_test): Likewise.
1820 (do_test): Likewise.
1821 * string/test-strrchr.c (do_one_test): Likewise.
1822 (do_test): Likewise.
1823 * string/test-strspn.c (do_one_test): Likewise.
1824 (do_test): Likewise.
1825 * string/test-strstr.c (do_one_test): Likewise.
1826 (do_test): Likewise.
1827
97020474
SP
1828 * benchtests/Makefile (string-bench): Add string benchmarks.
1829 * benchtests/bench-bcopy-ifunc.c: New file.
1830 * benchtests/bench-bcopy.c: New file.
1831 * benchtests/bench-bzero-ifunc.c: New file.
1832 * benchtests/bench-bzero.c: New file.
1833 * benchtests/bench-memccpy-ifunc.c: New file.
1834 * benchtests/bench-memccpy.c: New file.
1835 * benchtests/bench-memchr-ifunc.c: New file.
1836 * benchtests/bench-memchr.c: New file.
1837 * benchtests/bench-memcmp-ifunc.c: New file.
1838 * benchtests/bench-memcmp.c: New file.
1839 * benchtests/bench-memmem-ifunc.c: New file.
1840 * benchtests/bench-memmem.c: New file.
1841 * benchtests/bench-memmove-ifunc.c: New file.
1842 * benchtests/bench-memmove.c: New file.
1843 * benchtests/bench-mempcpy-ifunc.c: New file.
1844 * benchtests/bench-mempcpy.c: New file.
1845 * benchtests/bench-memset-ifunc.c: New file.
1846 * benchtests/bench-memset.c: New file.
1847 * benchtests/bench-rawmemchr-ifunc.c: New file.
1848 * benchtests/bench-rawmemchr.c: New file.
1849 * benchtests/bench-stpcpy-ifunc.c: New file.
1850 * benchtests/bench-stpcpy.c: New file.
1851 * benchtests/bench-stpncpy-ifunc.c: New file.
1852 * benchtests/bench-stpncpy.c: New file.
1853 * benchtests/bench-strcasecmp-ifunc.c: New file.
1854 * benchtests/bench-strcasecmp.c: New file.
1855 * benchtests/bench-strcasestr-ifunc.c: New file.
1856 * benchtests/bench-strcasestr.c: New file.
1857 * benchtests/bench-strcat-ifunc.c: New file.
1858 * benchtests/bench-strcat.c: New file.
1859 * benchtests/bench-strchr-ifunc.c: New file.
1860 * benchtests/bench-strchr.c: New file.
1861 * benchtests/bench-strchrnul-ifunc.c: New file.
1862 * benchtests/bench-strchrnul.c: New file.
1863 * benchtests/bench-strcmp-ifunc.c: New file.
1864 * benchtests/bench-strcmp.c: New file.
1865 * benchtests/bench-strcpy-ifunc.c: New file.
1866 * benchtests/bench-strcpy.c: New file.
1867 * benchtests/bench-strcspn-ifunc.c: New file.
1868 * benchtests/bench-strcspn.c: New file.
1869 * benchtests/bench-strlen-ifunc.c: New file.
1870 * benchtests/bench-strlen.c: New file.
1871 * benchtests/bench-strncasecmp-ifunc.c: New file.
1872 * benchtests/bench-strncasecmp.c: New file.
1873 * benchtests/bench-strncat-ifunc.c: New file.
1874 * benchtests/bench-strncat.c: New file.
1875 * benchtests/bench-strncmp-ifunc.c: New file.
1876 * benchtests/bench-strncmp.c: New file.
1877 * benchtests/bench-strncpy-ifunc.c: New file.
1878 * benchtests/bench-strncpy.c: New file.
1879 * benchtests/bench-strnlen-ifunc.c: New file.
1880 * benchtests/bench-strnlen.c: New file.
1881 * benchtests/bench-strpbrk-ifunc.c: New file.
1882 * benchtests/bench-strpbrk.c: New file.
1883 * benchtests/bench-strrchr-ifunc.c: New file.
1884 * benchtests/bench-strrchr.c: New file.
1885 * benchtests/bench-strspn-ifunc.c: New file.
1886 * benchtests/bench-strspn.c: New file.
1887 * benchtests/bench-strstr-ifunc.c: New file.
1888 * benchtests/bench-strstr.c: New file.
1889
c1f75dc3
SP
1890 * benchtests/Makefile: Disable parallel execution of targets.
1891 (string-bench): Add memcpy.
1892 (benchset): New variable to store a list of benchmark sets.
1893 (bench-func): Renamed from bench.
1894 (bench-set): New target.
1895 (bench): Depend on bench-func and bench-set.
1896 * benchtests/README: Add section on benchmark sets.
1897 * benchtests/bench-memcpy-ifunc.c: New file.
1898 * benchtests/bench-memcpy.c: New file.
1899 * benchtests/bench-string.h: New file.
1900
50fd745b
AS
19012013-06-11 Andreas Schwab <schwab@suse.de>
1902
1903 [BZ #15577]
1904 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1905 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1906 values in the triple.
1907 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1908 terminator in the group key.
1909
3ee7e9fe
AJ
19102013-06-11 Andreas Jaeger <aj@suse.de>
1911
1912 * po/zh_TW.po: Update Chinese (traditional) translation from
1913 translation project.
1914
89fb6835
SP
19152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1916
1917 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1918 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1919 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1920 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1921 (clock_getcpuclockid): Likewise.
1922 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1923 Add weak_alias and libc_hidden_def.
1924 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1925 * rt/clock_gettime.c (clock_gettime): Rename to
1926 __clock_gettime. Add weak_alias and libc_hidden_def.
1927 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1928 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1929 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1930 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1931 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1932 Likewise.
1933 * rt/clock_settime.c (clock_settime): Rename to
1934 __clock_settime. Add weak_alias and libc_hidden_def.
1935 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1936
0efa6f8b
JM
19372013-06-10 Joseph Myers <joseph@codesourcery.com>
1938
b8c61b4b
JM
1939 * mach/err_boot.sub: Remove trailing whitespace.
1940 * mach/err_ipc.sub: Likewise.
1941 * mach/err_mach.sub: Likewise.
1942
0efa6f8b
JM
1943 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1944 (ROUNDING_TESTS_double): Likewise.
1945 (ROUNDING_TESTS_long_double): Likewise.
1946 (ROUNDING_TESTS): Likewise.
1947 * math/libm-test.inc: Include <math-tests.h>.
1948 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1949 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1950 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1951 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1952
50b818bf
SP
19532013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1954
1955 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1956 of assigning.
1957
60d2f8f3
JM
19582013-06-08 Joseph Myers <joseph@codesourcery.com>
1959
4902d2c3
JM
1960 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1961 otherwise empty TRANS lines.
1962 * sysdeps/gnu/errlist.c: Regenerated.
1963
60d2f8f3
JM
1964 * catgets/gencat.c (error_print): Use (void) in function
1965 definition.
1966 * crypt/crypt_util.c (__init_des): Likewise.
1967 * crypt/speeds.c (Stop): Likewise.
1968 (main): Likewise.
1969 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1970 * inet/ruserpass.c (token): Likewise.
1971 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1972 * intl/localealias.c (extend_alias_table): Likewise.
1973 * intl/plural-exp.c (init_germanic_plural): Likewise.
1974 * libio/fcloseall.c (__fcloseall): Likewise.
1975 * libio/genops.c (_IO_flush_all): Likewise.
1976 (_IO_flush_all_linebuffered): Likewise.
1977 (_IO_cleanup): Likewise.
1978 (_IO_iter_begin): Likewise.
1979 (_IO_iter_end): Likewise.
1980 (_IO_list_lock): Likewise.
1981 (_IO_list_unlock): Likewise.
1982 (_IO_list_resetlock): Likewise.
1983 * libio/getchar.c (getchar): Likewise.
1984 * libio/getchar_u.c (getchar_unlocked): Likewise.
1985 * libio/getwchar.c (getwchar): Likewise.
1986 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1987 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1988 * login/getpt.c (__getpt): Likewise.
1989 * login/tst-utmp.c (main): Likewise.
1990 * malloc/hooks.c (__malloc_check_init): Likewise.
1991 * malloc/malloc.c (__malloc_stats): Likewise.
1992 * malloc/mtrace.c (tr_break): Likewise.
1993 (mtrace): Likewise.
1994 (muntrace): Likewise.
1995 * misc/fstab.c (endfsent): Likewise.
1996 * misc/getclktck.c (__getclktck): Likewise.
1997 * misc/getdtsz.c (__getdtablesize): Likewise.
1998 * misc/gethostid.c (gethostid): Likewise.
1999 * misc/getpagesize.c (__getpagesize): Likewise.
2000 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2001 (__get_nprocs): Likewise.
2002 (__get_phys_pages): Likewise.
2003 (__get_avphys_pages): Likewise.
2004 * misc/getttyent.c (getttyent): Likewise.
2005 (setttyent): Likewise.
2006 (endttyent): Likewise.
2007 * misc/getusershell.c (getusershell): Likewise.
2008 (endusershell): Likewise.
2009 (setusershell): Likewise.
2010 (initshells): Likewise.
2011 * misc/hsearch.c (__hdestroy): Likewise.
2012 * misc/sync.c (sync): Likewise.
2013 * misc/syslog.c (closelog_internal): Likewise.
2014 (closelog): Likewise.
2015 * misc/ttyslot.c (ttyslot): Likewise.
2016 * misc/vhangup.c (vhangup): Likewise.
2017 * posix/fork.c (__fork): Likewise.
2018 * posix/getegid.c (__getegid): Likewise.
2019 * posix/geteuid.c (__geteuid): Likewise.
2020 * posix/getgid.c (__getgid): Likewise.
2021 * posix/getpid.c (__getpid): Likewise.
2022 * posix/getppid.c (__getppid): Likewise.
2023 * posix/getuid.c (__getuid): Likewise.
2024 * posix/pause.c (pause): Likewise.
2025 * posix/setpgrp.c (setpgrp): Likewise.
2026 * posix/setsid.c (__setsid): Likewise.
2027 * posix/test-vfork.c (noop): Likewise.
2028 * resolv/gethnamaddr.c (_endhtent): Likewise.
2029 (_gethtent): Likewise.
2030 (ht_endhostent): Likewise.
2031 (gethostent): Likewise.
2032 (dns_service): Likewise.
2033 * stdlib/drand48.c (drand48): Likewise.
2034 * stdlib/lrand48.c (lrand48): Likewise.
2035 * stdlib/mrand48.c (mrand48): Likewise.
2036 * stdlib/rand.c (rand): Likewise.
2037 * stdlib/random.c (__random): Likewise.
2038 * stdlib/setenv.c (clearenv): Likewise.
2039 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2040 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2041 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2042 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2043 (__get_nprocs): Likewise.
2044 (__get_phys_pages): Likewise.
2045 (__get_avphys_pages): Likewise.
2046 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2047 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2048 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2049 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2050 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2051 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2052 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2053 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2054 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2055 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2056 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2057 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2058 * sysdeps/posix/clock.c (clock): Likewise.
2059 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2060 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2061 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2062 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2063 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2064 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2065 (__get_nprocs_conf): Likewise.
2066 (__get_phys_pages): Likewise.
2067 (__get_avphys_pages): Likewise.
2068 * time/clock.c (clock): Likewise.
2069 * time/tzset.c (__tzname_max): Likewise.
2070
2e09a79a
JM
20712013-06-07 Joseph Myers <joseph@codesourcery.com>
2072
2073 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2074 (__bswap_32): Do not use "register".
2075 * crypt/crypt.c (_ufc_doit_r): Likewise.
2076 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2077 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2078 * gmon/gmon.c (__monstartup): Likewise.
2079 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2080 * hurd/hurdmalloc.c (more_memory): Likewise.
2081 (malloc): Likewise.
2082 (free): Likewise.
2083 (realloc): Likewise.
2084 (malloc_fork_prepare): Likewise.
2085 (malloc_fork_parent): Likewise.
2086 (malloc_fork_child): Likewise.
2087 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2088 (_svcauth_des): Likewise.
2089 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2090 * inet/inet_net.c (inet_network): Likewise.
2091 * inet/inet_netof.c (inet_netof): Likewise.
2092 * inet/rcmd.c (__validuser2_sa): Likewise.
2093 * io/fts.c (fts_open): Likewise.
2094 (fts_load): Likewise.
2095 (fts_close): Likewise.
2096 (fts_read): Likewise.
2097 (fts_children): Likewise.
2098 (fts_build): Likewise.
2099 (fts_stat): Likewise.
2100 (fts_sort): Likewise.
2101 (fts_alloc): Likewise.
2102 (fts_lfree): Likewise.
2103 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2104 (_IO_file_xsgetn): Likewise.
2105 (_IO_file_xsgetn_mmap): Likewise.
2106 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2107 (_IO_cookie_write): Likewise.
2108 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2109 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2110 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2111 * malloc/obstack.c (_obstack_begin): Likewise.
2112 (_obstack_begin_1): Likewise.
2113 (_obstack_newchunk): Likewise.
2114 (_obstack_allocated_p): Likewise.
2115 (obstack_free): Likewise.
2116 (_obstack_memory_used): Likewise.
2117 * misc/getttyent.c (getttynam): Likewise.
2118 (getttyent): Likewise.
2119 (skip): Likewise.
2120 (value): Likewise.
2121 * misc/getusershell.c (initshells): Likewise.
2122 * misc/syslog.c (__vsyslog_chk): Likewise.
2123 * misc/ttyslot.c (ttyslot): Likewise.
2124 * nis/nis_hash.c (__nis_hash): Likewise.
2125 * posix/fnmatch_loop.c (FCT): Likewise.
2126 * posix/getconf.c (print_all): Likewise.
2127 (main): Likewise.
2128 * posix/getopt.c (exchange): Likewise.
2129 * posix/glob.c (globfree): Likewise.
2130 (prefix_array): Likewise.
2131 (__glob_pattern_type): Likewise.
2132 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2133 (NS_GET32): Likewise.
2134 (NS_PUT16): Likewise.
2135 (NS_PUT32): Likewise.
2136 * resolv/gethnamaddr.c (getanswer): Likewise.
2137 (gethostbyname2): Likewise.
2138 (gethostbyaddr): Likewise.
2139 (_gethtent): Likewise.
2140 (_gethtbyname2): Likewise.
2141 (_gethtbyaddr): Likewise.
2142 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2143 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2144 * resolv/res_init.c (__res_vinit): Likewise.
2145 (net_mask): Likewise.
2146 * resolv/res_mkquery.c (outchar): Likewise.
2147 (PRINT): Likewise.
2148 * stdio-common/printf_fp.c (outchar): Likewise.
2149 (PRINT): Likewise.
2150 * stdio-common/printf_fphex.c (outchar): Likewise.
2151 (PRINT): Likewise.
2152 * stdio-common/printf_size.c (outchar): Likewise.
2153 (PRINT): Likewise.
2154 * stdio-common/test_rdwr.c (main): Likewise.
2155 * stdio-common/tfformat.c (matches): Likewise.
2156 * stdio-common/vfprintf.c (outchar): Likewise.
2157 (printf_unknown): Likewise.
2158 (buffered_vfprintf): Likewise.
2159 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2160 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2161 (ReadFile): Likewise.
2162 * stdlib/qsort.c (SWAP): Likewise.
2163 (_quicksort): Likewise.
2164 * stdlib/setenv.c (__add_to_environ): Likewise.
2165 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2166 * stdlib/strtol_l.c (__strtol_l): Likewise.
2167 * stdlib/tst-strtod.c (main): Likewise.
2168 * stdlib/tst-strtol.c (main): Likewise.
2169 * stdlib/tst-strtoll.c (main): Likewise.
2170 * string/bits/string2.h (__strcmp_cc): Likewise.
2171 (__strcmp_cg): Likewise.
2172 (__strcspn_c1): Likewise.
2173 (__strcspn_c2): Likewise.
2174 (__strcspn_c3): Likewise.
2175 (__strspn_c1): Likewise.
2176 (__strspn_c2): Likewise.
2177 (__strspn_c3): Likewise.
2178 (__strsep_1c): Likewise.
2179 (__strsep_2c): Likewise.
2180 (__strsep_3c): Likewise.
2181 * string/memccpy.c (__memccpy): Likewise.
2182 * string/stpcpy.c (__stpcpy): Likewise.
2183 * string/strcmp.c (strcmp): Likewise.
2184 * string/strrchr.c (strrchr): Likewise.
2185 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2186 Likewise.
2187 * sysdeps/mach/hurd/getcwd.c
2188 (_hurd_canonicalize_directory_name_internal): Likewise.
2189 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2190 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2191 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2192 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2193 Likewise, in both definitions.
2194 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2195 definitions.
2196 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2197 64] (__bswap_64): Likewise.
2198 * time/test_time.c (main): Likewise.
2199 * time/tzfile.c (__tzfile_read): Likewise.
2200 (__tzfile_compute): Likewise.
2201 * time/tzset.c (__tzset_parse_tz): Likewise.
2202 (tzset_internal): Likewise.
2203 (compute_change): Likewise.
2204 * wcsmbs/wcscat.c (__wcscat): Likewise.
2205 * wcsmbs/wcschr.c (wcschr): Likewise.
2206 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2207 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2208 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2209 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2210 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2211 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2212 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2213 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2214 * wcsmbs/wmemset.c (wmemset): Likewise.
2215
9e54314b
JM
22162013-06-06 Joseph Myers <joseph@codesourcery.com>
2217
2218 * scripts/config.guess: Update to version 2013-05-16.
2219 * scripts/config.sub: Update to version 2013-04-24.
2220 * scripts/install-sh: Update to version 2011-11-20.07.
2221 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2222 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2223
350635a5
OB
22242013-06-06 Ondřej Bílka <neleai@seznam.cz>
2225
2226 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2227 * elf/sln.c: Likewise.
2228 * hurd/hurd/ioctl.h: Likewise.
2229 * hurd/hurdmalloc.c: Likewise.
2230 * hurd/xattr.c: Likewise.
2231 * include/shlib-compat.h: Likewise.
2232 * inet/ruserpass.c: Likewise.
2233 * libio/iofgets_u.c: Likewise.
2234 * libio/iofgetws_u.c: Likewise.
2235 * locale/programs/ld-identification.c: Likewise.
2236 * locale/programs/ld-time.c: Likewise.
2237 * mach/msg-destroy.c: Likewise.
2238 * nss/nss_files/files-netgrp.c: Likewise.
2239 * resolv/res_data.c: Likewise.
2240 * soft-fp/op-1.h: Likewise.
2241 * soft-fp/op-2.h: Likewise.
2242 * soft-fp/op-4.h: Likewise.
2243 * soft-fp/op-common.h: Likewise.
2244 * stdio-common/printf_fphex.c: Likewise.
2245 * stdlib/strtod_l.c: Likewise.
2246 * sunrpc/rpc/clnt.h: Likewise.
2247 * sysdeps/generic/framestate.c: Likewise.
2248 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2249 * sysdeps/i386/bsd-setjmp.S: Likewise.
2250 * sysdeps/i386/__longjmp.S: Likewise.
2251 * sysdeps/i386/setjmp.S: Likewise.
2252 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2253 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2254 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2270 * sysdeps/ieee754/support.c: Likewise.
2271 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2272 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2273 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2274 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2275 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2276 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2277 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2278 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2279 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2280 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2281 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2282 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2283 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2284 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2285 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2286 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2287 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2289
44a988af
OB
22902013-06-05 Ondřej Bílka <neleai@seznam.cz>
2291
25506f09 2292 * posix/transbug.c: Remove executable mode.
44a988af 2293
9c84384c
JM
22942013-06-05 Joseph Myers <joseph@codesourcery.com>
2295
2296 * crypt/speeds.c: Remove trailing whitespace.
2297 * dlfcn/default.c: Likewise.
2298 * elf/ifuncdep2.c: Likewise.
2299 * elf/ifuncmain1.c: Likewise.
2300 * elf/ifuncmain1vis.c: Likewise.
2301 * elf/testobj.h: Likewise.
2302 * elf/tst-stackguard1.c: Likewise.
2303 * gmon/sys/gmon.h: Likewise.
2304 * hurd/hurdmsg.c: Likewise.
2305 * hurd/new-fd.c: Likewise.
2306 * hurd/ports-get.c: Likewise.
2307 * iconvdata/ibm1008_420.c: Likewise.
2308 * inet/tst-getni1.c: Likewise.
2309 * inet/tst-getni2.c: Likewise.
2310 * libio/ioungetc.c: Likewise.
2311 * libio/wfiledoalloc.c: Likewise.
2312 * manual/libm-err-tab.pl: Likewise.
2313 * math/w_dremf.c: Likewise.
2314 * misc/ftruncate.c: Likewise.
2315 * posix/bug-glob2.c: Likewise.
2316 * posix/tst-pcre.c: Likewise.
2317 * posix/wait4.c: Likewise.
2318 * resolv/README: Likewise.
2319 * resolv/res_debug.h: Likewise.
2320 * resolv/tst-inet_ntop.c: Likewise.
2321 * setjmp/bug269-setjmp.c: Likewise.
2322 * soft-fp/extended.h: Likewise.
2323 * soft-fp/op-1.h: Likewise.
2324 * soft-fp/op-2.h: Likewise.
2325 * soft-fp/op-4.h: Likewise.
2326 * soft-fp/op-8.h: Likewise.
2327 * soft-fp/testit.c: Likewise.
2328 * stdio-common/bug16.c: Likewise.
2329 * stdlib/random.c: Likewise.
2330 * sunrpc/rpcsvc/rquota.x: Likewise.
2331 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2332 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2333 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2334 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2335 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2336 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2337 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2338 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2339 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2340 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2341 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2342 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2358 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2360 * sysdeps/ieee754/s_lib_version.c: Likewise.
2361 * sysdeps/mach/hurd/check_fds.c: Likewise.
2362 * sysdeps/mach/hurd/getsockname.c: Likewise.
2363 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2364 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2365 * sysdeps/powerpc/bits/link.h: Likewise.
2366 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2367 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2368 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2369 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2370 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2371 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2372 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2373 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2374 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2375 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2376 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2377 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2378 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2379 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2380 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2381 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2382 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2383 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2384 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2385 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2386 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2387 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2388 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2389 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2390 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2392 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2393 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2394 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2395 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2396 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2397 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2398 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2399 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2400 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2401 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2402 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2403 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2404 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2405 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2406 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2407 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2409 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2410 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2411 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2413 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2414 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2415 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2416 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2417 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2418 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2419 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2420 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2421 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2422 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2423 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2424 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2425 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2426 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2427 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2428 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2429 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2430 * sysdeps/powerpc/sysdep.h: Likewise.
2431 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2432 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2433 * sysdeps/sh/dl-trampoline.S: Likewise.
2434 * sysdeps/sh/memset.S: Likewise.
2435 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2436 * sysdeps/sh/strlen.S: Likewise.
2437 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2438 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2439 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2440 * sysdeps/sparc/sparc32/rem.S: Likewise.
2441 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2442 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2443 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2444 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2445 * sysdeps/sparc/sparc32/urem.S: Likewise.
2446 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2447 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2448 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2449 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2450 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2451 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2452 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2453 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2454 * sysdeps/unix/bsd/times.c: Likewise.
2455 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2456 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2460 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2462 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2463 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2464 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2465 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2466 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2467 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2468 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2469 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2470 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2471 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2472 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2473 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2474 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2475 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2476 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2477 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2478 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2479 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2480 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2483 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2484 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2485 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2486 * sysdeps/x86_64/strcspn.S: Likewise.
2487
869378a5
RA
24882013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2489
2490 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2491 generated file. Regenerate properly from gen-translit.pl.
2492 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2493 locale/C-translit.h.
2494
840e2943
AS
24952013-06-05 Andreas Schwab <schwab@suse.de>
2496
2497 [BZ #15100]
2498 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2499 week as 6 instead of -1.
2500 * time/tst-strptime.c (day_tests): Add test case.
2501
4c60cb0c
SP
25022013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2503
2504 * sysdeps/generic/math_private.h
2505 (libc_feholdexcept_setround_53bit): Replace with
2506 libc_feholdsetround_53bit.
2507 (libc_feupdateenv_53bit): Replace with
2508 libc_feresetround_53bit.
2509 (SET_RESTORE_ROUND_53BIT): Adjust.
2510
d180203e
SP
25112013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2512
96df079a
SP
2513 * string/test-strchrnul.c: Add copyright header.
2514
d180203e
SP
2515 * posix/tst-getaddrinfo4.c: Increase test timeout.
2516
8b0ccb2d
CD
25172013-06-03 Carlos O'Donell <carlos@redhat.com>
2518
2519 [BZ #15536]
2520 * math/libm-test.inc (MAX_EXP): Remove
2521 (MIN_EXP): Define.
2522 (ulp): Use MIN_EXP - MANT_DIG.
2523 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2524
3b3c4d40
CD
25252013-05-31 Carlos O'Donell <carlos@redhat.com>
2526
2527 * po/be.po: Revert last change.
2528 * po/zh_CN.po: Likewise.
2529 * po/header.pot: Likewise.
2530
fab7ce3f
JM
25312013-05-31 Joseph Myers <joseph@codesourcery.com>
2532
2533 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2534 link-libc-deps to empty as target-specific variable.
2535 * Makerules (link-libc-args): New variable.
2536 (libc-for-link): Likewise.
2537 (link-libc-deps): Likewise.
2538 (lib%.so): Depend on $(link-libc-deps). Link with
2539 $(link-libc-args).
2540 (build-module): Link with $(link-libc-args).
2541 (build-module-asneeded): Likewise.
2542 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2543 list of objects.
2544 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2545 target-specific variable.
2546 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2547 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2548 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2549 libc.
2550 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2551 libc and ld.so.
2552 ($(objpfx)libpcprofile.so): Likewise.
2553 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2554 libc_nonshared.a.
2555 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2556 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2557 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2558 $(link-libc-deps).
2559 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2560 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2561 * login/Makefile ($(objpfx)libutil.so): Likewise.
2562 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2563 * math/Makefile ($(objpfx)libm.so): Likewise.
2564 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2565 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2566 variable instead of depending directly on libc.
2567 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2568 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2569 $(link-libc-deps).
2570 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2571 libc.
2572 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2573 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2574 ($(objpfx)libanl.so): Likewise.
2575 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2576 ld.so.
2577 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2578 $(link-libc-deps).
2579 * sysdeps/i386/fpu/Makefile: Remove file.
2580 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2581 ($(objpfx)libm.so): Remove dependency on ld.so.
2582
eca5920c
PF
25832013-05-30 Patsy Franklin <pfrankli@redhat.com>
2584
2585 [BZ # 15553]
2586 * nis/yp_xdr.c (XDRMAXNAME): Define.
2587 (XDRMAXRECORD): Define.
2588 (xdr_domainname): Use XDRMAXNAME.
2589 (xdr_mapname): Likewise.
2590 (xdr_peername): Likewise.
2591 (xdr_keydat): Use XDRMAXRECORD.
2592 (xdr_valdat): Likewise.
2593
25942013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2595
2596 [BZ #14256]
2597 * manual/errno.texi (ESTALE): Update to account for more than
2598 just NFS file systems.
2599 * sysdeps/gnu/errlist.c: Regenerated.
2600
b9375348
SP
26012013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2602
2603 [BZ #15465]
2604 * elf/Makefile (tests): Add tst-null-argv.
2605 (modules-names): Add tst-null-argv-lib.
2606 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2607 (tst-null-argv-ENV): Set environment for tst-null-argv.
2608 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2609 (RTLD_PROGNAME): New macro.
2610 * elf/tst-null-argv.c: New test case.
2611 * elf/tst-null-argv-lib.c: Library for test case.
2612 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2613 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2614 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2615 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2616 * elf/dl-init.c (call_init): Likewise.
2617 (_dl_init): Likewise.
2618 * elf/dl-load.c (print_search_path): Likewise.
2619 (_dl_map_object): Likewise.
2620 * elf/dl-lookup.c (do_lookup_x): Likewise.
2621 (add_dependency): Likewise.
2622 (_dl_lookup_symbol_x): Likewise.
2623 (_dl_debug_bindings): Likewise.
2624 * elf/dl-open.c (_dl_show_scope): Likewise.
2625 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2626 * elf/dl-version.c (match_symbol): Likewise.
2627 (_dl_check_map_versions): Likewise.
2628 * elf/rtld.c (dl_main): Likewise.
2629 (print_unresolved): Use RTLD_PROGNAME.
2630 (print_missing_version): Likewise.
2631 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2632 (elf_machine_rela): Likewise.
2633 * sysdeps/powerpc/powerpc32/dl-machine.c
2634 (__process_machine_rela): Likewise.
2635 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2636 Likewise.
2637 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2638 Likewise.
2639 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2640 Likewise.
2641 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2643 Likewise.
2644 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2645 Likewise.
2646 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2647
8a9f20c8
CD
26482013-05-28 Carlos O'Donell <carlos@redhat.com>
2649
2650 * po/be.po: Add descriptive title.
2651 * po/zh_CN.po: Likewise.
2652 * po/header.pot: Likewise.
2653
0e60d68e
MF
26542013-05-28 Mike Frysinger <vapier@gentoo.org>
2655
2656 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2657 error message.
2658 (enlarge_archive): Likewise.
2659
56b672e9
BN
26602013-05-28 Ben North <ben@redfrontdoor.org>
2661
2662 * manual/arith.texi (frexp): It is the magnitude of the return
2663 value which lies in [0.5, 1), not the return value itself.
2664
5e056687
AZ
26652013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2666
2667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2668
2b66ef5d
TS
26692013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2670
528c2405
TS
2671 * stdio-common/bug26.c (main): Correct fscanf template.
2672
07b4c13d
TS
2673 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2674 declare _dl_skip_args.
2675
ec9dd97c
TS
2676 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2677 Don't declare.
2678
2b66ef5d
TS
2679 * manual/platform.texi: Add missing @end deftypefun.
2680
4f8dfe27
JM
26812013-05-24 Joseph Myers <joseph@codesourcery.com>
2682
0323d086
JM
2683 [BZ #15529]
2684 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2685 bit of mantissa of 2^16382.
2686 * math/libm-test.inc (hypot_test_data): Add more tests.
2687
dd4259b9
JM
2688 * math/libm-test.inc: Add drem and pow10 to list of tested
2689 functions.
2690 (pow10_test): New function.
2691 (drem_test): Likewise.
2692 (drem_test_tonearest): Likewise.
2693 (drem_test_towardzero): Likewise.
2694 (drem_test_downward): Likewise.
2695 (drem_test_upward): Likewise.
2696 (main): Call the new functions.
2697
4f8dfe27
JM
2698 * math/libm-test.inc (finite_test_data): Remove.
2699 (finite_test): Run tests from isfinite_test_data.
2700 (gamma_test_data): Remove.
2701 (gamma_test): Run tests from lgamma_test_data.
2702 * sysdeps/i386/fpu/libm-test-ulps: Update.
2703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2704
d116b7c4
AZ
27052013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2706
2707 * manual/platform.texi: Add PowerPC PPR function set documentation.
2708 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2709 implementation.
2710
e96e3767
CD
27112013-05-24 Carlos O'Donell <carlos@redhat.com>
2712
2713 * math/libm-test.inc (MAX_EXP): Define.
2714 (ULPDIFF): Define.
2715 (ulp): New function.
2716 (check_float_internal): Use ULPDIFF.
2717 (cpow_test): Disable failing test.
2718 (check_ulp): Test ulp() implemetnation.
2719 (main): Call check_ulp before starting tests.
2720
b679a606
JM
27212013-05-24 Joseph Myers <joseph@codesourcery.com>
2722
e8bdba36
JM
2723 * math/gen-libm-test.pl (generate_testfile): Do not handle
2724 START_DATA and END_DATA.
2725 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2726 END_DATA.
2727 (acos_tonearest_test_data): Likewise.
2728 (acos_towardzero_test_data): Likewise.
2729 (acos_downward_test_data): Likewise.
2730 (acos_upward_test_data): Likewise.
2731 (acosh_test_data): Likewise.
2732 (asin_test_data): Likewise.
2733 (asin_tonearest_test_data): Likewise.
2734 (asin_towardzero_test_data): Likewise.
2735 (asin_downward_test_data): Likewise.
2736 (asin_upward_test_data): Likewise.
2737 (asinh_test_data): Likewise.
2738 (atan_test_data): Likewise.
2739 (atanh_test_data): Likewise.
2740 (atan2_test_data): Likewise.
2741 (cabs_test_data): Likewise.
2742 (cacos_test_data): Likewise.
2743 (cacosh_test_data): Likewise.
2744 (carg_test_data): Likewise.
2745 (casin_test_data): Likewise.
2746 (casinh_test_data): Likewise.
2747 (catan_test_data): Likewise.
2748 (catanh_test_data): Likewise.
2749 (cbrt_test_data): Likewise.
2750 (ccos_test_data): Likewise.
2751 (ccosh_test_data): Likewise.
2752 (ceil_test_data): Likewise.
2753 (cexp_test_data): Likewise.
2754 (cimag_test_data): Likewise.
2755 (clog_test_data): Likewise.
2756 (clog10_test_data): Likewise.
2757 (conj_test_data): Likewise.
2758 (copysign_test_data): Likewise.
2759 (cos_test_data): Likewise.
2760 (cos_tonearest_test_data): Likewise.
2761 (cos_towardzero_test_data): Likewise.
2762 (cos_downward_test_data): Likewise.
2763 (cos_upward_test_data): Likewise.
2764 (cosh_test_data): Likewise.
2765 (cosh_tonearest_test_data): Likewise.
2766 (cosh_towardzero_test_data): Likewise.
2767 (cosh_downward_test_data): Likewise.
2768 (cosh_upward_test_data): Likewise.
2769 (cpow_test_data): Likewise.
2770 (cproj_test_data): Likewise.
2771 (creal_test_data): Likewise.
2772 (csin_test_data): Likewise.
2773 (csinh_test_data): Likewise.
2774 (csqrt_test_data): Likewise.
2775 (ctan_test_data): Likewise.
2776 (ctan_tonearest_test_data): Likewise.
2777 (ctan_towardzero_test_data): Likewise.
2778 (ctan_downward_test_data): Likewise.
2779 (ctan_upward_test_data): Likewise.
2780 (ctanh_test_data): Likewise.
2781 (ctanh_tonearest_test_data): Likewise.
2782 (ctanh_towardzero_test_data): Likewise.
2783 (ctanh_downward_test_data): Likewise.
2784 (ctanh_upward_test_data): Likewise.
2785 (erf_test_data): Likewise.
2786 (erfc_test_data): Likewise.
2787 (exp_test_data): Likewise.
2788 (exp_tonearest_test_data): Likewise.
2789 (exp_towardzero_test_data): Likewise.
2790 (exp_downward_test_data): Likewise.
2791 (exp_upward_test_data): Likewise.
2792 (exp10_test_data): Likewise.
2793 (exp2_test_data): Likewise.
2794 (expm1_test_data): Likewise.
2795 (fabs_test_data): Likewise.
2796 (fdim_test_data): Likewise.
2797 (finite_test_data): Likewise.
2798 (floor_test_data): Likewise.
2799 (fma_test_data): Likewise.
2800 (fma_towardzero_test_data): Likewise.
2801 (fma_downward_test_data): Likewise.
2802 (fma_upward_test_data): Likewise.
2803 (fmax_test_data): Likewise.
2804 (fmin_test_data): Likewise.
2805 (fmod_test_data): Likewise.
2806 (fpclassify_test_data): Likewise.
2807 (frexp_test_data): Likewise.
2808 (gamma_test_data): Likewise.
2809 (hypot_test_data): Likewise.
2810 (ilogb_test_data): Likewise.
2811 (isfinite_test_data): Likewise.
2812 (isgreater_test_data): Likewise.
2813 (isgreaterequal_test_data): Likewise.
2814 (isinf_test_data): Likewise.
2815 (isless_test_data): Likewise.
2816 (islessequal_test_data): Likewise.
2817 (islessgreater_test_data): Likewise.
2818 (isnan_test_data): Likewise.
2819 (isnormal_test_data): Likewise.
2820 (issignaling_test_data): Likewise.
2821 (isunordered_test_data): Likewise.
2822 (j0_test_data): Likewise.
2823 (j1_test_data): Likewise.
2824 (jn_test_data): Likewise.
2825 (ldexp_test_data): Likewise.
2826 (lgamma_test_data): Likewise.
2827 (lrint_test_data): Likewise.
2828 (lrint_tonearest_test_data): Likewise.
2829 (lrint_towardzero_test_data): Likewise.
2830 (lrint_downward_test_data): Likewise.
2831 (lrint_upward_test_data): Likewise.
2832 (llrint_test_data): Likewise.
2833 (llrint_tonearest_test_data): Likewise.
2834 (llrint_towardzero_test_data): Likewise.
2835 (llrint_downward_test_data): Likewise.
2836 (llrint_upward_test_data): Likewise.
2837 (log_test_data): Likewise.
2838 (log10_test_data): Likewise.
2839 (log1p_test_data): Likewise.
2840 (log2_test_data): Likewise.
2841 (logb_test_data): Likewise.
2842 (logb_downward_test_data): Likewise.
2843 (lround_test_data): Likewise.
2844 (llround_test_data): Likewise.
2845 (modf_test_data): Likewise.
2846 (nearbyint_test_data): Likewise.
2847 (nextafter_test_data): Likewise.
2848 (nexttoward_test_data): Likewise.
2849 (pow_test_data): Likewise.
2850 (pow_tonearest_test_data): Likewise.
2851 (pow_towardzero_test_data): Likewise.
2852 (pow_downward_test_data): Likewise.
2853 (pow_upward_test_data): Likewise.
2854 (remainder_test_data): Likewise.
2855 (remainder_tonearest_test_data): Likewise.
2856 (remainder_towardzero_test_data): Likewise.
2857 (remainder_downward_test_data): Likewise.
2858 (remainder_upward_test_data): Likewise.
2859 (remquo_test_data): Likewise.
2860 (rint_test_data): Likewise.
2861 (rint_tonearest_test_data): Likewise.
2862 (rint_towardzero_test_data): Likewise.
2863 (rint_downward_test_data): Likewise.
2864 (rint_upward_test_data): Likewise.
2865 (round_test_data): Likewise.
2866 (scalb_test_data): Likewise.
2867 (scalbn_test_data): Likewise.
2868 (scalbln_test_data): Likewise.
2869 (signbit_test_data): Likewise.
2870 (sin_test_data): Likewise.
2871 (sin_tonearest_test_data): Likewise.
2872 (sin_towardzero_test_data): Likewise.
2873 (sin_downward_test_data): Likewise.
2874 (sin_upward_test_data): Likewise.
2875 (sincos_test_data): Likewise.
2876 (sinh_test_data): Likewise.
2877 (sinh_tonearest_test_data): Likewise.
2878 (sinh_towardzero_test_data): Likewise.
2879 (sinh_downward_test_data): Likewise.
2880 (sinh_upward_test_data): Likewise.
2881 (sqrt_test_data): Likewise.
2882 (tan_test_data): Likewise.
2883 (tan_tonearest_test_data): Likewise.
2884 (tan_towardzero_test_data): Likewise.
2885 (tan_downward_test_data): Likewise.
2886 (tan_upward_test_data): Likewise.
2887 (tanh_test_data): Likewise.
2888 (tgamma_test_data): Likewise.
2889 (trunc_test_data): Likewise.
2890 (y0_test_data): Likewise.
2891 (y1_test_data): Likewise.
2892 (yn_test_data): Likewise.
2893 (significand_test_data): Likewise.
2894
b679a606
JM
2895 * math/gen-libm-test.pl (@functions): Remove variable.
2896 (generate_testfile): Don't handle START and END lines.
2897 * math/libm-test.inc (START): New macro.
2898 (END): Likewise.
2899 (END_COMPLEX): Likewise.
2900 (acos_test): Use END macro without arguments.
2901 (acos_test_tonearest): Likewise.
2902 (acos_test_towardzero): Likewise.
2903 (acos_test_downward): Likewise.
2904 (acos_test_upward): Likewise.
2905 (acosh_test): Likewise.
2906 (asin_test): Likewise.
2907 (asin_test_tonearest): Likewise.
2908 (asin_test_towardzero): Likewise.
2909 (asin_test_downward): Likewise.
2910 (asin_test_upward): Likewise.
2911 (asinh_test): Likewise.
2912 (atan_test): Likewise.
2913 (atanh_test): Likewise.
2914 (atan2_test): Likewise.
2915 (cabs_test): Likewise.
2916 (cacos_test): Use END_COMPLEX macro without arguments.
2917 (cacosh_test): Likewise.
2918 (carg_test): Use END macro without arguments.
2919 (casin_test): Use END_COMPLEX macro without arguments.
2920 (casinh_test): Likewise.
2921 (catan_test): Likewise.
2922 (catanh_test): Likewise.
2923 (cbrt_test): Use END macro without arguments.
2924 (ccos_test): Use END_COMPLEX macro without arguments.
2925 (ccosh_test): Likewise.
2926 (ceil_test): Use END macro without arguments.
2927 (cexp_test): Use END_COMPLEX macro without arguments.
2928 (cimag_test): Use END macro without arguments.
2929 (clog_test): Use END_COMPLEX macro without arguments.
2930 (clog10_test): Likewise.
2931 (conj_test): Likewise.
2932 (copysign_test): Use END macro without arguments.
2933 (cos_test): Likewise.
2934 (cos_test_tonearest): Likewise.
2935 (cos_test_towardzero): Likewise.
2936 (cos_test_downward): Likewise.
2937 (cos_test_upward): Likewise.
2938 (cosh_test): Likewise.
2939 (cosh_test_tonearest): Likewise.
2940 (cosh_test_towardzero): Likewise.
2941 (cosh_test_downward): Likewise.
2942 (cosh_test_upward): Likewise.
2943 (cpow_test): Use END_COMPLEX macro without arguments.
2944 (cproj_test): Likewise.
2945 (creal_test): Use END macro without arguments.
2946 (csin_test): Use END_COMPLEX macro without arguments.
2947 (csinh_test): Likewise.
2948 (csqrt_test): Likewise.
2949 (ctan_test): Likewise.
2950 (ctan_test_tonearest): Likewise.
2951 (ctan_test_towardzero): Likewise.
2952 (ctan_test_downward): Likewise.
2953 (ctan_test_upward): Likewise.
2954 (ctanh_test): Likewise.
2955 (ctanh_test_tonearest): Likewise.
2956 (ctanh_test_towardzero): Likewise.
2957 (ctanh_test_downward): Likewise.
2958 (ctanh_test_upward): Likewise.
2959 (erf_test): Use END macro without arguments.
2960 (erfc_test): Likewise.
2961 (exp_test): Likewise.
2962 (exp_test_tonearest): Likewise.
2963 (exp_test_towardzero): Likewise.
2964 (exp_test_downward): Likewise.
2965 (exp_test_upward): Likewise.
2966 (exp10_test): Likewise.
2967 (exp2_test): Likewise.
2968 (expm1_test): Likewise.
2969 (fabs_test): Likewise.
2970 (fdim_test): Likewise.
2971 (finite_test): Likewise.
2972 (floor_test): Likewise.
2973 (fma_test): Likewise.
2974 (fma_test_towardzero): Likewise.
2975 (fma_test_downward): Likewise.
2976 (fma_test_upward): Likewise.
2977 (fmax_test): Likewise.
2978 (fmin_test): Likewise.
2979 (fmod_test): Likewise.
2980 (fpclassify_test): Likewise.
2981 (frexp_test): Likewise.
2982 (gamma_test): Likewise.
2983 (hypot_test): Likewise.
2984 (ilogb_test): Likewise.
2985 (isfinite_test): Likewise.
2986 (isgreater_test): Likewise.
2987 (isgreaterequal_test): Likewise.
2988 (isinf_test): Likewise.
2989 (isless_test): Likewise.
2990 (islessequal_test): Likewise.
2991 (islessgreater_test): Likewise.
2992 (isnan_test): Likewise.
2993 (isnormal_test): Likewise.
2994 (issignaling_test): Likewise.
2995 (isunordered_test): Likewise.
2996 (j0_test): Likewise.
2997 (j1_test): Likewise.
2998 (jn_test): Likewise.
2999 (ldexp_test): Likewise.
3000 (lgamma_test): Likewise.
3001 (lrint_test): Likewise.
3002 (lrint_test_tonearest): Likewise.
3003 (lrint_test_towardzero): Likewise.
3004 (lrint_test_downward): Likewise.
3005 (lrint_test_upward): Likewise.
3006 (llrint_test): Likewise.
3007 (llrint_test_tonearest): Likewise.
3008 (llrint_test_towardzero): Likewise.
3009 (llrint_test_downward): Likewise.
3010 (llrint_test_upward): Likewise.
3011 (log_test): Likewise.
3012 (log10_test): Likewise.
3013 (log1p_test): Likewise.
3014 (log2_test): Likewise.
3015 (logb_test): Likewise.
3016 (logb_test_downward): Likewise.
3017 (lround_test): Likewise.
3018 (llround_test): Likewise.
3019 (modf_test): Likewise.
3020 (nearbyint_test): Likewise.
3021 (nextafter_test): Likewise.
3022 (nexttoward_test): Likewise.
3023 (pow_test): Likewise.
3024 (pow_test_tonearest): Likewise.
3025 (pow_test_towardzero): Likewise.
3026 (pow_test_downward): Likewise.
3027 (pow_test_upward): Likewise.
3028 (remainder_test): Likewise.
3029 (remainder_test_tonearest): Likewise.
3030 (remainder_test_towardzero): Likewise.
3031 (remainder_test_downward): Likewise.
3032 (remainder_test_upward): Likewise.
3033 (remquo_test): Likewise.
3034 (rint_test): Likewise.
3035 (rint_test_tonearest): Likewise.
3036 (rint_test_towardzero): Likewise.
3037 (rint_test_downward): Likewise.
3038 (rint_test_upward): Likewise.
3039 (round_test): Likewise.
3040 (scalb_test): Likewise.
3041 (scalbn_test): Likewise.
3042 (scalbln_test): Likewise.
3043 (signbit_test): Likewise.
3044 (sin_test): Likewise.
3045 (sin_test_tonearest): Likewise.
3046 (sin_test_towardzero): Likewise.
3047 (sin_test_downward): Likewise.
3048 (sin_test_upward): Likewise.
3049 (sincos_test): Likewise.
3050 (sinh_test): Likewise.
3051 (sinh_test_tonearest): Likewise.
3052 (sinh_test_towardzero): Likewise.
3053 (sinh_test_downward): Likewise.
3054 (sinh_test_upward): Likewise.
3055 (sqrt_test): Likewise.
3056 (tan_test): Likewise.
3057 (tan_test_tonearest): Likewise.
3058 (tan_test_towardzero): Likewise.
3059 (tan_test_downward): Likewise.
3060 (tan_test_upward): Likewise.
3061 (tanh_test): Likewise.
3062 (tgamma_test): Likewise.
3063 (trunc_test): Likewise.
3064 (y0_test): Likewise.
3065 (y1_test): Likewise.
3066 (yn_test): Likewise.
3067 (significand_test): Likewise.
3068
bae143d2
OB
30692013-05-24 Ondřej Bílka <neleai@seznam.cz>
3070
3071 [BZ #15381]
3072 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3073
9323d39b
EM
30742013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3075
d4ea44a0 3076 [BZ #14894]
9323d39b
EM
3077 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3078 __ppc_mdoio and __ppc_mdoom.
3079 * manual/platform.texi: Document new functions __ppc_yield,
3080 __ppc_mdoio and __ppc_mdoom.
3081
13e23af7
CD
30822013-05-22 Carlos O'Donell <carlos@redhat.com>
3083
3084 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3085 (main): Mention "tls" pseudo-hwcap is legacy.
3086 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3087
351fe550
JM
30882013-05-22 Joseph Myers <joseph@codesourcery.com>
3089
3090 * math/gen-libm-test.pl (parse_args): Output only string of
3091 arguments as text for test name, not full call or descriptions of
3092 tests for extra outputs.
3093 (generate_testfile): Do not pass function name to parse_args.
3094 Generate this_func variable from START.
3095 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3096 field to arg_str.
3097 (struct test_ff_f_data): Likewise.
3098 (test_ff_f_data_nexttoward): Likewise.
3099 (struct test_fi_f_data): Likewise.
3100 (struct test_fl_f_data): Likewise.
3101 (struct test_if_f_data): Likewise.
3102 (struct test_fff_f_data): Likewise.
3103 (struct test_c_f_data): Likewise.
3104 (struct test_f_f1_data): Likewise. Remove field extra_name.
3105 (struct test_fF_f1_data): Likewise.
3106 (struct test_ffI_f1_data): Likewise.
3107 (struct test_c_c_data): Rename test_name field to arg_str.
3108 (struct test_cc_c_data): Likewise.
3109 (struct test_f_i_data): Likewise.
3110 (struct test_ff_i_data): Likewise.
3111 (struct test_f_l_data): Likewise.
3112 (struct test_f_L_data): Likewise.
3113 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3114 and extra2_name.
3115 (COMMON_TEST_SETUP): New macro.
3116 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3117 (COMMON_TEST_CLEANUP): Likewise.
3118 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3119 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3120 macros.
3121 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3122 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3123 macros.
3124 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3125 (RUN_TEST_fff_f): Take argument string. Call new setup and
3126 cleanup macros.
3127 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3128 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3129 macros.
3130 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3131 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3132 macros.
3133 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3134 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3135 cleanup macros.
3136 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3137 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3138 cleanup macros.
3139 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3140 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3141 cleanup macros.
3142 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3143 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3144 macros.
3145 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3146 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3147 macros.
3148 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3149 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3150 macros.
3151 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3152 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3153 cleanup macros.
3154 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3155 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3156 cleanup macros.
3157 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3158 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3159 macros.
3160 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3161 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3162 cleanup macros.
3163 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3164 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3165 macros.
3166 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3167 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3168 macros.
3169 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3170 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3171 cleanup macros.
3172 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3173
85118d4d
EBM
31742013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3175
3176 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3177 to _sifields.sigfault.
3178 (si_addr_lsb): Define new macro.
3179 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3181 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3182
7a44c18f
CD
31832013-05-03 Carlos O'Donell <carlos at redhat.com>
3184
3185 [BZ #15441]
3186 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3187 returns -1.
3188 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3189 null return -1.
3190 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3191 loading the domain.
3192
b50a7181
JM
31932013-05-22 Joseph Myers <joseph@codesourcery.com>
3194
3195 * math/gen-libm-test.pl (parse_args): Do not include expected
3196 result in test name.
3197 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3199 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3200 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3201 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3203
051063c8
SP
32042013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3205
3ce9e010
SP
3206 * benchtests/Makefile: Sort function entries.
3207
051063c8
SP
3208 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3209 tanh, asinh, acosh, atanh.
3210 * benchtests/acos-inputs: New file.
3211 * benchtests/acosh-inputs: New file.
3212 * benchtests/asin-inputs: New file.
3213 * benchtests/asinh-inputs: New file.
3214 * benchtests/atanh-inputs: New file.
3215 * benchtests/cosh-inputs: New file.
3216 * benchtests/log-inputs: New file.
3217 * benchtests/sinh-inputs: New file.
3218 * benchtests/tanh-inputs: New file.
3219
47c22455
DL
32202013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3221
3222 [BZ #15339]
3223 * posix/tst-getaddrinfo4.c: New test.
3224 * posix/Makefile (tests): Add it.
3225
3d04f5db
SP
32262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3227
3228 [BZ #15339]
3229 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3230 when no services were used.
3231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3232 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3233
d5dd6189
AS
32342013-05-21 Andreas Schwab <schwab@suse.de>
3235
3236 [BZ #15014]
3237 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3238 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3239 successful.
3240 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3241 redundant variable declarations and reallocation of buffer when
3242 parsing as IPv6 address. Always set NSS status when called from
3243 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3244 buffer too small. Correct computation of needed size.
3245 * nss/Makefile (tests): Add test-digits-dots.
3246 * nss/test-digits-dots.c: New test.
3247
fef94eab
SP
32482013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3249
3250 * benchtests/Makefile: Remove instructions for adding
3251 benchmark tests.
3252 * benchtests/README: New file to explain how to execute and
3253 enhance the benchmark tests.
3254
e39adf43
AS
32552013-05-21 Andreas Schwab <schwab@suse.de>
3256
3257 [BZ #15493]
3258 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3259 * setjmp/tst-sigsetjmp.c: New test.
3260
b2b671b6
OB
32612013-05-20 Ondřej Bílka <neleai@seznam.cz>
3262
3263 * sysdeps/x86_64/memset.S (memset): New implementation.
3264 (__bzero): Likewise.
3265 (__memset_tail): New function.
3266
2d48b41c
OB
32672013-05-20 Ondřej Bílka <neleai@seznam.cz>
3268
3269 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3270 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3271 __memcpy_sse2_unaligned ifunc selection.
3272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3273 Add memcpy-sse2-unaligned.S.
3274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3275 Add: __memcpy_sse2_unaligned.
3276
f16cc3eb
JM
32772013-05-19 Joseph Myers <joseph@codesourcery.com>
3278
3e694268
JM
3279 [BZ #15490]
3280 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3281 math_force_eval before restoring floating-point envrionment.
3282 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3284 Likewise.
3285 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3286 <math_private.h>.
3287 (__nearbyintl): Use math_force_eval before restoring
3288 floating-point environment.
3289 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3290
db62a907
JM
3291 * math/gen-libm-test.pl (special_functions): Remove.
3292 (parse_args): Don't handle TEST_extra. Handle functions with no
3293 return value.
3294 * math/libm-test.inc (struct test_sincos_data): Replace with
3295 struct test_fFF_11_data.
3296 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3297 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3298 (sincos_test_data): Change element type to struct
3299 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3300 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3301 RUN_TEST_LOOP_sincos.
3302 * math/README.libm-test: Don't mention special handling of
3303 individual functions.
3304 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3305 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3306 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3307 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3308 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3310
f16cc3eb
JM
3311 * math/gen-libm-test.pl (get_variable): Remove function.
3312 (parse_args): Don't show pointer parameters to call in test
3313 names. Use "extra output N" in test names for extra outputs
3314 rather than naming variables.
3315
3779b5b6
JM
33162013-05-18 Joseph Myers <joseph@codesourcery.com>
3317
2ee094ff
JM
3318 [BZ #15488]
3319 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3320 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3321 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3322 double tests.
3323 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3324 disable.
3325 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3326 check_long_double.
3327
3779b5b6
JM
3328 * math/gen-libm-test.pl (@tests): Remove variable.
3329 ($count): Likewise.
3330 (new_test): Remove function.
3331 (show_exceptions): New function.
3332 (special_functions): Use show_exceptions instead of new_test.
3333 (parse_args): Likewise.
3334 (generate_testfile): Pass only function name in generated call to
3335 print_max_error or print_complex_max_error.
3336 (get_ulps): Do not handle complex tests specially.
3337 (output_test): Rename to ...
3338 (get_all_ulps_for_test): ... this. Return a string rather than
3339 printing to a file. Require ulps to be present.
3340 (output_ulps): Generate arrays rather than #defines.
3341 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3342 (struct ulp_data): New type.
3343 (BUILD_COMPLEX_ULP): Remove macro.
3344 (compare_ulp_data): New function.
3345 (find_ulps): Likewise.
3346 (find_test_ulps): Likewise.
3347 (find_function_ulps): Likewise.
3348 (find_complex_function_ulps): Likewise.
3349 (print_max_error): Determine allowed ulps using
3350 find_function_ulps.
3351 (print_complex_max_error): Determine allowed ulps using
3352 find_complex_function_ulps.
3353 (check_float_internal): Determine max ulps using find_test_ulps.
3354 (check_float): Do not take max_ulp parameter. Update call to
3355 check_float_internal.
3356 (check_complex): Likewise.
3357 (check_int): Do not take max_ulp parameter.
3358 (check_long): Likewise.
3359 (check_bool): Likewise.
3360 (check_longlong): Likewise.
3361 (struct test_f_f_data): Remove max_ulp field.
3362 (struct test_ff_f_data): Likewise.
3363 (struct test_ff_f_data_nexttoward): Likewise.
3364 (struct test_fi_f_data): Likewise.
3365 (struct test_fl_f_data): Likewise.
3366 (struct test_if_f_data): Likewise.
3367 (struct test_fff_f_data): Likewise.
3368 (struct test_c_f_data): Likewise.
3369 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3370 (struct test_fF_f1_data): Likewise.
3371 (struct test_ffI_f1_data): Likewise.
3372 (struct test_c_c_data): Remove max_ulp field.
3373 (struct test_cc_c_data): Likewise.
3374 (struct test_f_i_data): Likewise.
3375 (struct test_ff_i_data): Likewise.
3376 (struct test_f_l_data): Likewise.
3377 (struct test_f_L_data): Likewise.
3378 (struct test_sincos_data): Likewise.
3379 (RUN_TEST_f_f): Do not handle ulps.
3380 (RUN_TEST_LOOP_f_f): Likewise.
3381 (RUN_TEST_2_f): Likewise.
3382 (RUN_TEST_LOOP_2_f): Likewise.
3383 (RUN_TEST_fff_f): Likewise.
3384 (RUN_TEST_LOOP_fff_f): Likewise.
3385 (RUN_TEST_c_f): Likewise.
3386 (RUN_TEST_LOOP_c_f): Likewise.
3387 (RUN_TEST_f_f1): Likewise.
3388 (RUN_TEST_LOOP_f_f1): Likewise.
3389 (RUN_TEST_fF_f1): Likewise.
3390 (RUN_TEST_LOOP_fF_f1): Likewise.
3391 (RUN_TEST_fI_f1): Likewise.
3392 (RUN_TEST_LOOP_fI_f1): Likewise.
3393 (RUN_TEST_ffI_f1): Likewise.
3394 (RUN_TEST_LOOP_ffI_f1): Likewise.
3395 (RUN_TEST_c_c): Likewise.
3396 (RUN_TEST_LOOP_c_c): Likewise.
3397 (RUN_TEST_cc_c): Likewise.
3398 (RUN_TEST_LOOP_cc_c): Likewise.
3399 (RUN_TEST_f_i): Likewise.
3400 (RUN_TEST_LOOP_f_i): Likewise.
3401 (RUN_TEST_f_i_tg): Likewise.
3402 (RUN_TEST_LOOP_f_i_tg): Likewise.
3403 (RUN_TEST_ff_i_tg): Likewise.
3404 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3405 (RUN_TEST_f_b): Likewise.
3406 (RUN_TEST_LOOP_f_b): Likewise.
3407 (RUN_TEST_f_b_tg): Likewise.
3408 (RUN_TEST_LOOP_f_b_tg): Likewise.
3409 (RUN_TEST_f_l): Likewise.
3410 (RUN_TEST_LOOP_f_l): Likewise.
3411 (RUN_TEST_f_L): Likewise.
3412 (RUN_TEST_LOOP_f_L): Likewise.
3413 (RUN_TEST_sincos): Likewise.
3414 (RUN_TEST_LOOP_sincos): Likewise.
3415
8269107f
JM
34162013-05-17 Joseph Myers <joseph@codesourcery.com>
3417
bb38759d
JM
3418 [BZ #15480]
3419 [BZ #15485]
3420 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3421 main case of finite arguments, set rounding mode to FE_TONEAREST
3422 and discard exceptions.
3423 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3424 exceptions.
3425 (remainder_tonearest_test_data): New variable.
3426 (remainder_test_tonearest): New function.
3427 (remainder_towardzero_test_data): New variable.
3428 (remainder_test_towardzero): New function.
3429 (remainder_downward_test_data): New variable.
3430 (remainder_test_downward): New function.
3431 (remainder_upward_test_data): New variable.
3432 (remainder_test_upward): New function.
3433 (main): Call the new test functions.
3434
a00bdcf0
JM
3435 * math/libm-test.inc (struct test_f_f1_data): Remove field
3436 extra_init.
3437 (struct test_fF_f1_data): Likewise.
3438 (struct test_ffI_f1_data): Likewise.
3439 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3440 based on value of EXTRA_EXPECTED.
3441 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3442 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3443 EXTRA_VAR based on value of EXTRA_EXPECTED.
3444 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3445 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3446 EXTRA_VAR based on value of EXTRA_EXPECTED.
3447 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3448 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3449 EXTRA_VAR based on value of EXTRA_EXPECTED.
3450 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3451 * math/gen-libm-test.pl (parse_args): Don't output initializers
3452 for extra output values.
3453
de407f79
JM
3454 * math/libm-test.inc (check_int): Expect result to be exactly
3455 equal to expected value and do not handle ulps.
3456 (check_long): Likewise.
3457 (check_longlong): Likewise.
3458
8269107f
JM
3459 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3460 exceptions.
3461 (cimag_test_data): Likewise.
3462 (conj_test_data): Likewise.
3463 (copysign_test_data): Likewise.
3464 (cproj_test_data): Likewise.
3465 (creal_test_data): Likewise.
3466 (fabs_test_data): Likewise.
3467 (fdim_test_data): Likewise.
3468 (finite_test_data): Likewise.
3469 (floor_test_data): Likewise.
3470 (fmax_test_data): Likewise.
3471 (fmin_test_data): Likewise.
3472 (fmod_test_data): Likewise.
3473 (fpclassify_test_data): Likewise.
3474 (frexp_test_data): Likewise.
3475 (ilogb_test_data): Likewise.
3476 (isfinite_test_data): Likewise.
3477 (isgreater_test_data): Likewise.
3478 (isgreaterequal_test_data): Likewise.
3479 (isinf_test_data): Likewise.
3480 (isless_test_data): Likewise.
3481 (islessequal_test_data): Likewise.
3482 (islessgreater_test_data): Likewise.
3483 (isnan_test_data): Likewise.
3484 (isnormal_test_data): Likewise.
3485 (issignaling_test_data): Likewise.
3486 (isunordered_test_data): Likewise.
3487 (ldexp_test_data): Likewise.
3488 (lrint_test_data): Likewise.
3489 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3490 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3491 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3492 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3493 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3494 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3495 test input.
3496 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3497 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3498 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3499 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3500 that test input.
3501 (lrint_downward_test_data): Test for "inexact" exceptions.
3502 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3503 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3504 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3505 test input.
3506 (lrint_upward_test_data): Test for "inexact" exceptions.
3507 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3508 test input.
3509 (llrint_test_data): Test for "inexact" exceptions.
3510 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3511 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3512 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3513 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3514 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3515 (llrint_downward_test_data): Test for "inexact" exceptions.
3516 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3517 (llrint_upward_test_data): Test for "inexact" exceptions.
3518 (logb_test_data): Likewise.
3519 (logb_downward_test_data): Likewise.
3520 (nextafter_test_data): Likewise.
3521 (nexttoward_test_data): Likewise.
3522 (remainder_test_data): Likewise.
3523 (remquo_test_data): Likewise.
3524 (scalbn_test_data): Likewise.
3525 (scalbln_test_data): Likewise.
3526 (signbit_test_data): Likewise.
3527 (sqrt_test_data): Likewise.
3528 (significand_test_data): Likewise.
3529
48a18de1
SP
35302013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3531
3532 [BZ #15424]
3533 * benchtests/bench-modf.c (struct args): Mark arg0 as
3534 volatile.
3535 * scripts/bench.pl: Mark members of struct args as volatile.
3536
13d3b41a
AZ
35372013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3538
68191c1d 3539 [BZ # 15497]
13d3b41a
AZ
3540 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3541 negative infinity on POWER6 or lower.
3542 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3543
2848b105
MR
35442013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3545
3546 [BZ #15442]
3547 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3548 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3549 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3550 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3551 (_FP_SETQNAN): New macro.
3552 (_FP_SETQNAN_SEMIRAW): Likewise.
3553 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3554 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3555 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3556 (FP_EXTEND): Use _FP_FRAC_SNANP.
3557 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3558 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3559 into account.
3560 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3561 New macro.
3562 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3563 Likewise.
3564
323e5cb7
JM
35652013-05-16 Joseph Myers <joseph@codesourcery.com>
3566
c58b274f
JM
3567 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3568 with DIVIDE_BY_ZERO_EXCEPTION.
3569 (gamma_test_data): Likewise.
3570 (lgamma_test_data): Likewise.
3571 (log_test_data): Likewise.
3572 (log10_test_data): Likewise.
3573 (log2_test_data): Likewise.
3574 (tgamma_test_data): Likewise.
3575
0ab34904
JM
3576 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3577 (acos_test_tonearest): Likewise.
3578 (acos_test_towardzero): Likewise.
3579 (acos_test_downward): Likewise.
3580 (acos_test_upward): Likewise.
3581 (acosh_test): Likewise.
3582 (asin_test): Likewise.
3583 (asin_test_tonearest): Likewise.
3584 (asin_test_towardzero): Likewise.
3585 (asin_test_downward): Likewise.
3586 (asin_test_upward): Likewise.
3587 (asinh_test): Likewise.
3588 (atan_test): Likewise.
3589 (atanh_test): Likewise.
3590 (atan2_test): Likewise.
3591 (cabs_test): Likewise.
3592 (cacos_test): Likewise.
3593 (cacosh_test): Likewise.
3594 (casin_test): Likewise.
3595 (casinh_test): Likewise.
3596 (catan_test): Likewise.
3597 (catanh_test): Likewise.
3598 (cbrt_test): Likewise.
3599 (ccos_test): Likewise.
3600 (ccosh_test): Likewise.
3601 (cexp_test): Likewise.
3602 (clog_test): Likewise.
3603 (clog10_test): Likewise.
3604 (cos_test): Likewise.
3605 (cos_test_tonearest): Likewise.
3606 (cos_test_towardzero): Likewise.
3607 (cos_test_downward): Likewise.
3608 (cos_test_upward): Likewise.
3609 (cosh_test): Likewise.
3610 (cosh_test_tonearest): Likewise.
3611 (cosh_test_towardzero): Likewise.
3612 (cosh_test_downward): Likewise.
3613 (cosh_test_upward): Likewise.
3614 (cpow_test): Likewise.
3615 (csin_test): Likewise.
3616 (csinh_test): Likewise.
3617 (csqrt_test): Likewise.
3618 (ctan_test): Likewise.
3619 (ctan_test_tonearest): Likewise.
3620 (ctan_test_towardzero): Likewise.
3621 (ctan_test_downward): Likewise.
3622 (ctan_test_upward): Likewise.
3623 (ctanh_test): Likewise.
3624 (ctanh_test_tonearest): Likewise.
3625 (ctanh_test_towardzero): Likewise.
3626 (ctanh_test_downward): Likewise.
3627 (ctanh_test_upward): Likewise.
3628 (erf_test): Likewise.
3629 (erfc_test): Likewise.
3630 (exp_test): Likewise.
3631 (exp_test_tonearest): Likewise.
3632 (exp_test_towardzero): Likewise.
3633 (exp_test_downward): Likewise.
3634 (exp_test_upward): Likewise.
3635 (exp10_test): Likewise.
3636 (exp2_test): Likewise.
3637 (expm1_test): Likewise.
3638 (fmod_test): Likewise.
3639 (gamma_test): Likewise.
3640 (hypot_test): Likewise.
3641 (j0_test): Likewise.
3642 (j1_test): Likewise.
3643 (jn_test): Likewise.
3644 (lgamma_test): Likewise.
3645 (log_test): Likewise.
3646 (log10_test): Likewise.
3647 (log1p_test): Likewise.
3648 (log2_test): Likewise.
3649 (logb_test_downward): Likewise.
3650 (pow_test): Likewise.
3651 (pow_test_tonearest): Likewise.
3652 (pow_test_towardzero): Likewise.
3653 (pow_test_downward): Likewise.
3654 (pow_test_upward): Likewise.
3655 (remainder_test): Likewise.
3656 (remquo_test): Likewise.
3657 (sin_test): Likewise.
3658 (sin_test_tonearest): Likewise.
3659 (sin_test_towardzero): Likewise.
3660 (sin_test_downward): Likewise.
3661 (sin_test_upward): Likewise.
3662 (sincos_test): Likewise.
3663 (sinh_test): Likewise.
3664 (sinh_test_tonearest): Likewise.
3665 (sinh_test_towardzero): Likewise.
3666 (sinh_test_downward): Likewise.
3667 (sinh_test_upward): Likewise.
3668 (sqrt_test): Likewise.
3669 (tan_test): Likewise.
3670 (tan_test_tonearest): Likewise.
3671 (tan_test_towardzero): Likewise.
3672 (tan_test_downward): Likewise.
3673 (tan_test_upward): Likewise.
3674 (tanh_test): Likewise.
3675 (tgamma_test): Likewise.
3676 (y0_test): Likewise.
3677 (y1_test): Likewise.
3678 (yn_test): Likewise.
3679
323e5cb7
JM
3680 * math/gen-libm-test.pl (adjust_arg): Remove function.
3681 (special_function): Remove argument $in_func. Only handle
3682 generating output for tables of tests, not inside functions.
3683 (parse_args): Likewise.
3684 (generate_testfile): Remove variable $in_func. Update call to
3685 parse_args.
3686 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3687 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3688 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3689 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3690 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3691 (MAX_VALUE_INIT): Rename macro to max_value.
3692 (MIN_VALUE_INIT): Rename macro to min_value.
3693 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3694 (plus_zero): Remove variable.
3695 (minus_zero): Likewise.
3696 (plus_infty): Likewise.
3697 (minus_infty): Likewise.
3698 (qnan_value): Likewise.
3699 (max_value): Likewise.
3700 (min_value): Likewise.
3701 (min_subnorm_value): Likewise.
3702
e054f494
RA
37032013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3704
3705 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3706 uint64_t or uint32_t usage.
3707 * crypt/sha256-block.c: Likewise.
3708 * crypt/sha256-crypt.c: Likewise.
3709 * crypt/sha256.c: Likewise.
3710 * crypt/sha512-block.c: Likewise.
3711 * crypt/sha512-crypt.c: Likewise.
3712 * crypt/sha512.c: Likewise.
3713 * debug/backtrace-tst.c: Likewise.
3714 * debug/pcprofiledump.c: Likewise.
3715 * elf/cache.c: Likewise.
3716 * elf/dl-cache.c: Likewise.
3717 * elf/dl-misc.c: Likewise.
3718 * elf/dl-profile.c: Likewise.
3719 * elf/dl-support.c: Likewise.
3720 * elf/ldconfig.c: Likewise.
3721 * elf/sprof.c: Likewise.
3722 * iconv/dummy-repertoire.c: Likewise.
3723 * iconv/iconv_charmap.c: Likewise.
3724 * iconv/skeleton.c: Likewise.
3725 * iconvdata/8bit-generic.c: Likewise.
3726 * iconvdata/cp737.h: Likewise.
3727 * iconvdata/cp775.h: Likewise.
3728 * iconvdata/ibm1008.h: Likewise.
3729 * iconvdata/ibm1025.h: Likewise.
3730 * iconvdata/ibm1046.h: Likewise.
3731 * iconvdata/ibm1097.h: Likewise.
3732 * iconvdata/ibm1112.h: Likewise.
3733 * iconvdata/ibm1122.h: Likewise.
3734 * iconvdata/ibm1123.h: Likewise.
3735 * iconvdata/ibm1124.h: Likewise.
3736 * iconvdata/ibm1129.h: Likewise.
3737 * iconvdata/ibm1130.h: Likewise.
3738 * iconvdata/ibm1132.h: Likewise.
3739 * iconvdata/ibm1133.h: Likewise.
3740 * iconvdata/ibm1137.h: Likewise.
3741 * iconvdata/ibm1140.h: Likewise.
3742 * iconvdata/ibm1141.h: Likewise.
3743 * iconvdata/ibm1142.h: Likewise.
3744 * iconvdata/ibm1143.h: Likewise.
3745 * iconvdata/ibm1144.h: Likewise.
3746 * iconvdata/ibm1145.h: Likewise.
3747 * iconvdata/ibm1146.h: Likewise.
3748 * iconvdata/ibm1147.h: Likewise.
3749 * iconvdata/ibm1148.h: Likewise.
3750 * iconvdata/ibm1149.h: Likewise.
3751 * iconvdata/ibm1153.h: Likewise.
3752 * iconvdata/ibm1154.h: Likewise.
3753 * iconvdata/ibm1155.h: Likewise.
3754 * iconvdata/ibm1156.h: Likewise.
3755 * iconvdata/ibm1157.h: Likewise.
3756 * iconvdata/ibm1158.h: Likewise.
3757 * iconvdata/ibm1160.h: Likewise.
3758 * iconvdata/ibm1161.h: Likewise.
3759 * iconvdata/ibm1162.h: Likewise.
3760 * iconvdata/ibm1163.h: Likewise.
3761 * iconvdata/ibm1164.h: Likewise.
3762 * iconvdata/ibm1166.h: Likewise.
3763 * iconvdata/ibm1167.h: Likewise.
3764 * iconvdata/ibm12712.h: Likewise.
3765 * iconvdata/ibm1390.h: Likewise.
3766 * iconvdata/ibm1399.h: Likewise.
3767 * iconvdata/ibm16804.h: Likewise.
3768 * iconvdata/ibm4517.h: Likewise.
3769 * iconvdata/ibm4899.h: Likewise.
3770 * iconvdata/ibm4909.h: Likewise.
3771 * iconvdata/ibm4971.h: Likewise.
3772 * iconvdata/ibm5347.h: Likewise.
3773 * iconvdata/ibm803.h: Likewise.
3774 * iconvdata/ibm856.h: Likewise.
3775 * iconvdata/ibm901.h: Likewise.
3776 * iconvdata/ibm902.h: Likewise.
3777 * iconvdata/ibm9030.h: Likewise.
3778 * iconvdata/ibm9066.h: Likewise.
3779 * iconvdata/ibm921.h: Likewise.
3780 * iconvdata/ibm922.h: Likewise.
3781 * iconvdata/ibm9448.h: Likewise.
3782 * iconvdata/isiri-3342.h: Likewise.
3783 * iconvdata/jis0201.h: Likewise.
3784 * include/link.h: Likewise.
3785 * include/netdb.h: Likewise.
3786 * inet/check_native.c: Likewise.
3787 * inet/check_pf.c: Likewise.
3788 * inet/getipv4sourcefilter.c: Likewise.
3789 * inet/getnameinfo.c: Likewise.
3790 * inet/getsourcefilter.c: Likewise.
3791 * inet/htonl.c: Likewise.
3792 * inet/setipv4sourcefilter.c: Likewise.
3793 * inet/setsourcefilter.c: Likewise.
3794 * inet/test-inet6_opt.c: Likewise.
3795 * inet/tst-network.c: Likewise.
3796 * locale/C-collate.c: Likewise.
3797 * locale/C-ctype.c: Likewise.
3798 * locale/C-time.c: Likewise.
3799 * locale/C-translit.h: Likewise.
3800 * locale/loadarchive.c: Likewise.
3801 * locale/programs/3level.h: Likewise.
3802 * locale/programs/charmap.c: Likewise.
3803 * locale/programs/charmap.h: Likewise.
3804 * locale/programs/ld-address.c: Likewise.
3805 * locale/programs/ld-collate.c: Likewise.
3806 * locale/programs/ld-ctype.c: Likewise.
3807 * locale/programs/ld-identification.c: Likewise.
3808 * locale/programs/ld-measurement.c: Likewise.
3809 * locale/programs/ld-messages.c: Likewise.
3810 * locale/programs/ld-monetary.c: Likewise.
3811 * locale/programs/ld-name.c: Likewise.
3812 * locale/programs/ld-numeric.c: Likewise.
3813 * locale/programs/ld-paper.c: Likewise.
3814 * locale/programs/ld-telephone.c: Likewise.
3815 * locale/programs/ld-time.c: Likewise.
3816 * locale/programs/linereader.c: Likewise.
3817 * locale/programs/locale.c: Likewise.
3818 * locale/programs/locarchive.c: Likewise.
3819 * locale/programs/locfile.h: Likewise.
3820 * locale/programs/repertoire.c: Likewise.
3821 * locale/programs/simple-hash.c: Likewise.
3822 * locale/programs/simple-hash.h: Likewise.
3823 * malloc/memusage.c: Likewise.
3824 * malloc/memusagestat.c: Likewise.
3825 * nis/nis_defaults.c: Likewise.
3826 * nis/nis_hash.c: Likewise.
3827 * nis/nis_print.c: Likewise.
3828 * nis/nis_xdr.c: Likewise.
3829 * nscd/connections.c: Likewise.
3830 * nscd/hstcache.c: Likewise.
3831 * nscd/nscd_gethst_r.c: Likewise.
3832 * nscd/nscd_getserv_r.c: Likewise.
3833 * nscd/nscd_helper.c: Likewise.
3834 * nscd/servicescache.c: Likewise.
3835 * nss/makedb.c: Likewise.
3836 * nss/nss_db/db-XXX.c: Likewise.
3837 * nss/nss_db/db-initgroups.c: Likewise.
3838 * nss/nss_db/db-netgrp.c: Likewise.
3839 * nss/nss_files/files-network.c: Likewise.
3840 * nss/nss_files/files-parse.c: Likewise.
3841 * posix/bug-regex5.c: Likewise.
3842 * posix/fnmatch_loop.c: Likewise.
3843 * posix/regcomp.c: Likewise.
3844 * posix/regexec.c: Likewise.
3845 * posix/tst-rfc3484-2.c: Likewise.
3846 * posix/tst-rfc3484-3.c: Likewise.
3847 * posix/tst-rfc3484.c: Likewise.
3848 * resolv/nss_dns/dns-canon.c: Likewise.
3849 * resolv/nss_dns/dns-network.c: Likewise.
3850 * resolv/res_init.c: Likewise.
3851 * resolv/res_mkquery.c: Likewise.
3852 * resolv/tst-aton.c: Likewise.
3853 * stdlib/cxa_atexit.c: Likewise.
3854 * stdlib/cxa_finalize.c: Likewise.
3855 * stdlib/gen-fpioconst.c: Likewise.
3856 * stdlib/strtol_l.c: Likewise.
3857 * string/tst-endian.c: Likewise.
3858 * sunrpc/auth_des.c: Likewise.
3859 * sunrpc/clnt_udp.c: Likewise.
3860 * sunrpc/rtime.c: Likewise.
3861 * sunrpc/svcauth_des.c: Likewise.
3862 * sunrpc/xdr.c: Likewise.
3863 * sunrpc/xdr_intXX_t.c: Likewise.
3864 * sunrpc/xdr_rec.c: Likewise.
3865 * sysdeps/generic/ldconfig.h: Likewise.
3866 * sysdeps/generic/ldsodefs.h: Likewise.
3867 * sysdeps/generic/memusage.h: Likewise.
3868 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3869 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3871 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3878 * sysdeps/posix/getaddrinfo.c: Likewise.
3879 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3880 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3881 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3882 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3883 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3884 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3885 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3886 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3887 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3888 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3889 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3890 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3891 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3892 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3893 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3894 * sysdeps/x86_64/dl-tls.h: Likewise.
3895 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3896 * time/alt_digit.c: Likewise.
3897 * time/era.c: Likewise.
3898 * wcsmbs/tst-c16c32-1.c: Likewise.
3899
8c75f674
JM
39002013-05-16 Joseph Myers <joseph@codesourcery.com>
3901
3902 * math/libm-test.inc (struct test_sincos_data): New type.
3903 (RUN_TEST_LOOP_sincos): New macro.
3904 (sincos_test_data): New variable.
3905 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3906
e6e49e59
RH
39072013-05-16 Richard Henderson <rth@redhat.com>
3908
3909 * math/atest-exp2.c (LIMB64): New macro.
3910 (CONSTSZ): New macro.
3911 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3912 (hexdig): Move ...
3913 (print_mpn_fp): ... to function scope.
3914 (read_mpn_hex): Remove.
3915 (get_log2): Remove.
3916 (exp2_mpn): Use mp_log2.
3917 (main): Use mp_exp1.
3918
15c7c18d
JM
39192013-05-16 Joseph Myers <joseph@codesourcery.com>
3920
105a07df
JM
3921 * math/libm-test.inc: Remove comment about not testing "inexact"
3922 exceptions.
3923 (INEXACT_EXCEPTION): New macro.
3924 (NO_INEXACT_EXCEPTION): Likewise.
3925 (INVALID_EXCEPTION_OK): Update value.
3926 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3927 (OVERFLOW_EXCEPTION_OK): Likewise.
3928 (UNDERFLOW_EXCEPTION_OK): Likewise.
3929 (IGNORE_ZERO_INF_SIGN): Likewise.
3930 (ERRNO_UNCHANGED): Likewise.
3931 (ERRNO_EDOM): Likewise.
3932 (ERRNO_ERANGE): Likewise.
3933 (test_exceptions): Handle testing "inexact" exceptions.
3934 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3935 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3936 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3937 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3938 INEXACT_EXCEPTION.
3939 (rint_towardzero_test_data): Likewise.
3940 (rint_downward_test_data): Likewise.
3941 (rint_upward_test_data): Likewise.
3942
e9eee333
JM
3943 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3944 with OVERFLOW_EXCEPTION.
3945 (exp10_test_data): Likewise.
3946 (exp2_test_data): Likewise.
3947 (expm1_test_data): Likewise.
3948 (lgamma_test_data): Likewise.
3949 (pow_test_data): Likewise.
3950 (tgamma_test_data): Likewise.
3951 (yn_test_data): Remove duplicate test of overflow.
3952
1c38ff73
JM
3953 * math/libm-test.inc (struct test_cc_c_data): New type.
3954 (RUN_TEST_LOOP_cc_c): New macro.
3955 (cpow_test_data): New variable.
3956 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3957
15c7c18d
JM
3958 * math/libm-test.inc (struct test_f_L_data): New type.
3959 (RUN_TEST_LOOP_f_L): New macro.
3960 (llrint_test_data): New variable.
3961 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3962 (llrint_tonearest_test_data): New variable.
3963 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3964 (llrint_towardzero_test_data): New variable.
3965 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3966 (llrint_downward_test_data): New variable.
3967 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3968 (llrint_upward_test_data): New variable.
3969 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3970 (llround_test_data): New variable.
3971 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3972
f137ff13
PC
39732013-05-13 Peter Collingbourne <pcc@google.com>
3974
3975 * math/atest-exp2.c (get_log2): Remove const attribute.
3976
3608cb24
JM
39772013-05-15 Joseph Myers <joseph@codesourcery.com>
3978
3979 * math/libm-test.inc (struct test_f_l_data): New type.
3980 (RUN_TEST_LOOP_f_l): New macro.
3981 (lrint_test_data): New variable.
3982 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3983 (lrint_tonearest_test_data): New variable.
3984 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3985 (lrint_towardzero_test_data): New variable.
3986 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3987 (lrint_downward_test_data): New variable.
3988 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3989 (lrint_upward_test_data): New variable.
3990 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3991 (lround_test_data): New variable.
3992 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3993
39b1f617
PC
39942013-05-15 Peter Collingbourne <pcc@google.com>
3995
1deff3dc
PC
3996 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3997 (EXTRACT_WORDS64) Use where appropriate.
3998 (INSERT_WORDS64) Likewise.
3999
791f3ba0
PC
4000 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4001 constraints with x constraints.
4002 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4003
39b1f617
PC
4004 * malloc/obstack.c (_obstack_compat): Add initializer.
4005
12fba011
EM
40062013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4007
4008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4009 si_trapno and add si_addr_lsb to _sifields.sigfault.
4010 (si_trapno): Remove macro.
4011 (si_addr_lsb): Define new macro.
4012 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4013
d369f531
JM
40142013-05-15 Joseph Myers <joseph@codesourcery.com>
4015
b861c6c4
JM
4016 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4017 instead of TEST_f_l.
4018 (llrint_test_tonearest): Likewise.
4019 (llrint_test_towardzero): Likewise.
4020 (llrint_test_downward): Likewise.
4021 (llrint_test_upward): Likewise.
4022 (llround_test): Likewise.
4023
7abeee12
JM
4024 * math/libm-test.inc (struct test_f_i_data): Add comment.
4025 (RUN_TEST_LOOP_f_b): New macro.
4026 (RUN_TEST_LOOP_f_b_tg): Likewise.
4027 (finite_test_data): New variable.
4028 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4029 (isfinite_test_data): New variable.
4030 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4031 (isinf_test_data): New variable.
4032 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4033 (isnan_test_data): New variable.
4034 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4035 (isnormal_test_data): New variable.
4036 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4037 (issignaling_test_data): New variable.
4038 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4039 (signbit_test_data): New variable.
4040 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4041
cbe8c4d3
JM
4042 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4043 with INVALID_EXCEPTION.
4044 (acosh_test_data): Likewise.
4045 (asin_test_data): Likewise.
4046 (atanh_test_data): Likewise.
4047 (fmod_test_data): Likewise.
4048 (log_test_data): Likewise.
4049 (log10_test_data): Likewise.
4050 (log2_test_data): Likewise.
4051 (pow_test_data): Likewise.
4052 (sqrt_test_data): Likewise.
4053 (y0_test_data): Likewise.
4054 (y1_test_data): Likewise.
4055 (yn_test_data): Likewise.
4056
5575c0e5
JM
4057 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4058 function contents.
4059
d369f531
JM
4060 * math/libm-test.inc (struct test_ff_i_data): New type.
4061 (RUN_TEST_LOOP_ff_i_tg): New macro.
4062 (isgreater_test_data): New variable.
4063 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4064 (isgreaterequal_test_data): New variable.
4065 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4066 (isless_test_data): New variable.
4067 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4068 (islessequal_test_data): New variable.
4069 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4070 (islessgreater_test_data): New variable.
4071 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4072 (isunordered_test_data): New variable.
4073 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4074
781fd748
DM
40752013-05-14 David S. Miller <davem@davemloft.net>
4076
4077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4078
87aa21df
JM
40792013-05-14 Joseph Myers <joseph@codesourcery.com>
4080
5e908270
JM
4081 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4082
f71172e5
JM
4083 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4084 extra_test to int.
4085 (struct test_f_i_data): Change type of max_ulp to int.
4086
8cfa635a
JM
4087 * math/libm-test.inc (test_ffI_f1_data): New type.
4088 (RUN_TEST_LOOP_ffI_f1): New macro.
4089 (remquo_test_data): New variable.
4090 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4091
2bcb36b2
JM
4092 * setjmp/tst-setjmp-fp.c: New file.
4093 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4094 (link-libm): New variable.
4095 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4096
acbd839a
JM
4097 * math/libm-test.inc (struct test_f_i_data): New type.
4098 (RUN_TEST_LOOP_f_i): New macro.
4099 (RUN_TEST_LOOP_f_i_tg): Likewise.
4100 (fpclassify_test_data): New variable.
4101 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4102 (ilogb_test_data): New variable.
4103 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4104
e414d745
JM
4105 * math/libm-test.inc (scalbln_test): Correct function name in END
4106 call.
4107
d9c2a0fd
JM
4108 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4109 (RUN_TEST_LOOP_fI_f1): New macro.
4110 (frexp_test_data): New variable.
4111 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4112
9dc9095d
JM
4113 * math/libm-test.inc (struct test_fF_f1_data): New type.
4114 (RUN_TEST_LOOP_fF_f1): New macro.
4115 (modf_test_data): New variable.
4116 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4117
87aa21df
JM
4118 * math/libm-test.inc (struct test_f_f1_data): New type.
4119 (RUN_TEST_LOOP_f_f1): New macro.
4120 (gamma_test_data): New variable.
4121 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4122 (lgamma_test_data): New variable.
4123 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4124
141af660
CD
41252013-05-13 Carlos O'Donell <carlos@redhat.com>
4126
4127 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4128 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4129 (main): Comment "tls" pseudo-hwcap.
4130
6d33265c
JM
41312013-05-13 Joseph Myers <joseph@codesourcery.com>
4132
68fc074c
JM
4133 * math/libm-test.inc (struct test_fl_f_data): New type.
4134 (RUN_TEST_LOOP_fl_f): New variable.
4135 (scalbln_test_data): New variable.
4136 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4137
243216e1
JM
4138 * math/libm-test.inc (struct test_fi_f_data): New type.
4139 (RUN_TEST_LOOP_fi_f): New macro.
4140 (ldexp_test_data): New variable.
4141 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4142 (scalbn_test_data): New variable.
4143 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4144
6a1992e2
JM
4145 * math/libm-test.inc (struct test_c_f_data): New type.
4146 (RUN_TEST_LOOP_c_f): New macro.
4147 (cabs_test_data): New variable.
4148 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4149 (carg_test_data): New variable.
4150 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4151 (cimag_test_data): New variable.
4152 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4153 (creal_test_data): New variable.
4154 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4155
0e400df5
JM
4156 * math/libm-test.inc (struct test_if_f_data): New type.
4157 (RUN_TEST_LOOP_if_f): New macro.
4158 (jn_test_data): New variable.
4159 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4160 (yn_test_data): New variable.
4161 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4162
6d33265c
JM
4163 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4164
f98ece5f
AZ
41652013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4166
4167 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4168 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4169
0f7d347b
SP
41702013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4171
43fe811b
SP
4172 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4173 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4174 (bench-deps): Add bench-timing.h.
4175 * benchtests-bench-skeleton.c: Include bench-timing.h.
4176 (main): Use TIMING_* macros instead of clock_gettime.
4177 * benchtests/bench-timing.h: New file.
4178
0f7d347b
SP
4179 [BZ #14582]
4180 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4181 Renamed from _LIB_VERSION.
4182 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4183
601a3a5f
JM
41842013-05-12 Joseph Myers <joseph@codesourcery.com>
4185
4f184d30
JM
4186 * math/libm-test.inc (struct test_fff_f_data): New type.
4187 (RUN_TEST_LOOP_fff_f): New macro.
4188 (fma_test_data): New variable.
4189 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4190 (fma_towardzero_test_data): New variable.
4191 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4192 (fma_downward_test_data): New variable.
4193 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4194 (fma_upward_test_data): New variable.
4195 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4196
08198877
JM
4197 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4198 (struct test_c_c_data): New type.
4199 (RUN_TEST_LOOP_c_c): New macro.
4200 (cacos_test_data): New variable.
4201 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4202 (cacosh_test_data): New variable.
4203 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4204 (casin_test_data): New variable.
4205 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4206 (casinh_test_data): New variable.
4207 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4208 (catan_test_data): New variable.
4209 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4210 (catanh_test_data): New variable.
4211 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4212 (ccos_test_data): New variable.
4213 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4214 (ccosh_test_data): New variable.
4215 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4216 (cexp_test_data): New variable.
4217 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4218 (clog_test_data): New variable.
4219 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4220 (clog10_test_data): New variable.
4221 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4222 (conj_test_data): New variable.
4223 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4224 (cproj_test_data): New variable.
4225 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4226 (csin_test_data): New variable.
4227 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4228 (csinh_test_data): New variable.
4229 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4230 (csqrt_test_data): New variable.
4231 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4232 (ctan_test_data): New variable.
4233 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4234 (ctan_tonearest_test_data): New variable.
4235 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4236 (ctan_towardzero_test_data): New variable.
4237 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4238 (ctan_downward_test_data): New variable.
4239 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4240 (ctan_upward_test_data): New variable.
4241 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4242 (ctanh_test_data): New variable.
4243 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4244 (ctanh_tonearest_test_data): New variable.
4245 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4246 (ctanh_towardzero_test_data): New variable.
4247 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4248 (ctanh_downward_test_data): New variable.
4249 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4250 (ctanh_upward_test_data): New variable.
4251 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4252 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4253 of BUILD_COMPLEX.
4254
601a3a5f
JM
4255 * math/libm-test.inc (struct test_ff_f_data): New type.
4256 (struct test_ff_f_data_nexttoward): Likewise.
4257 (RUN_TEST_LOOP_2_f): New macro.
4258 (RUN_TEST_LOOP_ff_f): Likewise.
4259 (atan2_test_data): New variable.
4260 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4261 (copysign_test_data): New variable.
4262 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4263 (fdim_test_data): New variable.
4264 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4265 (fmax_test_data): New variable.
4266 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4267 (fmin_test_data): New variable.
4268 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4269 (fmod_test_data): New variable.
4270 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4271 (hypot_test_data): New variable.
4272 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4273 (nextafter_test_data): New variable.
4274 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4275 (nexttoward_test_data): New variable.
4276 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4277 (pow_test_data): New variable.
4278 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4279 (pow_tonearest_test_data): New variable.
4280 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4281 (pow_towardzero_test_data): New variable.
4282 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4283 (pow_downward_test_data): New variable.
4284 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4285 (pow_upward_test_data): New variable.
4286 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4287 (remainder_test_data): New variable.
4288 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4289 (scalb_test_data): New variable.
4290 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4291 * sysdeps/i386/fpu/libm-test-ulps: Update.
4292
74c57478
JM
42932013-05-11 Joseph Myers <joseph@codesourcery.com>
4294
8329e4da
JM
4295 * math/libm-test.inc (fma_test): Use max_value instead of local
4296 variable fltmax.
4297 (nextafter_test): Likewise.
4298
74c57478
JM
4299 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4300 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4301 (acos_downward_test_data): New variable.
4302 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4303 (acos_upward_test_data): New variable.
4304 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4305 (acosh_test_data): New variable.
4306 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4307 (asin_test_data): New variable.
4308 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4309 (asin_tonearest_test_data): New variable.
4310 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4311 (asin_towardzero_test_data): New variable.
4312 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4313 (asin_downward_test_data): New variable.
4314 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4315 (asin_upward_test_data): New variable.
4316 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4317 (asinh_test_data): New variable.
4318 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4319 (atan_test_data): New variable.
4320 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4321 (atanh_test_data): New variable.
4322 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4323 (cbrt_test_data): New variable.
4324 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4325 (ceil_test_data): New variable.
4326 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4327 (cos_test_data): New variable.
4328 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4329 (cos_tonearest_test_data): New variable.
4330 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4331 (cos_towardzero_test_data): New variable.
4332 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4333 (cos_downward_test_data): New variable.
4334 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4335 (cos_upward_test_data): New variable.
4336 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4337 (cosh_test_data): New variable.
4338 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4339 (cosh_tonearest_test_data): New variable.
4340 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4341 (cosh_towardzero_test_data): New variable.
4342 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4343 (cosh_downward_test_data): New variable.
4344 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4345 (cosh_upward_test_data): New variable.
4346 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4347 (erf_test_data): New variable.
4348 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4349 (erfc_test_data): New variable.
4350 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4351 (exp_test_data): New variable.
4352 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4353 (exp_tonearest_test_data): New variable.
4354 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4355 (exp_towardzero_test_data): New variable.
4356 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4357 (exp_downward_test_data): New variable.
4358 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4359 (exp_upward_test_data): New variable.
4360 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4361 (exp10_test_data): New variable.
4362 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4363 (exp2_test_data): New variable.
4364 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4365 (expm1_test_data): New variable.
4366 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4367 (fabs_test_data): New variable.
4368 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4369 (floor_test_data): New variable.
4370 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4371 (j0_test_data): New variable.
4372 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4373 (j1_test_data): New variable.
4374 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4375 (log_test_data): New variable.
4376 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4377 (log10_test_data): New variable.
4378 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4379 (log1p_test_data): New variable.
4380 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4381 (log2_test_data): New variable.
4382 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4383 (logb_test_data): New variable.
4384 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4385 (logb_downward_test_data): New variable.
4386 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4387 (nearbyint_test_data): New variable.
4388 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4389 (rint_test_data): New variable.
4390 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4391 (rint_tonearest_test_data): New variable.
4392 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4393 (rint_towardzero_test_data): New variable.
4394 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4395 (rint_downward_test_data): New variable.
4396 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4397 (rint_upward_test_data): New variable.
4398 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4399 (round_test_data): New variable.
4400 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4401 (sin_test_data): New variable.
4402 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4403 (sin_tonearest_test_data): New variable.
4404 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4405 (sin_towardzero_test_data): New variable.
4406 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4407 (sin_downward_test_data): New variable.
4408 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4409 (sin_upward_test_data): New variable.
4410 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4411 (sinh_test_data): New variable.
4412 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4413 (sinh_tonearest_test_data): New variable.
4414 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4415 (sinh_towardzero_test_data): New variable.
4416 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4417 (sinh_downward_test_data): New variable.
4418 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4419 (sinh_upward_test_data): New variable.
4420 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4421 (sqrt_test_data): New variable.
4422 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4423 (tan_test_data): New variable.
4424 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4425 (tan_tonearest_test_data): New variable.
4426 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4427 (tan_towardzero_test_data): New variable.
4428 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4429 (tan_downward_test_data): New variable.
4430 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4431 (tan_upward_test_data): New variable.
4432 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4433 (tanh_test_data): New variable.
4434 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4435 (tgamma_test_data): New variable.
4436 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4437 (trunc_test_data): New variable.
4438 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4439 (y0_test_data): New variable.
4440 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4441 (y1_test_data): New variable.
4442 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4443 (significand_test_data): New variable.
4444 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4445
7187d844
CG
44462013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4447
4448 [BZ #12387]
4449 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4450
f63fae73
PT
44512013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4452
4453 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4454
8a67a4b3
AJ
44552013-05-10 Andreas Jaeger <aj@suse.de>
4456
4457 [BZ #15448]
4458 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4459 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4460
51df539d
JM
44612013-05-10 Joseph Myers <joseph@codesourcery.com>
4462
4463 * math/gen-libm-test.pl (adjust_arg): New function.
4464 (special_functions): Handle generating output in both functions
4465 and arrays.
4466 (parse_args): Likewise.
4467 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4468 $in_func argument to parse_args.
4469 * math/libm-test.inc (struct test_f_f_data): New type.
4470 (IF_ROUND_INIT_): New macro.
4471 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4472 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4473 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4474 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4475 (ROUND_RESTORE_): Likewise.
4476 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4477 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4478 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4479 (ROUND_RESTORE_FE_UPWARD): Likewise.
4480 (RUN_TEST_LOOP_f_f): New macro.
4481 (acos_test_data): New variable.
4482 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4483 (acos_tonearest_test_data): New variable.
4484 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4485
5c637fe5
SP
44862013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4487
4488 * benchtests/bench-skeleton.c (startup): Fix coding style.
4489
ab2b9461
JM
44902013-05-10 Joseph Myers <joseph@codesourcery.com>
4491
4492 [BZ #6809]
4493 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4494 negative infinity argument.
4495 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4496 negative infinity argument.
4497 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4498 negative infinity argument.
4499 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4500 domain errors.
4501
4c0fe6fe
FW
45022013-05-10 Florian Weimer <fweimer@redhat.com>
4503
4504 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4505 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4506 * iconv/iconv_prog.c (main): Likewise.
4507 * locale/programs/charmap-dir.c (charmap_readdir)
4508 (fopen_uncompressed): Likewise.
4509 * locale/programs/locfile.c (siblings_uncached)
4510 (write_locale_data): Use lstat64 instead of lstat.
4511 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4512 stat.
4513
a3375d29
AJ
45142013-05-10 Andreas Jaeger <aj@suse.de>
4515
4516 [BZ #15395]
4517 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4518 localization.
4519 Include <locale.h>.
4520
36129722
CD
45212013-05-09 Carlos O'Donell <carlos@redhat.com>
4522
4523 * elf/dl-close.c (_dl_close_worker): Add comments.
4524
faa7f811
JM
45252013-05-09 Joseph Myers <joseph@codesourcery.com>
4526
ed41ffef
JM
4527 [BZ #15359]
4528 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4529 high part of pi/2.
4530 (__ieee754_rem_pio2l): Update comments.
4531
d0213cd0
JM
4532 [BZ #15429]
4533 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4534 high part of pi/2.
4535 (__ieee754_rem_pio2l): Update comments.
4536
0d3e777a
JM
4537 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4538 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4539
24f56066
JM
4540 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4541 M_PI_4l.
4542
faa7f811
JM
4543 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4544 (M_PI_34_LOG10El): Likewise.
4545 (M_PI2_LOG10El): Likewise.
4546 (M_PI4_LOG10El): Likewise.
4547 (M_PI_LOG10El): Likewise.
4548
e9a5e0fd
AZ
45492013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4550
4551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4552
d8cd06db
JM
45532013-05-08 Joseph Myers <joseph@codesourcery.com>
4554
a0d9f9d7
JM
4555 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4556 (MINUS_ZERO_INIT): Likewise.
4557 (PLUS_INFTY_INIT): Likewise.
4558 (MINUS_INFTY_INIT): Likewise.
4559 (QNAN_VALUE_INIT): Likewise.
4560 (MAX_VALUE_INIT): Likewise.
4561 (MIN_VALUE_INIT): Likewise.
4562 (MIN_SUBNORM_VALUE_INIT): Likewise.
4563 (plus_zero): Initialize with PLUS_ZERO_INIT.
4564 (minus_zero): Initialize with MINUS_ZERO_INIT.
4565 (plus_infty): Initialize with PLUS_INFTY_INIT.
4566 (minus_infty): Initialize with MINUS_INFTY_INIT.
4567 (qnan_value): Initialize with QNAN_VALUE_INIT.
4568 (max_value): Initialize with MAX_VALUE_INIT.
4569 (min_value): Initialize with MIN_VALUE_INIT.
4570 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4571
ae08db3b
JM
4572 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4573 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4574 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4575 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4576
f44bf14a
JM
4577 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4578 (RUN_TEST_2_f): Likewise.
4579 (RUN_TEST_ff_f): Likewise.
4580 (RUN_TEST_fi_f): Likewise.
4581 (RUN_TEST_fl_f): Likewise.
4582 (RUN_TEST_fff_f): Likewise.
4583 (RUN_TEST_c_f): Likewise.
4584 (RUN_TEST_f_f1): Likewise.
4585 (RUN_TEST_fF_f1): Likewise.
4586 (RUN_TEST_fI_f1): Likewise.
4587 (RUN_TEST_ffI_f1): Likewise.
4588 (RUN_TEST_c_c): Likewise.
4589 (RUN_TEST_cc_c): Likewise.
4590 (RUN_TEST_f_i): Likewise.
4591 (RUN_TEST_f_i_tg): Likewise.
4592 (RUN_TEST_ff_i_tg): Likewise.
4593 (RUN_TEST_f_b): Likewise.
4594 (RUN_TEST_f_b_tg): Likewise.
4595 (RUN_TEST_f_l): Likewise.
4596 (RUN_TEST_f_L): Likewise.
4597 (RUN_TEST_sincos): Likewise.
4598 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4599 whether to show exceptions. Do not include ");\n" in return
4600 value.
4601 (special_functions): Output call to RUN_TEST_sincos instead of
4602 check_float calls. Update calls to new_test.
4603 (parse_args): Output call to single RUN_TEST_* macro instead of
4604 check_* calls and other assignments. Update calls to new_test.
4605
d8cd06db
JM
4606 [BZ #2546]
4607 [BZ #2560]
4608 [BZ #5159]
4609 [BZ #15426]
4610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4611 input to result for tgamma overflow.
4612 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4613 (gamma_coeff): New variable.
4614 (NCOEFF): New macro.
4615 (gamma_positive): New function.
4616 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4617 underflow here. Use gamma_positive instead of exp (lgamma) for
4618 other arguments.
4619 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4620 (gamma_coeff): New variable.
4621 (NCOEFF): New macro.
4622 (gammaf_positive): New function.
4623 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4624 underflow here. Use gamma_positive instead of exp (lgamma) for
4625 other arguments.
4626 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4627 (gamma_coeff): New variable.
4628 (NCOEFF): New macro.
4629 (gammal_positive): New function.
4630 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4631 underflow here. Use gamma_positive instead of exp (lgamma) for
4632 other arguments.
4633 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4634 (gamma_coeff): New variable.
4635 (NCOEFF): New macro.
4636 (gammal_positive): New function.
4637 (__ieee754_gammal_r): Handle positive infinity, overflow and
4638 underflow here. Handle NaN the same as positive infinity. Remove
4639 check x < 0xffffffff for negative integers. Use gamma_positive
4640 instead of exp (lgamma) for other arguments.
4641 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4642 (gamma_coeff): New variable.
4643 (NCOEFF): New macro.
4644 (gammal_positive): New function.
4645 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4646 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4650 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4651 * sysdeps/generic/math_private.h (__gamma_productf): New
4652 prototype.
4653 (__gamma_product): Likewise.
4654 (__gamma_productl): Likewise.
4655 * math/Makefile (libm-calls): Add gamma_product.
4656 * math/libm-test.inc (tgamma_test): Add more tests.
4657 * sysdeps/i386/fpu/libm-test-ulps: Update.
4658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4659
bb7cf681
OB
46602013-05-08 Ondřej Bílka <neleai@seznam.cz>
4661
4662 * benchtests/bench-skeleton.c (main): Preheat CPU.
4663
ba853947
AJ
46642013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4665
4666 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4667
8347c74c
RM
46682013-05-07 Roland McGrath <roland@hack.frob.com>
4669
4670 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4671 and _dl_skip_args_internal.
4672
e8dd4791
CD
46732013-05-07 Carlos O'Donell <carlos@redhat.com>
4674
4675 * manual/message.texi (Message Translation): Talk about users.
4676 Message to key mapping impacts design.
4677
c7405830
RM
46782013-05-06 Roland McGrath <roland@hack.frob.com>
4679
a9173057
RM
4680 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4681
976e2f03
RM
4682 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4683
9723ffc5
RM
4684 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4685 * sysdeps/wordsize-64/glob64.c: ... here.
4686
962e6658
RM
4687 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4688 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4689 New macros.
4690
ee586a6d
RM
4691 * debug/getlogin_r_chk.c: Moved to ...
4692 * login/getlogin_r_chk.c: ... here.
4693 * debug/Makefile (routines): Move getlogin_r_chk to ...
4694 * login/Makefile (routines): ... here.
4695 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4696 * login/Versions (libc: GLIBC_2.4): ... here.
4697
355f9165
RM
4698 * io/poll.c (__poll): Renamed from poll.
4699 Add libc_hidden_def.
4700 (poll): Define as weak alias.
4701
bd9ffde6
RM
4702 * debug/ptsname_r_chk.c: Moved to ...
4703 * login/ptsname_r_chk.c: ... here.
4704 * debug/Makefile (routines): Move ptsname_r_chk to ...
4705 * login/Makefile (routines): ... here.
4706 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4707 * login/Versions (libc: GLIBC_2.4): ... here.
4708
8fb16a04
RM
4709 * posix/getlogin.c: Moved to ...
4710 * login/getlogin.c: ... here.
4711 * posix/getlogin_r.c: Moved to ...
4712 * login/getlogin_r.c: ... here.
4713 * posix/getlogin_r.c: Moved to ...
4714 * login/getlogin_r.c: ... here.
4715 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4716 * login/Makefile (routines): ... here.
4717 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4718 * login/Versions (libc: GLIBC_2.0): ... here.
4719
b99b892f
RM
4720 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4721 (setrlimit): Define as weak alias.
4722
c7405830
RM
4723 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4724 Call __ names for open, ftruncate, and close.
4725 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4726 (truncate): Define as weak alias.
4727
5bf96de5
JM
47282013-05-06 Joseph Myers <joseph@codesourcery.com>
4729
9ea3513c
JM
4730 * math/gen-libm-test.pl (parse_args): Initialize x before each
4731 test of frexp, modf and remquo.
4732
5bf96de5
JM
4733 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4734 test signgam value.
4735
16e616a7
AZ
47362013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4737
4738 [BZ #15418]
4739 [BZ #15419]
4740 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4741 internal tests.
4742 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4743
d5e82754
RM
47442013-05-06 Roland McGrath <roland@hack.frob.com>
4745
4746 * elf/dl-writev.h: New file.
4747 * elf/dl-misc.c: Include it.
4748 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4749 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4750
a7548d41
JM
47512013-05-04 Joseph Myers <joseph@codesourcery.com>
4752
b7dab1e4
JM
4753 * math/libm-test.inc (noXFails): Remove variable.
4754 (noXPasses): Likewise.
4755 (BUILD_COMPLEX_INT): Remove macro.
4756 (print_screen): Remove xfail argument.
4757 (print_screen_max_error): Likewise.
4758 (update_stats): Likewise.
4759 (print_max_error): Likewise. Update calls to other affected
4760 functions.
4761 (print_complex_max_error): Likewise.
4762 (test_single_exception): Update calls to print_screen.
4763 (test_single_errno): Likewise.
4764 (check_float_internal): Remove xfail argument. Update calls to
4765 other affected functions.
4766 (check_float): Likewise.
4767 (check_complex): Likewise.
4768 (check_int): Likewise.
4769 (check_long): Likewise.
4770 (check_bool): Likewise.
4771 (check_longlong): Likewise.
4772 (main): Don't print noXFails and noXPasses.
4773 * math/gen-libm-test.pl (top level): Don't mention expected
4774 failure handling in comment.
4775 (new_test): Don't handle expected failures.
4776 (parse_args): Don't mention expected failure handling in comment.
4777 (generate_testfile): Don't handle expected failures.
4778 (parse_ulps): Likewise.
4779 (print_ulps_file): Likewise.
4780 (get_failure): Remove function.
4781 (output_test): Don't handle expected failures.
4782 * make/README.libm-test: Don't mention expected failure handling.
4783
a7548d41
JM
4784 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4785 (minus_zero): Likewise.
4786 (plus_infty): Likewise.
4787 (minus_infty): Likewise.
4788 (qnan_value): Likewise.
4789 (max_value): Likewise.
4790 (min_value): Likewise.
4791 (min_subnorm_value): Likewise.
4792 (initialize): Do not initialize those variables dynamically.
4793
60bfd54c
RM
47942013-05-03 Roland McGrath <roland@hack.frob.com>
4795
cc0e6ed8
RM
4796 * io/open.c (__open_2): Moved to ...
4797 * io/open_2.c: ... this new file.
4798 * io/open64.c (__open64_2): Moved to ...
4799 * io/open64_2.c: ... this new file.
4800 * io/openat.c (__openat_2): Moved to ...
4801 * io/openat_2.c: ... this new file.
4802 * io/openat64.c (__openat64_2): Moved to ...
4803 * io/openat64_2.c: ... this new file.
4804 * io/Makefile (routines): Add them.
4805 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4806 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4807 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4808 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4809 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4810 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4811 (__openat64): Add hidden_ver.
4812 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4813 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4814
60bfd54c
RM
4815 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4816 Separately conditionalize setting of GLRO(dl_sysinfo) so
4817 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4818 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4819
83e7640f
AZ
48202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4821
4822 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4823 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4824 definition.
4825 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4826 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4827 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4828 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4829 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4830
d5dc2af3
JM
48312013-05-03 Joseph Myers <joseph@codesourcery.com>
4832
c31a5b1e
JM
4833 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4834 test signgam value.
4835
d5dc2af3
JM
4836 * math/libm-test.inc (hypot_test): Do not use
4837 IGNORE_ZERO_INF_SIGN.
4838
164fd39d
AJ
48392013-05-03 Andreas Jaeger <aj@suse.de>
4840
4841 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4842 Linux 3.9.
4843 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4844 (PF_MAX): Adjust for VSOCK change.
4845
8237f48c
AZ
48462013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4847
4848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4849
9df02941
CD
48502013-05-02 Carlos O'Donell <carlos@redhat.com>
4851
4852 [BZ #15264]
4853 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4854 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4855 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4856
d422395e
DM
48572013-05-02 David S. Miller <davem@davemloft.net>
4858
4859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4860
a07c5731
OB
48612013-05-01 Ondřej Bílka <neleai@seznam.cz>
4862
4863 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4864
1324e37f
RM
48652013-05-01 Roland McGrath <roland@hack.frob.com>
4866
4867 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4868
0695940b
RS
48692013-05-01 Richard Smith <richard@metafoo.co.uk>
4870
bb5f27ad 4871 [BZ #14952]
0695940b
RS
4872 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4873 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4874 Use __attribute__ ((__gnu_inline__)).
4875 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4876 Don't use __attribute__ ((__gnu_inline__)).
4877
10de07f5
JM
48782013-05-01 Joseph Myers <joseph@codesourcery.com>
4879
4880 [BZ #15423]
4881 * math/s_catan.c (__catan): Handle small real or imaginary part of
4882 input specially to avoid spurious underflow.
4883 * math/s_catanf.c (__catanf): Likewise.
4884 * math/s_catanh.c (__catanh): Likewise.
4885 * math/s_catanhf.c (__catanhf): Likewise.
4886 * math/s_catanhl.c (__catanhl): Likewise.
4887 * math/s_catanl.c (__catanl): Likewise.
4888 * math/libm-test.inc (catan_test): Add more tests.
4889 (catanh_test): Likewise.
4890 * sysdeps/i386/fpu/libm-test-ulps: Update.
4891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4892
cb4d5414
AZ
48932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4894
4895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4896
caf84319
JM
48972013-04-30 Joseph Myers <joseph@codesourcery.com>
4898
4899 [BZ #15416]
4900 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4901 accurately for denominator in atan2.
4902 * math/s_catanf.c (__catanf): Likewise.
4903 * math/s_catanh.c (__catanh): Likewise.
4904 * math/s_catanhf.c (__catanhf): Likewise.
4905 * math/s_catanhl.c (__catanhl): Likewise.
4906 * math/s_catanl.c (__catanl): Likewise.
4907 * math/libm-test.inc (catan_test): Add more tests.
4908 (catanh_test): Likewise.
4909 * sysdeps/i386/fpu/libm-test-ulps: Update.
4910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4911
d569c6ee
SP
49122013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4913
6dbe713d
SP
4914 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4915
f0ee064b
SP
4916 * benchtests/Makefile (bench): Remove slow benchmarks.
4917 * benchtests/atan-inputs: Add slow benchmark inputs.
4918 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4919 (BENCH_FUNC): Accept variant offset.
4920 (VARIANT): Define.
4921 * benchtests/bench-skeleton.c (main): Run benchmark for each
4922 variant.
4923 * benchtests/cos-inputs: Add slow benchmark inputs.
4924 * benchtests/exp-inputs: Likewise.
4925 * benchtests/pow-inputs: Likewise.
4926 * benchtests/sin-inputs: Likewise.
4927 * benchtests/slowatan-inputs: Remove.
4928 * benchtests/slowatan.c: Remove.
4929 * benchtests/slowcos-inputs: Remove.
4930 * benchtests/slowcos.c: Remove.
4931 * benchtests/slowexp-inputs: Remove.
4932 * benchtests/slowexp.c: Remove.
4933 * benchtests/slowpow-inputs: Remove.
4934 * benchtests/slowpow.c: Remove.
4935 * benchtests/slowsin-inputs: Remove.
4936 * benchtests/slowsin.c: Remove.
4937 * benchtests/slowtan-inputs: Remove.
4938 * benchtests/slowtan.c: Remove.
4939 * benchtests/tan-inputs: Add slow benchmark inputs.
4940 * scripts/bench.pl: Parse comments and directives.
4941
d569c6ee
SP
4942 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4943 in CPPFLAGS.
4944 ($(objpfx)bench-%.c): Remove *-ITER.
4945 * benchtests/bench-modf.c: Remove definition of ITER.
4946 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4947 (main): Loop for DURATION seconds instead of fixed number of
4948 iterations.
4949 * scripts/bench.pl: Don't expect iterations in parameters.
4950
a6a242fe
RM
49512013-04-29 Roland McGrath <roland@hack.frob.com>
4952
4953 * io/fchdir.c (__fchdir): Renamed from fchdir.
4954 (fchdir): Define as weak alias.
4955
f2da7793
JM
49562013-04-29 Joseph Myers <joseph@codesourcery.com>
4957
4958 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4959 (ERRNO_EDOM): Likewise.
4960 (ERRNO_ERANGE): Likewise.
4961 (noErrnoTests): New variable.
4962 (init_max_error): Set errno to 0.
4963 (test_single_errno): New function.
4964 (test_errno): Likewise.
4965 (check_float_internal): Call test_errno. Set errno to 0.
4966 (check_complex): Refer to errno tests in comment.
4967 (check_int): Call test_errno. Set errno to 0.
4968 (check_long): Likewise.
4969 (check_bool): Likewise.
4970 (check_longlong): Likewise.
4971 (cos_test): Use ERRNO_* flags for errno tests instead of
4972 check_int.
4973 (expm1_test): Likewise.
4974 (fmod_test): Likewise.
4975 (ilogb_test): Likewise.
4976 (lgamma_test): Likewise.
4977 (pow_test): Likewise.
4978 (remainder_test): Likewise.
4979 (sin_test): Likewise.
4980 (tan_test): Likewise.
4981 (yn_test): Likewise.
4982 (initialize): Set errno to 0.
4983 (main): Print number of errno tests.
4984 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4985
b1a36ceb
AJ
49862013-04-29 Andreas Jaeger <aj@suse.de>
4987
c3ed8088
AJ
4988 [BZ #15084]
4989 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4990 and RES_USEVC.
4991
f1a24198
AJ
4992 [BZ #15085]
4993 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4994 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4995 unimplemented.
4996
9ce3b2cb
AJ
4997 [BZ #15380]
4998 * stdlib/random.c (__initstate): Return NULL if
4999 __initstate fails.
5000
f1a24198 5001 [BZ #15086]
b1a36ceb
AJ
5002 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5003 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5004 RES_SNGLKUPREOP.
5005
7e7b6f36
AZ
50062013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5007
5008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5009
4d14f449
JM
50102013-04-29 Joseph Myers <joseph@codesourcery.com>
5011
5012 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5013 of individual tests.
5014 (casin_test): Likewise.
5015 (casinh_test): Likewise.
5016
5b4217d7
JM
50172013-04-27 Joseph Myers <joseph@codesourcery.com>
5018
5019 [BZ #15409]
5020 * math/s_catan.c (__catan): Handle arguments with large real or
5021 imaginary part separately without squaring.
5022 * math/s_catanf.c (__catanf): Likewise.
5023 * math/s_catanh.c (__catanh): Likewise.
5024 * math/s_catanhf.c (__catanhf): Likewise.
5025 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5026 and redefine.
5027 (__catanhl): Handle arguments with large real or imaginary part
5028 separately without squaring.
5029 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5030 and redefine.
5031 (__catanl): Handle arguments with large real or imaginary part
5032 separately without squaring.
5033 * math/libm-test.inc (catan_test): Add more tests.
5034 (catanh_test): Likewise.
5035 * sysdeps/i386/fpu/libm-test-ulps: Update.
5036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5037
4220c3ef
AJ
50382013-04-27 Andreas Jaeger <aj@suse.de>
5039
5040 [BZ #15007]
5041 * stdlib/stdlib.h: Update guards for qecvt.
5042 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5043 <stdlib.h>.
5044
4721b2d1
AM
50452013-04-27 Allan McRae <allan@archlinux.org>
5046
5047 * sysdeps/i386/fpu/libm-test-ulps: Update.
5048
f0302940
JM
50492013-04-26 Joseph Myers <joseph@codesourcery.com>
5050
9457fd95
JM
5051 [BZ #15406]
5052 * math/s_catan.c: Include <float.h>.
5053 (__catan): Ensure underflow exception occurs for underflowed
5054 result.
5055 * math/s_catanf.c: Include <float.h>.
5056 (__catanf): Ensure underflow exception occurs for underflowed
5057 result.
5058 * math/s_catanh.c: Include <float.h>.
5059 (__catanh): Ensure underflow exception occurs for underflowed
5060 result.
5061 * math/s_catanhf.c: Include <float.h>.
5062 (__catanhf): Ensure underflow exception occurs for underflowed
5063 result.
5064 * math/s_catanhl.c: Include <float.h>.
5065 (__catanhl): Ensure underflow exception occurs for underflowed
5066 result.
5067 * math/s_catanl.c: Include <float.h>.
5068 (__catanl): Ensure underflow exception occurs for underflowed
5069 result.
5070 * math/libm-test.inc (catan_test): Add more tests.
5071 (catanh_test): Likewise.
5072
f0302940
JM
5073 [BZ #15405]
5074 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5075 underflowed result.
5076 * math/s_ccoshf.c (__ccoshf): Likewise.
5077 * math/s_ccoshl.c (__ccoshl): Likewise.
5078 * math/s_csin.c (__csin): Likewise.
5079 * math/s_csinf.c (__csinf): Likewise.
5080 * math/s_csinh.c (__csinh): Likewise.
5081 * math/s_csinhf.c (__csinhf): Likewise.
5082 * math/s_csinhl.c (__csinhl): Likewise.
5083 * math/s_csinl.c (__csinl): Likewise.
5084 * math/libm-test.inc (ccos_test): Add more tests.
5085 (ccosh_test): Likewise.
5086 (csin_test): Likewise.
5087 (csinh_test): Likewise.
5088
aa630f59
AZ
50892013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090
5091 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5092 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5093 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5094 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5095 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5096 powerpc/power5+/fpu folders.
5097 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5098
5099
1b835983
MT
51002013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5101
5102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5103
73709b26
JM
51042013-04-25 Joseph Myers <joseph@codesourcery.com>
5105
5106 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5107 additions to variable.
5108 [$(config-machine) = x86_64] (modules-names): Likewise.
5109 ($(objpfx)tst-audit3): Remove dependency.
5110 ($(objpfx)tst-audit3.out): Likewise.
5111 ($(objpfx)tst-audit4): Likewise.
5112 ($(objpfx)tst-audit4.out): Likewise.
5113 ($(objpfx)tst-audit5): Likewise.
5114 ($(objpfx)tst-audit5.out): Likewise.
5115 ($(objpfx)tst-audit6): Likewise.
5116 ($(objpfx)tst-audit6.out): Likewise.
5117 ($(objpfx)tst-audit7): Likewise.
5118 ($(objpfx)tst-audit7.out): Likewise.
5119 (tst-audit3-ENV): Remove variable.
5120 (tst-audit4-ENV): Likewise.
5121 (tst-audit5-ENV): Likewise.
5122 (tst-audit6-ENV): Likewise.
5123 (tst-audit7-ENV): Likewise.
5124 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5125 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5126 addition to variable.
5127 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5128 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5129 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5130 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5131 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5132 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5133 tst-audit3, tst-audit4 and tst-audit5.
5134 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5135 tst-audit6 and tst-audit7.
5136 [$(subdir) = elf] (modules-names): Add audit modules for those
5137 tests.
5138 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5139 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5140 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5141 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5142 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5143 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5144 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5145 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5146 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5147 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5148 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5149 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5150 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5151 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5152 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5153 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5154 Likewise.
5155 [$(subdir) = elf && $(config-cflags-avx) = yes]
5156 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5157 [$(subdir) = elf && $(config-cflags-avx) = yes]
5158 (CFLAGS-tst-auditmod4a.c): Likewise.
5159 [$(subdir) = elf && $(config-cflags-avx) = yes]
5160 (CFLAGS-tst-auditmod4b.c): Likewise.
5161 [$(subdir) = elf && $(config-cflags-avx) = yes]
5162 (CFLAGS-tst-auditmod6b.c): Likewise.
5163 [$(subdir) = elf && $(config-cflags-avx) = yes]
5164 (CFLAGS-tst-auditmod6c.c): Likewise.
5165 [$(subdir) = elf && $(config-cflags-avx) = yes]
5166 (CFLAGS-tst-auditmod7b.c): Likewise.
5167 * elf/tst-audit3.c: Move to ...
5168 * sysdeps/x86_64/tst-audit3.c: ... here.
5169 * elf/tst-audit4.c: Move to ...
5170 * sysdeps/x86_64/tst-audit4.c: ... here.
5171 * elf/tst-audit5.c: Move to ...
5172 * sysdeps/x86_64/tst-audit5.c: ... here.
5173 * elf/tst-audit6.c: Move to ...
5174 * sysdeps/x86_64/tst-audit6.c: ... here.
5175 * elf/tst-audit7.c: Move to ...
5176 * sysdeps/x86_64/tst-audit7.c: ... here.
5177 * elf/tst-auditmod3a.c: Move to ...
5178 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5179 * elf/tst-auditmod3b.c: Move to ...
5180 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5181 * elf/tst-auditmod4a.c: Move to ...
5182 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5183 * elf/tst-auditmod4b.c: Move to ...
5184 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5185 * elf/tst-auditmod5a.c: Move to ...
5186 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5187 * elf/tst-auditmod5b.c: Move to ...
5188 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5189 * elf/tst-auditmod6a.c: Move to ...
5190 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5191 * elf/tst-auditmod6b.c: Move to ...
5192 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5193 * elf/tst-auditmod6c.c: Move to ...
5194 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5195 * elf/tst-auditmod7a.c: Move to ...
5196 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5197 * elf/tst-auditmod7b.c: Move to ...
5198 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5199
1ef74943
PP
52002013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5201
5202 [BZ #15366]
5203 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5204 define unconditionally.
5205 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5206 define unconditionally.
5207 (INT8_C, INT16_C, etc.): Likewise.
5208
93fd48c5
MR
52092013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5210
ae9552cf
MR
5211 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5212 __ehdr_start with hidden visibility.
5213
93fd48c5
MR
5214 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5215
418601aa
CD
52162013-04-24 Carlos O'Donell <carlos@redhat.com>
5217
5218 * math/libm-test.inc (cos_test): Use accurate hex constants.
5219 (sincost_test): Likewise.
5220
2f38fbfe
JM
52212013-04-24 Joseph Myers <joseph@codesourcery.com>
5222
5e221800
JM
5223 * math/libm-test.inc (catan_test): Add more tests.
5224 (catanh_test): Likewise.
5225
77f143fd
JM
5226 * math/s_catanf.c (__catanf): Use suffixed floating-point
5227 constants.
5228 * math/s_catanhf.c (__catanhf): Likewise.
5229 * math/s_catanhl.c (__catanhl): Likewise.
5230 * math/s_catanl.c (__catanl): Likewise.
5231
2f38fbfe
JM
5232 [BZ #15394]
5233 * math/s_catan.c (__catan): Calculate imaginary part of result
5234 with log1p not log unless computing log of number close to 0.
5235 * math/s_catanf.c (__catanf): Likewise.
5236 * math/s_catanl.c (__catanl): Likewise.
5237 * math/s_catanh.c (__catanh): Calculate real part of result with
5238 log1p not log unless computing log of number close to 0.
5239 * math/s_catanhf.c (__catanhf): Likewise.
5240 * math/s_catanhl.c (__catanhl): Likewise.
5241 * math/libm-test.inc (catan_test): Add more tests.
5242 (catanh_test): Likewise.
5243 * sysdeps/i386/fpu/libm-test-ulps: Update.
5244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5245
45d69176
SP
52462013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
5248 * benchtests/Makefile: Mention files in which fast and slow
5249 paths of math functions are implemented.
5250
87f51853
RM
52512013-04-23 Roland McGrath <roland@hack.frob.com>
5252
5253 * sysdeps/posix/timespec_get.c: New file.
5254
3c026539
AZ
52552013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5256
5257 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5258 POWER.
5259 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5260 for POWER.
5261 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5262 powerpc/power5/fpu folders.
5263 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5264 * benchtests/Makefile: Add modf testcase.
5265 * benchtests/bench-modf.c: New file: Benchmark test for mo
5266
ff491d14
SP
52672013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5268
5269 [BZ #14888]
5270 * time/Makefile (tests): Add tst-strptime-whitespace.
5271 * time/strptime_l.c (get_number): Use ISSPACE.
5272 (__strptime_internal): Likewise.
5273 * time/tst-strptime-whitespace.c: New test case.
5274
7ed3f4e8
AS
52752013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5276
5277 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5278 member.
5279 (_nss_files_init): Set it here.
5280
5c95f7b6
HC
52812013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5282
5283 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5284 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5285 unsigned.
5286
d34c9158
JBG
52872013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5288
5289 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5290
2169712d
SP
52912013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5292
5293 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5294 size just once.
5295
29c5de99
DM
52962013-04-21 David S. Miller <davem@davemloft.net>
5297
5298 * po/ru.po: Update Russion translation from translation project.
5299
ccdad15d
AC
53002013-04-17 Adam Conrad <adconrad@0c3.net>
5301
5302 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5303 and setfsgid.
5304
0f122b8d
CD
53052013-04-17 Carlos O'Donell <carlos@redhat.com>
5306
5c5b07da 5307 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5308 * configure: Regenerate.
5c5b07da 5309 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5310 Add example to error message.
5311 * sysdeps/i386/configure: Regenerate.
5312
037714dd
SP
53132013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5314
5315 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5316 slowtan.
5317 * benchtests/cos-inputs: New file.
5318 * benchtests/slowcos-inputs: New file.
5319 * benchtests/slowcos.c: New file.
5320 * benchtests/slowtan-inputs: New file.
5321 * benchtests/slowtan.c: New file.
5322 * benchtests/tan-inputs: New file.
5323
e913141d
RM
53242013-04-16 Roland McGrath <roland@hack.frob.com>
5325
5326 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5327 considered kosher.
5328
a2964074
SP
53292013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5330
4856bcd2
SP
5331 * benchtests/Makefile: Include cppflags-iterator.mk to add
5332 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5333
a2964074
SP
5334 * Makefile.in (bench-clean): New target.
5335 * benchtests/Makefile (bench-clean): Likewise.
5336
9fbf9aca
DH
53372013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5338
5339 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5340
207d1e2a
TS
53412013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5342
5343 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5344
306dfba9
AS
53452013-04-15 Andreas Schwab <schwab@suse.de>
5346
5347 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5348 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5349 * nscd/pwdcache.c (cache_addpw): Likewise.
5350 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5351 more than recsize.
5352
206a6699
SP
53532013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5354
5355 * benchtests/Makefile (bench): Write all output to
5356 bench-out.tmp together.
5357
0582f6b3
AS
53582013-04-15 Andreas Schwab <schwab@suse.de>
5359
5360 * nscd/nscd.c (main): Don't fork again after closing files.
5361
acb4325f
SP
53622013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5363
5cb26d0a
SP
5364 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5365
acb4325f
SP
5366 * benchtests/Rules (bench-deps): Collect dependencies into a
5367 single variable. Add Makefile to dependencies.
5368 ($(objpfx)bench-%.c): Depend on bench-deps.
5369
47792506
RM
53702013-04-12 Roland McGrath <roland@hack.frob.com>
5371 Xavier Roche <roche+kml2@exalead.com>
5372
5373 [BZ #15361]
5374 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5375 just that it's a file descriptor.
5376 * manual/llio.texi (Synchronizing AIO Operations): Update description
5377 for EBADF error from aio_fsync.
5378
8fc1bee5
SP
53792013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5380
5381 * Rules (bench): Move target definition...
5382 * benchtests/Makefile: ... here.
5383
aba5e333
CD
53842013-04-11 Carlos O'Donell <carlos@redhat.com>
5385
5386 * math/libm-test.inc (cos_test): Fix PI/2 test.
5387 (sincos_test): Likewise.
5388 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5389 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5390
273cdee8
AS
53912013-04-11 Andreas Schwab <schwab@suse.de>
5392
6ecec3b6
AS
5393 [BZ #13988]
5394 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5395 accept exponent character only when digits were seen.
5396 * stdio-common/Makefile (tests): Add bug26.
5397 * stdio-common/bug26.c: New file.
5398
273cdee8
AS
5399 [BZ #14293]
5400 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5401 non-freeable.
5402
8da491f5
SP
54032013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5404
01dc6df9
SP
5405 * Makeconfig (rtld-prefix): Define built linker prefix.
5406 * Rules (run-bench): Use it.
5407 * math/Makefile (run-regen-ulps): Likewise.
5408
8da491f5
SP
5409 * Rules (bench): Remove eval.
5410
abe7f530
SP
54112013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5412 Roland McGrath <roland@hack.frob.com>
5413 Ondrej Bilka <neleai@seznam.cz>
5414
5415 [BZ #15346]
5416 * time/getdate.c: Include ctype.h and alloca.h.
5417 (__getdate_r): Trim leading and trailing spaces of input.
5418 * time/tst-getdate.c (tests): Add tests with leading and
5419 trailing spaces.
5420
61c23e62
RM
54212013-04-08 Roland McGrath <roland@hack.frob.com>
5422
5423 [BZ #14280]
5424 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5425 when computing value.
5426
7208a313
CD
54272013-04-06 Carlos O'Donell <carlos@redhat.com>
5428
085b2d41
CD
5429 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5430 Use testrun.sh to run libm tests.
5431
7208a313
CD
5432 [BZ #15309]
5433 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5434
872c0acd
MM
54352013-04-06 Marko Myllynen <myllynen@redhat.com>
5436
5437 [BZ #15264]
5438 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5439
26510bdd
CD
54402013-04-06 Carlos O'Donell <carlos@redhat.com>
5441
5442 * Makefile.in (regen-ulps): New target.
5443 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5444 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5445 [ifneq (no,$(PERL)] (regen-ulps): New target.
5446 [ifeq (no,$(PERL)] (regen-ulps): New target.
5447 * math/libm-test.inc (ulps_file_name): Define.
5448 (output_dir): New variable.
5449 (options): Add "output-dir" option.
5450 (parse_opt): Handle 'o' case.
5451 (main): If output_dir is non-NULL use it as a prefix
5452 otherwise use "".
5453 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5454
a01f19c8
CD
54552013-04-06 Carlos O'Donell <carlos@redhat.com>
5456
5457 [BZ #10060, #10062]
5458 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5459 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5460 fail configure if __sync_val_compare_and_swap is not inlined.
5461 * sysdeps/i386/configure: Regenerate.
5462 * configure.in: Build for i686 when configured for i386.
5463 * configure: Regenerate.
5464 * README: Remove i386 reference.
5465
b7a329a5
CD
54662013-04-06 Carlos O'Donell <carlos@redhat.com>
5467
5468 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5469 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5470
bf0f50df
TS
54712013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5472
ee091edf
TS
5473 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5474 (lmsnanval): New variables.
5475 (F): Add conversion tests.
5476 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5477 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5478
a8b792d6
TS
5479 * stdio-common/tstdiomisc.c (F): Properly collect individual
5480 tests' results.
5481
a1cbf437
TS
5482 [BZ #14686, #15336]
5483 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5484 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5485 Instead, use input NaN values or generate a qNaN by arithmetic
5486 operation. Also fix bugs to comply with the standard.
5487 * math/libm-test.inc (remainder_test): Add more tests.
5488
8b43a0c9
TS
5489 [BZ #15335, #15342]
5490 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5492 input NaN values or generate a qNaN by arithmetic operation.
5493
d91da4ce
TS
5494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5495 unreachable code.
5496
bf0f50df
TS
5497 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5498 definitions.
5499
05e166c8
JM
55002013-04-03 Joseph Myers <joseph@codesourcery.com>
5501
5502 [BZ #14478]
5503 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5504 underflowed result.
5505 * math/s_cexpf.c (__cexpf): Likewise.
5506 * math/s_cexpl.c (__cexpl): Likewise.
5507 * math/libm-test.inc (cexp_test): Add more tests.
5508
1cef1b19
AS
55092013-04-03 Andreas Schwab <schwab@suse.de>
5510
5511 [BZ #15330]
5512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5513 order arrays from heap if bigger than alloca cutoff.
5514
74d87055
TS
55152013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5516
5517 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5518 (SNAN_TESTS_double): Refer to GCC PR56831.
5519 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5520 GCC PR56828.
5521
d755bba4
SP
55222013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5523
90d5d5bb
SP
5524 * Rules (bench): Move bench.out after the run is complete.
5525
73e0cd5d
SP
5526 * Rules (bench): Echo currently running benchmark.
5527
64aabd4b
SP
5528 * benchtests/Makefile (bench): Add atan and slowatan.
5529 * benchtests/atan-inputs: New file.
5530 * benchtests/slowatan-inputs: New file.
5531 * benchtests/slowatan.c: New file.
5532
c871eccd
SP
5533 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5534 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5535 its value.
5536
d755bba4
SP
5537 [BZ #15305]
5538 * sysdeps/unix/sysv/linux/kernel-features.h
5539 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5540 __ASSUME_XFS_RESTRICTED_CHOWN.
5541 * sysdeps/unix/sysv/linux/pathconf.c
5542 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5543 Save and restore errno.
5544
52ce4860
JM
55452013-04-02 Joseph Myers <joseph@codesourcery.com>
5546
5547 [BZ #15327]
5548 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5549 arguments using __kernel_casinh.
5550 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5551 arguments using __kernel_casinhf.
5552 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5553 arguments using __kernel_casinhl.
5554 * math/libm-test.inc (cacosh_test): Add more tests.
5555 * sysdeps/i386/fpu/libm-test-ulps: Update.
5556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557
81f311c2
SP
55582013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
e7906a47
SP
5560 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5562
92e3664b
SP
5563 * bench/Makefile (bench): Add sin and slowsin.
5564 * benchtests/sin-inputs: New file.
5565 * benchtests/slowsin-inputs: New file.
5566 * benchtests/slowsin.c: New file.
5567
81f311c2
SP
5568 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5569 (bench): Add slowexp and slowpow.
5570 (exp-ITER): Increase iterations.
5571 (pow-ITER): Likewise.
5572 * benchtests/exp-inputs: Change input.
5573 * benchtests/pow-inputs: Likewise.
5574 * benchtests/slowexp-inputs: New file.
5575 * benchtests/slowexp.c: New file.
5576 * benchtests/slowpow-inputs: New file.
5577 * benchtests/slowpow.c: New file.
5578
ab0f1aa9
AZ
55792013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5580
5581 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5582 instructions.
5583 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5584 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5585 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5586 * benchtests/Makefile: Add rint benchtest.
5587 * benchtests/rint-inputs: Input for rint benchtest.
5588
57267616
TS
55892013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5590
5591 * Versions.def (libm): Add GLIBC_2.18.
5592 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5593 hidden libm prototypes.
5594 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5595 * math/Makefile (libm-calls): Add s_issignaling.
5596 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5597 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5598 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5599 declaration.
5600 * math/math.h [__USE_GNU] (issignaling): New macro.
5601 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5602 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5607 * manual/arith.texi (issignaling): New section.
5608 * manual/libm-err-tab.pl (@all_functions): Update comment.
5609 * math/gen-libm-test.pl (parse_args): Apply special handling for
5610 issignaling.
5611 * math/libm-test.inc (print_float, issignaling_test): New
5612 functions.
5613 (check_float_internal): Add issignaling checks.
5614 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5615 default definition.
5616 * sysdeps/powerpc/math-tests.h: New file.
5617 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5618 tests.
5619 * math/test-snan.c (TEST_FUNC): Likewise.
5620
6142896d
DM
56212013-03-30 David S. Miller <davem@davemloft.net>
5622
5623 * po/de.po: Update from translation team.
5624
ccc8cadf
JM
56252013-03-30 Joseph Myers <joseph@codesourcery.com>
5626
5627 [BZ #10357]
5628 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5629 imaginary part less than 1.0 and real part less than 0.5
5630 specially.
5631 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5632 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5633 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5634 (cacos_test): Add more tests.
5635 (casin_test): Likewise.
5636 (casinh_test): Likewise.
5637 * sysdeps/i386/fpu/libm-test-ulps: Update.
5638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5639
0f6a8d4b
SP
56402013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5641
0d1029de
SP
5642 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5643 ONE with its value.
5644
c2d94018
SP
5645 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5646 (__pow_mp): Replace ONE and MONE with their values.
5647 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5649 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5650 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5651 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5652 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5653
27ec37f1
SP
5654 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5655
a64d7e0e
SP
5656 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5657 (__pow_mp): Replace ZERO and MZERO with their values.
5658 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5659 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5660 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5662 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5663 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5664 (__sqr): Likewise.
5665
d26dd3eb
SP
5666 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5667
0f6a8d4b
SP
5668 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5669
e57b0c61
RM
56702013-03-28 Roland McGrath <roland@hack.frob.com>
5671
5672 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5673 Declare with __attribute__ ((weak)).
5674 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5675 Call __call_tls_dtors only if it's not NULL.
5676
356b3480
RM
56772013-03-28 Roland McGrath <roland@hack.frob.com>
5678
288f7d79
RM
5679 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5680 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5681 magic __ehdr_start linker symbol if it's defined.
5682 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5683 them up here if it was already done.
5684
dc0a0263
RM
5685 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5686 (_dl_aux_init): Use const in cast when setting it.
5687 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5688 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5689 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5690
3d3436ae
RM
5691 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5692 Declare them here.
5693 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5694 * csu/libc-tls.c: Nor here.
5695 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5696
356b3480
RM
5697 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5698 (__libc_message): Never call vsyslog.
5699
b0f1246a
AM
57002013-03-28 Alan Modra <amodra@gmail.com>
5701
5702 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5703 Define as empty.
5704 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5705 Likewise.
5706
fbbe2b9a
AZ
57072013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708
5709 [BZ #15214]
5710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5711 underflow.
5712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5713
1728ab37
SP
57142013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5715
7a86be6e
SP
5716 [BZ #15304]
5717 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5718 Don't add gid passed as argument.
5719
1728ab37
SP
5720 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5721
3a7182a1
JM
57222013-03-27 Joseph Myers <joseph@codesourcery.com>
5723
5724 [BZ #15307]
5725 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5726 imaginary part between 1.0 and 1.5 and real part less than 0.5
5727 specially.
5728 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5729 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5730 * math/libm-test.inc (cacos_test): Add more tests.
5731 (casin_test): Likewise.
5732 (casinh_test): Likewise.
5733 * sysdeps/i386/fpu/libm-test-ulps: Update.
5734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5735
6f2e90e7
SP
57362013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5737
5739f705
SP
5738 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5739 constants.
5740 (norm): Likewise.
5741 (denorm): Likewise.
5742 (__dbl_mp): Likewise.
5743 (add_magnitudes): Likewise.
5744 (sub_magnitudes): Likewise.
5745 (__add): Likewise.
5746 (__sub): Likewise.
5747 (__mul): Likewise.
5748 (__sqr): Likewise.
5749 (__inv): Likewise.
5750 (__dvd): Likewise.
5751
e375e83d
SP
5752 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5753 commented code.
5754 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5755 (__dubcos): Likewise.
5756 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5757 (__ieee754_acos): Likewise.
5758 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5759 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5760 (__exp1): Likewise.
5761 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5763 (log1): Likewise.
5764 (my_log2): Likewise.
5765 (checkint): Likewise.
5766 * sysdeps/ieee754/dbl-64/e_remainder.c
5767 (__ieee754_remainder): Likewise.
5768 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5769 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5770 (bsloww): Likewise.
5771 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5772
6f2e90e7
SP
5773 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5774 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5775 MANTISSA_STORE_T to store computations on mantissa. Use
5776 macros for rounding and division.
5777 (denorm): Likewise.
5778 (__dbl_mp): Likewise.
5779 (add_magnitudes): Likewise.
5780 (sub_magnitudes): Likewise.
5781 (__mul): Likewise.
5782 (__sqr): Likewise.
5783 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5784 powers of two in terms of TWOPOW macro.
5785 (mp_no): Make type of mantissa as MANTISSA_T.
5786 [!RADIXI]: Define RADIXI.
5787 [!TWO52]: Define TWO52.
5788 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5789
fce14d4e
AZ
57902013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791
5792 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5793 llroundl symbol when building for PPC32.
5794
9ad027fb
MW
57952013-03-24 Mark H Weaver <mhw@netris.org>
5796
5797 * manual/arith.texi (Normalization Functions): Fix prototypes for
5798 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5799
e42a38dd
AZ
58002013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801
5802 [BZ #13889]
5803 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5804 high value to check if expl overflow.
5805 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5806 to check for underflow and overflow.
5807 * math/libm-test.inc: Add exp test.
5808
2e0fb521
DL
58092013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5810
5811 [BZ #11120]
5812 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5813 with NOT_IN_libc.
5814
b5784d95
AZ
58152013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5816
5817 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5818 symbol.
5819
5aa4a1a1
TS
58202013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5821
bdef0be7
TS
5822 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5823 wrap blocks consisting of several statements.
5824
5aa4a1a1
TS
5825 * sysdeps/generic/math-tests.h: New file.
5826 * sysdeps/i386/fpu/math-tests.h: Likewise.
5827 * math/test-snan.c: Include it.
5828 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5829
98c48fe5
JM
58302013-03-21 Joseph Myers <joseph@codesourcery.com>
5831
5832 [BZ #15285]
5833 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5834 (__ieee754_j0l): Do not improve calculations using cos of twice
5835 input for inputs above LDBL_MAX / 2.0L.
5836 (__ieee754_y0l): Likewise.
5837 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5838 (__ieee754_j1l): Do not improve calculations using cos of twice
5839 input for inputs above LDBL_MAX / 2.0L.
5840 (__ieee754_y1l): Likewise.
5841 * math/libm-test.inc (j0_test): Add another test.
5842 (j1_test): Likewise.
5843 (y0_test): Likewise.
5844 (y1_test): Likewise.
5845 * sysdeps/i386/fpu/libm-test-ulps: Update.
5846
3775a8bc
SP
58472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5848
5849 * Rules ($(objpfx)bench-%.c): Include code from a C source
5850 file.
5851
0a1b2ae6
JM
58522013-03-21 Joseph Myers <joseph@codesourcery.com>
5853
5854 [BZ #15287]
5855 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5856 imaginary part 1.0 and real part less than 0.5 specially.
5857 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5858 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5859 * math/libm-test.inc (cacos_test): Add more tests.
5860 (casin_test): Likewise.
5861 (casinh_test): Likewise.
5862 * sysdeps/i386/fpu/libm-test-ulps: Update.
5863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5864
b33d4ce4
SP
58652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5866
5867 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5868 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5869
bef0b507
JM
58702013-03-20 Joseph Myers <joseph@codesourcery.com>
5871
5872 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5873 * config.make.in (config-cflags-sse4): Remove variable.
5874 (config-cflags-avx): Likewise.
5875 (config-cflags-sse2avx): Likewise.
5876 (config-cflags-novzeroupper): Likewise.
5877 (config-asflags-i686): Likewise.
5878 (have-mfma4): Likewise.
5879 (have-as-vis3): Likewise.
5880 (MIG): Likewise.
5881 * configure.in (MIG): Do not AC_SUBST.
5882 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5883 (libc_cv_cc_sse4): Do not AC_SUBST.
5884 (libc_cv_cc_avx): Likewise.
5885 (libc_cv_cc_sse2avx): Likewise.
5886 (libc_cv_cc_novzeroupper): Likewise.
5887 (libc_cv_cc_fma4): Likewise.
5888 (libc_cv_as_i686): Likewise.
5889 (libc_cv_sparc_as_vis3): Likewise.
5890 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5891 LIBC_CONFIG_VAR.
5892 (config-asflags-i686): Likewise.
5893 (config-cflags-avx): Likewise.
5894 (config-cflags-sse2avx): Likewise.
5895 (have-mfma4): Likewise.
5896 (config-cflags-novzeroupper): Likewise.
5897 * sysdeps/mach/configure.in (MIG): Likewise.
5898 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5899 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5900 LIBC_CONFIG_VAR.
5901 (config-cflags-avx): Likewise.
5902 (config-cflags-sse2avx): Likewise.
5903 (have-mfma4): Likewise.
5904 (config-cflags-novzeroupper): Likewise.
5905 * configure: Regenerated.
5906 * sysdeps/i386/configure: Likewise.
5907 * sysdeps/mach/configure: Likewise.
5908 * sysdeps/sparc/configure: Likewise.
5909 * sysdeps/x86_64/configure: Likewise.
5910
912cc4b3
RM
59112013-03-20 Roland McGrath <roland@hack.frob.com>
5912
5913 [BZ #14812]
5914 * locale/programs/localedef.c (options): Put N_ translation marker
5915 on argument names, not just descriptions.
5916
04eed2b0
MS
59172013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5918
5919 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5920
a065ceff
OB
59212013-03-20 Ondřej Bílka <neleai@seznam.cz>
5922
9bb2a810 5923 [BZ #14176]
a065ceff
OB
5924 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5925
a600e5ce
RM
59262013-03-19 Roland McGrath <roland@hack.frob.com>
5927
5928 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5929 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5930 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5931 [!BEFORE_ABORT] (before_abort): New function.
5932 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5933 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5934 (writev_for_fatal): New function.
5935 (WRITEV_FOR_FATAL): New macro; call that.
5936 (backtrace_and_maps): New function.
5937 (BEFORE_ABORT): New macro; call that.
5938 (struct str_list): Type removed.
5939 (__libc_message, __libc_fatal): Functions removed.
5940 Include <sysdeps/posix/libc_fatal.c> instead.
5941
6b18bea6
JM
59422013-03-19 Joseph Myers <joseph@codesourcery.com>
5943
5944 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5945 constants.
5946 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5947 double constants.
5948
aaa8cb4b
AS
59492013-03-19 Andreas Schwab <schwab@suse.de>
5950
44673770
AS
5951 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5952 * sysdeps/gnu/configure: Regenerate.
5953
aaa8cb4b
AS
5954 * configure.in: Substitute libc_cv_rtlddir.
5955 * configure: Regenerate.
5956 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5957 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5958 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5959 * elf/Makefile (install-others, CFLAGS-interp.c)
5960 (ldso_install, common-ldd-rewrite): Likewise.
5961 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5962 $(inst_slibdir)/$(rtld-installed-name).
5963 * scripts/rellns-sh: Add -p option.
5964 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5965 for source.
5966
d3cfc668
SP
59672013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5968
5969 * manual/nptl.texi: Renamed to ...
5970 * manual/threads.texi: ... this.
5971 * manual/Makefile (chapters): Update.
5972
0e2b9cdd
RM
59732013-03-18 Roland McGrath <roland@hack.frob.com>
5974
5975 [BZ #14812]
5976 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5977 on argument names, not just descriptions.
0e2b9cdd
RM
5978 * malloc/memusagestat.c (options): Likewise.
5979 * nss/getent.c (options): Likewise.
63270c24
RM
5980
59812013-03-18 Benno Schulenberg <bensberg@justemail.net>
5982
5983 [BZ #14812]
5984 * iconv/iconv_prog.c (options): Put N_ translation marker
5985 on argument names, not just descriptions.
5986 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5987
b2e1393c
OB
59882013-03-18 Ondrej Bilka <neleai@seznam.cz>
5989
5990 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5991 implementation which is faster on all x86_64 architectures.
5992 Tested on AMD, Intel Nehalem, SNB, IVB.
5993 * sysdeps/x86_64/strnlen.S: Likewise.
5994
5995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5996 Remove all multiarch strlen and strnlen versions.
5997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5998 Remove strlen and strnlen related parts.
5999
6000 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6001 Inline strlen part.
6002 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6003
6004 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6005 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6006 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6007 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6008 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6009 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6010
ec4ff04d
CD
60112013-03-17 Carlos O'Donell <carlos@redhat.com>
6012
6013 * manual/memory.texi (Malloc Tunable Parameters):
6014 Sort parameters alphabetically. Add comments for missing entries.
6015
cd18e90a
DM
60162013-03-17 David S. Miller <davem@davemloft.net>
6017
6018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6019
2a185d32
JM
60202013-03-16 Joseph Myers <joseph@codesourcery.com>
6021
d2f9799e
JM
6022 [BZ #15283]
6023 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6024 for arguments at most half maximum finite value.
6025 * math/libm-test.inc (j0_test): Add more tests.
6026 (j1_test): Likewise.
6027 (y0_test): Likewise.
6028 (y1_test): Likewise.
6029 * sysdeps/i386/fpu/libm-test-ulps: Update.
6030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031
2a185d32
JM
6032 [BZ #14155]
6033 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6034 1 / x and functions P and Q for arguments above 0x1p256L.
6035 (__ieee754_y0l): Likewise.
6036 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6037 (__ieee754_y1l): Likewise.
6038 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6039 (j1_test): Likewise.
6040 (y0_test): Likewise.
6041 (y1_test): Likewise.
6042
6cbec759
TS
60432013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6044
6045 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6046 variable.
6047
bc16e260
RM
60482013-03-15 Roland McGrath <roland@hack.frob.com>
6049
aefc9b8c
RM
6050 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6051 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6052 zero since it's initialized to EXEC_PAGESIZE.
6053
bc16e260
RM
6054 * sysdeps/unix/sysv/linux/ldsodefs.h
6055 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6056 * sysdeps/generic/ldsodefs.h: ... here.
6057
a57da955
TS
60582013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6059
af00a34d
TS
6060 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6061
495ded2c
TS
6062 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6063 math/test-snan.c.
6064 * math/test-snan.c: Renamed from
6065 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6066 * math/Makefile (tests): Add test-snan.
6067 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6068 test-powerpc-snan.
6069
777b0332
TS
6070 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6071 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6072 functions.
6073 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6074 __builtin_nan family of functions.
6075 * math/libm-test.inc (initialize): Initialize qnan_value with
6076 __builtin_nan family of functions.
6077 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6078 Remove variables.
6079 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6080 Remove functions.
6081 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6082 storage class. Initialize qNaN_var and sNaN_var with
6083 __builtin_nan and __builtin_nans families of functions,
6084 respectively.
6085
64d063b8
TS
6086 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6087 (sqrt_test): Remove duplicate test with qNaN input.
6088 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6089 (round_test, signbit_test, significand_test): Note missing +/-Inf
6090 as well as qNaN tests.
6091
67e971f1
TS
6092 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6093 qNaN_var. Fix a few strings, too.
6094 * math/libm-test.inc (nan_value): Rename to qnan_value.
6095 * math/gen-libm-test.pl (%beautify): Adjust to that.
6096 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6097 * math/test-misc.c (main): Likewise.
6098 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6099 to __qnan_bytes, and __qnan_union, respectively.
6100 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6101 Likewise.
6102 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6103 and lqnanval, respectively.
6104 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6105 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6106 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6107 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6108
64487e12
TS
6109 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6110 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6111 doubles.
6112
e015e27b
TS
6113 * math/test-misc.c (main): Fix copy'n'pastos.
6114 * misc/tst-efgcvt.c (special): Likewise.
6115
a57da955
TS
6116 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6117 Remove declarations.
6118
1e380345
SP
61192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6120
6121 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6122 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6123 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6124 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6125
ef26eece
AZ
61262013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6127
6128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6129 macro to return vdso values correctly in IFUNC implementations.
6130 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6131 Optimization by using IFUNC.
6132
8cfdb7e0
SP
61332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6134 Richard Henderson <rth@redhat.com>
6135 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6136
6137 * Makefile.in (bench): New target.
6138 * NEWS: Mention the benchmark framework.
6139 * Rules (bench): Likewise.
6140 (binaries-bench): Generate binaries for functions to
6141 benchmark.
6142 * benchtests/Makefile: New makefile for benchmark tests.
6143 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6144 programs.
6145 * benchtests/exp-inputs: New input file for EXP function.
6146 * benchtests/pow-inputs: New input file for POW function.
6147 * scripts/bench.pl: New script to generate source files for
6148 benchmark programs.
6149
bcda9880
SP
61502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6151
d22ca8cd
SP
6152 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6153 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6154 computations on mantissa. Use macros for rounding and
6155 division.
6156 (denorm): Likewise.
6157 (__dbl_mp): Likewise.
6158 (add_magnitudes): Likewise.
6159 (sub_magnitudes): Likewise.
6160 (__mul): Likewise.
6161 (__sqr): Likewise.
6162 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6163 powers of two in terms of TWOPOW macro.
6164 (mp_no): Make type of mantissa as MANTISSA_T.
6165 [!RADIXI]: Define RADIXI.
6166 [!TWO52]: Define TWO52.
6167 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6168
bcda9880
SP
6169 * manual/nptl.texi (cindex): Modify threads to pthreads.
6170
06d5adfb
JM
61712013-03-15 Joseph Myers <joseph@codesourcery.com>
6172
6173 * sysdeps/x86_64/preconfigure: Regenerated.
6174
41c7328e
JM
61752013-03-14 Joseph Myers <joseph@codesourcery.com>
6176
6177 [BZ #14155]
6178 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6179 0x1p28 and above.
6180 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6181 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6182 0x1p28 and above.
6183 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6184 * math/libm-test.inc (j0_test): Do not allow one spurious
6185 underflow exception.
6186 (y1_test): Likewise.
6187
e25cfa60
SP
61882013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6189
0409959c
SP
6190 * manual/Makefile (chapters): Add nptl.
6191 * manual/debug.texi (Debugging Support): Add link to Threads
6192 chapter.
6193 * manual/nptl.texi: New file.
6194
e25cfa60
SP
6195 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6196
58a1335e
PB
61972013-03-14 Petr Baudis <pasky@ucw.cz>
6198
6199 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6200 for non-NULL pointer before the memory validity test. Pointed
6201 out by Holger Brunck <holger.brunck@keymile.com>.
6202
9dc7c64f
AS
62032013-03-13 Andreas Schwab <schwab@suse.de>
6204
6205 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6206 instead of .os.
6207
54206aa6
JM
62082013-03-13 Joseph Myers <joseph@codesourcery.com>
6209
6210 * timezone/zic.c: Update from tzcode 2013b.
6211
e98cdb38
CD
62122013-03-12 Carlos O'Donell <carlos@redhat.com>
6213
6214 * manual/install.texi (Configuring and compiling):
6215 Mention i686 and i586.
6216 * INSTALL: Regenerate.
6217
9967e003
RM
62182013-03-12 Roland McGrath <roland@hack.frob.com>
6219
6220 * sysdeps/init_array/elf-init.c: New file.
6221 * csu/elf-init.c
6222 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6223 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6224
6225 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6226 __gmon_start__ as global, but as static with a .preinit_array pointer.
6227 * sysdeps/init_array/gmon-start.c: New file. Use that.
6228 * sysdeps/init_array/crti.S: New file, empty except for comments.
6229 * sysdeps/init_array/crtn.S: Likewise.
6230
e6b5a293 62312013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6232
6233 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6234 definining bcopy.
80f844c9
OB
6235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6236 Remove Prefer_SSE_for_memop.
6237 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6238 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6239 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6241 memset-x86-64.
80f844c9 6242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6243 Remove bzero, memset ifunc support.
80f844c9
OB
6244 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6245 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6246 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6247 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6248
fb6b0fcb
AS
62492013-03-11 Andreas Schwab <schwab@suse.de>
6250
6251 [BZ #15234]
6252 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6253 by SHLIB_COMPAT.
6254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6255 (GLIBC_2.16): Remove pthread_atfork.
6256
3e6bd4b1
PP
62572013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6258
6259 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6260 (ptestcases.h): Likewise.
6261
222d7f00
RM
62622013-03-08 Roland McGrath <roland@hack.frob.com>
6263
6264 * Makeconfig ($(common-objpfx)config.status): Depend on
6265 sysdeps/*/preconfigure{,.in} too.
6266
1ba4f030
JM
62672013-03-08 Joseph Myers <joseph@codesourcery.com>
6268
a222d91a
JM
6269 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6270 (__free_hook): Use void * instead of __malloc_ptr_t.
6271 (__malloc_hook): Likewise.
6272 (__realloc_hook): Likewise.
6273 (__memalign_hook): Likewise.
6274 (__after_morecore_hook): Likewise.
6275 * malloc/arena.c (save_malloc_hook): Likewise.
6276 (save_free_hook): Likewise.
6277 * malloc/hooks.c (malloc_hook_ini): Likewise.
6278 (realloc_hook_ini): Likewise.
6279 (memalign_hook_ini): Likewise.
6280 * malloc/malloc.c (malloc_hook_ini): Likewise.
6281 (realloc_hook_ini): Likewise.
6282 (memalign_hook_ini): Likewise.
6283 (__free_hook): Likewise.
6284 (__malloc_hook): Likewise.
6285 (__realloc_hook): Likewise.
6286 (__memalign_hook): Likewise.
6287 (__libc_malloc): Likewise.
6288 (__libc_free): Likewise.
6289 (__libc_realloc): Likewise.
6290 (__libc_memalign): Likewise.
6291 (__libc_valloc): Likewise.
6292 (__libc_pvalloc): Likewise.
6293 (__libc_calloc): Likewise.
6294 (__posix_memalign): Likewise.
6295 * malloc/morecore.c (__sbrk): Likewise.
6296 (__default_morecore): Likewise.
6297
5cc45e10
JM
6298 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6299
dd54b864
JM
6300 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6301 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6302 __malloc_ptrdiff_t.
6303
1ba4f030
JM
6304 * malloc/malloc.h (__malloc_size_t): Remove macro.
6305 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6306 __malloc_size_t.
6307 (old_memalign_hook): Likewise.
6308 (old_realloc_hook): Likewise.
6309 (struct hdr): Likewise.
6310 (flood): Likewise.
6311 (mallochook): Likewise.
6312 (memalignhook): Likewise.
6313 (reallochook): Likewise.
6314 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6315 (tr_old_realloc_hook): Likewise.
6316 (tr_old_memalign_hook): Likewise.
6317 (tr_mallochook): Likewise.
6318 (tr_reallochook): Likewise.
6319 (tr_memalignhook): Likewise.
6320
edf66e57
AZ
63212013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6322
6323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6324 default_ldbl_pack and using as default implementation.
6325 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6326 implementation.
6327 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6328 redundant definition.
6329 (ldbl_insert_mantissa): Likewise.
6330 (ldbl_canonicalize): Likewise.
6331 (ldbl_nearbyint): Likewise.
6332 (ldbl_pack): Rename to ldbl_pack_ppc.
6333 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6334 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6335 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6336
6d9145d8
SP
63372013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6338
6339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6340 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6341 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6342 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6344 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6345 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6346 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6347
4dd4e157
AJ
63482013-03-07 Andreas Jaeger <aj@suse.de>
6349
6350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6351 bits/mman-linux.h.
6352
adbb8027
SP
63532013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6354
ce544b5b
SP
6355 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6356 Include mpa.h and declare __MPEXP.
6357 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6358 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6359 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6360 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6361 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6362 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6363 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6364
4cc149fd
SP
6365 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6366 (__slowpow): Use long double EXPL and LOGL functions to
6367 compute POW.
6368 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6369 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6370 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6371 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6372 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6373 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6374
e6ebd4a7
SP
6375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6376 intermediate variable to calculate exponent.
6377 (__sqr): Likewise.
6378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6379 Likewise.
6380 (__sqr): Likewise.
6381
82a9811d
SP
6382 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6383 [!NO__SQR]: Define __sqr.
6384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6385 and NO__SQR. Remove all code except __mul and __sqr. Include
6386 sysdeps/ieee754/dbl-64/mpa.c.
6387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6388
adbb8027
SP
6389 [BZ #12723]
6390 * posix/Makefile (tests): Add tst-pathconf.
6391 * posix/tst-pathconf.c: New test case.
6392 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6393 _PC_PIPE_BUF.
6394 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6395
39120df9
PF
63962013-03-06 Patsy Franklin <pfrankli@redhat.com>
6397
6398 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6399
67525cb8
AJ
64002013-03-06 Andreas Jaeger <aj@suse.de>
6401
664a9ce4
AJ
6402 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6403 definition via __MAP_ANONYMOUS.
6404
8e39047d
AJ
6405 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6406 it's not part of Linux headers.
6407
67525cb8
AJ
6408 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6409 (MAP_HUGE_MASK): Define.
6410
6411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6412 Define.
6413 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6414 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6415 Define.
6416 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6417 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6418 Define.
6419 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6420 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6421 Define.
6422 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6423
6424 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6425 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6426 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6427 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6428 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6429 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6430
6431 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6432 Handle f2fs.
6433
6434 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6435 Handle f2fs and efivarfs.
6436
6437 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6438 f2fs.
6439
6440 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6441 (EFIVARFS_MAGIC): Add.
6442 (F2FS_LINK_MAX): Add.
6443
e1b42695
PP
64442013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6445
6446 * stdio-common/vfprintf.c: Replace __builtin_expect with
6447 __glibc_unlikely.
6448
2d67d91a
JM
64492013-03-06 Joseph Myers <joseph@codesourcery.com>
6450
6451 [BZ #13550]
6452 * sysdeps/generic/bp-sym.h: Remove file.
6453 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6454 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6455 <bp-sym.h> and <bp-asm.h>.
6456 (__longjmp): Don't use BP_SYM.
6457 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6458 and <bp-asm.h>.
6459 (memcpy): Don't use BP_SYM.
6460 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6461 <bp-sym.h> and <bp-asm.h>.
6462 (memcpy): Don't use BP_SYM.
6463 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6464 <bp-asm.h>.
6465 (memcpy): Don't use BP_SYM.
6466 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6467 <bp-asm.h>.
6468 (memset): Don't use BP_SYM.
6469 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6470 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6471 (__bzero): Don't use BP_SYM.
6472 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6473 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6474 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6475 <bp-sym.h> and <bp-asm.h>.
6476 (memcmp): Don't use BP_SYM. Remove comment about bounded
6477 pointers.
6478 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6479 <bp-sym.h> and <bp-asm.h>.
6480 (memcpy): Don't use BP_SYM.
6481 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6482 <bp-sym.h> and <bp-asm.h>.
6483 (memset): Don't use BP_SYM.
6484 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6485 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6486 (__bzero): Don't use BP_SYM.
6487 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6488 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6489 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6490 <bp-sym.h> and <bp-asm.h>.
6491 (strncmp): Don't use BP_SYM. Remove comment about bounded
6492 pointers.
6493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6494 <bp-sym.h> and <bp-asm.h>.
6495 (memcpy): Don't use BP_SYM.
6496 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6497 <bp-sym.h> and <bp-asm.h>.
6498 (memset): Don't use BP_SYM.
6499 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6500 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6501 (__bzero): Don't use BP_SYM.
6502 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6503 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6504 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6505 <bp-sym.h> and <bp-asm.h>.
6506 (__memchr): Don't use BP_SYM.
6507 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6508 <bp-sym.h> and <bp-asm.h>.
6509 (memcmp): Don't use BP_SYM. Remove comment about bounded
6510 pointers.
6511 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6512 <bp-sym.h> and <bp-asm.h>.
6513 (memcpy): Don't use BP_SYM.
6514 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6515 <bp-sym.h> and <bp-asm.h>.
6516 (__mempcpy): Don't use BP_SYM.
6517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6518 <bp-sym.h> and <bp-asm.h>.
6519 (__memrchr): Don't use BP_SYM.
6520 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6521 <bp-sym.h> and <bp-asm.h>.
6522 (memset): Don't use BP_SYM.
6523 (__bzero): Likewise.
6524 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6525 <bp-sym.h> and <bp-asm.h>.
6526 (__rawmemchr): Don't use BP_SYM.
6527 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6528 <bp-sym.h> and <bp-asm.h>.
6529 (__STRCMP): Don't use BP_SYM.
6530 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6531 <bp-sym.h> and <bp-asm.h>.
6532 (strchr): Don't use BP_SYM.
6533 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6534 <bp-sym.h> and <bp-asm.h>.
6535 (__strchrnul): Don't use BP_SYM.
6536 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6537 <bp-sym.h> and <bp-asm.h>.
6538 (strlen): Don't use BP_SYM.
6539 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6540 <bp-sym.h> and <bp-asm.h>.
6541 (strncmp): Don't use BP_SYM. Remove comment about bounded
6542 pointers.
6543 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6544 <bp-sym.h> and <bp-asm.h>.
6545 (__strnlen): Don't use BP_SYM.
6546 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6547 <bp-sym.h> and <bp-asm.h>.
6548 (__GI__setjmp): Don't use BP_SYM.
6549 (_setjmp): Likewise.
6550 (__sigsetjmp): Likewise.
6551 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6552 (L(start_addresses)): Don't use BP_SYM.
6553 (_start): Likewise.
6554 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6555 <bp-asm.h>.
6556 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6557 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6558 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6559 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6560 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6561 <bp-asm.h>.
6562 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6563 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6564 about bounded pointers.
6565 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6566 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6567 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6568 <bp-asm.h>.
6569 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6570 about bounded pointers. Remove GKM FIXME comments.
6571 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6572 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6573 <bp-asm.h>.
6574 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6575 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6576 Remove GKM FIXME comments.
6577 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6578 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6579 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6580 <bp-asm.h>.
6581 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6582 about bounded pointers. Remove GKM FIXME comment.
6583 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6584 and <bp-asm.h>.
6585 (strncmp): Don't use BP_SYM. Remove comment about bounded
6586 pointers.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6588 <bp-sym.h> and <bp-asm.h>.
6589 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6591 <bp-sym.h> and <bp-asm.h>.
6592 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6593 comment.
6594
cdcf361f
PP
65952013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6596
6597 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6598 call free(NULL).
6599
3c4a2b15
DM
66002013-03-05 David S. Miller <davem@davemloft.net>
6601
6602 * po/es.po: Update from translation team.
6603
cdcf361f 66042013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6605
6606 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6607 <bits/mman-linux.h>.
6608 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6609 is fine.
6610 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6611 <bits/mman-linux.h> to end of file.
6612 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6613 is fine.
6614 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6615 <bits/mman-linux.h> to end of file.
6616 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6617 is fine.
6618 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6619 <bits/mman-linux.h> to end of file.
6620
6621 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6622 (MCL_CURRENT, MCL_FUTURE): Define here.
6623
5f67c04f
AK
66242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6625
8a4473cc 6626 [BZ #15232]
5f67c04f
AK
6627 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6628 attribute_hidden.
6629 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6630
c3e94a95
AK
66312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6632
6633 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6634 fourth parameter needed for rt_sigprocmask syscall.
6635 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6636 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6637 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6638 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6639 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6640 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6641
cfb6382a
JM
66422013-03-04 Joseph Myers <joseph@codesourcery.com>
6643
6644 [BZ #13550]
6645 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6646 comment about bounded pointers.
6647 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6648 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6649
539d8e01
AJ
66502013-03-04 Andreas Jaeger <aj@suse.de>
6651
6652 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6653 common definitions.
6654
6655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6656 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6657 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6658 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6659 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6661
2e167a70 66622013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6663
6664 [BZ #15055]
6665 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6666 __ieee754_sqrl instead of __sqrl.
6667
68508633
JM
66682013-03-01 Joseph Myers <joseph@codesourcery.com>
6669
6670 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6671 * sysdeps/powerpc/fpu_control.h: ... here.
6672 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6673 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6674 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6675 * sysdeps/powerpc/bits/mathinline.h: ... here.
6676
7775448e
RM
66772013-03-01 Roland McGrath <roland@hack.frob.com>
6678
6679 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6680 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6681 to just [NEED_DL_SYSINFO_DSO].
6682 * elf/dl-support.c: Likewise.
6683 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6684 * elf/rtld.c (dl_main): Likewise.
6685 * elf/setup-vdso.h (setup_vdso): Likewise.
6686 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6687 * sysdeps/unix/sysv/linux/dl-sysdep.c
6688 (_dl_discover_osversion): Likewise.
6689
4e9b5995
CD
66902013-03-01 Carlos O'Donell <carlos@redhat.com>
6691
6692 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6693 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6694
e23872c8
SP
66952013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6696
e5c74c63
SP
6697 * NEWS: Mention libm performance improvements and non-x86 PI
6698 futex support.
6699
e23872c8
SP
6700 * csu/libc-start.c (__pthread_initialize_minimal): Change
6701 function arguments.
6702 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6703
b5510883
JM
67042013-02-28 Joseph Myers <joseph@codesourcery.com>
6705
6706 [BZ #13550]
6707 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6708 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6709 <bp-sym.h> and <bp-asm.h>.
6710 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6711 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6712 and <bp-asm.h>.
6713 (memcpy): Don't use BP_SYM.
6714 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6715 <bp-asm.h>.
6716 (__mpn_add_n): Don't use BP_SYM.
6717 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6718 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6719 and <bp-asm.h>.
6720 (__mpn_addmul_1): Don't use BP_SYM.
6721 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6722 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6723 <bp-sym.h>.
6724 (_setjmp): Don't use BP_SYM.
6725 (__novmx_setjmp): Likewise.
6726 (__GI__setjmp): Likewise.
6727 (__vmx_setjmp): Likewise.
6728 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6729 <bp-sym.h>.
6730 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6731 (__bzero): Don't use BP_SYM.
6732 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6733 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6734 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6735 <bp-sym.h> and <bp-asm.h>.
6736 (memcpy): Don't use BP_SYM.
6737 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6738 <bp-sym.h> and <bp-asm.h>.
6739 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6740 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6741 <bp-sym.h> and <bp-asm.h>.
6742 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6743 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6744 <bp-asm.h>.
6745 (__mpn_lshift): Don't use BP_SYM.
6746 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6747 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6748 <bp-asm.h>.
6749 (memset): Don't use BP_SYM.
6750 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6751 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6752 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6753 <bp-asm.h>.
6754 (__mpn_mul_1): Don't use BP_SYM.
6755 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6756 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6757 <bp-sym.h> and <bp-asm.h>.
6758 (memcmp): Don't use BP_SYM.
6759 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6760 <bp-sym.h> and <bp-asm.h>.
6761 (memcpy): Don't use BP_SYM.
6762 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6763 <bp-sym.h> and <bp-asm.h>.
6764 (memset): Don't use BP_SYM.
6765 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6766 <bp-sym.h> and <bp-asm.h>.
6767 (strncmp): Don't use BP_SYM.
6768 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6769 <bp-sym.h> and <bp-asm.h>.
6770 (memcpy): Don't use BP_SYM.
6771 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6772 <bp-sym.h> and <bp-asm.h>.
6773 (memset): Don't use BP_SYM.
6774 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6775 <bp-sym.h> and <bp-asm.h>.
6776 (__memchr): Don't use BP_SYM.
6777 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6778 <bp-sym.h> and <bp-asm.h>.
6779 (memcmp): Don't use BP_SYM.
6780 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6781 <bp-sym.h> and <bp-asm.h>.
6782 (memcpy): Don't use BP_SYM.
6783 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6784 <bp-sym.h> and <bp-asm.h>.
6785 (__mempcpy): Don't use BP_SYM.
6786 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6787 <bp-sym.h> and <bp-asm.h>.
6788 (__memrchr): Don't use BP_SYM.
6789 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6790 <bp-sym.h> and <bp-asm.h>.
6791 (memset): Don't use BP_SYM.
6792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6793 <bp-sym.h> and <bp-asm.h>.
6794 (__rawmemchr): Don't use BP_SYM.
6795 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6796 <bp-sym.h> and <bp-asm.h>.
6797 (__STRCMP): Don't use BP_SYM.
6798 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6799 <bp-sym.h> and <bp-asm.h>.
6800 (strchr): Don't use BP_SYM.
6801 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6802 <bp-sym.h> and <bp-asm.h>.
6803 (__strchrnul): Don't use BP_SYM.
6804 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6805 <bp-sym.h> and <bp-asm.h>.
6806 (strlen): Don't use BP_SYM.
6807 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6808 <bp-sym.h> and <bp-asm.h>.
6809 (strncmp): Don't use BP_SYM.
6810 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6811 <bp-sym.h> and <bp-asm.h>.
6812 (__strnlen): Don't use BP_SYM.
6813 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6814 <bp-asm.h>.
6815 (__mpn_rshift): Don't use BP_SYM.
6816 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6817 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6818 <bp-sym.h> and <bp-asm.h>.
6819 (__sigsetjmp): Don't use BP_SYM.
6820 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6821 (L(start_addresses)): Don't use BP_SYM.
6822 (_start): Likewise.
6823 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6824 <bp-asm.h>.
6825 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6826 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6827 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6828 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6829 <bp-asm.h>.
6830 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6831 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6832 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6833 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6834 <bp-asm.h>.
6835 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6836 comments.
6837 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6838 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6839 <bp-asm.h>.
6840 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6841 FIXME comments.
6842 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6843 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6844 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6845 <bp-asm.h>.
6846 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6847 comment.
6848 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6849 and <bp-asm.h>.
6850 (strncmp): Don't use BP_SYM,
6851 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6852 <bp-asm.h>.
6853 (__mpn_sub_n): Don't use BP_SYM.
6854 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6855 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6856 and <bp-asm.h>.
6857 (__mpn_submul_1): Don't use BP_SYM.
6858 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6860 <bp-sym.h> and <bp-asm.h>.
6861 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6863 <bp-sym.h> and <bp-asm.h>.
6864 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6865 comment.
6866
8d19fe64
SP
68672013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6868
6869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6870 Use ZK to minimize writes to Z.
6871 (sub_magnitudes): Simplify code a bit.
6872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6873 Use ZK to minimize writes to Z.
6874 (sub_magnitudes): Simplify code a bit.
6875
85bd816a
RM
68762013-02-27 Roland McGrath <roland@hack.frob.com>
6877
6878 * csu/gmon-start.c: Add special exception to license text.
6879
b5977bf2
RH
68802013-02-27 Richard Henderson <rth@redhat.com>
6881
6882 * scripts/config.guess: Update from config.git.
6883 * scripts/config.sub: Likewise.
6884
11d6e2f2
SP
68852013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6886
09c14ed2
SP
6887 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6888
a688864e
SP
6889 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6890
6295157a
SP
6891 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6892
b8de2202
SP
6893 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6894
11d6e2f2
SP
6895 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6896
7e80ddb8
RM
68972013-02-26 Roland McGrath <roland@hack.frob.com>
6898
6899 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6900 [$(build-shared = yes].
7e80ddb8 6901
7da6d9ed
SP
69022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6903
45f05884
SP
6904 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6905 (__mul): Reduce iterations for calculating mantissa.
6906
2236d359
SP
6907 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6908 MPTWO.
6909 (__mpranred): Likewise.
6910
7da6d9ed
SP
6911 [BZ #15160]
6912 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6913 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6914
b7688c42
PE
69152013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6916
6917 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6918 Define __attribute__.
6919
53a5c423
SP
69202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6921
6922 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6923 unused.
6924 * posix/regex_internal.h (__attribute): Remove.
6925 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6926 (re_string_context_at): Likewise.
6927 (bitset_not): Use __attribute__ and mark function as possibly
6928 unused.
6929 (bitset_merge): Likewise.
6930 (bitset_mask): Likewise.
6931 (re_string_char_size_at): Likewise.
6932 (re_string_wchar_at): Likewise.
6933 (re_string_elem_size_at): Likewise.
6934
60f5a8b5
SP
69352013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6936
2a983a2e
SP
6937 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6938 code.
6939 (cc32): Likewise.
6940
e69804d1
SP
6941 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6942 (__acr): Likewise.
6943 (__cpy): Likewise.
6944 (norm): Likewise.
6945 (denorm): Likewise.
6946 (__dbl_mp): Likewise.
6947 (add_magnitudes): Likewise.
6948 (sub_magnitudes): Likewise.
6949 (__mul): Likewise.
6950 (__inv): Likewise.
6951
2f22a1e8
SP
6952 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6953 style.
6954
8930ddc7
SP
6955 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6956 style.
6957
dc60cb11
SP
6958 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6959 code.
6960
60f5a8b5
SP
6961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6962 up changes with default code.
6963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6964 Likewise.
6965
b4d1fd33
AM
69662013-02-24 Allan McRae <allan@archlinux.org>
6967
faf6f8bc
AM
6968 * manual/socket.texi (The Internet Namespace): Order menu items
6969 to match that in the file.
6970
b4d1fd33
AM
6971 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6972 node listing of the info page menu.
6973
2366713d
JM
69742013-02-21 Joseph Myers <joseph@codesourcery.com>
6975
6976 [BZ #13550]
6977 * sysdeps/i386/bp-asm.h: Remove file.
6978 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6979 (PARMS): Do not use macros from bp-asm.h.
6980 (S1): Likewise.
6981 (S2): Likewise.
6982 (SIZE): Likewise.
6983 (__mpn_add_n): Do not use BP_SYM
6984 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6985 "bp-asm.h".
6986 (PARMS): Do not use macros from bp-asm.h.
6987 (S1): Likewise.
6988 (SIZE): Likewise.
6989 (__mpn_addmul_1): Do not use BP_SYM
6990 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6991 "bp-asm.h".
6992 (PARMS): Do not use macros from bp-asm.h.
6993 (SIGMSK): Likewise.
6994 (_setjmp): Likewise. Do not use BP_SYM.
6995 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6996 "bp-asm.h".
6997 (PARMS): Do not use macros from bp-asm.h.
6998 (SIGMSK): Likewise.
6999 (setjmp): Likewise. Do not use BP_SYM.
7000 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7001 "bp-asm.h".
7002 (PARMS): Do not use macros from bp-asm.h.
7003 (__frexp): Do not use BP_SYM.
7004 (frexp): Likewise.
7005 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7006 "bp-asm.h".
7007 (PARMS): Do not use macros from bp-asm.h.
7008 (__frexpf): Do not use BP_SYM.
7009 (frexpf): Likewise.
7010 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7011 "bp-asm.h".
7012 (PARMS): Do not use macros from bp-asm.h.
7013 (__frexpl): Do not use BP_SYM.
7014 (frexpl): Likewise.
7015 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7016 "bp-asm.h".
7017 (PARMS): Do not use macros from bp-asm.h.
7018 (__remquo): Do not use BP_SYM.
7019 (remquo): Likewise.
7020 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7021 "bp-asm.h".
7022 (PARMS): Do not use macros from bp-asm.h.
7023 (__remquof): Do not use BP_SYM.
7024 (remquof): Likewise.
7025 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7026 "bp-asm.h".
7027 (PARMS): Do not use macros from bp-asm.h.
7028 (__remquol): Do not use BP_SYM.
7029 (remquol): Likewise.
7030 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7031 "bp-asm.h".
7032 (PARMS): Do not use macros from bp-asm.h.
7033 (DEST): Likewise.
7034 (SRC): Likewise.
7035 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7036 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7037 "bp-asm.h".
7038 (PARMS): Do not use macros from bp-asm.h.
7039 (strlen): Do not use BP_SYM.
7040 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7041 "bp-asm.h".
7042 (PARMS): Do not use macros from bp-asm.h.
7043 (S1): Likewise.
7044 (S2): Likewise.
7045 (SIZE): Likewise.
7046 (__mpn_add_n): Do not use BP_SYM.
7047 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7048 "bp-asm.h".
7049 (PARMS): Do not use macros from bp-asm.h.
7050 (S1): Likewise.
7051 (SIZE): Likewise.
7052 (__mpn_addmul_1): Do not use BP_SYM.
7053 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7054 weak_alias.
7055 (bzero): Likewise.
7056 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7057 "bp-asm.h".
7058 (PARMS): Do not use macros from bp-asm.h.
7059 (S): Likewise.
7060 (SIZE): Likewise.
7061 (__mpn_lshift): Do not use BP_SYM.
7062 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7063 "bp-asm.h".
7064 (PARMS): Do not use macros from bp-asm.h.
7065 (DEST): Likewise.
7066 (SRC): Likewise.
7067 (LEN): Likewise.
7068 (memcpy): Likewise. Do not use BP_SYM.
7069 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7070 libc_hidden_def and weak_alias.
7071 (mempcpy): Do not use BP_SYM in weak_alias.
7072 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7073 "bp-asm.h".
7074 (PARMS): Do not use macros from bp-asm.h.
7075 (DEST): Likewise.
7076 (LEN): Likewise.
7077 [!BZERO_P] (CHR): Likewise.
7078 (memset): Likewise. Do not use BP_SYM.
7079 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7080 "bp-asm.h".
7081 (PARMS): Do not use macros from bp-asm.h.
7082 (S1): Likewise.
7083 (SIZE): Likewise.
7084 (__mpn_mul_1): Do not use BP_SYM.
7085 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7086 "bp-asm.h".
7087 (PARMS): Do not use macros from bp-asm.h.
7088 (S): Likewise.
7089 (SIZE): Likewise.
7090 (__mpn_rshift): Do not use BP_SYM.
7091 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7092 "bp-asm.h".
7093 (PARMS): Do not use macros from bp-asm.h.
7094 (STR): Likewise.
7095 (CHR): Likewise.
7096 (strchr): Likewise. Do not use BP_SYM.
7097 (index): Do not use BP_SYM in weak_alias.
7098 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7099 "bp-asm.h".
7100 (PARMS): Do not use macros from bp-asm.h.
7101 (DEST): Likewise.
7102 (SRC): Likewise.
7103 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7104 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7105 "bp-asm.h".
7106 (PARMS): Do not use macros from bp-asm.h.
7107 (strlen): Do not use BP_SYM.
7108 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7109 "bp-asm.h".
7110 (PARMS): Do not use macros from bp-asm.h.
7111 (S1): Likewise.
7112 (S2): Likewise.
7113 (SIZE): Likewise.
7114 (__mpn_sub_n): Do not use BP_SYM.
7115 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7116 "bp-asm.h".
7117 (PARMS): Do not use macros from bp-asm.h.
7118 (S1): Likewise.
7119 (SIZE): Likewise.
7120 (__mpn_submul_1): Do not use BP_SYM.
7121 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7122 "bp-asm.h".
7123 (PARMS): Do not use macros from bp-asm.h.
7124 (S1): Likewise.
7125 (S2): Likewise.
7126 (SIZE): Likewise.
7127 (__mpn_add_n): Do not use BP_SYM.
7128 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7129 weak_alias.
7130 (bzero): Likewise.
7131 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7132 "bp-asm.h".
7133 (PARMS): Do not use macros from bp-asm.h.
7134 (BLK2): Likewise.
7135 (LEN): Likewise.
7136 (memcmp): Do not use BP_SYM.
7137 (bcmp): Do not use BP_SYM in weak_alias.
7138 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7139 "bp-asm.h".
7140 (PARMS): Do not use macros from bp-asm.h.
7141 (DEST): Likewise.
7142 (SRC): Likewise.
7143 (LEN): Likewise.
7144 (memcpy): Likewise. Do not use BP_SYM.
7145 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7146 "bp-asm.h".
7147 (PARMS): Do not use macros from bp-asm.h.
7148 (DEST): Likewise.
7149 (SRC): Likewise.
7150 (LEN): Likewise.
7151 (memmove): Likewise. Do not use BP_SYM.
7152 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7153 "bp-asm.h".
7154 (PARMS): Do not use macros from bp-asm.h.
7155 (DEST): Likewise.
7156 (SRC): Likewise.
7157 (LEN): Likewise.
7158 (__mempcpy): Likewise. Do not use BP_SYM.
7159 (mempcpy): Do not use BP_SYM in weak_alias.
7160 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7161 "bp-asm.h".
7162 (PARMS): Do not use macros from bp-asm.h.
7163 (DEST): Likewise.
7164 (LEN): Likewise.
7165 [!BZERO_P] (CHR): Likewise.
7166 (memset): Likewise. Do not use BP_SYM.
7167 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7168 "bp-asm.h".
7169 (PARMS): Do not use macros from bp-asm.h.
7170 (STR2): Likewise.
7171 (strcmp): Do not use BP_SYM.
7172 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7173 "bp-asm.h".
7174 (PARMS): Do not use macros from bp-asm.h.
7175 (STR): Likewise.
7176 (DELIM): Likewise.
7177 [USE_AS_STRTOK_R] (SAVE): Likewise.
7178 (FUNCTION): Likewise. Do not use BP_SYM.
7179 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7180 aliases.
7181 (strtok_r): Likewise.
7182 (__GI___strtok_r): Likewise.
7183 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7184 (PARMS): Do not use macros from bp-asm.h.
7185 (S): Likewise.
7186 (SIZE): Likewise.
7187 (__mpn_lshift): Do not use BP_SYM.
7188 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7189 (PARMS): Do not use macros from bp-asm.h.
7190 (STR): Likewise.
7191 (CHR): Likewise.
7192 (__memchr): Do not use BP_SYM.
7193 (memchr): Do not use BP_SYM in weak_alias.
7194 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7195 (PARMS): Do not use macros from bp-asm.h.
7196 (BLK2): Likewise.
7197 (LEN): Likewise.
7198 (memcmp): Do not use BP_SYM.
7199 (bcmp): Do not use BP_SYM in weak_alias.
7200 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7201 (PARMS): Do not use macros from bp-asm.h.
7202 (S1): Likewise.
7203 (SIZE): Likewise.
7204 (__mpn_mul_1): Do not use BP_SYM.
7205 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7206 "bp-asm.h".
7207 (PARMS): Do not use macros from bp-asm.h.
7208 (STR): Likewise.
7209 (CHR): Likewise.
7210 (__rawmemchr): Do not use BP_SYM.
7211 (rawmemchr): Do not use BP_SYM in weak_alias.
7212 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7213 (PARMS): Do not use macros from bp-asm.h.
7214 (S): Likewise.
7215 (SIZE): Likewise.
7216 (__mpn_rshift): Do not use BP_SYM.
7217 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7218 (PARMS): Do not use macros from bp-asm.h.
7219 (SIGMSK): Likewise.
7220 (__sigsetjmp): Likewise. Do not use BP_SYM.
7221 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7222 (_start): Do not use BP_SYM.
7223 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7224 (PARMS): Do not use macros from bp-asm.h.
7225 (DEST): Likewise.
7226 (SRC): Likewise.
7227 (__stpcpy): Likewise. Do not use BP_SYM.
7228 (stpcpy): Do not use BP_SYM in weak_alias.
7229 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7230 "bp-asm.h".
7231 (PARMS): Do not use macros from bp-asm.h.
7232 (DEST): Likewise.
7233 (SRC): Likewise.
7234 (LEN): Likewise.
7235 (__stpncpy): Likewise. Do not use BP_SYM.
7236 (stpncpy): Do not use BP_SYM in weak_alias.
7237 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7238 (PARMS): Do not use macros from bp-asm.h.
7239 (STR): Likewise.
7240 (CHR): Likewise.
7241 (strchr): Likewise. Do not use BP_SYM.
7242 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7243 "bp-asm.h".
7244 (PARMS): Do not use macros from bp-asm.h.
7245 (STR): Likewise.
7246 (CHR): Likewise.
7247 (__strchrnul): Likewise. Do not use BP_SYM.
7248 (strchrnul): Do not use BP_SYM in weak_alias.
7249 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7250 "bp-asm.h".
7251 (PARMS): Do not use macros from bp-asm.h.
7252 (STOP): Likewise.
7253 (strcspn): Do not use BP_SYM.
7254 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7255 "bp-asm.h".
7256 (PARMS): Do not use macros from bp-asm.h.
7257 (STR): Likewise.
7258 (STOP): Likewise.
7259 (strpbrk): Likewise. Do not use BP_SYM.
7260 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7261 "bp-asm.h".
7262 (PARMS): Do not use macros from bp-asm.h.
7263 (STR): Likewise.
7264 (CHR): Likewise.
7265 (strrchr): Likewise. Do not use BP_SYM.
7266 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7267 (PARMS): Do not use macros from bp-asm.h.
7268 (SKIP): Likewise.
7269 (strspn): Do not use BP_SYM.
7270 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7271 (PARMS): Do not use macros from bp-asm.h.
7272 (STR): Likewise.
7273 (DELIM): Likewise.
7274 (SAVE): Likewise.
7275 (FUNCTION): Likewise. Do not use BP_SYM.
7276 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7277 aliases.
7278 (strtok_r): Likewise.
7279 (__GI___strtok_r): Likewise.
7280 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7281 (PARMS): Do not use macros from bp-asm.h.
7282 (S1): Likewise.
7283 (S2): Likewise.
7284 (SIZE): Likewise.
7285 (__mpn_sub_n): Do not use BP_SYM.
7286 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7287 "bp-asm.h".
7288 (PARMS): Do not use macros from bp-asm.h.
7289 (S1): Likewise.
7290 (SIZE): Likewise.
7291 (__mpn_submul_1): Do not use BP_SYM.
7292 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7293 <bp-sym.h>.
7294 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7295 and <bp-asm.h>.
7296 (PARMS): Do not use macros from bp-asm.h.
7297 (FLAGS): Likewise.
7298 (PTID): Likewise.
7299 (TLS): Likewise.
7300 (CTID): Likewise.
7301 (__clone): Do not use BP_SYM.
7302 (clone): Do not use BP_SYM in weak_alias.
7303 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7304 and <bp-asm.h>.
7305 (PARMS): Do not use macros from bp-asm.h.
7306 (LEN): Likewise.
7307 (__mmap64): Do not use BP_SYM.
7308 (mmap64): Do not use BP_SYM in weak_alias.
7309 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7310 <bp-sym.h> and <bp-asm.h>.
7311 (PARMS): Do not use macros from bp-asm.h.
7312 (__posix_fadvise64_l64): Do not use BP_SYM.
7313 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7314 (PARMS): Do not use macros from bp-asm.h.
7315 (NSOPS): Likewise.
7316 (semtimedop): Do not use BP_SYM.
7317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7318 and <bp-asm.h>.
7319
582a3cff
AM
73202013-02-21 Allan McRae <allan@archlinux.org>
7321
7322 * manual/message.texi (Charset conversion in gettext):
7323 Move @end statement to beginning of line.
7324
bab8a695
SP
73252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7326
80945231
SP
7327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7328 static.
7329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7330 Likewise.
7331
bab8a695
SP
7332 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7333 (denorm): Likewise.
7334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7336
e21d7aa7
AK
73372013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7338
7339 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7340 tail-call to the resolved function if pltexit isn't needed.
7341
4c7a4263
SP
73422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7343
7344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7345 or Y being zero as being unlikely.
7346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7347 Likewise.
7348
41f49342
CD
73492013-02-20 Carlos O'Donell <carlos@redhat.com>
7350
7351 * manual/nss.texi (System Databases and Name Service Switch):
7352 Remove frobnicate @pxref.
7353
50022a93
TS
73542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7355
7356 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7357 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7358
08cbd996
PM
73592013-02-20 Petr Machata <pmachata@redhat.com>
7360
7361 * elf/elf.h (R_ARM_TARGET1): New macro.
7362 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7363 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7364 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7365 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7366 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7367 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7368 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7369 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7370 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7371 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7372 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7373 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7374 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7375 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7376 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7377 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7378 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7379 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7380 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7381 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7382 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7383 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7384 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7385 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7386 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7387 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7388 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7389 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7390 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7391 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7392 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7393 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7394 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7395 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7396 (R_ARM_THM_GOT_BREL12): Likewise.
7397 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7398 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7399 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7400 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7401 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7402 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7403 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7404 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7405 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7406
c7b275d6
TS
74072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7408
7409 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7410 __attribute_used__ to __attribute__ ((unused)).
7411
20cd7fb3
SP
74122013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7413
7414 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7415 powerpc mpa.c.
7416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7417 comment formatting.
7418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7419
92945b52
JM
74202013-02-19 Joseph Myers <joseph@codesourcery.com>
7421
7422 [BZ #13550]
7423 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7424 Remove macro.
7425 (ENTER): Remove both macro definitions.
7426 (LEAVE): Likewise.
7427 (CHECK_BOUNDS_LOW): Likewise.
7428 (CHECK_BOUNDS_HIGH): Likewise.
7429 (CHECK_BOUNDS_BOTH): Likewise.
7430 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7431 (RETURN_BOUNDED_POINTER): Likewise.
7432 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7433 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7434 (POP_ERRNO_LOCATION_RETURN): Likewise.
7435 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7436 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7437 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7438 macros.
7439 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7440 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7441 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7442 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7443 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7444 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7445 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7446 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7447 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7448 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7449 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7450 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7451 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7452 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7453 removed macros.
7454 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7455 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7456 macros.
7457 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7458 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7459 * sysdeps/i386/i586/memset.S (memset): Likewise.
7460 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7461 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7462 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7463 macros.
7464 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7465 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7466 Change uses of L(2) to L(out).
7467 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7468 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7469 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7470 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7471 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7472 removed macros.
7473 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7474 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7475 macros.
7476 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7477 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7478 (RETURN): Do not use macro LEAVE.
7479 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7480 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7481 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7482 * sysdeps/i386/i686/memset.S (memset): Likewise.
7483 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7484 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7485 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7486 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7487 Likewise.
7488 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7489 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7490 L(1_2) and L(1_3) into L(1).
7491 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7492 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7493 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7494 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7495 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7496 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7497 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7498 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7499 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7500 macros.
7501 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7502 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7503 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7504 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7505 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7506 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7507 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7508 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7509 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7510 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7511 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7512 * sysdeps/i386/strspn.S (strspn): Likewise.
7513 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7514 conditional code.
7515 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7516 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7517 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7518 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7519 L(1_3) into L(1_1).
7520 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7521 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7522 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7523 macros.
7524 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7525
2389741a
JJ
75262013-02-19 Jakub Jelinek <jakub@redhat.com>
7527
7528 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7529 macro.
7530
2016b3cd
SP
75312013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7532
e4f22324
SP
7533 * math/atest-exp.c (exp_mpn): Remove ROUND.
7534 * math/atest-exp2.c (exp_mpn): Likewise.
7535 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7536
2016b3cd
SP
7537 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7538 * stdlib/tst-tls-atexit-lib.c: Likewise.
7539 * stdlib/tst-tls-atexit.c: Likewise.
7540
4be9b544
MF
75412013-02-18 Mike Frysinger <vapier@gentoo.org>
7542
7543 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7544 and __attribute_alloc_size__.
7545
2f62b9ee
MF
75462013-02-18 Mike Frysinger <vapier@gentoo.org>
7547
7548 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7549 __attribute_alloc_size__.
7550 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7551 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7552
6ff444c4
MF
75532013-02-18 Mike Frysinger <vapier@gentoo.org>
7554
7555 * include/programs/xmalloc.h: New file.
7556 * catgets/gencat.c: Include it.
7557 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7558 * elf/pldd.c: Likewise.
7559 * iconv/iconv_charmap.c: Likewise.
7560 * iconv/iconvconfig.c: Likewise.
7561 * iconv/strtab.c: Likewise.
7562 * locale/programs/locale.c: Likewise.
7563 * locale/programs/localedef.h: Likewise.
7564 * locale/programs/simple-hash.c: Likewise.
7565 * nscd/nscd.h: Likewise.
7566 * nss/makedb.c: Likewise.
7567 * sysdeps/generic/ldconfig.h: Likewise.
7568
be179c8a
SP
75692013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7570
ba384f6e
SP
7571 * Versions.def: Add GLIBC_2.18.
7572 * include/link.h (struct link_map): New member l_tls_dtor_count.
7573 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7574 (__call_tls_dtors): Likewise.
7575 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7576 __cxa_thread_atexit_impl.
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7578 Likewise.
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7580 Likewise.
7581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7582 Likewise.
7583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7584 Likewise.
7585 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7587 Likewise.
7588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7589 Likewise.
7590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7592 Likewise.
7593 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7594 (tests): Add test case tst-tls-atexit.
7595 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7596 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7597 (GLIBC_PRIVATE): Add __call_tls_dtors.
7598 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7599 for libstdc++.
7600 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7601 * stdlib/tst-tls-atexit.c: New test case.
7602 * stdlib/tst-tls-atexit-lib.c: New test case.
7603
ffaa74cf 7604 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7605
be179c8a
SP
7606 * elf/Versions (ld): Add _dl_find_dso_for_object.
7607 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7608 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7609 (dl_open_worker): Use _dl_find_dso_for_object.
7610 * elf/dl-sym.c (do_sym): Likewise.
7611 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7612
f78b5caa
AK
76132013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7614
7615 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7616 Syntactic changes only.
7617 (_dl_runtime_profile): Do a tail-call to the resolved function.
7618
29691210
JM
76192013-02-17 Joseph Myers <joseph@codesourcery.com>
7620
7621 [BZ #13550]
7622 * sysdeps/x86_64/bp-asm.h: Remove file.
7623 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7624 <bp-sym.h> and <bp-asm.h>.
7625 (__clone): Do not use BP_SYM.
7626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7627 <bp-sym.h> and <bp-asm.h>.
7628 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7629 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7630 "bp-asm.h".
7631 (_setjmp): Do not use BP_SYM.
7632 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7633 "bp-asm.h".
7634 (setjmp): Do not use BP_SYM.
7635 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7636 libc_hidden_def.
7637 (mempcpy): Do not use BP_SYM in weak_alias.
7638 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7639 "bp-asm.h".
7640 (strchr): Do not use BP_SYM.
7641 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7642 "bp-asm.h".
7643 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7644 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7645 (_start): Do not use BP_SYM.
7646 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7647 "bp-asm.h".
7648 (strcat): Do not use BP_SYM.
7649 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7650 "bp-asm.h".
7651 (STRCMP): Do not use BP_SYM.
7652 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7653 "bp-asm.h".
7654 (STRCPY): Do not use BP_SYM.
7655 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7656 "bp-asm.h".
7657 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7658 "bp-asm.h".
7659 (FUNCTION): Do not use BP_SYM.
7660 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7661 weak_alias.
7662 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7663
f238fd19
AJ
76642013-02-17 Andreas Jaeger <aj@suse.de>
7665
7666 * time/Versions: Sort entries.
7667 * string/Versions: Likewise.
7668 * resolv/Versions: Likewise.
7669 * posix/Versions: Likewise.
7670 * iconv/Versions: Likewise.
7671 * elf/Versions: Likewise.
7672 * wcsmbs/Versions: Likewise.
7673
bd07f23c 76742013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7675
22af19f9
SP
7676 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7677 loop termination condition.
7678
4709fe76
SP
7679 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7680 variable to calculate EZ.
7681 (__sqr): Likewise.
2d0e0f29
SP
7682
7683 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7684 the lower precision input.
7685
daaa7713
JM
76862013-02-15 Joseph Myers <joseph@codesourcery.com>
7687
7688 [BZ #13550]
7689 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7690 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7691 (run-via-rtld-prefix): Do not handle %-bp tests.
7692 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7693 (all-object-suffixes): Remove .ob.
7694 (bppfx): Remove variable.
7695 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7696 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7697 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7698 [$(build-bounded) = yes] (libtype.ob): Likewise.
7699 * Makerules (elide-routines.ob): Remove variable.
7700 (do-tests-clean): Do not handle *-bp.out.
7701 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7702 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7703 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7704 (tests): Do not include $(tests-bp.out).
7705 (xtests): Do not include $(xtests-bp.out).
7706 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7707 [$(build-bounded) = yes] ($(addprefix
7708 $(objpfx),$(binaries-bounded))): Remove rule.
7709 ($(objpfx)%-bp.out): Remove rule.
7710 * config.make.in (build-bounded): Remove variable.
7711 * crypt/Makefile [$(build-bounded) = yes]
7712 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7713 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7714 append to variable.
7715 [$(build-bounded) = yes] (install-lib): Likewise.
7716 [$(build-bounded) = yes] (generated): Likewise.
7717 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7718 Remove rule.
7719 * intl/Makefile [$(build-bounded) = yes]
7720 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7721 * math/Makefile [$(build-bounded) = yes]
7722 ($(tests:%=$(objpfx)%-bp): Likewise.
7723 * misc/Makefile [$(build-bounded) = yes]
7724 ($(objpfx)tst-tsearch-bp): Likewise.
7725 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7726 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7727 Remove dependency.
7728 * string/Makefile (o-objects.ob): Remove variable.
7729 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7730 (CFLAGS-.ob): Remove variable.
7731 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7732 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7733 both definitions of variable.
7734 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7735 (ASFLAGS-.ob): Remove variable.
7736
e97ed6dd
JM
77372013-02-14 Joseph Myers <joseph@codesourcery.com>
7738
2bdd4ca6
JM
7739 [BZ #13550]
7740 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7741 Remove __BOUNDED_POINTERS__ from condition.
7742 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7743 * string/bits/string2.h [!__NO_STRING_INLINES &&
7744 !__BOUNDED_POINTERS__]: Likewise.
7745 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7746 Likewise.
7747 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7748 Remove conditional code.
7749 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7750 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7751 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7752 condition.
7753
e97ed6dd
JM
7754 [BZ #13550]
7755 * csu/libc-start.c: Do not include <bp-sym.h>.
7756 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7757 * elf/dl-open.c: Do not include <bp-sym.h>.
7758 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7759 * math/fegetenv.c: Do not include <bp-sym.h>.
7760 (fegetenv): Do not use BP_SYM in versioned symbols.
7761 * nptl/sysdeps/pthread/bits/libc-lockP.h
7762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7763 <bp-sym.h>.
7764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7765 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7767 (__pthread_mutex_destroy): Likewise.
7768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7769 (__pthread_mutex_lock): Likewise.
7770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7771 (__pthread_mutex_trylock): Likewise.
7772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7773 (__pthread_mutex_unlock): Likewise.
7774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7775 (__pthread_mutexattr_init): Likewise.
7776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7777 (__pthread_mutexattr_destroy): Likewise.
7778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7779 (__pthread_mutexattr_settype): Likewise.
7780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7781 (__pthread_rwlock_init): Likewise.
7782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7783 (__pthread_rwlock_destroy): Likewise.
7784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7785 (__pthread_rwlock_rdlock): Likewise.
7786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7787 (__pthread_rwlock_tryrdlock): Likewise.
7788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7789 (__pthread_rwlock_wrlock): Likewise.
7790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7791 (__pthread_rwlock_trywrlock): Likewise.
7792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7793 (__pthread_rwlock_unlock): Likewise.
7794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7795 (__pthread_key_create): Likewise.
7796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7797 (__pthread_setspecific): Likewise.
7798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7799 (__pthread_getspecific): Likewise.
7800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7801 Likewise.
7802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7803 (_pthread_cleanup_push_defer): Likewise.
7804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7805 (_pthread_cleanup_pop_restore): Likewise.
7806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7807 (pthread_setcancelstate): Likewise.
7808 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7809 <bp-sym.h>.
7810 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7811 (memchr): Do not use BP_SYM in weak_alias.
7812 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7813 (fegetenv): Do not use BP_SYM in versioned symbols.
7814 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7815 (fesetenv): Do not use BP_SYM in versioned symbols.
7816 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7817 (feupdateenv): Do not use BP_SYM in versioned symbols.
7818 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7819 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7820 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7821 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7822 (open64): Do not use BP_SYM in weak_alias.
7823 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7824 (fegetenv): Do not use BP_SYM in versioned symbols.
7825 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7826 (fesetenv): Do not use BP_SYM in versioned symbols.
7827 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7828 (feupdateenv): Do not use BP_SYM in versioned symbols.
7829 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7830 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7831 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7832 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7833 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7834 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7835 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7836 <bp-sym.h>.
7837 (__libc_start_main): Do not use BP_SYM.
7838
d6752ccd
SP
78392013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7840
cb57ce60
SP
7841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7842 redundant return line.
7843 (norm): Likewise.
7844 (denorm): Likewise.
7845 (dbl_mp): Likewise.
7846 (sub_magnitudes): Likewise.
7847 (__add): Likewise.
7848 (__sub): Likewise.
7849 (__mul): Likewise.
7850 (__inv): Likewise.
7851 (__dvd): Likewise.
7852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7853 (norm): Likewise.
7854 (denorm): Likewise.
7855 (dbl_mp): Likewise.
7856 (sub_magnitudes): Likewise.
7857 (__add): Likewise.
7858 (__sub): Likewise.
7859 (__mul): Likewise.
7860 (__inv): Likewise.
7861 (__dvd): Likewise.
7862
f414520d
SP
7863 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7864 instead of __mul.
7865 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7866 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7867 (cc32): Likewise.
7868
d6752ccd
SP
7869 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7870 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7872 of __mul for squares.
7873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7874 function
7875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7876 Likewise.
7877 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7878 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7879
70d9946a
JM
78802013-02-13 Joseph Myers <joseph@codesourcery.com>
7881
7882 [BZ #13550]
7883 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7884 code.
7885 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7886 prototype or function definition. Rename ubp_* variables and
7887 parameters. Remove argv definitions conditional on
7888 [__BOUNDED_POINTERS__].
7889 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7890 * elf/dl-runtime.c (_dl_fixup): Likewise.
7891 * include/set-hooks.h (RUN_HOOK): Likewise.
7892 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7893 definition.
7894 * string/strcpy.c (strcpy): Do not use __unbounded.
7895 * sysdeps/generic/frame.h (struct layout): Likewise.
7896 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7897 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7898 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7899 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7900 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7901 (__backtrace): Likewise.
7902 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7903 use __ptrvalue.
7904 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7905 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7906 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7907 Likewise.
7908 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7909 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7910 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7911 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7912 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7913 Do not use __unbounded.
7914 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7915 Rename __unboundedrlimits parameter to rlimits in prototype.
7916 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7917 Do not use __unbounded.
7918 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7919 not use __ptrvalue.
7920 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7921 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7922 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7923 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7924 __ptrvalue or __unbounded.
7925 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7926 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7927 use __unbounded.
7928 (__new_msgctl): Do not use __ptrvalue.
7929 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7930 __unbounded.
7931 (__libc_msgrcv): Do not use __ptrvalue.
7932 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7933 startup_info): Do not use __unbounded.
7934 (__libc_start_main): Likewise. Rename ubp_* variables and
7935 parameters. Remove argv definitions conditional on
7936 [__BOUNDED_POINTERS__].
7937 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7938 __ptrvalue.
7939 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7940 use __unbounded.
7941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7942 or __ptrvalue.
7943 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7944 use __unbounded.
7945 (__new_shmctl): Do not use __ptrvalue.
7946 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7947 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7948 Likewise.
7949 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7950 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7951 (__libc_sigaction): Likewise.
7952 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7953 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7954 Likewise.
7955 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7956
cc7834d6
OB
79572013-02-13 Ondřej Bílka <neleai@seznam.cz>
7958
ffb1ec7b 7959 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7960
7961 * string/mempcpy.c: Implement by calling memcpy.
7962
bdf02814
SP
79632013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7964
c2af38aa
SP
7965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7966
4e92d59e
SP
7967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7968 evaluation.
7969
909279a5
SP
7970 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7971 values in the mantissa.
7972
bdf02814
SP
7973 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7974 minimize writes to Z.
7975 (sub_magnitudes): Simplify code a bit.
7976
cd525923
RM
79772013-02-12 Roland McGrath <roland@hack.frob.com>
7978
7979 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7980 from the message. The linker prefixes all warnings with that already.
7981
7e2f0d2d
AS
79822013-02-12 Andreas Schwab <schwab@suse.de>
7983
a445af0b
AS
7984 [BZ #15078]
7985 * posix/regexec.c (extend_buffers): Add parameter min_len.
7986 (check_matching): Pass minimum needed length.
7987 (clean_state_log_if_needed): Likewise.
7988 (get_subexp): Likewise.
7989 * posix/Makefile (tests): Add bug-regex34.
7990 (bug-regex34-ENV): Define.
7991 * posix/bug-regex34.c: New file.
7992
7e2f0d2d
AS
7993 [BZ #11561]
7994 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7995 elements compare against the byte sequence of it, not its name.
7996 * posix/Makefile (tests): Add bug-regex35.
7997 (bug-regex35-ENV): Define.
7998 * posix/bug-regex35.c: New file.
7999
a175b684
TV
80002013-02-11 Tom de Vries <tom@codesourcery.com>
8001
8002 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8003 comment.
8004 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8005 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8006 (CHECK_EOL): Add undef.
8007
310998fe 80082013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8009
8010 * bits/stdlib-bsearch.h: New file.
8011 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8012 * stdlib/stdlib.h: Likewise.
41eda41d 8013
8ded91fb
RM
80142013-02-11 Roland McGrath <roland@hack.frob.com>
8015
8016 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8017 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8018 declaration.
8019 * manual/search.texi (Array Search Function): Add missing const in
8020 lfind prototype.
8021 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8022 declaration to use rlim_t.
8023 (Basic Scheduling Functions): Remove erroneous const from
8024 sched_getparam prototype. Remove erroneous * from
8025 sched_get_priority_max and sched_get_priority_min prototypes.
8026 (Resource Usage): Fix summary @comment on vtimes to refer to
8027 sys/vtimes.h rather than vtimes.h.
8028 Add missing *s in vtimes prototype.
8029 (Limits on Resources): Fix ulimit prototype to return long int.
8030 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8031 prototypes to use long int rather than double.
8032 (BSD Random): Fix initstate and setstate to use char *, not void *.
8033 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8034 prototype to make second argument 'struct aiocb64 *const[]'.
8035 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8036 (Status of AIO Operations): Remove erroneous const in aio_return and
8037 aio_return64 prototypes.
8038 (Synchronizing I/O): Fix sync prototype to return void.
8039 * manual/startup.texi (Suboptions): Remove an erroneous const in
8040 getsubopt prototype.
8041 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8042 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8043 use size_t rather than int.
8044 (Scanning All Users): Likewise for getpwent_r.
8045 (Setting Groups): Add missing const to setgroups prototype.
8046 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8047 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8048 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8049 'const void *' rather than 'const char *'.
8050 (Host Address Functions): Likewise for inet_ntop.
8051 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8052 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8053 ssize_t for return value.
8054 (Sending Data): Likewise for send, sendto, sendmsg.
8055 (Socket Option Functions): Add a missing const in setsockopt prototype.
8056 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8057 use wchar_t for the argument.
8058 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8059 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8060 take no arguments.
8061 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8062 double/float/long double for second argument.
8063 Fix return types of significand, significandf, significandl.
8064 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8065 argument in fchmod prototype.
8066 (File Owner): Use uid_t and gid_t in fchown prototype.
8067 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8068 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8069 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8070 use 'const struct dirent **' as argument types to CMP function pointer
8071 argument.
8072 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8073 (File Times): Fix summary magic @comment for struct utimbuf and utime
8074 to refer to utime.h, not time.h.
8075 * manual/string.texi (Argz Functions): Add missing const in
8076 argz_extract and argz_next prototypes.
8077 (Finding Tokens in a String): Likewise for basename.
8078 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8079 (Copying and Concatenation): Fix typo in wmemmove prototype.
8080 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8081 (Signal Stack): Remove erroneous const in sigstack prototype.
8082 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8083 prototype.
8084 (Simple Calendar Time): Likewise for stime.
8085 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8086 prototype.
8087 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8088 say sys/sysctl.h instead.
8089 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8090 and vsyslog prototypes.
8091
fe77fe6d
TV
80922013-02-11 Tom de Vries <tom@codesourcery.com>
8093
8094 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8095 Remove.
8096
3a09b620
RM
80972013-02-11 Roland McGrath <roland@hack.frob.com>
8098
8099 * misc/sys/mman.h: Fix typo in mremap comment.
8100
550a0b89
RM
81012013-02-08 Roland McGrath <roland@hack.frob.com>
8102
8103 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8104 the '\0' terminator.
8105
a2da1673
JM
81062013-02-08 Joseph Myers <joseph@codesourcery.com>
8107
8108 [BZ #13550]
8109 * debug/segfault.c: Don't include <bp-checks.h>.
8110 * sysdeps/generic/bp-checks.h: Remove file.
8111 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8112 (__GETDENTS): Don't use CHECK_N.
8113 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8114 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8115 (__getgroups): Don't use CHECK_N.
8116 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8117 (setgroups): Don't use CHECK_N.
8118 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8119 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8120 (__libc_msgrcv): Don't use CHECK_N.
8121 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8122 (__libc_msgsnd): Don't use CHECK_N.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8124 <bp-checks.h>.
8125 (__libc_pread): Don't use CHECK_N.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8127 include <bp-checks.h>.
8128 (__libc_pread64): Don't use CHECK_N.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8130 include <bp-checks.h>.
8131 (__libc_pwrite): Don't use CHECK_N.
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8133 include <bp-checks.h>.
8134 (__libc_pwrite64): Don't use CHECK_N.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8136 <bp-checks.h>.
8137 (__libc_pread): Don't use CHECK_N.
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8139 include <bp-checks.h>.
8140 (__libc_pread64): Don't use CHECK_N.
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8142 include <bp-checks.h>.
8143 (__libc_pwrite): Don't use CHECK_N.
8144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8145 include <bp-checks.h>.
8146 (__libc_pwrite64): Don't use CHECK_N.
8147 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8148 (do_pread): Don't use CHECK_N.
8149 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8150 (do_pread64): Don't use CHECK_N.
8151 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8152 (do_pwrite): Don't use CHECK_N.
8153 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8154 (do_pwrite64): Don't use CHECK_N.
8155 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8156 (__libc_readv): Don't use CHECK_N.
8157 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8158 (semop): Don't use CHECK_N.
8159 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8160 <bp-checks.h>.
8161 (semtimedop): Don't use CHECK_N.
8162 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8163 (__libc_pread): Don't use CHECK_N.
8164 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8165 <bp-checks.h>.
8166 (__libc_pread64): Don't use CHECK_N.
8167 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8168 <bp-checks.h>.
8169 (__libc_pwrite): Don't use CHECK_N.
8170 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8171 <bp-checks.h>.
8172 (__libc_pwrite64): Don't use CHECK_N.
8173 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8174 <bp-checks.h>.
8175 (__libc_msgrcv): Don't use CHECK_N.
8176 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8177 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8178 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8179 (__libc_writev): Don't use CHECK_N.
8180
b84660a8
RM
81812013-02-08 Roland McGrath <roland@hack.frob.com>
8182
7f3e75f8
RM
8183 * string/strcpy.c: Removed unused variable.
8184
b84660a8
RM
8185 * Makeconfig (+sysdep-includes): Define with := rather than =.
8186 Use an existing include/ subdir of each sysdeps dir before it.
8187
471514d3
CD
81882013-02-08 Carlos O'Donell <carlos@redhat.com>
8189
8190 * nscd/connection.c (register_traced_file): Comment function.
8191 [HAVE_INOTIFY] (union __inev): Define.
8192 [HAVE_INOTIFY] (inotify_check_files): New function.
8193 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8194 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8195 clear_db_cache.
8196 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8197
b2d3c3be
CD
81982013-02-08 Carlos O'Donell <carlos@redhat.com>
8199
8200 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8201 loaded if not already and that a failure is permanent.
8202
b39949d2
CD
82032013-02-08 Carlos O'Donell <carlos@redhat.com>
8204
ddacd1db 8205 [BZ #15006]
b39949d2
CD
8206 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8207 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8208
b2c9eff4
JM
82092013-02-08 Joseph Myers <joseph@codesourcery.com>
8210
f3aae3f3
JM
8211 [BZ #13550]
8212 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8213 (CHECK_1_NULL_OK): Likewise.
8214 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8215 (__fxstat): Do not use CHECK_1.
8216 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8217 <bp-checks.h>.
8218 (___fxstat64): Do not use CHECK_1.
8219 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8220 <bp-checks.h>.
8221 (__fxstatat): Do not use CHECK_1.
8222 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8223 <bp-checks.h>.
8224 (__fxstatat64): Do not use CHECK_1.
8225 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8226 <bp-checks.h>.
8227 (__fxstat): Do not use CHECK_1.
8228 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8229 <bp-checks.h>.
8230 (__fxstatat): Do not use CHECK_1.
8231 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8232 <bp-checks.h>.
8233 (__getresgid): Do not use CHECK_1.
8234 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8235 <bp-checks.h>.
8236 (__getresuid): Do not use CHECK_1.
8237 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8238 <bp-checks.h>.
8239 (__lxstat): Do not use CHECK_1.
8240 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8241 <bp-checks.h>.
8242 (__old_msgctl): Do not use CHECK_1.
8243 (__new_msgctl): Likewise.
8244 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8245 <bp-checks.h>.
8246 (__new_setrlimit): Do not use CHECK_1.
8247 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8248 <bp-checks.h>.
8249 (__old_shmctl): Do not use CHECK_1.
8250 (__new_shmctl): Likewise.
8251 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8252 <bp-checks.h>.
8253 (__xstat): Do not use CHECK_1.
8254 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8255 (__lxstat): Do not use CHECK_1.
8256 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8257 <bp-checks.h>.
8258 (___lxstat64): Do not use CHECK_1.
8259 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8260 (__old_msgctl): Do not use CHECK_1.
8261 (__new_msgctl): Likewise.
8262 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8263 <bp-checks.h>.
8264 (__gettimeofday): Do not use CHECK_1.
8265 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8266 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8267 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8268 <bp-checks.h>.
8269 (__gettimeofday): Do not use CHECK_1.
8270 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8271 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8272 (__new_shmctl): Do not use CHECK_1.
8273 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8274 <bp-checks.h>.
8275 (do_sigtimedwait): Do not use CHECK_1.
8276 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8277 <bp-checks.h>.
8278 (do_sigwaitinfo): Do not use CHECK_1.
8279 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8280 <bp-checks.h>.
8281 (msgctl): Do not use CHECK_1.
8282 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8283 <bp-checks.h>.
8284 (shmctl): Do not use CHECK_1.
8285 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8286 (ustat): Do not use CHECK_1.
8287 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8288 <bp-checks.h>.
8289 (__fxstat): Do not use CHECK_1.
8290 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8291 <bp-checks.h>.
8292 (__fxstatat): Do not use CHECK_1.
8293 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8294 <bp-checks.h>.
8295 (__lxstat): Do not use CHECK_1.
8296 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8297 <bp-checks.h>.
8298 (__xstat): Do not use CHECK_1.
8299 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8300 (__xstat): Do not use CHECK_1.
8301 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8302 (___xstat64): Do not use CHECK_1.
8303
b2c9eff4
JM
8304 [BZ #13550]
8305 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8306 definitions.
8307 (CHECK_BOUNDS_HIGH): Likewise.
8308 * string/strcpy.c: Do not include <bp-checks.h>.
8309 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8310
f1d70dad
RM
83112013-02-07 Roland McGrath <roland@hack.frob.com>
8312
8313 * nscd/nscd-client.h (__nscd_drop_map_ref):
8314 Add __attribute__ ((unused)).
8315 * nis/nss-nisplus.h (niserr2nss): Likewise.
8316
8317 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8318 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8319
8320 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8321 Remove inline keyword.
8322 * include/rounding-mode.h (round_away): Likewise.
8323 * libio/wfileops.c (adjust_wide_data): Likewise.
8324 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8325 (__m128i_strloadu_tolower): Likewise.
8326 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8327 (__m128i_strloadu_tolower): Likewise.
8328 * time/mktime.c (ydhms_diff): Likewise.
8329 * locale/elem-hash.h (elem_hash): Likewise.
8330 * locale/setlocale.c (setdata): Likewise.
8331 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8332 (re_string_wchar_at): Likewise.
8333 (bitset_not, bitset_merge, bitset_mask): Likewise.
8334 [!(__GNUC__ > 3)] (inline): Remove macro.
8335 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8336 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8337 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8338 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8339 * string/memcmp.c (memcmp_bytes): Likewise.
8340 * locale/programs/locarchive.c (compute_hashval): Likewise.
8341 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8342 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8343 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8344 * nss/getent.c (print_rpc, print_protocols): Likewise.
8345 (print_passwd, print_group, print_aliases): Likewise.
8346 * nis/nss-nisplus.h (niserr2nss): Likewise.
8347 * nscd/connections.c (restart_p): Likewise.
8348 Change return type to bool.
8349
eab55bfb
RM
83502013-02-05 Roland McGrath <roland@hack.frob.com>
8351
7bd642f5
RM
8352 * Makeconfig (all-Depend-files): Add existing
8353 $(sorted-subdirs:=/Depend) files.
8354 (all-subdirs): Remove nss.
8355 * sysdeps/unix/inet/Subdirs: Add it here instead.
8356 * hesiod/Depend: New file.
8357
573c29b2
RM
8358 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8359 instead of calling alloca.
8360
b2e25af0
RM
8361 * io/lseek.c (__lseek): Rename to __libc_lseek.
8362 Define __lseek as an alias.
8363
eab55bfb
RM
8364 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8365
9a0d1941
CD
83662013-02-04 Carlos O'Donell <carlos@redhat.com>
8367
8368 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8369 else clause and remove check for non-standard endianness.
8370
b83bbec4
DM
83712013-02-04 David S. Miller <davem@davemloft.net>
8372
8373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8374
6277fdab
JM
83752013-02-04 Joseph Myers <joseph@codesourcery.com>
8376
8377 [BZ #13550]
8378 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8379 (__ubp_memchr): Remove prototype.
8380 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8381 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8382 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8383 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8384 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8385 Remove alias.
8386 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8387 (__ubp_memchr): Likewise.
8388 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8389 (__ubp_memchr): Likewise.
8390 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8391 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8392 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8393 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8394 CHECK_STRING.
8395 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8396 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8397 (__getcwd): Do not use CHECK_STRING.
8398 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8399 <bp-checks.h>.
8400 (__real_chown): Do not use CHECK_STRING.
8401 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8402 <bp-checks.h>.
8403 (fchownat): Do not use CHECK_STRING.
8404 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8405 CHECK_STRING.
8406 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8407 <bp-checks.h>.
8408 (__lchown): Do not use CHECK_STRING.
8409 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8410 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8411 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8412 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8414 include <bp-checks.h>.
8415 (truncate64): Do not use CHECK_STRING.
8416 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8417 <bp-checks.h>.
8418 (__real_chown): Do not use CHECK_STRING.
8419 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8420 <bp-checks.h>.
8421 (__lchown): Do not use CHECK_STRING.
8422 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8423 <bp-checks.h>.
8424 (__chown): Do not use CHECK_STRING.
8425 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8426 <bp-checks.h>.
8427 (truncate64): Do not use CHECK_STRING.
8428 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8429 Likewise.
8430 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8431 (__xmknod): Do not use CHECK_STRING.
8432 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8433 <bp-checks.h>.
8434 (__xmknodat): Do not use CHECK_STRING.
8435 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8436 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8437
903ae060
AS
84382013-02-04 Andreas Schwab <schwab@suse.de>
8439
8440 [BZ #14142]
8441 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8442 * include/netdb.h: Likewise for h_errno.
8443 * elf/tst-stackguard1.c: Include <tls.h>.
8444
542f9466
JK
84452013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8446
8447 * elf/link.h (struct link_map): Extend the l_addr comment.
8448 * include/link.h (struct link_map): Likewise.
8449
e782a927
JM
84502013-02-01 Joseph Myers <joseph@codesourcery.com>
8451
8452 [BZ #13550]
8453 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8454 (BOUNDED_1): Remove macro.
8455 * debug/backtrace.c: Don't include <bp-checks.h>.
8456 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8457 (__backtrace): Likewise.
8458 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8459 <bp-checks.h>.
8460 (__backtrace): Don't use BOUNDED_1.
8461 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8462 <bp-checks.h>.
8463 (__backtrace): Don't use BOUNDED_1.
8464 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8465 (__backtrace): Don't use BOUNDED_1.
8466 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8467 (shmat): Don't use BOUNDED_N.
8468
8cf28c5e
JM
84692013-01-31 Joseph Myers <joseph@codesourcery.com>
8470
3a7ac8a0
JM
8471 [BZ #13550]
8472 * sysdeps/generic/bp-start.h: Remove file.
8473 * csu/libc-start.c: Don't include <bp-start.h>.
8474 (LIBC_START_MAIN): Set up __environ directly instead of using
8475 INIT_ARGV_and_ENVIRON.
8476 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8477 <bp-start.h>.
8478
f3499f95
JM
8479 [BZ #13550]
8480 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8481 definitions.
8482 (CHECK_FCNTL): Likewise.
8483 (CHECK_N_PAGES): Likewise.
8484
32a45bea
JM
8485 [BZ #13550]
8486 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8487 definitions.
8488 (CHECK_SIGSET_NULL_OK): Likewise.
8489 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8490 <bp-checks.h>.
8491 (sigpending): Don't use CHECK_SIGSET.
8492 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8493 <bp-checks.h>.
8494 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8495 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8496 <bp-checks.h>.
8497 (do_sigsuspend): Don't use CHECK_SIGSET.
8498 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8499 use CHECK_SIGSET.
8500 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8501 (do_sigwait): Don't use CHECK_SIGSET.
8502 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8503 use CHECK_SIGSET.
8504 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8505 include <bp-checks.h>.
8506 (sigpending): Don't use CHECK_SIGSET.
8507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8508 include <bp-checks.h>.
8509 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8510 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8511 <bp-checks.h>.
8512 (sigpending): Don't use CHECK_SIGSET.
8513 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8514 <bp-checks.h>.
8515 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8516
2e8a5c8c
JM
8517 [BZ #13550]
8518 * sysdeps/generic/bp-semctl.h: Remove file.
8519 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8520 <bp-checks.h> and <bp-semctl.h>.
8521 (__old_semctl): Don't use CHECK_SEMCTL.
8522 (__new_semctl): Likewise.
8523 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8524 and <bp-semctl.h>.
8525 (__old_semctl): Don't use CHECK_SEMCTL.
8526 (__new_semctl): Likewise.
8527 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8528 <bp-checks.h> and <bp-semctl.h>.
8529 (__old_semctl): Don't use CHECK_SEMCTL.
8530 (__new_semctl): Likewise.
8531 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8532 <bp-checks.h> and <bp-semctl.h>.
8533 (semctl): Don't use CHECK_SEMCTL.
8534
c2d54929
JM
8535 [BZ #13550]
8536 * Makerules (elide-bp-thunks): Remove variable.
8537 (elide-routines.oS): Don't use $(elide-bp-thunks).
8538 (elide-routines.os): Likewise.
8539 (elide-routines.o): Likewise.
8540 (elide-routines.op): Likewise.
8541 (elide-routines.og): Likewise.
8542 (objects): Don't use $(bp-thunks).
8543 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8544 include.
8545 (common-generated): Do not add s-proto-bp.d.
8546 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8547 (int): Likewise.
8548 (typ): Likewise.
8549 Do not generate makefile rules for bounded-pointer thunks.
8550 * sysdeps/generic/bp-thunks.h: Remove file.
8551 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8552 * sysdeps/unix/s-proto-bp.S: Likewise.
8553
8cf28c5e
JM
8554 [BZ #15062]
8555 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8556 parts of result separately when argument is not close to line from
8557 -i to i and one part of argument is small.
8558 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8559 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8560 * math/libm-test.inc (cacos_test): Add more tests.
8561 (casin_test): Likewise.
8562 (casinh_test): Likewise.
8563 * sysdeps/i386/fpu/libm-test-ulps: Update.
8564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8565
c4e33b8d
DM
85662013-01-31 David S. Miller <davem@davemloft.net>
8567
8568 * po/de.po: Update from translation team.
8569
3b60b421
MK
85702013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8571
8572 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8573
bb931195
TS
85742013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8575
b5a5da23
TS
8576 * configure.in (_AC_PROG_CC_C89): New definition.
8577 * configure: Regenerate.
8578
bb931195
TS
8579 * configure.in (AC_PROG_CPP): New definition.
8580 * configure: Regenerate.
8581
8c53a12c
JM
85822013-01-23 Joseph Myers <joseph@codesourcery.com>
8583
8584 * debug/tst-backtrace.h: New file.
8585 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8586 (ret): Remove variable.
8587 (x): Likewise.
8588 (FAIL): Remove macro.
8589 (NO_INLINE): Likewise.
8590 (fn1): Use match function instead of strstr.
8591 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8592 (ret): Remove variable.
8593 (x): Likewise.
8594 (FAIL): Remove macro.
8595 (NO_INLINE): Likewise.
8596 (fn): Use match function instead of strstr.
8597 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8598 (ret): Remove variable.
8599 (x): Likewise.
8600 (FAIL): Remove macro.
8601 (NO_INLINE): Likewise.
8602 (handle_signal): Use match function instead of strstr.
8603 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8604 (ret): Remove variable.
8605 (x): Likewise.
8606 (FAIL): Remove macro.
8607 (NO_INLINE): Likewise.
8608 (handle_signal): Use match function instead of strstr.
8609
4858fa2a
RM
86102013-01-23 Roland McGrath <roland@hack.frob.com>
8611
8612 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8613
bae8e7f5
DM
86142013-01-23 David S. Miller <davem@davemloft.net>
8615
8616 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8617 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8618 argument of CAS if possible.
8619 * sysdeps/sparc/sparc64/bits/atomic.h
8620 (__arch_compare_and_exchange_val_32_acq): Likewise.
8621 (__arch_compare_and_exchange_val_64_acq): Likewise.
8622
9cbbc4ae
PT
86232013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8624
8625 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8626 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8627 Include <limits.h>.
67b3f58c 8628 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8629
5655a0b5
AC
86302013-01-23 Adam Conrad <adconrad@0c3.net>
8631
8632 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8633 (LDFLAGS-tst-array5): Likewise.
8634
052aff95
JM
86352013-01-23 Joseph Myers <joseph@codesourcery.com>
8636
8637 [BZ #15036]
8638 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8639 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8640 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8641 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8642
7c1e01aa
DM
86432013-01-21 David S. Miller <davem@davemloft.net>
8644
8645 * sysdeps/sparc/backtrace.c: New file.
8646 * sysdeps/sparc/sparc32/backtrace.h: New file.
8647 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8648 * sysdeps/sparc/sparc64/backtrace.h: New file.
8649 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8650 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8651 -funwind-tables.
8652
ab087e0a
AS
86532013-01-21 Andreas Schwab <schwab@suse.de>
8654
8655 [BZ #15020]
8656 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8657 closed its stdout.
8658
ed689c2f
AS
86592013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8660
8661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8662 "mpa2.h".
8663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8664
31d470ac
JM
86652013-01-18 Joseph Myers <joseph@codesourcery.com>
8666 Mark Mitchell <mark@codesourcery.com>
8667 Tom de Vries <tom@codesourcery.com>
8668 Paul Pluzhnikov <ppluzhnikov@google.com>
8669
8670 * debug/tst-backtrace2.c: New file.
8671 * debug/tst-backtrace3.c: Likewise.
8672 * debug/tst-backtrace4.c: Likewise.
8673 * debug/tst-backtrace5.c: Likewise.
8674 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8675 (CFLAGS-tst-backtrace3.c): Likewise.
8676 (CFLAGS-tst-backtrace4.c): Likewise.
8677 (CFLAGS-tst-backtrace5.c): Likewise.
8678 (LDFLAGS-tst-backtrace2): Likewise.
8679 (LDFLAGS-tst-backtrace3): Likewise.
8680 (LDFLAGS-tst-backtrace4): Likewise.
8681 (LDFLAGS-tst-backtrace5): Likewise.
8682 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8683 tst-backtrace4 and tst-backtrace5.
8684
90567f30 86852013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8686 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8687
8688 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8689 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8690 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8691 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8693 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8694 "+r" and remove output regs list as redundant. Add explicit inline
8695 asm to specify register of return val to work around compiler codegen
8696 bug. Remove (int) cast on return value. Add return type parameter to
8697 use in macro so that this macro does not truncate return value for
8698 64-bit values.
8699 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8700 pass to INTERNAL_VSYSCALL_NCS.
8701 (INLINE_VSYSCALL): Add 'long int' as return type to
8702 INTERNAL_VSYSCALL_NCS macro invocation.
8703 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8704 INTERNAL_VSYSCALL_NCS macro invocation.
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8706
d3b9ea61
SP
87072013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8708
0b57daeb
SP
8709 [BZ #14496]
8710 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8711 Fix application of SIMD FP exception mask.
8712
caa99d06
SP
8713 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8714 mp_no from a power of two.
8715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8716 __mpexp_twomm1. Use __pow_mp.
8717
d3b9ea61
SP
8718 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8719 multiplication.
8720
1dbaee3c
DM
87212013-01-17 David S. Miller <davem@davemloft.net>
8722
8723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8724
728d7b43
JM
87252013-01-17 Joseph Myers <joseph@codesourcery.com>
8726
8727 [BZ #15023]
8728 * include/complex.h: Condition contents on [!_COMPLEX_H].
8729 (__kernel_casinhf): New prototype.
8730 (__kernel_casinh): Likewise.
8731 (__kernel_casinhl): Likewise.
8732 * math/Makefile (libm_calls): Add k_casinh.
8733 * math/k_casinh.c: New file.
8734 * math/k_casinhf.c: Likewise.
8735 * math/k_casinhl.c: Likewise.
8736 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8737 finite nonzero arguments.
8738 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8739 finite nonzero arguments.
8740 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8741 finite nonzero arguments.
8742 * math/s_casinh.c: Do not include <float.h>.
8743 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8744 * math/s_casinhf.c: Do not include <float.h>.
8745 (__casinhf): Move code for finite nonzero arguments to
8746 k_casinhf.c.
8747 * math/s_casinhl.c: Do not include <float.h>.
8748 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8749 redefine.
8750 (__casinhl): Move code for finite nonzero arguments to
8751 k_casinhl.c.
8752 * math/libm-test.inc (cacos_test): Add more tests.
8753 * sysdeps/i386/fpu/libm-test-ulps: Update.
8754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755
2a26ef3a
PT
87562013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8757
8758 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8759 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8760 [!HAVE_MREMAP]: Remove [defined linux] case.
8761 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8762
a897655d
SP
87632013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8764
8765 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8766
881ebe89 87672013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8768
8769 * elf/elf.h (R_386_SIZE32): New relocation.
8770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8771 R_386_SIZE32.
8772 (elf_machine_rela): Likewise.
8773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8774 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8775
59981e9b
JM
87762013-01-17 Joseph Myers <joseph@codesourcery.com>
8777
8778 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8779 (FP_FAST_FMA): Do not define.
8780 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8781 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8782 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8783 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8784 !_SOFT_FLOAT]: Likewise.
8785 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8786 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8787 value.
8788 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8789 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8790 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8791 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8792 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8793 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8794 file.
8795
cfa8054f
AS
87962013-01-16 Andreas Schwab <schwab@suse.de>
8797
8798 [BZ #14327]
8799 * include/stdlib.h (__mktemp): Add declaration.
8800 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8801 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8802
dd930cc5
SP
88032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8804
881ebe89
SP
8805 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8806 definitions.
8807 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8808 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8809 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8810 definitions here.
8811 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8812 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8813 definitions.
8814 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8815 and ONE.
8816 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8817 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8818 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8819 definitions.
8820 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8821 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8822 definitions.
8823 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8824
dd930cc5
SP
8825 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8826
c19a9f89
DM
88272013-01-15 David S. Miller <davem@davemloft.net>
8828
1aa61767
DM
8829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8830 trunc{,f} to libm-sysdep_routes.
8831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8833 file.
8834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8836 file.
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8838 file.
8839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8841 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8842 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8843 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8844 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8845 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8846 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8847
c42d5e98
DM
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8849 nearbyint{,f} to libm-sysdep_routes.
8850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8852 New file.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8854 file.
8855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8856 New file.
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8858 file.
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8861 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8862 file.
8863 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8864 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8865 file.
8866 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8867 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8868 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8869
c19a9f89
DM
8870 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8871 libc_feholdexcept and libc_fesetenv.
8872
357679d2
MF
88732013-01-15 Mike Frysinger <vapier@gentoo.org>
8874
8875 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8876
65a82e3d
DM
88772013-01-14 David S. Miller <davem@davemloft.net>
8878
8b954ab9
DM
8879 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8880 (SPARC_ASM_VIS2_IFUNC): Likewise.
8881 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8883 use of 'siam' instruction.
8884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8885 Likewise.
8886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8887 Likewise.
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8889 Likewise.
8890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8895 file.
8896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8897 file.
8898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8899 file.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8901 file.
8902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8907 new VIS2 routines.
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8911 Likewise.
8912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8917 routines to libm-sysdep_routines.
8918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8919
65a82e3d
DM
8920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8921 fdim/fdimf to libm-sysdep_routines.
8922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8923 file.
8924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8926 file.
8927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8930 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8931 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8932 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8933 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8934
e34ab705
SP
89352013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8936
2a91b573
SP
8937 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8938 to optimize copies.
8939
1066a534
SP
8940 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8943
e34ab705
SP
8944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8945 local variable MPTWO.
8946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8947 Likewise.
8948
aba5e596
MF
89492013-01-13 Mike Frysinger <vapier@gentoo.org>
8950
8951 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8952 GLOB_NOESCAPE.
8953
e557e9e5
MF
89542013-01-13 Mike Frysinger <vapier@gentoo.org>
8955
8956 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8957
0428cec9
MF
89582013-01-13 Mike Frysinger <vapier@gentoo.org>
8959
8960 * manual/pattern.texi (glob_t): Document gl_flags.
8961 (glob64_t): Likewise.
8962
8794a964
DM
89632013-01-11 David S. Miller <davem@davemloft.net>
8964
66438c3f
RM
8965 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8966 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8967 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8968 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8969 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8970 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8971 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8972 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8973 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8974 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8975 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8976 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8977 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8978
4ae4244d
DM
8979 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8980 sparc V9 rather than using V8 code.
8981 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8982 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8983
8794a964
DM
8984 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8985 Move to...
8986 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8987 Here.
8988
6270516e
RM
89892013-01-11 Roland McGrath <roland@hack.frob.com>
8990
8991 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8992 not in the main loop.
8993 * configure: Regenerated.
8994
6a57d931
JM
89952013-01-11 Joseph Myers <joseph@codesourcery.com>
8996
8997 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8998 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8999 to just #else.
9000 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9001 [!__GLIBC_HAVE_LONG_LONG] case.
9002 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9003 condition to just #else.
9004 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9005 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9006 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9007 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9008 unconditional.
9009 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9010 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9011 #elif condition to just #else.
9012 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9013 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9014 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9015 #elif condition to just #else.
9016
0e8529e9
SE
90172013-01-11 Steve Ellcey <sellcey@mips.com>
9018
9019 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9020 (EF_MIPS_ARCH_64): Fix value.
9021 (EF_MIPS_ARCH_32R2): New.
9022 (EF_MIPS_ARCH_64R2): New.
9023
740b3dbe
L
90242013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9025
9026 * Makeconfig (+link-pie-before-libc): New.
9027 (+link-pie-after-libc): Likewise.
9028 (+link-pie-tests): Likewise.
9029 (+link-pie): Rewritten.
9030 (link-before-libc): Remove $(config-LDFLAGS).
9031 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9032 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9033 (config-LDFLAGS): Renamed to ...
9034 (rtld-LDFLAGS): This.
9035 (rtld-tests-LDFLAGS): New macro.
9036 (link-libc-rpath-link): Likewise.
9037 (link-libc-tests-rpath-link): Likewise.
9038 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9039 (link-libc): Prepand $(link-libc-rpath-link).
9040 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9041 (test-program-prefix): New macro.
9042 (test-via-rtld-prefix): Likewise.
9043 (test-program-cmd): Likewise.
9044 (host-test-program-cmd): Likewise.
9045 * Makefile ($(common-objpfx)testrun.sh): Replace
9046 $(run-program-prefix) with $(test-program-prefix).
9047 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9048 $(rtld-LDFLAGS).
9049 ($(common-objpfx)shlib.lds): Likewise.
9050 (build-module-helper): Likewise.
9051 ($(common-objpfx)format.lds): Likewise.
9052 * Rules (binaries-pie-tests): New.
9053 (binaries-pie-notests): Likewise.
9054 (binaries-pie): Rewritten.
9055 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9056 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9057 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9058 (make-test-out): Replace $(host-built-program-cmd) with
9059 $(host-test-program-cmd).
9060 * config.make.in (build-hardcoded-path-in-tests): New variable.
9061 * configure.in (--enable-hardcoded-path-in-tests): New configure
9062 option.
9063 (hardcoded_path_in_tests): New AC_SUBST.
9064 * configure: Regenerated.
9065 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9066 $(built-program-cmd) with $(test-program-cmd).
9067 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9068 (test_program_cmd): This.
9069 * elf/Makefile ($(objpfx)order.out): Run test with
9070 $(test-program-prefix).
9071 ($(objpfx)order2.out): Likewise.
9072 ($(objpfx)tst-initorder.out): Likewise.
9073 ($(objpfx)tst-initorder2.out): Likewise.
9074 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9075 $(test-program-cmd).
9076 ($(objpfx)tst-array1-static.out): Likewise.
9077 ($(objpfx)tst-array2.out): Likewise.
9078 ($(objpfx)tst-array3.out): Likewise.
9079 ($(objpfx)tst-array4.out): Likewise.
9080 ($(objpfx)tst-array5.out): Likewise.
9081 ($(objpfx)tst-array5-static.out): Likewise.
9082 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9083 $(test-program-cmd).
9084 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9085 $(run-program-prefix) with $(test-program-prefix).
9086 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9087 (test_program_prefix): This.
9088 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9089 $(run-program-prefix) with $(test-program-prefix).
9090 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9091 (test_program_prefix): This.
9092 * iconvdata/tst-tables.sh: Likewise.
9093 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9094 $(run-program-prefix) with $(test-program-prefix).
9095 ($(objpfx)tst-translit.out): Likewise.
9096 ($(objpfx)tst-gettext2.out): Likewise.
9097 ($(objpfx)tst-gettext4.out): Likewise.
9098 ($(objpfx)tst-gettext6.out): Likewise.
9099 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9100 (test_program_prefix): This.
9101 * intl/tst-gettext2.sh: Likewise.
9102 * intl/tst-gettext4.sh Likewise.
9103 * intl/tst-gettext6.sh: Likewise.
9104 * intl/tst-translit.sh: Likewise.
9105 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9106 with $(test-program-cmd).
9107 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9108 $(run-program-prefix) with $(test-program-prefix).
9109 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9110 (test_program_prefix): This.
9111 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9112 $(run-program-prefix) with $(test-program-prefix).
9113 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9114 (test_program_prefix): This.
9115 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9116 * posix/Makefile ($(objpfx)globtest.out): Replace
9117 $(run-via-rtld-prefix) and $(test-wrapper) with
9118 $(test-program-prefix) and $(test-via-rtld-prefix).
9119 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9120 $(test-program-prefix).
9121 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9122 $(host-test-program-cmd).
9123 (tst-spawn-ARGS): Likewise.
9124 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9125 $(test-program-prefix).
9126 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9127 (test_via_rtld_prefix): This.
9128 (test_wrapper): Renamed to ...
9129 (test_program_prefix): This.
9130 (run_program_prefix): Replaced by test_program_prefix.
9131 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9132 (test_program_prefix): This.
9133 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9134 with $(host-test-program-cmd).
9135 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9136 $(run-program-prefix) with $(test-program-prefix).
9137 ($(objpfx)tst-printf.out): Likewise.
9138 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9139 $(test-program-cmd).
9140 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9141 (test_program_prefix): This.
9142 * stdio-common/tst-unbputc.sh: Likewise.
9143 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9144 $(run-program-prefix) with $(test-program-prefix).
9145 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9146 (test_program_prefix): This.
9147 * string/Makefile ($(objpfx)tst-svc.out): Replace
9148 $(built-program-cmd) with $(test-program-cmd).
9149
c6fe55cf
AJ
91502013-01-11 Andreas Jaeger <aj@suse.de>
9151
9152 [BZ #15003]
9153 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9154 value. Sync with Linux 3.7.
9155
9e6919c8
DM
91562013-01-10 David S. Miller <davem@davemloft.net>
9157
9158 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9159 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9160 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9161
1c9f1a02
RM
91622013-01-10 Roland McGrath <roland@hack.frob.com>
9163
9164 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9165 never set.
9166 * configure: Regenerated.
9167
b9de2dde
DM
91682013-01-10 David S. Miller <davem@davemloft.net>
9169
9170 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9171 sparc V9 rather than using V8 code.
9172 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9173 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9174
e7f68ef4
RM
91752013-01-10 Roland McGrath <roland@hack.frob.com>
9176
9177 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9178 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9179 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9180 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9181 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9182 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9183 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9184 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9185 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9186 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9187 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9188 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9189 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9190 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9191 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9192 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9193 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9194 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9195 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9196 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9197 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9198 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9199 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9200 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9201 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9202 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9203 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9204
5a47cc9c
DM
92052013-01-10 David S. Miller <davem@davemloft.net>
9206
9207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9208
4cf8f209
L
92092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9210
9211 * posix/Makefile (tests-static): New variable.
9212 (tests): Add $(tests-static).
9213 (tst-exec-static-ARGS): New variable.
9214 (tst-spawn-static-ARGS): Likewise.
9215 * posix/tst-exec-static.c: New file.
9216 * posix/tst-spawn-static.c: Likewise.
9217 * posix/tst-exec.c: Support run directly.
9218 * posix/tst-spawn.c: Likewise.
9219
fed0faa1
JM
92202013-01-10 Joseph Myers <joseph@codesourcery.com>
9221
828beb13
JM
9222 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9223 long.
9224 * math/bits/mathcalls.h (llrint): Likewise.
9225 (llround): Likewise.
9226 * stdlib/stdlib.h (struct drand48_data): Likewise.
9227 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9228 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9229 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9230 Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9232 Likewise.
9233 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9234 (elf_greg_t): Likewise.
9235 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9236 (__jmp_buf): Likewise.
9237 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9238 definitions.
9239 (llrint): Likewise, for all definitions.
9240 (llrintl): Likewise.
9241
fed0faa1
JM
9242 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9243 Remove [__GNUC__] condition.
9244 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9245 condition to just [__USE_ISOC99].
9246 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9247
1a20cb20
L
92482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 [BZ #14200]
9251 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9252 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9253 defined.
9254 (_POSIX_V6_ILP32_OFF32): Likewise.
9255 (_XBS5_ILP32_OFF32): Likewise.
9256 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9257 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9258
751b85f7
SP
92592013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9260
7490eb81
SP
9261 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9262
751b85f7
SP
9263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9264 doubles __mpexp_twomm1. Adjust usage.
9265 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9266 Remove.
9267
988197f0
AS
92682013-01-10 Andreas Schwab <schwab@suse.de>
9269
9270 [BZ #14964]
9271 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9272 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9273
e83d7298
DM
92742013-01-09 David S. Miller <davem@davemloft.net>
9275
034ed64b 9276 [BZ #15003]
e83d7298
DM
9277 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9278 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9279 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9280 TCP_FASTOPEN): Define.
9281 (tcp_repair_opt): New structure.
9282 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9283 enum values.
9284 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9285 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9286 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9287 (tcp_cookie_transactions): New structure.
9288
d5e0b9bd
AB
92892013-01-09 Anton Blanchard <anton@samba.org>
9290
9291 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9292 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9294 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9295
0c07e3ea
JM
92962013-01-09 Joseph Myers <joseph@codesourcery.com>
9297
9298 * include/features.h (__USE_ANSI): Remove.
9299
232f7002
RM
93002013-01-09 Roland McGrath <roland@hack.frob.com>
9301
ad98e30c
RM
9302 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9303
232f7002
RM
9304 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9305
950c99ca
SP
93062013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9307
b5792741
SP
9308 * sysdeps/s390/fpu/libm-test-ulps: Update.
9309
47cf2278
SP
9310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9311
950c99ca
SP
9312 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9313 (__acr): Likewise.
9314 (__cpy): Likewise.
9315 (norm): Likewise.
9316 (denorm): Likewise.
9317 (__mp_dbl): Likewise.
9318 (__dbl_mp): Likewise.
9319 (add_magnitudes): Likewise.
9320 (sub_magnitudes): Likewise.
9321 (__add): Likewise.
9322 (__sub): Likewise.
9323 (__mul): Likewise.
9324 (__inv): Likewise.
9325 (__dvd): Likewise.
9326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9327 (__acr): Likewise.
9328 (__cpy): Likewise.
9329 (norm): Likewise.
9330 (denorm): Likewise.
9331 (__mp_dbl): Likewise.
9332 (__dbl_mp): Likewise.
9333 (add_magnitudes): Likewise.
9334 (sub_magnitudes): Likewise.
9335 (__add): Likewise.
9336 (__sub): Likewise.
9337 (__mul): Likewise.
9338 (__inv): Likewise.
9339 (__dvd): Likewise.
9340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9341 (__acr): Likewise.
9342 (__cpy): Likewise.
9343 (norm): Likewise.
9344 (denorm): Likewise.
9345 (__mp_dbl): Likewise.
9346 (__dbl_mp): Likewise.
9347 (add_magnitudes): Likewise.
9348 (sub_magnitudes): Likewise.
9349 (__add): Likewise.
9350 (__sub): Likewise.
9351 (__mul): Likewise.
9352 (__inv): Likewise.
9353 (__dvd): Likewise.
9354
eede9df9
JM
93552013-01-08 Joseph Myers <joseph@codesourcery.com>
9356
9357 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9358 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9359 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9360 2 && __USE_EXTERN_INLINES]: Likewise.
9361
c40ea3d9
AJ
93622013-01-08 Andreas Jaeger <aj@suse.de>
9363
9364 [BZ# 14985]
9365 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9366 Remove.
9367 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9368 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9369
2ccdea26
AB
93702013-01-07 Anton Blanchard <anton@samba.org>
9371
9372 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9373 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9374 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9375 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9376 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9377 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9378 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9379 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9381 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9382 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9383 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9384 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9385 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9386 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9387 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9388 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9389 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9390 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9391 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9392 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9393 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9395 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9396 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9397 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9399 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9401 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9402 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9404 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9405 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9406 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9407 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9408 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9409 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9410 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9411 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9412 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9413 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9414 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9415
a9708fed
JM
94162013-01-07 Joseph Myers <joseph@codesourcery.com>
9417
375607b9
JM
9418 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9419 (__MALLOC_PMT): Likewise.
9420 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9421 [__GNUC__], only on [_LIBC].
9422 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9423 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9424 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9425 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9426 forward declaration.
9427 (realloc_hook_ini): Likewise.
9428 (memalign_hook_ini): Likewise.
9429 (__libc_memalign): Do not use __MALLOC_PMT in variable
9430 declaration.
9431 (__libc_valloc): Likewise.
9432 (__libc_pvalloc): Likewise.
9433 (__libc_calloc): Likewise.
9434 (__posix_memalign): Likewise.
9435
a9708fed
JM
9436 [BZ #14996]
9437 * math/s_casinh.c: Include <float.h>.
9438 (__casinh): Do not do computation with squaring and square root
9439 for large arguments.
9440 * math/s_casinhf.c: Include <float.h>.
9441 (__casinhf): Do not do computation with squaring and square root
9442 for large arguments.
9443 * math/s_casinhl.c: Include <float.h>.
9444 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9445 (__casinhl): Do not do computation with squaring and square root
9446 for large arguments.
9447 * math/libm-test.inc (casin_test): Add more tests.
9448 (casinh_test): Likewise.
9449 * sysdeps/i386/fpu/libm-test-ulps: Update.
9450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9451
afec409a
L
94522013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9453
9454 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9455 (__x86_64_raw_data_cache_size): Likewise.
9456 (__x86_64_data_cache_size_half): Likewise.
9457 (__x86_64_raw_data_cache_size_half): Likewise.
9458 (__x86_64_shared_cache_size): Likewise.
9459 (__x86_64_raw_shared_cache_size): Likewise.
9460 (__x86_64_shared_cache_size_half): Likewise.
9461 (__x86_64_raw_shared_cache_size_half): Likewise.
9462 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9463 to ...
9464 (__x86_data_cache_size): This.
9465 (__x86_64_raw_data_cache_size): Renamed to ...
9466 (__x86_raw_data_cache_size): This.
9467 (__x86_64_data_cache_size_half): Renamed to ...
9468 (__x86_data_cache_size_half): This.
9469 (__x86_64_raw_data_cache_size_half): Renamed to ...
9470 (__x86_raw_data_cache_size_half): This.
9471 (__x86_64_shared_cache_size): Renamed to ...
9472 (__x86_shared_cache_size): This.
9473 (__x86_64_raw_shared_cache_size): Renamed to ...
9474 (__x86_raw_shared_cache_size): This.
9475 (__x86_64_shared_cache_size_half): Renamed to ...
9476 (__x86_shared_cache_size_half): This.
9477 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9478 (__x86_raw_shared_cache_size_half): This.
9479 * sysdeps/x86_64/memcpy.S: Updated.
9480 * sysdeps/x86_64/memset.S: Likewise.
9481 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9482 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9484
0b3986d0
DM
94852013-01-04 David S. Miller <davem@davemloft.net>
9486
9487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9488
e47686e9
AS
94892013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9490
d643bac1
AS
9491 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9492 1 to avoid redefinition warning.
9493 (__USE_GNU): Don't define.
9494 (init_signaling_nan): Protoize.
9495
e47686e9
AS
9496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9497
b18decba
SP
94982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9499
fffb407f
SP
9500 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9502 (__cpymn): Likewise.
9503 (norm): Remove commented code.
9504 (denorm): Likewise.
9505 (__mp_dbl): Likewise.
9506 (__inv): Likewise.
9507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9508 (__cpymn): Likewise.
9509 (norm): Remove commented code.
9510 (denorm): Likewise.
9511 (__mp_dbl): Likewise.
9512 (__inv): Likewise.
9513
b18decba
SP
9514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9515 mp_no value for 1.0 and 2.0.
9516 (norm): Use RADIXI instead of radixi.d.
9517 (denorm): Likewise.
9518 (__mul): Use 0.0 instead of zero.d.
9519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9520 mp_no value for 1.0 and 2.0.
9521 (norm): Use RADIXI instead of radixi.d.
9522 (denorm): Likewise.
9523 (__mul): Use 0.0 instead of zero.d.
9524
cdc1c96f
JM
95252013-01-04 Joseph Myers <joseph@codesourcery.com>
9526
9527 [BZ #14994]
9528 * math/s_casinh.c (__casinh): Reduce finite argument to first
9529 quadrant then set signs of results at the end.
9530 * math/s_casinhf.c (__casinhf): Likewise.
9531 * math/s_casinhl.c (__casinhl): Likewise.
9532 * math/libm-test.inc (casin_test): Add more tests.
9533 (casinh_test): Likewise.
9534 * sysdeps/i386/fpu/libm-test-ulps: Update.
9535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9536
302913e1
SP
95372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9538
6420d207
SP
9539 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9540
a9e48ab4
SP
9541 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9542
b7837264
SP
9543 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9544 declarations.
9545 (denorm): Likewise.
9546 (__mp_dbl): Likewise.
9547 (__inv): Likewise.
9548
f8af25d2
SP
9549 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9550 and adjust the header comment.
9551
302913e1
SP
9552 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9553 variable name from declaration.
9554
5d7dd1ca
L
95552013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9556
9557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9558 Initialize COMMON_CPUID_INDEX_7 element.
9559 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9560 (CPUID_RTM): Likewise.
9561 (HAS_RTM): Likewise.
9562 (COMMON_CPUID_INDEX_7): New enum.
9563
2f5f40f4
AS
95642013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9565
9566 [BZ #14981]
9567 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9568 size is zero, record memory as freed.
9569
4056f4a0
AJ
95702013-01-03 Andreas Jaeger <aj@suse.de>
9571
9572 * po/ia.po: Add new Interlingua translation.
9573
ab15736f 95742012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9575
9576 * locale/programs/localedef.c: Fix description of '--posix' flag.
9577
568035b7
JM
95782013-01-02 Joseph Myers <joseph@codesourcery.com>
9579
e6898b8d
JM
9580 * NEWS: Update dates in second copyright notice.
9581 * README: Update copyright dates in example.
9582 * manual/libc.texinfo: Update copyright dates.
9583 * scripts/test-installation.pl: Update copyright date in --version
9584 output.
9585
0e2f9562
JM
9586 * hurd/ctty-input.c: Fix copyright notice formatting.
9587 * hurd/ctty-output.c: Likewise.
9588 * hurd/dtable.c: Likewise.
9589 * hurd/hurd-raise.c: Likewise.
9590 * hurd/hurdprio.c: Likewise.
9591 * hurd/msgportdemux.c: Likewise.
9592 * misc/sys/file.h: Likewise.
9593 * misc/sys/ioctl.h: Likewise.
9594 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9595 * sysdeps/mach/hurd/chdir.c: Likewise.
9596 * sysdeps/mach/hurd/fchdir.c: Likewise.
9597 * sysdeps/mach/hurd/rename.c: Likewise.
9598 * sysdeps/mach/hurd/rmdir.c: Likewise.
9599 * sysdeps/mach/hurd/seekdir.c: Likewise.
9600 * sysdeps/mach/hurd/setsid.c: Likewise.
9601 * sysdeps/posix/wait3.c: Likewise.
9602
568035b7
JM
9603 * All files with FSF copyright notices: Update copyright dates
9604 using scripts/update-copyrights.
9605 * intl/plural.c: Regenerated.
9606 * locale/programs/charmap-kw.h: Likewise.
9607 * locale/programs/locfile-kw.h: Likewise.
9608
da08f647
SP
96092013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9610
0f5477af
SP
9611 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9612 four values.
9613
44e0d4c2
SP
9614 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9615 calculation loop and add branch prediction.
9616
4d55b4e5
SP
9617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9618 check access beyond bounds of m1np.
9619
da08f647
SP
9620 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9621 MPTWO.
9622 (__inv): Remove local variable MPTWO to use the global
9623 constant.
9624 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9626 variable MPTWO.
9627 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9628 MP3HALFS static const.
9629
8e051029
DM
96302013-01-01 David S. Miller <davem@davemloft.net>
9631
9632 * po/ca.po: Update from translation team.
9633
f4cf5f2d
JM
96342013-01-01 Joseph Myers <joseph@codesourcery.com>
9635
9636 * scripts/update-copyrights: New file.
9637 * Makeconfig: Reformat copyright notice.
9638 * ctype/ctype.h: Likewise.
9639 * debug/swprintf_chk.c: Likewise.
9640 * elf/dl-cache.c: Likewise.
9641 * elf/dl-debug.c: Likewise.
9642 * elf/dl-object.c: Likewise.
9643 * grp/initgroups.c: Likewise.
9644 * hurd/Makefile: Likewise.
9645 * hurd/hurd/signal.h: Likewise.
9646 * hurd/hurdfault.c: Likewise.
9647 * hurd/hurdioctl.c: Likewise.
9648 * hurd/hurdlookup.c: Likewise.
9649 * hurd/intr-msg.c: Likewise.
9650 * iconv/gconv_open.c: Likewise.
9651 * libio/swprintf.c: Likewise.
9652 * locale/lc-ctype.c: Likewise.
9653 * locale/nl_langinfo.c: Likewise.
9654 * mach/Machrules: Likewise.
9655 * mach/Makefile: Likewise.
9656 * malloc/obstack.h: Likewise.
9657 * manual/Makefile: Likewise.
9658 * manual/tsort.awk: Likewise.
9659 * misc/bits/stab.def: Likewise.
9660 * nis/nis_print_group_entry.c: Likewise.
9661 * nis/nis_table.c: Likewise.
9662 * nis/nss_compat/compat-pwd.c: Likewise.
9663 * nis/nss_compat/compat-spwd.c: Likewise.
9664 * po/Makefile: Likewise.
9665 * posix/fnmatch.c: Likewise.
9666 * posix/regex.h: Likewise.
9667 * resolv/Makefile: Likewise.
9668 * resolv/nss_dns/dns-network.c: Likewise.
9669 * resolv/res_hconf.c: Likewise.
9670 * scripts/gen-sorted.awk: Likewise.
9671 * soft-fp/soft-fp.h: Likewise.
9672 * stdio-common/printf.h: Likewise.
9673 * stdlib/monetary.h: Likewise.
9674 * stdlib/random.c: Likewise.
9675 * stdlib/random_r.c: Likewise.
9676 * sysdeps/generic/Makefile: Likewise.
9677 * sysdeps/gnu/Makefile: Likewise.
9678 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9688 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9696 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9698 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9699 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9700 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9706 * sysdeps/mach/hurd/errnos.awk: Likewise.
9707 * sysdeps/mach/hurd/fork.c: Likewise.
9708 * sysdeps/mach/hurd/getcwd.c: Likewise.
9709 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9710 * sysdeps/mach/hurd/mmap.c: Likewise.
9711 * sysdeps/mach/hurd/utimes.c: Likewise.
9712 * sysdeps/mach/hurd/xmknod.c: Likewise.
9713 * sysdeps/posix/profil.c: Likewise.
9714 * sysdeps/posix/readdir_r.c: Likewise.
9715 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9716 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9717 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9718 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9720 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9721 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9724 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9725 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9726 * sysdeps/pthread/lio_listio.c: Likewise.
9727 * sysdeps/sparc/dl-procinfo.h: Likewise.
9728 * sysdeps/unix/i386/sysdep.S: Likewise.
9729 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9730 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9731 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9732 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9734 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9735 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9736 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9737 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9738 * sysdeps/wordsize-32/divdi3.c: Likewise.
9739 * time/sys/time.h: Likewise.
9740 * wcsmbs/Makefile: Likewise.
9741
0549fbba
DM
97422013-01-01 David S. Miller <davem@davemloft.net>
9743
a141f1a7
DM
9744 * po/fr.po: Update from translation team.
9745
0549fbba
DM
9746 * catgets/gencat.c: Update copyright year.
9747 * csu/version.c: Likewise.
9748 * debug/catchsegv.sh: Likewise.
9749 * debug/pcprofiledump.c: Likewise.
9750 * debug/xtrace.sh: Likewise.
9751 * elf/ldconfig.c: Likewise.
9752 * elf/ldd.bash.in: Likewise.
9753 * elf/pldd.c: Likewise.
9754 * elf/sotruss.ksh: Likewise.
9755 * elf/sprof.c: Likewise.
9756 * iconv/iconv_prog.c: Likewise.
9757 * iconv/iconvconfig.c: Likewise.
9758 * locale/programs/locale.c: Likewise.
9759 * locale/programs/localedef.c: Likewise.
9760 * login/programs/pt_chown.c: Likewise.
9761 * malloc/memusage.sh: Likewise.
9762 * malloc/memusagestat.c: Likewise.
9763 * malloc/mtrace.pl: Likewise.
9764 * nscd/nscd.c: Likewise.
9765 * nss/getent.c: Likewise.
9766 * nss/makedb.c: Likewise.
9767 * posix/getconf.c: Likewise.
9768
18ea052c
SP
97692012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9770
9771 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9772 numbers.
9773
9c89fca6
MF
97742012-12-30 Mike Frysinger <vapier@gentoo.org>
9775
9776 * math/bits/mathcalls.h (modf): Use __nonnull.
9777
085ec079
SP
97782012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9779
9780 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9781 (split): Use macro CN instead of the bare value.
9782 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9783 could be used.
9784 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9785 instead of the bare value.
9786 (power1): Likewise.
9787
6d9f97e1
SP
97882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9789
d63f73be
SP
9790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9791 __ATAN_TWOM.
9792 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9793
6d9f97e1
SP
9794 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9795 their values.
9796 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9797 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9798 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9799 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9800
4c4febf5
AJ
98012012-12-28 Andreas Jaeger <aj@suse.de>
9802
af5843ef
AJ
9803 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9804 values are from Linux 3.7.
9805
4c4febf5
AJ
9806 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9807 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9808
99136f82
SP
98092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9810
2f216c3c 9811 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9812 TRUE case.
9813
99136f82
SP
9814 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9815 (norm): Likewise.
9816 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9817 variables with preprocessor constants.
9818 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9819 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9820 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9821
7fffbdff
BH
98222012-12-27 Bruno Haible <bruno@clisp.org>
9823
9824 [BZ #14317]
9825 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9826 only if needed.
9827
b76eb5f0
SP
98282012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9829
31a7fe5c
SP
9830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9831 and use variable directly.
9832 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9833
b76eb5f0
SP
9834 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9835 MPONE.
9836 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9837 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9838 variable MPONE.
9839 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9841 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9842 include directive. Remove local variable MPONE.
9843 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9844 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9845 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9846
2c8bfe7d
DM
98472012-12-25 David S. Miller <davem@davemloft.net>
9848
9849 * version.h (RELEASE): Set to "development".
9850 (VERSION): Set to "2.17.90".
9851 * NEWS: Add 2.18 section.
9852
147d03b0
DM
98532012-12-21 David S. Miller <davem@davemloft.net>
9854
9855 * po/hr.po: Update from translation team.
9856
a8ebb2b9
AK
98572012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9858
9859 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9860
95b4f1b6
SE
98612012-12-19 Steve Ellcey <sellcey@mips.com>
9862
b2d94007 9863 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9864
cedb2a90
MS
98652012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9866
9867 * manual/contrib.texi (Contributors): Spelling correction.
9868
bbf527d6
DM
98692012-12-15 David S. Miller <davem@davemloft.net>
9870
9871 * po/ru.po: Update from translation team.
9872
bc38c906
DM
98732012-12-13 David S. Miller <davem@davemloft.net>
9874
85429b1a
DM
9875 * NEWS: Mention IFUNC testsuite enhancements.
9876
d283e353
DM
9877 * po/pl.po: Update from translation team.
9878 * po/bg.po: Likewise.
9879
bc38c906
DM
9880 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9881 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9882
a181b0d7
DM
98832012-12-11 David S. Miller <davem@davemloft.net>
9884
4641d57e
DM
9885 * po/sv.po: Update from translation team.
9886
f7bc6495
DM
9887 * po/vi.po: Update from translation team.
9888
6fc9048f
DM
9889 * po/cs.po: Update from translation team.
9890
a181b0d7
DM
9891 * po/de.po: Update from translation team.
9892 * po/eo.po: Likewise.
9893 * po/nl.po: Likewise.
9894
f70bfe80
SP
98952012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9896
3c8b4190
SP
9897 [BZ #14246]
9898 * manual/argp.texi (Argp Helper Functions): Move node to follow
9899 Argp Parsing State.
9900
f70bfe80
SP
9901 [BZ #14872]
9902 * manual/conf.texi (Limits on File System Capacity): Mention if
9903 terminating null is included in the max size.
9904
188f0adf
AJ
99052012-12-10 Andreas Jaeger <aj@suse.de>
9906
9907 * po/cs.po: Update from translation team.
9908
56e7d3ad
SP
99092012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9910
9911 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9912 void pointer and cast to uintptr_t.
9913 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9914 path.
9915 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9916 * sysdeps/s390/s390-64/memset.S: Likewise.
9917
76f2d2ea 99182012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9919
9920 [BZ #14833]
9921 * menual/message.texi (Message Translation): Fix typos.
9922 (Helper programs for gettext): Likewise.
9923
67cbf9a2
AS
99242012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9925
9926 [BZ #14898]
9927 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9928 Change to -1.
9929
682d0e9a
DM
99302012-12-07 David S. Miller <davem@davemloft.net>
9931
9932 * po/libc.pot: Update.
9933
573cd484
RH
99342012-12-07 Richard Henderson <rth@redhat.com>
9935
7e9da188 9936 [BZ #10114]
573cd484
RH
9937 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9938 normal/normal case to before the switch.
9939 (_FP_DIV): Likewise.
9940
e933a943
MF
99412012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9942 Mike Frysinger <vapier@gentoo.org>
9943
9944 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9945 check for __NR_fadvise64_64.
9946
82123268
CM
99472012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9948
9949 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9950 0, not just to plain "0" as a statement.
9951 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9952 with cw.
9953
d9814526
JM
99542012-12-06 Joseph Myers <joseph@codesourcery.com>
9955
9956 * NEWS: Use sourceware.org in Bugzilla URL.
9957
7728c574
SP
99582012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9959
f16946dd
SP
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9961 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9962
5704bbcb
SP
9963 * stdio-common/tst-put-error.c (do_test): Add newline to the
9964 padded test to ensure flush.
9965
17aa0516
JL
99662012-12-05 Jeff Law <law@redhat.com>
9967
9968 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9969
363313b5
JM
99702012-12-05 Joseph Myers <joseph@codesourcery.com>
9971
effbd42a
JM
9972 * README: Don't refer to ports add-on as distributed separately.
9973 Mention AArch64 in list of systems supported in the ports add-on.
9974
87600365
JM
9975 * LICENSES: Add more non-FSF copyright and license notices.
9976
a0d7066a
JM
9977 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9978 ((unused)).
9979
66ca5a5b
JM
9980 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9981
363313b5
JM
9982 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9983 10000 as width of padded output.
9984
b37984ad
JM
99852012-12-04 Joseph Myers <joseph@codesourcery.com>
9986
9003570a
JM
9987 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9988
b37984ad
JM
9989 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9990 variable LX with __attribute__ ((unused)).
9991 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9992 Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9994 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9995 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9996 with __attribute__ ((unused)).
9997
c8df52ec
DM
99982012-12-04 David S. Miller <davem@abraco.davemloft.net>
9999
10000 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10001
b3b099af
JM
100022012-12-04 Joseph Myers <joseph@codesourcery.com>
10003
c33aa6e3
JM
10004 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10005 (CFLAGS-nldbl-acos.c): New variable.
10006 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10007 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10008 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10009 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10010 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10011 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10012 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10013 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10014 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10015 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10016 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10017 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10018 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10019 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10020 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10021 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10022 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10023 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10024 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10025 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10026 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10027 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10028 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10029 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10030 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10031 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10032 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10033 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10034 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10035 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10036 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10037 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10038 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10039 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10040 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10041 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10042 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10043 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10044 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10045 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10046 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10047 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10048 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10049 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10050 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10051 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10052 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10053 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10054 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10055 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10056 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10057 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10058 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10059 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10060 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10061 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10062 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10063 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10064 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10065 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10066 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10067 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10068 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10069 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10070 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10071 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10072 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10073 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10074 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10075 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10076 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10077 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10078 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10079 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10080 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10081 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10082 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10083 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10084 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10085 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10086 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10087 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10088 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10089 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10090 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10091 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10092 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10093 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10094 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10095 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10096 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10097 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10098 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10099 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10100 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10101 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10102 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10103
20f0018d
JM
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10105 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10106
b3b099af
JM
10107 [BZ #14914]
10108 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10109 whole low double instead of just low 47 bits when splitting values
10110 into two parts.
10111
029264d1
AM
101122012-12-03 Allan McRae <allan@archlinux.org>
10113
10114 * manual/stdio.texi (Predefined Printf Handlers): Remove
10115 @hsep and @vsep usage.
10116
c9d6789e
MF
101172012-12-03 Mike Frysinger <vapier@gentoo.org>
10118
10119 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10120 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10121
4b7634a5
JL
101222012-12-03 Jeff Law <law@redhat.com>
10123
10124 * time/sys/time.h (settimeofday): Do not mark TV argument
10125 as __nonnull.
10126
eb6cbd24
MF
101272012-12-01 Mike Frysinger <vapier@gentoo.org>
10128
10129 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10130 when currently writing and seek to current position when not.
10131 * libio/Makefile (tests): Remove bug-fclose1.
10132 * libio/bug-fclose1.c: Delete.
10133
f638872a
JM
101342012-12-01 Joseph Myers <joseph@codesourcery.com>
10135
10136 * manual/arith.texi (feenableexcept): Fix typo.
10137 (fedisableexcept): Likewise.
10138
48085d14
RM
101392012-11-30 Roland McGrath <roland@hack.frob.com>
10140
10141 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10142 second, differently-typed declaration, rather than a cast.
10143
1a538b9f
SP
101442012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10145
10146 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10147 * include/rpc/svc.h: ... here.
10148
d07f2ff1 101492012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10150
10151 [BZ #13013]
10152 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10153 depending n and resplen2 to catch cases where answer
10154 equals answerp2.
10155
c93ec1f0
CD
101562012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10157
10158 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10159 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10160
37db69de
MF
101612012-11-29 Mike Frysinger <vapier@gentoo.org>
10162
10163 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10164
e10c4e4f
RM
101652012-11-29 Roland McGrath <roland@hack.frob.com>
10166
10167 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10168
2af1b328
JL
101692012-11-28 Jeff Law <law@redhat.com>
10170
10171 [BZ #13761]
10172 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10173 dataset_temporary. Track alloca usage into alloca_used.
10174 If dataset is large allocate and release it via malloc/free.
10175
111db5b1
FW
101762012-06-04 Florian Weimer <fweimer@redhat.com>
10177
f06cc227 10178 [BZ #14197]
111db5b1
FW
10179 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10180
dd694abd
DM
101812012-11-28 David S. Miller <davem@davemloft.net>
10182
10183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10184
9984dd01
JM
101852012-11-28 Joseph Myers <joseph@codesourcery.com>
10186
10187 [BZ #14803]
10188 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10189 of pi/2 rounded to nearest to 64 bits.
10190 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10191 nearest to 64 bits.
10192 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10193 bits.
10194
14bc93a9
JL
101952012-11-28 Jeff Law <law@redhat.com>
10196 Martin Osvald <mosvald@redhat.com>
10197
10198 [BZ #14889]
10199 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10200 * sunrpc/svc.c: Include time.h.
10201 (__svc_accept_failed): New function.
10202 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10203 any reason other than EINTR, call __svc_accept_failed.
10204 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10205 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10206
e3c6aa3a
AS
102072012-11-28 Andreas Schwab <schwab@suse.de>
10208
10209 * scripts/abilist.awk: Also handle indirect functions in .opd
10210 section.
10211
1bead169
JM
102122012-11-28 Joseph Myers <joseph@codesourcery.com>
10213
10214 [BZ #13881]
10215 * sysdeps/x86/fpu/powl_helper.c: New file.
10216 * sysdeps/x86/fpu/Makefile: Likewise.
10217 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10218 (p3): New object.
10219 (__ieee754_powl): Use __powl_helper for finite arguments except
10220 integer exponents below 8.
10221 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10222 (p3): New object.
10223 (__ieee754_powl): Use __powl_helper for finite arguments except
10224 integer exponents below 8.
10225 * math/libm-test.inc (pow_test): Add more tests and enable some
10226 previously disabled tests.
10227 * sysdeps/i386/fpu/libm-test-ulps: Update.
10228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10229
0817d63d
SP
102302012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10231 Carlos O'Donell <carlos_odonell@mentor.com>
10232
10233 * nss/makedb.c (is_prime): Assert that input is odd and greater
10234 than 4. Note that fact in a comment too.
10235 (next_prime): Add 4 to input.
10236
de2fd463
SP
102372012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10238
10239 [BZ #11741]
10240 * libio/Makefile (tests): Add test case tst-fwrite-error.
10241 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10242 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10243 * libio/tst-fwrite-error.c: New test case.
10244
c515fb51
L
102452012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10246
10247 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10248 before casting to void *.
10249 * include/libc-internal.h (__pointer_type): New macro.
10250 (__integer_if_pointer_type_sub): Likewise.
10251 (__integer_if_pointer_type): Likewise.
10252 (cast_to_integer): Likewise.
10253 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10254 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10255 before casting to atomic64_t.
10256 (atomic_exchange_acq): Likewise.
10257 (__arch_exchange_and_add_body): Likewise.
10258 (__arch_add_body): Likewise.
10259 (atomic_add_negative): Likewise.
10260 (atomic_add_zero): Likewise.
10261
4cf77aa9
JM
102622012-11-26 Joseph Myers <joseph@codesourcery.com>
10263
10264 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10265 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10266 (add_fdes): Likewise.
10267 (linear_search_fdes): Likewise.
10268 (binary_search_unencoded_fdes): Likewise.
10269
d260b3b4
AS
102702012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10271
10272 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10273
67060746
AC
102742012-11-24 Adam Conrad <adconrad@0c3.net>
10275
10276 * configure.in: Autodetect C++ header directories.
10277 * configure: Regenerated.
10278
800938a1
MF
102792012-11-23 Mike Frysinger <vapier@gentoo.org>
10280
10281 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10282
4e6e34e6
AS
102832012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10284
10285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10286
7c7feb47
JM
102872012-11-22 Joseph Myers <joseph@codesourcery.com>
10288
7184dcdf
JM
10289 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10290 LDBL_MANT_DIG == 106]: Disable some tests.
10291 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10292 Likewise.
10293 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10294 Likewise.
10295
0a42601f
JM
10296 [BZ #14871]
10297 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10298 input for small inputs. Return +/- pi/2 for large inputs.
10299 * math/libm-test.inc (atan_test): Add more tests.
10300
79c9b9fe
JM
10301 * sysdeps/generic/unwind-dw2-fde-glibc.c
10302 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10303 __attribute__ ((unused)).
10304
c60d3bf2
JM
10305 [BZ #14645]
10306 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10307 x * y if x and y are nonzero and z is zero.
10308
ef1e0867
JM
10309 [BZ #14811]
10310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10311 nonzero exponents with absolute value below 0x1p-117 to +/-
10312 0x1p-117.
10313
1468ded3
JM
10314 [BZ #14869]
10315 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10316 up arguments below 2**-450, not just those below 2**-500.
10317 * math/libm-test.inc (hypot_test): Add another test.
10318
8e27e3cc
JM
10319 [BZ #14868]
10320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10321 Return a+b for ratio over 2**120, not 2**60.
10322 * math/libm-test.inc (hypot_test): Add another test.
10323
c9c0279b
JM
10324 * math/libm-test.inc (clog_test): Use
10325 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10326 (clog10_test): Likewise.
10327
7c7feb47
JM
10328 [BZ #6778]
10329 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10330
fff1530e
AS
103312012-11-22 Andreas Schwab <schwab@suse.de>
10332
10333 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334
94558d30
PT
103352012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10336
10337 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10338 printf output with newline.
10339
7e1be741
L
103402012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10341
6bfea974
L
10342 [BZ #14865]
10343 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10344 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10345 -z nodlopen, -z initfirst and -z execstack support.
10346 * configure: Regenerated.
10347
7e1be741
L
10348 * elf/elf.h (DF_1_NODIRECT): New macro.
10349 (DF_1_IGNMULDEF): Likewise.
10350 (DF_1_NOKSYMS): Likewise.
10351 (DF_1_NOHDR): Likewise.
10352 (DF_1_EDITED): Likewise.
10353 (DF_1_NORELOC): Likewise.
10354 (DF_1_SYMINTPOSE): Likewise.
10355 (DF_1_GLOBAUDIT): Likewise.
10356 (DF_1_SINGLETON): Likewise.
10357 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10358 DT_1_SUPPORTED_MASK bits.
10359 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10360
105ce2ce
CD
103612012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10362
10363 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10364
123be9de
TS
103652012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10366
d072f3f7
TS
10367 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10368 macro.
10369
123be9de
TS
10370 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10371 (sendmmsg): Move declarations...
10372 * socket/sys/socket.h: ... here.
10373 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10374 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10375 include it from...
10376 * socket/recvmmsg.c: ... this new file.
10377 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10378 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10379 definition of __sendmmsg hidden.
10380 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10381 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10382 Move ENOSYS stub into and include it from...
10383 * socket/sendmmsg.c: ... this new file.
10384 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10385 (sysdep_routines): Move recvmmsg and sendmmsg...
10386 * socket/Makefile (routines): ... here.
10387 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10388 (GLIBC_PRIVATE): Add __sendmmsg.
10389 * include/sys/socket.h (__sendmmsg): Add declarations.
10390 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10391 sendmmsg.
10392
cf9a5d18
JM
103932012-11-20 Joseph Myers <joseph@codesourcery.com>
10394
10395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10396 variable I1 with __attribute__ ((unused)).
10397 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10398
ecd4caf9
JM
103992012-11-19 Joseph Myers <joseph@codesourcery.com>
10400
be14d48f
JM
10401 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10402 DUMMY variables with __attribute__ ((unused)).
10403
ecd4caf9
JM
10404 * bits/byteswap.h: Include <bits/types.h>.
10405 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10406
986cab95
PT
104072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10408
10409 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10410 string_t. Do not manually set errno.
10411 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10412 length with __strnlen. Make sure to both set errno and return it on
10413 failure.
10414
6d33cc9d
DM
104152012-11-19 David S. Miller <davem@davemloft.net>
10416
10417 With help from Joseph Myers.
10418 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10419 very large arguments properly.
10420 * math/libm-test.inc (atan_test): New tests.
10421 (atan2_test): New tests.
10422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10424
ee663277
JM
104252012-11-19 Joseph Myers <joseph@codesourcery.com>
10426
877f2d8e
JM
10427 [BZ #14856]
10428 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10429 Define to 3.
10430
116fc08a
JM
10431 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10432 [POSIX] (EADDRNOTAVAIL): Likewise.
10433 [POSIX] (EAFNOSUPPORT): Likewise.
10434 [POSIX] (EALREADY): Likewise.
10435 [POSIX] (ECONNABORTED): Likewise.
10436 [POSIX] (ECONNREFUSED): Likewise.
10437 [POSIX] (ECONNRESET): Likewise.
10438 [POSIX] (EDESTADDRREQ): Likewise.
10439 [POSIX] (EDQUOT): Likewise.
10440 [POSIX] (EHOSTUNREACH): Likewise.
10441 [POSIX] (EIDRM): Likewise.
10442 [POSIX] (EISCONN): Likewise.
10443 [POSIX] (ELOOP): Likewise.
10444 [POSIX] (EMULTIHOP): Likewise.
10445 [POSIX] (ENETDOWN): Likewise.
10446 [POSIX] (ENETUNREACH): Likewise.
10447 [POSIX] (ENOBUFS): Likewise.
10448 [POSIX] (ENODATA): Likewise.
10449 [POSIX] (ENOLINK): Likewise.
10450 [POSIX] (ENOMSG): Likewise.
10451 [POSIX] (ENOPROTOOPT): Likewise.
10452 [POSIX] (ENOSR): Likewise.
10453 [POSIX] (ENOSTR): Likewise.
10454 [POSIX] (ENOTCONN): Likewise.
10455 [POSIX] (ENOTSOCK): Likewise.
10456 [POSIX] (EOPNOTSUPP): Likewise.
10457 [POSIX] (EOVERFLOW): Likewise.
10458 [POSIX] (EPROTO): Likewise.
10459 [POSIX] (EPROTONOSUPPORT): Likewise.
10460 [POSIX] (EPROTOTYPE): Likewise.
10461 [POSIX] (ESTALE): Likewise.
10462 [POSIX] (ETIME): Likewise.
10463 [POSIX] (ETXTBSY): Likewise.
10464 [POSIX] (EWOULDBLOCK): Likewise.
10465 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10466 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10467 [POSIX] (SEEK_CUR): Likewise.
10468 [POSIX] (SEEK_END): Likewise.
10469 [POSIX || UNIX98] (mode_t): Do not require.
10470 [POSIX] (off_t): Likewise.
10471 [POSIX] (pid_t): Likewise.
10472 [POSIX] (sys/stat.h): Do not allow header.
10473 [POSIX] (unistd.h): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10475 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10477 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10478 require.
10479 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10480 sigevent): Specify elements.
10481 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10482 entry.
10483 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10484 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10485
a483863f
JM
10486 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10487 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10488 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10489 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10490 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10491 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10492 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10493 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10495 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10496 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10497 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10498 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10499 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10500 Likewise.
10501 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10502 Likewise.
10503 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10504 Likewise.
10505 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10506 Likewise.
10507 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10508 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10509 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10510 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10512 Specify lower bound on value.
10513 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10519 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10520 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10521 value.
10522 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10523 as optional.
10524 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10539 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10540 entry.
10541 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10542 optional.
10543 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10544 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10545 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10546 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10548 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10549 Likewise.
10550 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10551 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10552 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10553 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10554 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10555 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10556 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10557 as optional.
10558 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10559 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10560 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10561 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10562 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10563 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10564 specify as optional.
10565 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10566 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10567 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10568 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10569 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10570 [XPG3] (NL_LANGMAX): Likewise.
10571 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10572 [POSIX || XPG3] (NL_NMAX): Likewise.
10573 [POSIX || XPG3] (NL_SETMAX): Likewise.
10574 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10575 [XPG3] (NZERO): Likewise.
10576 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10577 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10578 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10579 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10580 (REG_ERANGE): Expect.
10581 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10582 optional-constant.
10583 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10584 Use (void) in prototype.
10585 [POSIX] (*_t): Allow.
10586 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10587 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10588 (WRDE_BADVAL): Expect.
10589
5ba924e3
JM
10590 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10591 expect.
10592 [XPG3 || XPG4] (O_RSYNC): Likewise.
10593 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10594 Likewise.
10595 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10596 [XPG3 || XPG4] (sigqueue): Likewise.
10597 [XPG3 || XPG4] (sigtimedwait): Likewise.
10598 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10599 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10600 [XPG3 || XPG4] (vsnprintf): Likewise.
10601 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10602 Likewise.
10603 [XPG3 || XPG4] (blksize_t): Likewise.
10604 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10605 Likewise.
10606 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10607 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10608 [XPG3 || XPG4] (struct itimerspec): Likewise.
10609 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10610 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10611 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10612 [XPG3 || XPG4] (clockid_t): Likewise.
10613 [XPG3 || XPG4] (timer_t): Likewise.
10614 [XPG3 || XPG4] (clock_getres): Likewise.
10615 [XPG3 || XPG4] (clock_gettime): Likewise.
10616 [XPG3 || XPG4] (clock_settime): Likewise.
10617 [XPG3 || XPG4] (nanosleep): Likewise.
10618 [XPG3 || XPG4] (timer_create): Likewise.
10619 [XPG3 || XPG4] (timer_delete): Likewise.
10620 [XPG3 || XPG4] (timer_gettime): Likewise.
10621 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10622 [XPG3 || XPG4] (timer_settime): Likewise.
10623 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10624 [XPG3 || XPG4] (getlogin_r): Likewise.
10625 [XPG3 || XPG4] (pread): Likewise.
10626 [XPG3 || XPG4] (pthread_atfork): Likewise.
10627 [XPG3 || XPG4] (pwrite): Likewise.
10628
ee663277
JM
10629 [BZ #14835]
10630 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10631 <bits/siginfo.h>.
10632
942caa16
PT
106332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10634
e19af380
PT
10635 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10636 finalizing MALLSTREAM.
10637
942caa16
PT
10638 * sysdeps/mach/hurd/syncfs.c: New file.
10639
cfde9b46
SP
106402012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10641
10642 [BZ #14719]
10643 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10644 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10645 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10646 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10647 (_nss_dns_gethostbyname4_r): Likewise.
10648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10649 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10650
f6da27e5
PH
106512012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10652
10653 [BZ #13763]
10654 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10655
6665d4a2
SM
106562012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10657
1f51ee92
SM
10658 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10659 * elf/cache.c (print_entry): Print ",AArch64" for
10660 FLAG_AARCH64_LIB64
10661
6665d4a2
SM
10662 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10663 * elf/cache.c (print_entry): Print ",hard-float" for
10664 FLAG_ARM_LIBHF.
10665
05b227bd
DM
106662012-11-18 David S. Miller <davem@davemloft.net>
10667
10668 With help from Joseph Myers.
10669 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10670 cutoff to 2**-13.
10671 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10672 cutoff to 2**-25.
10673 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10674 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10675 small.
10676 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10677 * math/libm-test.inc (y0_test): New tests.
10678 (y1_test): New tests.
10679 * sysdeps/i386/fpu/libm-test-ulps: Update.
10680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10682
786b0b67
AS
106832012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10684
10685 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10686 64-bit targets.
10687 * configure: Regenerated.
10688
8e18b86d
DM
106892012-11-17 David S. Miller <davem@davemloft.net>
10690
10691 [BZ #14811]
10692 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10693 nonzero exponents with absolute value below 0x1p-128 to +/-
10694 0x1p-128.
10695
531f1ae0
JM
106962012-11-17 Joseph Myers <joseph@codesourcery.com>
10697
12df29e2
JM
10698 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10699
150dc1a0
JM
10700 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10701
531f1ae0
JM
10702 * posix/getconf-speclist.c: New file.
10703 * posix/posix-envs.def: Likewise.
10704 * posix/confstr.c (START_ENV_GROUP): New macro.
10705 (END_ENV_GROUP): Likewise.
10706 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10707 (KNOWN_PRESENT_ENV_STRING): Likewise.
10708 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10709 (UNKNOWN_ENVIRONMENT): Likewise.
10710 (confstr): Include posix-envs.def instead of handling
10711 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10712 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10713 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10714 (END_ENV_GROUP): Likewise.
10715 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10716 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10717 (UNKNOWN_ENVIRONMENT): Likewise.
10718 (__sysconf): Include posix-envs.def instead of handling associated
10719 cases directly here.
10720 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10721 preprocessing getconf-speclist.c rather than running getconf or
10722 generating empty file.
10723
a93f9cbc
PT
107242012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10725
10726 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10727
d64d9f87
AL
107282012-11-16 Andrej Lajovic <natrij@gmail.com>
10729
10730 [BZ #14672]
10731 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10732
447885eb
DM
107332012-11-16 David S. Miller <davem@davemloft.net>
10734
10735 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10736 smaller than LDBL_EPSILON/2.0L, just return xm1.
10737
bcbf9830
L
107382012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * elf/tst-array1.c (init): Set constructor priority to 1000.
10741 (fini): Set destructor priority to 1000.
10742 * elf/tst-array2dep.c: Likewise.
10743
2b766585
SP
107442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10745
10746 [BZ #11741]
10747 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10748 (_IO_new_file_xsputn): Also return EOF if none of the input
10749 data was written when overflow failed.
10750 * libio/iopadn.c (_IO_padn): Likewise.
10751 * libio/iowpadn.c (_IO_wpadn): Likewise.
10752 * stdio-common/tst-put-error.c: Add copyright notice.
10753 (do_test): Add case for printing padded string.
10754 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10755 _IO_padn returned error.
10756 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10757 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10758 return EOF.
10759
b1848fde
SP
107602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10761
10762 * libio/libioP.h: Add comment note that the references to C++
10763 bits are now obsolete.
10764
2fd89785
MS
107652012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10766
10767 * math/libm-test.inc (check_complex): Use asprintf.
10768
e3ea5409
JM
107692012-11-14 Joseph Myers <joseph@codesourcery.com>
10770
10771 * debug/pcprofiledump.c (print_version): Update copyright year.
10772 * malloc/memusagestat.c (print_version): Likewise.
10773
2e64d265
L
107742012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10775
10776 [BZ #14831]
10777 * elf/Makefile (tests): Add tst-audit8.
10778 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10779 ($(objpfx)tst-audit8.out): New target.
10780 (tst-audit8-ENV): New variable.
10781 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10782 audit if l_reloc_result is NULL.
10783 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10784 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10785 * elf/tst-audit8.c: New file.
10786
c485e4d2
MS
107872012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10788
10789 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10790 * misc/Makefile (CFLAGS-select.c): Define.
10791 * posix/Makefile (CFLAGS-pause.c): Define.
10792
3a0d900a
DM
107932012-11-13 David S. Miller <davem@davemloft.net>
10794
10795 * crypt/Makefile: Move test targets after toplevel Rules
10796 inclusion. Grab any necessary sysdep routines when linking.
10797 * crypt/md5.c (md5_process_block): Remove define, we will always
10798 name it __md5_process_block.
10799 (md5_finish_ctx): Update md5_process_block call.
10800 (md5_stream): Likewise.
10801 (md5_process_bytes): Likewise.
10802 (md5_process_block): Rename to __md5_process_block and move to ...
10803 * crypt/md5-block.c: ... here.
10804 * crypt/sha256.c (sha256_process_block): Move to ...
10805 * crypt/sha256-block.c: ... here.
10806 * crypt/sha512.c (sha512_process_block): Move to ...
10807 * crypt/sha512-block.c: ... here.
10808 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10809 path.
10810 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10811 * sysdeps/sparc/sparc64/multiarch/Makefile
10812 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10813 crypt subdir.
10814 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10815 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10816 multiarch changes.
10817 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10818 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10819 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10820 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10821 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10822 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10823 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10824 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10825 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10826 file.
10827 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10828 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10829 file.
10830 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10831
8ca89318
JM
108322012-11-13 Joseph Myers <joseph@codesourcery.com>
10833
e27d476a
JM
10834 * timezone/tzselect.ksh: Update from tzcode git revision
10835 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10836 * timezone/zdump.c: Likewise.
10837 * timezone/zic.c: Likewise.
10838 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10839 in TZVERSION setting, not $(PKGVERSION).
10840 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10841 REPORT_BUGS_TO settings.
10842
8ca89318
JM
10843 [BZ #14838]
10844 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10845 macro.
10846
47594329
MS
108472012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10848
10849 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10850 detection to immediately after _FP_ROUND().
10851 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10852 bits are 0.
10853
640ac3f1
DM
108542012-11-11 David S. Miller <davem@davemloft.net>
10855
10856 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10857 inttypes.h
10858 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10859 __close rather than their public counterparts.
10860
3d2577bb
JM
108612012-11-10 Joseph Myers <joseph@codesourcery.com>
10862
10863 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10864 file.
10865 [UNIX98] (sem_timedwait): Do not expect.
10866 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10867 [XPG4 || UNIX98] (sockatmark): Do not expect.
10868 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10869 (clock_getcpuclockid): Do not expect.
10870 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10871 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10872 Do not expect.
10873 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10874 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10875 [UNIX98] (vwscanf): Likewise.
10876 [UNIX98] (vswscanf): Likewise.
10877
fb1ae1ee
JM
108782012-11-09 Joseph Myers <joseph@codesourcery.com>
10879
9ec6f8bd
JM
10880 * timezone/version.h: Remove file.
10881 * timezone/README: Do not refer to version.h.
10882 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10883 $(objpfx)version.h.
10884 ($(objpfx)zdump.o): Likewise.
c3f81911 10885 ($(objpfx)version.h): New target.
9ec6f8bd 10886
0aa8f8a1
JM
10887 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10888 2012i.
10889 * timezone/README: Don't mention modification to tzselect.ksh.
10890 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10891 work on unmodified tzselect.ksh. Substitute version numbers in
10892 tzselect.ksh.
10893
4e87147f
JM
10894 * Makefile (format-me): Remove.
10895 (INSTALL): Adjust indentation. Use commands directly instead of
10896 using $(format-me).
10897
8b748aed
JM
10898 * aclocal.m4 (ACX_PKGVERSION): New macro.
10899 (ACX_BUGURL): Likewise.
10900 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10901 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10902 (REPORT_BUGS_TO): Likewise.
10903 * configure: Regenerated.
10904 * config.h.in (PKGVERSION): New macro.
10905 (REPORT_BUGS_TO): Likewise.
10906 * config.make.in (PKGVERSION): New variable.
10907 (PKGVERSION_TEXI): Likewise.
10908 (REPORT_BUGS_TO): Likewise.
10909 (REPORT_BUGS_TEXI): Likewise.
10910 * Makefile (format-me): Use -I$(common-objpfx)manual.
10911 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10912 ($(common-objpfx)manual/%): New target.
10913 (manual/%): Remove target.
10914 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10915 (print_version): Use PKGVERSION.
10916 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10917 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10918 and REPORT_BUGS_TO.
10919 ($(objpfx)xtrace): Likewise.
10920 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10921 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10922 (print_version): Use PKGVERSION.
10923 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10924 (do_version): Use PKGVERSION.
10925 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10926 REPORT_BUGS_TO.
10927 (common-ldd-rewrite): Likewise.
10928 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10929 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10930 (print_version): Use PKGVERSION.
10931 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10932 * elf/pldd.c (argp_program_bug_address): Remove variable.
10933 (more_help): New function.
10934 (argp): Use more_help.
10935 (print_version): Use PKGVERSION.
10936 * elf/sln.c (main): Use PKGVERSION.
10937 (usage): Use REPORT_BUGS_TO.
10938 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10939 (top level): Use PKGVERSION.
10940 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10941 (print_version): Use PKGVERSION.
10942 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10943 (print_version): Use PKGVERSION.
10944 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10945 (print_version): Use PKGVERSION.
10946 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10947 (print_version): Use PKGVERSION.
10948 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10949 (print_version): Use PKGVERSION.
10950 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10951 (print_version): Use PKGVERSION.
10952 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10953 and BUGURL.
10954 ($(objpfx)memusage): Likewise.
10955 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10956 (do_version): Use PKGVERSION.
10957 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10958 (print_version): Use PKGVERSION.
10959 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10960 ($PKGVERSION): New variable.
10961 ($REPORT_BUGS_TO): Likewise.
10962 (usage): Use $REPORT_BUGS_TO.
10963 (top level): Use $PKGVERSION.
10964 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10965 ($(objpfx)pkgvers.texi): New rule.
10966 ($(objpfx)stamp-pkgvers): Likewise.
10967 * manual/install.texi: Include pkgvers.texi.
10968 (--with-pkgversion): Document new configure option.
10969 (--with-bugurl): Likewise.
10970 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10971 than necessarily for this particular distribution. Use
10972 REPORT_BUGS_TO for where to report bugs.
10973 * INSTALL: Regenerated.
10974 * manual/libc.texinfo: Include pkgvers.texi.
10975 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10976 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10977 (print_version): Use PKGVERSION.
10978 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10979 (print_version): Use PKGVERSION.
10980 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10981 (print_version): Use PKGVERSION.
10982 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10983 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10984 macro.
10985 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10986 (print_version): Use PKGVERSION.
10987 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10988 (print_version): Use PKGVERSION.
10989 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10990 and PKGVERSION.
10991
92e4b6a9
JM
10992 * timezone/checktab.awk: Update from tzcode 2012i.
10993 * timezone/ialloc.c: Likewise.
10994 * timezone/private.h: Likewise.
10995 * timezone/scheck.c: Likewise.
10996 * timezone/tzfile.h: Likewise.
10997 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10998 (TZVERSION): Hardcode tzcode version number.
10999 * timezone/zdump.c: Update from tzcode 2012i.
11000 * timezone/zic.c: Likewise.
11001 * timezone/version.h: New file.
11002 * timezone/README: Describe version.h. Update upstream location.
11003
9bde902c
JM
11004 [BZ #14824]
11005 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11006 (mktemp): Enable declaration.
11007 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11008 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11009 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11011 Likewise.
11012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11013 Likewise.
11014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11015 Likewise.
11016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11017 Likewise.
11018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11019 Likewise.
11020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11021 Likewise.
11022
fb1ae1ee
JM
11023 [BZ #14821]
11024 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11025 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11026 for copies of such integer values.
11027 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11028 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11029
2c1adbcb
AJ
110302012-11-09 Andreas Jaeger <aj@suse.de>
11031
11032 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11033 definitions and declarations that are provided by
11034 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11035
d0f8457e
AK
110362012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11037
3a235abb 11038 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11039 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11040 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11041 definition.
11042
57241e26
MS
110432012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11044
11045 * elf/elf.h: Update comment before AArch64 relocations.
11046
60e8270d
DM
110472012-11-07 David S. Miller <davem@davemloft.net>
11048
11049 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11050 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11051 (__start_context): Declare.
11052 (__makecontext_ret): Delete.
11053 (__makecontext): Hook up __start_context instead of
11054 __makecontext_ret.
11055 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11056 (sysdep_routines): Add __start_context when in stdlib.
11057
0fbb0fbc
JM
110582012-11-07 Joseph Myers <joseph@codesourcery.com>
11059
11060 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11061 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11062 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11063 hardcoded "nm".
11064 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11065 (READELF): New variable. Use it instead of hardcoded "readelf".
11066
eb48db7e
L
110672012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11068
11069 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11070 * sysdeps/x86/Makefile: Here.
11071 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11072 * sysdeps/x86/tst-xmmymm.sh: This.
11073
05bcf62a
JM
110742012-11-07 Joseph Myers <joseph@codesourcery.com>
11075
c4b6cf53
JM
11076 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11077 expectations.
11078 [UNIX98] (pthread_barrier_t): Do not expect.
11079 [UNIX98] (pthread_barrierattr_t): Likewise.
11080 [UNIX98] (pthread_spinlock_t): Likewise.
11081 [UNIX98] (pthread_barrier_destroy): Likewise.
11082 [UNIX98] (pthread_barrier_init): Likewise.
11083 [UNIX98] (pthread_barrier_wait): Likewise.
11084 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11085 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11086 [UNIX98] (pthread_barrierattr_init): Likewise.
11087 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11088 [UNIX98] (pthread_getcpuclockid): Likewise.
11089 [UNIX98] (pthread_mutex_timedlock): Likewise.
11090 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11091 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11092 [UNIX98] (pthread_sigmask): Likewise.
11093 [UNIX98] (pthread_spin_destroy): Likewise.
11094 [UNIX98] (pthread_spin_init): Likewise.
11095 [UNIX98] (pthread_spin_lock): Likewise.
11096 [UNIX98] (pthread_spin_trylock): Likewise.
11097 [UNIX98] (pthread_spin_unlock): Likewise.
11098 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11099 Do not expect.
11100 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11101 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11102 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11103 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11104 [XPG3 || XPG4] (pthread_key_t): Likewise.
11105 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11106 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11107 [XPG3 || XPG4] (pthread_once_t): Likewise.
11108 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11109 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11110 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11111 [XPG3 || XPG4] (pthread_t): Likewise.
11112
cbe6e120
JM
11113 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11114 not expect.
11115 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11116
1b126443
JM
11117 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11118 Change function return type to int.
11119
b961a573
JM
11120 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11121 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11122 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11123 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11124 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11125 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11126 [!POSIX] (posix_madvise): Likewise.
11127 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11128 && !UNIX98].
11129 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11130 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11131 (mode_t): Likewise.
11132 (posix_mem_offset): Likewise.
11133 (posix_typed_mem_get_info): Likewise.
11134 (posix_typed_mem_open): Likewise.
11135
9e188909
JM
11136 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11137 Change condition to [XOPEN2K8].
11138
05bcf62a
JM
11139 * conform/conformtest.pl: Preprocess allow-header data with -x c
11140 instead of from stdin.
11141 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11142 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11143 [C99-based standards] (cerfc): Likewise.
11144 [C99-based standards] (cexp2): Likewise.
11145 [C99-based standards] (cexpm1): Likewise.
11146 [C99-based standards] (clog10): Likewise.
11147 [C99-based standards] (clog1p): Likewise.
11148 [C99-based standards] (clog2): Likewise.
11149 [C99-based standards] (clgamma): Likewise.
11150 [C99-based standards] (ctgamma): Likewise.
11151 [C99-based standards] (cerff): Likewise.
11152 [C99-based standards] (cerfcf): Likewise.
11153 [C99-based standards] (cexp2f): Likewise.
11154 [C99-based standards] (cexpm1f): Likewise.
11155 [C99-based standards] (clog10f): Likewise.
11156 [C99-based standards] (clog1pf): Likewise.
11157 [C99-based standards] (clog2f): Likewise.
11158 [C99-based standards] (clgammaf): Likewise.
11159 [C99-based standards] (ctgammaf): Likewise.
11160 [C99-based standards] (cerfl): Likewise.
11161 [C99-based standards] (cerfcl): Likewise.
11162 [C99-based standards] (cexp2l): Likewise.
11163 [C99-based standards] (cexpm1l): Likewise.
11164 [C99-based standards] (clog10l): Likewise.
11165 [C99-based standards] (clog1pl): Likewise.
11166 [C99-based standards] (clog2l): Likewise.
11167 [C99-based standards] (clgammal): Likewise.
11168 [C99-based standards] (ctgammal): Likewise.
11169 * conform/data/inttypes.h-data [C99-based standards]: Include
11170 stdint.h-data. Remove all expectations for stdint.h contents.
11171 [C99-based standards] (PRI*): Do not allow.
11172 [C99-based standards] (SCN*): Likewise.
11173 [C99-based standards] (*_t): Likewise.
11174 [C99-based-standards] (PRId8): Expect macro.
11175 [C99-based-standards] (PRIi8): Likewise.
11176 [C99-based-standards] (PRIo8): Likewise.
11177 [C99-based-standards] (PRIu8): Likewise.
11178 [C99-based-standards] (PRIx8): Likewise.
11179 [C99-based-standards] (PRIX8): Likewise.
11180 [C99-based-standards] (SCNd8): Likewise.
11181 [C99-based-standards] (SCNi8): Likewise.
11182 [C99-based-standards] (SCNo8): Likewise.
11183 [C99-based-standards] (SCNu8): Likewise.
11184 [C99-based-standards] (SCNx8): Likewise.
11185 [C99-based-standards] (PRIdLEAST8): Likewise.
11186 [C99-based-standards] (PRIiLEAST8): Likewise.
11187 [C99-based-standards] (PRIoLEAST8): Likewise.
11188 [C99-based-standards] (PRIuLEAST8): Likewise.
11189 [C99-based-standards] (PRIxLEAST8): Likewise.
11190 [C99-based-standards] (PRIXLEAST8): Likewise.
11191 [C99-based-standards] (SCNdLEAST8): Likewise.
11192 [C99-based-standards] (SCNiLEAST8): Likewise.
11193 [C99-based-standards] (SCNoLEAST8): Likewise.
11194 [C99-based-standards] (SCNuLEAST8): Likewise.
11195 [C99-based-standards] (SCNxLEAST8): Likewise.
11196 [C99-based-standards] (PRIdFAST8): Likewise.
11197 [C99-based-standards] (PRIiFAST8): Likewise.
11198 [C99-based-standards] (PRIoFAST8): Likewise.
11199 [C99-based-standards] (PRIuFAST8): Likewise.
11200 [C99-based-standards] (PRIxFAST8): Likewise.
11201 [C99-based-standards] (PRIXFAST8): Likewise.
11202 [C99-based-standards] (SCNdFAST8): Likewise.
11203 [C99-based-standards] (SCNiFAST8): Likewise.
11204 [C99-based-standards] (SCNoFAST8): Likewise.
11205 [C99-based-standards] (SCNuFAST8): Likewise.
11206 [C99-based-standards] (SCNxFAST8): Likewise.
11207 [C99-based-standards] (PRId16): Likewise.
11208 [C99-based-standards] (PRIi16): Likewise.
11209 [C99-based-standards] (PRIo16): Likewise.
11210 [C99-based-standards] (PRIu16): Likewise.
11211 [C99-based-standards] (PRIx16): Likewise.
11212 [C99-based-standards] (PRIX16): Likewise.
11213 [C99-based-standards] (SCNd16): Likewise.
11214 [C99-based-standards] (SCNi16): Likewise.
11215 [C99-based-standards] (SCNo16): Likewise.
11216 [C99-based-standards] (SCNu16): Likewise.
11217 [C99-based-standards] (SCNx16): Likewise.
11218 [C99-based-standards] (PRIdLEAST16): Likewise.
11219 [C99-based-standards] (PRIiLEAST16): Likewise.
11220 [C99-based-standards] (PRIoLEAST16): Likewise.
11221 [C99-based-standards] (PRIuLEAST16): Likewise.
11222 [C99-based-standards] (PRIxLEAST16): Likewise.
11223 [C99-based-standards] (PRIXLEAST16): Likewise.
11224 [C99-based-standards] (SCNdLEAST16): Likewise.
11225 [C99-based-standards] (SCNiLEAST16): Likewise.
11226 [C99-based-standards] (SCNoLEAST16): Likewise.
11227 [C99-based-standards] (SCNuLEAST16): Likewise.
11228 [C99-based-standards] (SCNxLEAST16): Likewise.
11229 [C99-based-standards] (PRIdFAST16): Likewise.
11230 [C99-based-standards] (PRIiFAST16): Likewise.
11231 [C99-based-standards] (PRIoFAST16): Likewise.
11232 [C99-based-standards] (PRIuFAST16): Likewise.
11233 [C99-based-standards] (PRIxFAST16): Likewise.
11234 [C99-based-standards] (PRIXFAST16): Likewise.
11235 [C99-based-standards] (SCNdFAST16): Likewise.
11236 [C99-based-standards] (SCNiFAST16): Likewise.
11237 [C99-based-standards] (SCNoFAST16): Likewise.
11238 [C99-based-standards] (SCNuFAST16): Likewise.
11239 [C99-based-standards] (SCNxFAST16): Likewise.
11240 [C99-based-standards] (PRId32): Likewise.
11241 [C99-based-standards] (PRIi32): Likewise.
11242 [C99-based-standards] (PRIo32): Likewise.
11243 [C99-based-standards] (PRIu32): Likewise.
11244 [C99-based-standards] (PRIx32): Likewise.
11245 [C99-based-standards] (PRIX32): Likewise.
11246 [C99-based-standards] (SCNd32): Likewise.
11247 [C99-based-standards] (SCNi32): Likewise.
11248 [C99-based-standards] (SCNo32): Likewise.
11249 [C99-based-standards] (SCNu32): Likewise.
11250 [C99-based-standards] (SCNx32): Likewise.
11251 [C99-based-standards] (PRIdLEAST32): Likewise.
11252 [C99-based-standards] (PRIiLEAST32): Likewise.
11253 [C99-based-standards] (PRIoLEAST32): Likewise.
11254 [C99-based-standards] (PRIuLEAST32): Likewise.
11255 [C99-based-standards] (PRIxLEAST32): Likewise.
11256 [C99-based-standards] (PRIXLEAST32): Likewise.
11257 [C99-based-standards] (SCNdLEAST32): Likewise.
11258 [C99-based-standards] (SCNiLEAST32): Likewise.
11259 [C99-based-standards] (SCNoLEAST32): Likewise.
11260 [C99-based-standards] (SCNuLEAST32): Likewise.
11261 [C99-based-standards] (SCNxLEAST32): Likewise.
11262 [C99-based-standards] (PRIdFAST32): Likewise.
11263 [C99-based-standards] (PRIiFAST32): Likewise.
11264 [C99-based-standards] (PRIoFAST32): Likewise.
11265 [C99-based-standards] (PRIuFAST32): Likewise.
11266 [C99-based-standards] (PRIxFAST32): Likewise.
11267 [C99-based-standards] (PRIXFAST32): Likewise.
11268 [C99-based-standards] (SCNdFAST32): Likewise.
11269 [C99-based-standards] (SCNiFAST32): Likewise.
11270 [C99-based-standards] (SCNoFAST32): Likewise.
11271 [C99-based-standards] (SCNuFAST32): Likewise.
11272 [C99-based-standards] (SCNxFAST32): Likewise.
11273 [C99-based-standards] (PRId64): Likewise.
11274 [C99-based-standards] (PRIi64): Likewise.
11275 [C99-based-standards] (PRIo64): Likewise.
11276 [C99-based-standards] (PRIu64): Likewise.
11277 [C99-based-standards] (PRIx64): Likewise.
11278 [C99-based-standards] (PRIX64): Likewise.
11279 [C99-based-standards] (SCNd64): Likewise.
11280 [C99-based-standards] (SCNi64): Likewise.
11281 [C99-based-standards] (SCNo64): Likewise.
11282 [C99-based-standards] (SCNu64): Likewise.
11283 [C99-based-standards] (SCNx64): Likewise.
11284 [C99-based-standards] (PRIdLEAST64): Likewise.
11285 [C99-based-standards] (PRIiLEAST64): Likewise.
11286 [C99-based-standards] (PRIoLEAST64): Likewise.
11287 [C99-based-standards] (PRIuLEAST64): Likewise.
11288 [C99-based-standards] (PRIxLEAST64): Likewise.
11289 [C99-based-standards] (PRIXLEAST64): Likewise.
11290 [C99-based-standards] (SCNdLEAST64): Likewise.
11291 [C99-based-standards] (SCNiLEAST64): Likewise.
11292 [C99-based-standards] (SCNoLEAST64): Likewise.
11293 [C99-based-standards] (SCNuLEAST64): Likewise.
11294 [C99-based-standards] (SCNxLEAST64): Likewise.
11295 [C99-based-standards] (PRIdFAST64): Likewise.
11296 [C99-based-standards] (PRIiFAST64): Likewise.
11297 [C99-based-standards] (PRIoFAST64): Likewise.
11298 [C99-based-standards] (PRIuFAST64): Likewise.
11299 [C99-based-standards] (PRIxFAST64): Likewise.
11300 [C99-based-standards] (PRIXFAST64): Likewise.
11301 [C99-based-standards] (SCNdFAST64): Likewise.
11302 [C99-based-standards] (SCNiFAST64): Likewise.
11303 [C99-based-standards] (SCNoFAST64): Likewise.
11304 [C99-based-standards] (SCNuFAST64): Likewise.
11305 [C99-based-standards] (SCNxFAST64): Likewise.
11306 [C99-based-standards] (PRIdMAX): Likewise.
11307 [C99-based-standards] (PRIiMAX): Likewise.
11308 [C99-based-standards] (PRIoMAX): Likewise.
11309 [C99-based-standards] (PRIuMAX): Likewise.
11310 [C99-based-standards] (PRIxMAX): Likewise.
11311 [C99-based-standards] (PRIXMAX): Likewise.
11312 [C99-based-standards] (SCNdMAX): Likewise.
11313 [C99-based-standards] (SCNiMAX): Likewise.
11314 [C99-based-standards] (SCNoMAX): Likewise.
11315 [C99-based-standards] (SCNuMAX): Likewise.
11316 [C99-based-standards] (SCNxMAX): Likewise.
11317 [C99-based-standards] (PRIdPTR): Likewise.
11318 [C99-based-standards] (PRIiPTR): Likewise.
11319 [C99-based-standards] (PRIoPTR): Likewise.
11320 [C99-based-standards] (PRIuPTR): Likewise.
11321 [C99-based-standards] (PRIxPTR): Likewise.
11322 [C99-based-standards] (PRIXPTR): Likewise.
11323 [C99-based-standards] (SCNdPTR): Likewise.
11324 [C99-based-standards] (SCNiPTR): Likewise.
11325 [C99-based-standards] (SCNoPTR): Likewise.
11326 [C99-based-standards] (SCNuPTR): Likewise.
11327 [C99-based-standards] (SCNxPTR): Likewise.
11328 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11329 allow.
11330 * conform/data/stdint.h-data: Update comments to clarify
11331 requirements.
11332 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11333 type.
11334 [C99-based standards] (INT8_MAX): Likewise.
11335 [C99-based standards] (INT16_MIN): Likewise.
11336 [C99-based standards] (INT16_MAX): Likewise.
11337 [C99-based standards] (INT32_MIN): Likewise.
11338 [C99-based standards] (INT32_MAX): Likewise.
11339 [C99-based standards] (INT64_MIN): Likewise.
11340 [C99-based standards] (INT64_MAX): Likewise.
11341 [C99-based standards] (UINT8_MAX): Likewise.
11342 [C99-based standards] (UINT16_MAX): Likewise.
11343 [C99-based standards] (UINT32_MAX): Likewise.
11344 [C99-based standards] (UINT64_MAX): Likewise.
11345 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11346 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11347 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11348 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11349 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11350 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11351 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11352 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11353 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11354 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11355 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11356 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11357 [C99-based standards] (INT_FAST8_MIN): Likewise.
11358 [C99-based standards] (INT_FAST8_MAX): Likewise.
11359 [C99-based standards] (INT_FAST16_MIN): Likewise.
11360 [C99-based standards] (INT_FAST16_MAX): Likewise.
11361 [C99-based standards] (INT_FAST32_MIN): Likewise.
11362 [C99-based standards] (INT_FAST32_MAX): Likewise.
11363 [C99-based standards] (INT_FAST64_MIN): Likewise.
11364 [C99-based standards] (INT_FAST64_MAX): Likewise.
11365 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11366 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11367 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11368 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11369 [C99-based standards] (INTPTR_MIN): Likewise.
11370 [C99-based standards] (INTPTR_MAX): Likewise.
11371 [C99-based standards] (UINTPTR_MAX): Likewise.
11372 [C99-based standards] (INTMAX_MIN): Likewise.
11373 [C99-based standards] (INTMAX_MAX): Likewise.
11374 [C99-based standards] (UINTMAX_MAX): Likewise.
11375 [C99-based standards] (PTRDIFF_MIN): Likewise.
11376 [C99-based standards] (PTRDIFF_MAX): Likewise.
11377 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11378 [C99-based standards] (SIZE_MAX): Likewise.
11379 [C99-based standards] (WCHAR_MAX): Likewise.
11380 [C99-based standards] (WINT_MAX): Likewise.
11381 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11382 constraint on value.
11383 [C99-based standards] (WCHAR_MIN): Likewise.
11384 [C99-based standards] (WINT_MIN): Likewise.
11385 [C99-based standards] (*_t): Allow.
11386 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11387 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11388 Include math.h-data and complex.h-data. Remove all expectations
11389 of math.h and complex.h contents.
11390 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11391 at end of line.
11392 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11393 (struct tm): Expect tag.
11394 [C99-based-standards] (wcstof): Expect function.
11395 [C99-based-standards] (wcstold): Likewise.
11396 [C99-based-standards] (wcstoll): Likewise.
11397 [C99-based-standards] (wcstoull): Likewise.
11398 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11399 macro-int-constant. Specify type.
11400 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11401 constraint on value.
11402 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11403 Specify type.
11404 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11405 Specify value.
11406 [ISO C standards]: Do not allow headers.
11407 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11408 wcs[abcdefghijklmnopqrstuvwxyz]*.
11409 [ISO C standards] (*_t): Do not allow.
11410 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11411 Expect function.
11412 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11413 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11414 Specify type.
11415 [ISO C standards]: Do not allow headers.
11416 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11417 is[abcdefghijklmnopqrstuvwxyz]*.
11418 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11419 to[abcdefghijklmnopqrstuvwxyz]*.
11420 [ISO C standards] (*_t): Do not allow.
11421 * conform/data/stdalign.h-data: New file.
11422 * conform/data/stdbool.h-data: Likewise.
11423 * conform/data/stdnoreturn.h-data: Likewise.
11424
7514feb8
RM
114252012-11-07 Roland McGrath <roland@hack.frob.com>
11426
11427 [BZ #14815]
11428 * manual/filesys.texi (Directory Entries): Typo fix.
11429 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11430
19b2ecfc
MS
114312012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11432
11433 * elf/elf.h (EM_AARCH64): New macro.
11434 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11435 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11436 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11437 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11438 (R_AARCH64_TLSDESC): Likewise.
11439 (NT_ARM_TLS): Likewise.
11440 (NT_ARM_HW_BREAK): Likewise.
11441 (NT_ARM_HW_WATCH): Likewise.
11442
60e235ee
JM
114432012-11-07 Joseph Myers <joseph@codesourcery.com>
11444
11445 [BZ #14811]
11446 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11447 (__ieee754_powl): Saturate nonzero exponents with absolute value
11448 below 0x1p-79 to +/- 0x1p-79.
11449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11450 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11451 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11452 nonzero exponents with absolute value below 0x1p-32 to +/-
11453 0x1p-32.
11454 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11455 (__ieee754_powl): Saturate nonzero exponents with absolute value
11456 below 0x1p-79 to +/- 0x1p-79.
11457 * math/libm-test.inc (pow_test): Add more tests.
11458
0ab234b7
AK
114592012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11460
11461 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11462 _dl_s390_cap_flags with kernel. Increase string length.
11463 (_dl_s390_platforms): Add z196 and zEC12.
11464
45832f74
JM
114652012-11-07 Joseph Myers <joseph@codesourcery.com>
11466
11467 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11468 Change XOPEN21K to XOPEN2K.
11469
19218757
MK
114702012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11471
11472 * string/memmove.c: Use memcpy when possible.
11473
c5f45721
AJ
114742012-11-06 Andreas Jaeger <aj@suse.de>
11475
11476 * po/eo.po: Update from translation team.
11477
82477c28
JM
114782012-11-06 Joseph Myers <joseph@codesourcery.com>
11479
11480 [BZ #14793]
11481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11482 exponent and small x and y exponents, scale x or y up. Increase
11483 by 2 the exponent used in scaling up.
11484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11486 * math/libm-test.inc (fma_test): Add more tests.
11487 (fma_test_towardzero): Likewise.
11488 (fma_test_downward): Likewise.
11489 (fma_test_upward): Likewise.
11490
99252c8c
JM
114912012-11-05 Joseph Myers <joseph@codesourcery.com>
11492
acfa885f
JM
11493 [BZ #14805]
11494 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11495 fenv_t *.
11496
99252c8c
JM
11497 [BZ #14801]
11498 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11499 namespace for names of struct fields.
11500 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11501 fenv_t fields.
11502 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11503 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11504
d6d98dea
ST
115052012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11506
11507 [BZ #3665]
11508 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11509
e10bb107
TS
115102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11511
11512 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11513 PTR_DEMANGLE.
11514
11515 [BZ #5246]
11516 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11517 PTR_DEMANGLE.
11518
a0c2940d
JM
115192012-11-04 Joseph Myers <joseph@codesourcery.com>
11520
11521 [BZ #14797]
11522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11523 definitely overflow as x * y not x * y + z.
11524 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11525 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11526 * math/libm-test.inc (fma_test): Add more tests.
11527 (fma_test_towardzero): Likewise.
11528 (fma_test_downward): Likewise.
11529 (fma_test_upward): Likewise.
11530
b830319d
TS
115312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11532
11533 [BZ #157]
11534
11535 * include/stub-tag.h: Remove file.
11536 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11537 '#include' of it.
11538 * manual/maint.texi (Porting): Don't reference it.
11539 * Makerules ($(objpfx)stubs): Likewise.
11540 * dirent/closedir.c: Don't include <stub-tag.h>.
11541 * dirent/dirfd.c: Likewise.
11542 * dirent/fdopendir.c: Likewise.
11543 * dirent/getdents.c: Likewise.
11544 * dirent/getdents64.c: Likewise.
11545 * dirent/opendir.c: Likewise.
11546 * dirent/readdir.c: Likewise.
11547 * dirent/readdir64.c: Likewise.
11548 * dirent/readdir64_r.c: Likewise.
11549 * dirent/readdir_r.c: Likewise.
11550 * dirent/rewinddir.c: Likewise.
11551 * dirent/seekdir.c: Likewise.
11552 * dirent/telldir.c: Likewise.
11553 * gmon/profil.c: Likewise.
11554 * grp/setgroups.c: Likewise.
11555 * inet/if_index.c: Likewise.
11556 * io/access.c: Likewise.
11557 * io/chdir.c: Likewise.
11558 * io/chmod.c: Likewise.
11559 * io/chown.c: Likewise.
11560 * io/close.c: Likewise.
11561 * io/dup.c: Likewise.
11562 * io/dup2.c: Likewise.
11563 * io/dup3.c: Likewise.
11564 * io/euidaccess.c: Likewise.
11565 * io/faccessat.c: Likewise.
11566 * io/fchdir.c: Likewise.
11567 * io/fchmod.c: Likewise.
11568 * io/fchmodat.c: Likewise.
11569 * io/fchown.c: Likewise.
11570 * io/fchownat.c: Likewise.
11571 * io/fcntl.c: Likewise.
11572 * io/flock.c: Likewise.
11573 * io/fstatfs.c: Likewise.
11574 * io/fstatfs64.c: Likewise.
11575 * io/fstatvfs.c: Likewise.
11576 * io/fstatvfs64.c: Likewise.
11577 * io/futimens.c: Likewise.
11578 * io/fxstat.c: Likewise.
11579 * io/fxstat64.c: Likewise.
11580 * io/fxstatat.c: Likewise.
11581 * io/fxstatat64.c: Likewise.
11582 * io/getcwd.c: Likewise.
11583 * io/isatty.c: Likewise.
11584 * io/lchmod.c: Likewise.
11585 * io/lchown.c: Likewise.
11586 * io/link.c: Likewise.
11587 * io/linkat.c: Likewise.
11588 * io/lseek.c: Likewise.
11589 * io/lseek64.c: Likewise.
11590 * io/lxstat64.c: Likewise.
11591 * io/mkdir.c: Likewise.
11592 * io/mkdirat.c: Likewise.
11593 * io/mkfifo.c: Likewise.
11594 * io/mkfifoat.c: Likewise.
11595 * io/open.c: Likewise.
11596 * io/open64.c: Likewise.
11597 * io/openat.c: Likewise.
11598 * io/openat64.c: Likewise.
11599 * io/pipe.c: Likewise.
11600 * io/pipe2.c: Likewise.
11601 * io/poll.c: Likewise.
11602 * io/posix_fadvise.c: Likewise.
11603 * io/posix_fadvise64.c: Likewise.
11604 * io/posix_fallocate.c: Likewise.
11605 * io/posix_fallocate64.c: Likewise.
11606 * io/read.c: Likewise.
11607 * io/readlink.c: Likewise.
11608 * io/readlinkat.c: Likewise.
11609 * io/rmdir.c: Likewise.
11610 * io/sendfile.c: Likewise.
11611 * io/sendfile64.c: Likewise.
11612 * io/statfs.c: Likewise.
11613 * io/statfs64.c: Likewise.
11614 * io/statvfs.c: Likewise.
11615 * io/statvfs64.c: Likewise.
11616 * io/symlink.c: Likewise.
11617 * io/symlinkat.c: Likewise.
11618 * io/ttyname.c: Likewise.
11619 * io/ttyname_r.c: Likewise.
11620 * io/umask.c: Likewise.
11621 * io/unlink.c: Likewise.
11622 * io/unlinkat.c: Likewise.
11623 * io/utime.c: Likewise.
11624 * io/utimensat.c: Likewise.
11625 * io/write.c: Likewise.
11626 * io/xmknod.c: Likewise.
11627 * io/xmknodat.c: Likewise.
11628 * io/xstat.c: Likewise.
11629 * io/xstat64.c: Likewise.
11630 * login/getpt.c: Likewise.
11631 * login/grantpt.c: Likewise.
11632 * login/unlockpt.c: Likewise.
11633 * math/e_acoshl.c: Likewise.
11634 * math/e_acosl.c: Likewise.
11635 * math/e_asinl.c: Likewise.
11636 * math/e_atan2l.c: Likewise.
11637 * math/e_atanhl.c: Likewise.
11638 * math/e_coshl.c: Likewise.
11639 * math/e_expl.c: Likewise.
11640 * math/e_fmodl.c: Likewise.
11641 * math/e_gammal_r.c: Likewise.
11642 * math/e_hypotl.c: Likewise.
11643 * math/e_j0l.c: Likewise.
11644 * math/e_j1l.c: Likewise.
11645 * math/e_jnl.c: Likewise.
11646 * math/e_lgammal_r.c: Likewise.
11647 * math/e_log10l.c: Likewise.
11648 * math/e_log2l.c: Likewise.
11649 * math/e_logl.c: Likewise.
11650 * math/e_powl.c: Likewise.
11651 * math/e_rem_pio2l.c: Likewise.
11652 * math/e_sinhl.c: Likewise.
11653 * math/e_sqrtl.c: Likewise.
11654 * math/fclrexcpt.c: Likewise.
11655 * math/fedisblxcpt.c: Likewise.
11656 * math/feenablxcpt.c: Likewise.
11657 * math/fegetenv.c: Likewise.
11658 * math/fegetexcept.c: Likewise.
11659 * math/fegetround.c: Likewise.
11660 * math/feholdexcpt.c: Likewise.
11661 * math/fesetenv.c: Likewise.
11662 * math/fesetround.c: Likewise.
11663 * math/feupdateenv.c: Likewise.
11664 * math/fgetexcptflg.c: Likewise.
11665 * math/fraiseexcpt.c: Likewise.
11666 * math/fsetexcptflg.c: Likewise.
11667 * math/ftestexcept.c: Likewise.
11668 * math/k_cosl.c: Likewise.
11669 * math/k_rem_pio2l.c: Likewise.
11670 * math/k_sinl.c: Likewise.
11671 * math/k_tanl.c: Likewise.
11672 * math/s_asinhl.c: Likewise.
11673 * math/s_atanl.c: Likewise.
11674 * math/s_cbrtl.c: Likewise.
11675 * math/s_erfl.c: Likewise.
11676 * math/s_expm1l.c: Likewise.
11677 * math/s_log1pl.c: Likewise.
11678 * math/s_tanhl.c: Likewise.
11679 * misc/acct.c: Likewise.
11680 * misc/brk.c: Likewise.
11681 * misc/chflags.c: Likewise.
11682 * misc/chroot.c: Likewise.
11683 * misc/fchflags.c: Likewise.
11684 * misc/fgetxattr.c: Likewise.
11685 * misc/flistxattr.c: Likewise.
11686 * misc/fremovexattr.c: Likewise.
11687 * misc/fsetxattr.c: Likewise.
11688 * misc/fsync.c: Likewise.
11689 * misc/ftruncate.c: Likewise.
11690 * misc/futimes.c: Likewise.
11691 * misc/futimesat.c: Likewise.
11692 * misc/getdomain.c: Likewise.
11693 * misc/getdtsz.c: Likewise.
11694 * misc/gethostid.c: Likewise.
11695 * misc/gethostname.c: Likewise.
11696 * misc/getloadavg.c: Likewise.
11697 * misc/getpagesize.c: Likewise.
11698 * misc/getsysstats.c: Likewise.
11699 * misc/getxattr.c: Likewise.
11700 * misc/gtty.c: Likewise.
11701 * misc/ioctl.c: Likewise.
11702 * misc/lgetxattr.c: Likewise.
11703 * misc/listxattr.c: Likewise.
11704 * misc/llistxattr.c: Likewise.
11705 * misc/lremovexattr.c: Likewise.
11706 * misc/lsetxattr.c: Likewise.
11707 * misc/lutimes.c: Likewise.
11708 * misc/madvise.c: Likewise.
11709 * misc/mincore.c: Likewise.
11710 * misc/mlock.c: Likewise.
11711 * misc/mlockall.c: Likewise.
11712 * misc/mmap.c: Likewise.
11713 * misc/mprotect.c: Likewise.
11714 * misc/msync.c: Likewise.
11715 * misc/munlock.c: Likewise.
11716 * misc/munlockall.c: Likewise.
11717 * misc/munmap.c: Likewise.
11718 * misc/preadv.c: Likewise.
11719 * misc/preadv64.c: Likewise.
11720 * misc/ptrace.c: Likewise.
11721 * misc/pwritev.c: Likewise.
11722 * misc/pwritev64.c: Likewise.
11723 * misc/readv.c: Likewise.
11724 * misc/reboot.c: Likewise.
11725 * misc/remap_file_pages.c: Likewise.
11726 * misc/removexattr.c: Likewise.
11727 * misc/revoke.c: Likewise.
11728 * misc/select.c: Likewise.
11729 * misc/setdomain.c: Likewise.
11730 * misc/setegid.c: Likewise.
11731 * misc/seteuid.c: Likewise.
11732 * misc/sethostid.c: Likewise.
11733 * misc/sethostname.c: Likewise.
11734 * misc/setregid.c: Likewise.
11735 * misc/setreuid.c: Likewise.
11736 * misc/setxattr.c: Likewise.
11737 * misc/sstk.c: Likewise.
11738 * misc/stty.c: Likewise.
11739 * misc/swapoff.c: Likewise.
11740 * misc/swapon.c: Likewise.
11741 * misc/sync.c: Likewise.
11742 * misc/syncfs.c: Likewise.
11743 * misc/syscall.c: Likewise.
11744 * misc/truncate.c: Likewise.
11745 * misc/ualarm.c: Likewise.
11746 * misc/usleep.c: Likewise.
11747 * misc/ustat.c: Likewise.
11748 * misc/utimes.c: Likewise.
11749 * misc/vhangup.c: Likewise.
11750 * misc/writev.c: Likewise.
11751 * posix/_exit.c: Likewise.
11752 * posix/alarm.c: Likewise.
11753 * posix/execve.c: Likewise.
11754 * posix/fexecve.c: Likewise.
11755 * posix/fork.c: Likewise.
11756 * posix/fpathconf.c: Likewise.
11757 * posix/getaddrinfo.c: Likewise.
11758 * posix/getegid.c: Likewise.
11759 * posix/geteuid.c: Likewise.
11760 * posix/getgid.c: Likewise.
11761 * posix/getgroups.c: Likewise.
11762 * posix/getlogin.c: Likewise.
11763 * posix/getlogin_r.c: Likewise.
11764 * posix/getpgid.c: Likewise.
11765 * posix/getpid.c: Likewise.
11766 * posix/getppid.c: Likewise.
11767 * posix/getresgid.c: Likewise.
11768 * posix/getresuid.c: Likewise.
11769 * posix/getsid.c: Likewise.
11770 * posix/getuid.c: Likewise.
11771 * posix/glob64.c: Likewise.
11772 * posix/nanosleep.c: Likewise.
11773 * posix/pathconf.c: Likewise.
11774 * posix/pause.c: Likewise.
11775 * posix/posix_madvise.c: Likewise.
11776 * posix/pread.c: Likewise.
11777 * posix/pread64.c: Likewise.
11778 * posix/pwrite.c: Likewise.
11779 * posix/pwrite64.c: Likewise.
11780 * posix/sched_getaffinity.c: Likewise.
11781 * posix/sched_getp.c: Likewise.
11782 * posix/sched_gets.c: Likewise.
11783 * posix/sched_primax.c: Likewise.
11784 * posix/sched_primin.c: Likewise.
11785 * posix/sched_rr_gi.c: Likewise.
11786 * posix/sched_setaffinity.c: Likewise.
11787 * posix/sched_setp.c: Likewise.
11788 * posix/sched_sets.c: Likewise.
11789 * posix/sched_yield.c: Likewise.
11790 * posix/setgid.c: Likewise.
11791 * posix/setlogin.c: Likewise.
11792 * posix/setpgid.c: Likewise.
11793 * posix/setresgid.c: Likewise.
11794 * posix/setresuid.c: Likewise.
11795 * posix/setsid.c: Likewise.
11796 * posix/setuid.c: Likewise.
11797 * posix/sleep.c: Likewise.
11798 * posix/spawni.c: Likewise.
11799 * posix/sysconf.c: Likewise.
11800 * posix/times.c: Likewise.
11801 * posix/wait.c: Likewise.
11802 * posix/wait3.c: Likewise.
11803 * posix/wait4.c: Likewise.
11804 * posix/waitpid.c: Likewise.
11805 * resolv/gai_sigqueue.c: Likewise.
11806 * resource/getpriority.c: Likewise.
11807 * resource/getrlimit.c: Likewise.
11808 * resource/getrusage.c: Likewise.
11809 * resource/nice.c: Likewise.
11810 * resource/setpriority.c: Likewise.
11811 * resource/setrlimit.c: Likewise.
11812 * resource/ulimit.c: Likewise.
11813 * rt/aio_cancel.c: Likewise.
11814 * rt/aio_fsync.c: Likewise.
11815 * rt/aio_read.c: Likewise.
11816 * rt/aio_sigqueue.c: Likewise.
11817 * rt/aio_suspend.c: Likewise.
11818 * rt/aio_write.c: Likewise.
11819 * rt/clock_getres.c: Likewise.
11820 * rt/clock_gettime.c: Likewise.
11821 * rt/clock_nanosleep.c: Likewise.
11822 * rt/clock_settime.c: Likewise.
11823 * rt/lio_listio.c: Likewise.
11824 * rt/mq_close.c: Likewise.
11825 * rt/mq_getattr.c: Likewise.
11826 * rt/mq_notify.c: Likewise.
11827 * rt/mq_open.c: Likewise.
11828 * rt/mq_receive.c: Likewise.
11829 * rt/mq_send.c: Likewise.
11830 * rt/mq_setattr.c: Likewise.
11831 * rt/mq_timedreceive.c: Likewise.
11832 * rt/mq_timedsend.c: Likewise.
11833 * rt/mq_unlink.c: Likewise.
11834 * rt/shm_open.c: Likewise.
11835 * rt/shm_unlink.c: Likewise.
11836 * rt/timer_create.c: Likewise.
11837 * rt/timer_delete.c: Likewise.
11838 * rt/timer_getoverr.c: Likewise.
11839 * rt/timer_gettime.c: Likewise.
11840 * rt/timer_settime.c: Likewise.
11841 * setjmp/__longjmp.c: Likewise.
11842 * setjmp/setjmp.c: Likewise.
11843 * signal/kill.c: Likewise.
11844 * signal/killpg.c: Likewise.
11845 * signal/raise.c: Likewise.
11846 * signal/sigaction.c: Likewise.
11847 * signal/sigaltstack.c: Likewise.
11848 * signal/sigblock.c: Likewise.
11849 * signal/sigignore.c: Likewise.
11850 * signal/sigintr.c: Likewise.
11851 * signal/signal.c: Likewise.
11852 * signal/sigpause.c: Likewise.
11853 * signal/sigpending.c: Likewise.
11854 * signal/sigqueue.c: Likewise.
11855 * signal/sigreturn.c: Likewise.
11856 * signal/sigset.c: Likewise.
11857 * signal/sigsetmask.c: Likewise.
11858 * signal/sigstack.c: Likewise.
11859 * signal/sigsuspend.c: Likewise.
11860 * signal/sigtimedwait.c: Likewise.
11861 * signal/sigvec.c: Likewise.
11862 * signal/sigwait.c: Likewise.
11863 * signal/sigwaitinfo.c: Likewise.
11864 * signal/sysv_signal.c: Likewise.
11865 * socket/accept.c: Likewise.
11866 * socket/accept4.c: Likewise.
11867 * socket/bind.c: Likewise.
11868 * socket/connect.c: Likewise.
11869 * socket/getpeername.c: Likewise.
11870 * socket/getsockname.c: Likewise.
11871 * socket/getsockopt.c: Likewise.
11872 * socket/isfdtype.c: Likewise.
11873 * socket/listen.c: Likewise.
11874 * socket/recv.c: Likewise.
11875 * socket/recvfrom.c: Likewise.
11876 * socket/recvmsg.c: Likewise.
11877 * socket/send.c: Likewise.
11878 * socket/sendmsg.c: Likewise.
11879 * socket/sendto.c: Likewise.
11880 * socket/setsockopt.c: Likewise.
11881 * socket/shutdown.c: Likewise.
11882 * socket/sockatmark.c: Likewise.
11883 * socket/socket.c: Likewise.
11884 * socket/socketpair.c: Likewise.
11885 * stdio-common/ctermid.c: Likewise.
11886 * stdio-common/cuserid.c: Likewise.
11887 * stdio-common/remove.c: Likewise.
11888 * stdio-common/rename.c: Likewise.
11889 * stdio-common/renameat.c: Likewise.
11890 * stdio-common/tempname.c: Likewise.
11891 * stdlib/getcontext.c: Likewise.
11892 * stdlib/makecontext.c: Likewise.
11893 * stdlib/setcontext.c: Likewise.
11894 * stdlib/swapcontext.c: Likewise.
11895 * stdlib/system.c: Likewise.
11896 * streams/fattach.c: Likewise.
11897 * streams/fdetach.c: Likewise.
11898 * streams/getmsg.c: Likewise.
11899 * streams/getpmsg.c: Likewise.
11900 * streams/putmsg.c: Likewise.
11901 * streams/putpmsg.c: Likewise.
11902 * sysdeps/unix/bsd/getpt.c: Likewise.
11903 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11904 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11905 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11907 Likewise.
11908 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11909 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11910 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11911 * sysvipc/msgctl.c: Likewise.
11912 * sysvipc/msgget.c: Likewise.
11913 * sysvipc/msgrcv.c: Likewise.
11914 * sysvipc/msgsnd.c: Likewise.
11915 * sysvipc/semctl.c: Likewise.
11916 * sysvipc/semget.c: Likewise.
11917 * sysvipc/semop.c: Likewise.
11918 * sysvipc/semtimedop.c: Likewise.
11919 * sysvipc/shmat.c: Likewise.
11920 * sysvipc/shmctl.c: Likewise.
11921 * sysvipc/shmdt.c: Likewise.
11922 * sysvipc/shmget.c: Likewise.
11923 * termios/tcdrain.c: Likewise.
11924 * termios/tcflow.c: Likewise.
11925 * termios/tcflush.c: Likewise.
11926 * termios/tcgetattr.c: Likewise.
11927 * termios/tcgetpgrp.c: Likewise.
11928 * termios/tcsendbrk.c: Likewise.
11929 * termios/tcsetattr.c: Likewise.
11930 * termios/tcsetpgrp.c: Likewise.
11931 * time/adjtime.c: Likewise.
11932 * time/clock.c: Likewise.
11933 * time/getitimer.c: Likewise.
11934 * time/gettimeofday.c: Likewise.
11935 * time/setitimer.c: Likewise.
11936 * time/settimeofday.c: Likewise.
11937 * time/stime.c: Likewise.
11938 * time/time.c: Likewise.
11939
119402012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11941
a20492cf
PT
11942 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11943 /usr/old/bin.
11944
72e182e3
PT
11945 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11946 instead of spaces.
11947 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11948
fbeafede
JM
119492012-11-03 Joseph Myers <joseph@codesourcery.com>
11950
5b5b04d6
JM
11951 [BZ #14796]
11952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11953 FE_TONEAREST before applying Dekker multiplication and Knuth
11954 addition. Clear inexact exceptions and check for exact zero
11955 results afterwards.
11956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11957 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11959 * math/libm-test.inc (fma_test): Add more tests.
11960 (fma_test_towardzero): Likewise.
11961 (fma_test_downward): Likewise.
11962 (fma_test_upward): Likewise.
11963 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11964 function.
11965 (libc_fesetround): New macro.
11966 (libc_fesetroundf): Likewise.
11967 (libc_fesetroundl): Likewise.
11968 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11969 function.
11970 (libc_fesetround_387): Likewise.
11971 (libc_fesetroundf): New macro.
11972 (libc_fesetround): Likewise.
11973 (libc_fesetroundl): Likewise.
11974 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11975 function.
11976 (libc_fesetroundf): New macro.
11977 (libc_fesetround): Likewise.
11978 (libc_fesetroundl): Likewise.
11979 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11980 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11981 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11982 libm_hidden_ver.
11983 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11984 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11985 libm_hidden_def.
11986 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11987 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11988 libm_hidden_ver.
11989 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11990 libm_hidden_def.
11991
fbeafede
JM
11992 [BZ #3439]
11993 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11994 integer constant usable in #if and use that to give value to enum
11995 constant.
11996 (FE_DIVBYZERO): Likewise.
11997 (FE_UNDERFLOW): Likewise.
11998 (FE_OVERFLOW): Likewise.
11999 (FE_INVALID): Likewise.
12000 (FE_INVALID_SNAN): Likewise.
12001 (FE_INVALID_ISI): Likewise.
12002 (FE_INVALID_IDI): Likewise.
12003 (FE_INVALID_ZDZ): Likewise.
12004 (FE_INVALID_IMZ): Likewise.
12005 (FE_INVALID_COMPARE): Likewise.
12006 (FE_INVALID_SOFTWARE): Likewise.
12007 (FE_INVALID_SQRT): Likewise.
12008 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12009 (FE_TONEAREST): Likewise.
12010 (FE_TOWARDZERO): Likewise.
12011 (FE_UPWARD): Likewise.
12012 (FE_DOWNWARD): Likewise.
12013 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12014 (FE_DIVBYZERO): Likewise.
12015 (FE_OVERFLOW): Likewise.
12016 (FE_UNDERFLOW): Likewise.
12017 (FE_INEXACT): Likewise.
12018 (FE_TONEAREST): Likewise.
12019 (FE_DOWNWARD): Likewise.
12020 (FE_UPWARD): Likewise.
12021 (FE_TOWARDZERO): Likewise.
12022 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12023 (FE_UNDERFLOW): Likewise.
12024 (FE_OVERFLOW): Likewise.
12025 (FE_DIVBYZERO): Likewise.
12026 (FE_INVALID): Likewise.
12027 (FE_TONEAREST): Likewise.
12028 (FE_TOWARDZERO): Likewise.
12029 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12030 (FE_OVERFLOW): Likewise.
12031 (FE_UNDERFLOW): Likewise.
12032 (FE_DIVBYZERO): Likewise.
12033 (FE_INEXACT): Likewise.
12034 (FE_TONEAREST): Likewise.
12035 (FE_TOWARDZERO): Likewise.
12036 (FE_UPWARD): Likewise.
12037 (FE_DOWNWARD): Likewise.
12038 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12039 (FE_DIVBYZERO): Likewise.
12040 (FE_OVERFLOW): Likewise.
12041 (FE_UNDERFLOW): Likewise.
12042 (FE_INEXACT): Likewise.
12043 (FE_TONEAREST): Likewise.
12044 (FE_DOWNWARD): Likewise.
12045 (FE_UPWARD): Likewise.
12046 (FE_TOWARDZERO): Likewise.
12047
105ca950
CM
120482012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12049
12050 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12051
a542b389
AS
120522012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12053
12054 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12055 commands. Quote $PWD.
12056 (blacklist_exports): Don't use remove_newlines. Replace "declare
12057 -x" by "export".
12058 (remove_newlines): Remove.
12059
f62c8abc
L
120602012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12063 * stdlib/stdlib.h (atof): Moved to ...
12064 * include/bits/stdlib-float.h: Here. New file.
12065 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12066 * stdlib/bits/stdlib-float.h: New file.
12067 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12068 -mno-sse -mno-mmx.
12069 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12070 <xmmintrin.h>.
12071
0155d5b2
JM
120722012-11-02 Joseph Myers <joseph@codesourcery.com>
12073
a68d0680
JM
12074 * conform/conformtest.pl (@headers): Add fenv.h.
12075 * conform/data/fenv.h-data: New file.
12076 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12077 include of <math/fenv.h>.
12078
caf7f573
JM
12079 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12080 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12081 && !UNIX98]. Enables tests for XOPEN2K8.
12082 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12083 POSIX2008]: Likewise.
12084
6c073ad6
JM
12085 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12086 (struct rusage): Do not expect type or its members.
12087
0155d5b2
JM
12088 [BZ #3439]
12089 * math/math.h (FP_NAN): Define macro to integer constant usable in
12090 #if and use that to give value to enum constant.
12091 (FP_INFINITE): Likewise.
12092 (FP_ZERO): Likewise.
12093 (FP_SUBNORMAL): Likewise.
12094 (FP_NORMAL): Likewise.
12095
b5dcacb4
AS
120962012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12097
12098 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12099 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12100 arguments.
12101
f7934be8
RM
121022012-11-02 Roland McGrath <roland@hack.frob.com>
12103
12104 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12105 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12106 autoconf-time if not.
12107 * configure.in: Remove AC_PREREQ.
12108
d7d08bde
TMQMF
121092012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12110
12111 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12112 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12113 of the internal implementation.
12114
dcdae19a
JM
121152012-11-02 Joseph Myers <joseph@codesourcery.com>
12116
12117 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12118 except include of <misc/sys/syslog.h>.
12119
d6cffd3e
AS
121202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12121
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12123 function returns with a NULL context exit with zero.
12124
b3563932
TMQMF
121252012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12126
12127 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12128
b288a93d
L
121292012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12130
12131 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12132 (run_program_cmd): This.
12133 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12134 (tst_langinfo): New variable. Use it.
12135
a2421a68
SAS
121362012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12137
12138 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12139 floating point opcodes.
12140
6f796e1b
TS
121412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12142
7402596b
TS
12143 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12144 variable.
12145
d0d4f868
TS
12146 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12147
6f796e1b
TS
12148 * sysdeps/mach/hurd/powerpc: Remove directory.
12149 * sysdeps/mach/powerpc: Likewise.
12150
4da224a2
AS
121512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12152
12153 * scripts/check-local-headers.sh: Ignore c++ headers.
12154
341dd673
TS
121552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12156
12157 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12158 __libc_cleanup_region_start argument.
12159
473611b2
JM
121602012-11-01 Joseph Myers <joseph@codesourcery.com>
12161
12162 [BZ #14784]
12163 [BZ #14785]
12164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12165 x * y using scaling, not as x * y + z.
12166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12168 * math/libm-test.inc (fma_test): Add more tests.
12169 (fma_test_towardzero): Likewise.
12170 (fma_test_downward): Likewise.
12171 (fma_test_upward): Likewise.
12172
4078da3d
TS
121732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12174
12175 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12176
903252aa
JM
121772012-10-31 Joseph Myers <joseph@codesourcery.com>
12178
12179 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12180 New variable.
12181
cbc818d0
TS
121822012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12183
12184 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12185
5a03cb1e
AS
121862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12187
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12189 Fix sort order.
12190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12191 Likewise.
12192
90aff2ff
TMQMF
121932012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12194
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12196 Fix the order of the list for glibc 2.17.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12198 Likewise.
12199
1818fcb7
AS
122002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12201
12202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12203
ef82f4da
JM
122042012-10-31 Joseph Myers <joseph@codesourcery.com>
12205
16a0e2ec
JM
12206 [BZ #14610]
12207 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12208 for low part of x being zero before using __atanl (y).
12209 * math/libm-test.inc (atan2_test): Add another test.
12210
0eb69512
JM
12211 * manual/install.texi (Configuring and compiling): Document
12212 general use of test-wrapper and test-wrapper-env.
12213 * INSTALL: Regenerated.
12214
ef82f4da
JM
12215 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12216 (__fma): Do not extract and scale down low bits on after-rounding
12217 systems when result rounded to normal precision would have normal
12218 exponent.
12219 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12220 (__fmal): Do not extract and scale down low bits on after-rounding
12221 systems when result rounded to normal precision would have normal
12222 exponent.
12223 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12224 (__fmal): Do not extract and scale down low bits on after-rounding
12225 systems when result rounded to normal precision would have normal
12226 exponent.
12227 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12228 macro.
12229 (fma_test): Add more tests.
12230 (fma_test_towardzero): Likewise.
12231 (fma_test_downward): Likewise.
12232 (fma_test_upward): Likewise.
12233
954ef0d9
L
122342012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12235
12236 * sysdeps/i386/tininess.h: Renamed to ...
12237 * sysdeps/x86/tininess.h: This.
12238 * sysdeps/x86_64/tininess.h: Removed.
12239
df61ffb2
JM
122402012-10-30 Joseph Myers <joseph@codesourcery.com>
12241
12242 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12243 input. Use $(build-program-cmd).
12244 ($(objpfx)tst-array1-static.out): Likewise.
12245 ($(objpfx)tst-array2.out): Likewise.
12246 ($(objpfx)tst-array3.out): Likewise.
12247 ($(objpfx)tst-array4.out): Likewise.
12248 ($(objpfx)tst-array5.out): Likewise.
12249 ($(objpfx)tst-array5-static.out): Likewise.
12250
01767843
CM
122512012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12252
47cc1490
CM
12253 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12254 if defined.
12255
01767843
CM
12256 * nss/nsswitch.h (nss_interface_function): Provide new
12257 macro for use with NSS functions.
12258 * grp/initgroups.c: Use new macro.
12259 * nss/getXXbyYY.c: Likewise.
12260 * nss/getXXbyYY_r.c: Likewise.
12261 * nss/getXXent.c: Likewise.
12262 * nss/getXXent_r.c: Likewise.
12263 * sysdeps/posix/getaddrinfo.c: Likewise.
12264
8321aa97
AJ
122652012-10-30 Andreas Jaeger <aj@suse.de>
12266
12267 * po/ru.po: Update Russion translation from translation project.
12268
2a27fd6d
JM
122692012-10-30 Joseph Myers <joseph@codesourcery.com>
12270
8627a232
JM
12271 [BZ #14152]
12272 [BZ #14783]
12273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12274 result and shift together with sticky bit instead of replicating
12275 round-to-nearest rounding.
12276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12278 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12279 missing underflow exceptions.
12280 (fma_test_towardzero): Add more tests.
12281 (fma_test_downward): Likewise.
12282 (fma_test_upward): Likewise.
12283
2a27fd6d
JM
12284 [BZ #14047]
12285 * sysdeps/generic/tininess.h: New file.
12286 * sysdeps/i386/tininess.h: Likewise.
12287 * sysdeps/sh/tininess.h: Likewise.
12288 * sysdeps/x86_64/tininess.h: Likewise.
12289 * stdlib/tst-strtod-underflow.c: Likewise.
12290 * stdlib/tst-tininess.c: Likewise.
12291 * stdlib/strtod_l.c: Include <tininess.h>.
12292 (round_and_return): Do not set errno for exact underflow cases.
12293 Force an underflow exception when setting errno for underflow.
12294 Determine underflow based on rounding to normal precision if
12295 TININESS_AFTER_ROUNDING.
12296 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12297 ERANGE for exact underflow cases.
12298 * stdlib/Makefile (tests): Add tst-tininess and
12299 tst-strtod-underflow.
12300 ($(objpfx)tst-tininess): Use $(link-libm).
12301 ($(objpfx)tst-strtod-underflow): Likewise.
12302
e7170363
AJ
123032012-10-30 Andreas Jaeger <aj@suse.de>
12304
e5088dc6
AJ
12305 [BZ#14767]
12306 * elf/Makefile (tests): Remove conditional for have-initfini-array
12307 since this is now always required and the variable does not exist
12308 anymore.
12309 (tests-static): Likewise.
12310 (modules-names): Likewise.
12311
e7170363 12312 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12313
12314 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12315 merged with constructor/destructor.
12316 (init_array): Likewise.
12317 * elf/tst-array2dep.c (fini_array): Likewise.
12318 (init_array): Likewise.
12319
60457d8a
MF
123202012-10-29 Mike Frysinger <vapier@gentoo.org>
12321
12322 * manual/message.texi: Delete @cartouche tags.
12323
8bece752
PT
123242012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12325
94ce799f
PT
12326 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12327 EOPNOTSUPP.
12328 * sysdeps/mach/hurd/fsync.c: Likewise.
12329
8bece752
PT
12330 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12331 [_POSIX_REALTIME_SIGNALS]: Change condition to
12332 [_POSIX_REALTIME_SIGNALS > 0].
12333
86ebe6b1
AJ
123342012-10-27 Andreas Jaeger <aj@suse.de>
12335
12336 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12337 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12339 [__WORDSIZE != 64]: Likewise.
12340
54399c08
L
123412012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12342
12343 * iconvdata/tst-table.sh: Remove ${SHELL}.
12344 * iconvdata/tst-tables.sh: Likewise.
12345
e2211bed
DM
123462012-10-25 David S. Miller <davem@davemloft.net>
12347
12348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12349 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12350 of strtoull.
12351
f303f97c
DM
12352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12353 ifunc-impl-list.c
12354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12355 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12356 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12357 file.
12358
1e9d84cd
RM
123592012-10-25 Roland McGrath <roland@hack.frob.com>
12360
12361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12362 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12363 __getdirentries.
12364
df381762
JM
123652012-10-25 Joseph Myers <joseph@codesourcery.com>
12366 Jim Blandy <jimb@codesourcery.com>
12367
12368 * scripts/cross-test-ssh.sh: New file.
12369 * manual/install.texi (Configuring and compiling): Document use of
12370 cross-test-ssh.sh.
12371 * INSTALL: Regenerated.
12372
bff64913
PT
123732012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12374
12375 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12376 EOPNOTSUPP.
12377
25fe8932
JM
123782012-10-25 Joseph Myers <joseph@codesourcery.com>
12379
12380 * Makeconfig (run-program-prefix): Fix comment.
12381
cc1290d0
JM
123822012-10-24 Joseph Myers <joseph@codesourcery.com>
12383 Jim Blandy <jimb@codesourcery.com>
12384
12385 * Makeconfig (test-wrapper): New variable,
12386 (test-wrapper-env): Likewise.
12387 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12388 (run-built-tests): Define to yes.
12389 (run-program-prefix): Use $(test-wrapper).
12390 (built-program-cmd): Likewise.
12391 * Rules (make-test-out): Use $(test-wrapper-env) and
12392 $(host-built-program-cmd).
12393 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12394 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12395 tst-pathopt.sh.
12396 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12397 $(test-wrapper-env) to tst-rtld-load-self.sh.
12398 ($(objpfx)order2.out): Use $(test-wrapper).
12399 ($(objpfx)tst-initorder.out): Likewise.
12400 ($(objpfx)tst-initorder2.out): Likewise.
12401 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12402 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12403 (test_wrapper_env): New variable. Use it to run ld.so.
12404 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12405 Use it to run ld.so.
12406 (test_wrapper_env): Likewise.
12407 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12408 $(test-wrapper) to run-iconv-test.sh.
12409 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12410 (ICONV): Use $test_wrapper.
12411 * posix/Makefile ($(objpfx)globtest.out): Pass
12412 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12413 globtest.sh, not $(run-program-prefix).
12414 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12415 (test_wrapper): Likewise.
12416 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12417 set together with run_via_rtld_prefix.
12418 (run_program_prefix): Define in terms of test_wrapper and
12419 run_via_rtld_prefix.
12420
6e6249d0
RM
124212012-10-24 Roland McGrath <roland@hack.frob.com>
12422
12423 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12424 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12425 Targets removed.
12426
12427 [BZ #14743]
12428 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12429 Declare __clock_getres, __clock_gettime, __clock_settime,
12430 __clock_nanosleep, and __clock_getcpuclockid.
12431 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12432 Remove librt_hidden_def (clock_gettime).
12433 * sysdeps/unix/clock_gettime.c: Likewise.
12434 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12436 * rt/clock_getres.c: Define __clock_getres as an alias.
12437 * sysdeps/posix/clock_getres.c: Likewise.
12438 * rt/clock_settime.c: Define __clock_settime as an alias.
12439 * sysdeps/unix/clock_settime.c: Likewise.
12440 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12441 * sysdeps/unix/clock_nanosleep.c: Likewise.
12442 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12443 * rt/clock-compat.c: New file.
12444 * rt/Makefile (librt-routines): Add clock-compat and move
12445 $(clock-routines) to ...
12446 (routines): ... here, new variable.
12447 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12448 Don't add get_clockfreq here.
12449 * rt/Versions (libc: GLIBC_2.17): New version set.
12450 Add clock_* symbols here.
12451 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12453 (GLIBC_2.17): Add clock_* symbols.
12454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12460 Likewise.
12461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12465 * NEWS: Mention the move.
12466
12467 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12468 Use __open, __read, __close rather than their public counterparts.
12469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12470 (__get_clockfreq_via_cpuinfo): Likewise.
12471 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12472 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12473
12474 * config.h.in (HAVE_IFUNC): New #undef.
12475 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12476 was successful.
12477 * configure: Regenerated.
12478
0cae3f4b
MF
124792012-10-24 Mike Frysinger <vapier@gentoo.org>
12480
12481 * configure.in: Move READELF check to start of file.
12482 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12483 libc_cv_asm_gnu_indirect_function in the process.
12484 * configure: Regenerated.
12485
8175a253
MF
124862012-10-24 Mike Frysinger <vapier@gentoo.org>
12487
12488 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12489 send the output to /dev/null.
12490 (libc_cv_cc_with_libunwind): Likewise.
12491 (libc_cv_as_noexecstack): Likewise.
12492 * configure: Regenerate.
12493
0708a7d1
JM
124942012-10-24 Joseph Myers <joseph@codesourcery.com>
12495
10b40d85
JM
12496 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12497
0708a7d1
JM
12498 * posix/globtest.sh (TMPDIR): Do not set.
12499 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12500 (testout): Likewise.
12501
9fddec1a
AJ
125022012-10-24 Andreas Jaeger <aj@suse.de>
12503
3a8db22f
AJ
12504 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12505 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12506 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12507 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12508 posix_fadvise64, posix_fallocate64.
12509
9fddec1a
AJ
12510 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12511 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12512 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12513 Likewise.
12514 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12515 Likewise.
12516 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12517
12518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12519 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12520 <bits/fcntl-linux.h>.
12521 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12522
12523 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12524 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12525 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12526 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12527 [__WORDSIZE != 64]: Likewise.
12528
ebfd1bbd
JM
125292012-10-23 Joseph Myers <joseph@codesourcery.com>
12530
03ac099f
JM
12531 * Makeconfig (run-built-tests): New variable.
12532 * Rules [$(cross-compiling) = yes]: Change condition to
12533 [$(run-built-tests) = no].
12534 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12535 to [$(run-built-tests) = yes].
12536 * elf/Makefile [$(cross-compiling) = no]: Likewise
12537 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12538 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12539 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12540 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12541 * io/Makefile [$(cross-compiling) = no]: Likewise.
12542 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12543 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12544 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12545 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12546 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12547 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12548 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12549 * string/Makefile [$(cross-compiling) = no]: Likewise.
12550
ebfd1bbd
JM
12551 * posix/Makefile ($(objpfx)globtest.out): Pass
12552 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12553 $(rtld-installed-name).
12554 * posix/globtest.sh (elf_objpfx): Remove variable.
12555 (rtld_installed_name): Likewise.
12556 (library_path): Likewise.
12557 (run_program_prefix): New variable. Use for running globtest
12558 binary.
12559
166bca24
JB
125602012-10-23 Jim Blandy <jimb@codesourcery.com>
12561 Joseph Myers <joseph@codesourcery.com>
12562
12563 * Makeconfig (host-built-program-cmd): New variable.
12564 * elf/Makefile (tst-stackguard1-ARGS): Use
12565 $(host-built-program-cmd).
12566 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12567 (tst-spawn-ARGS): Likewise.
12568 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12569
88866099
JM
125702012-10-23 Joseph Myers <joseph@codesourcery.com>
12571 Jim Blandy <jimb@codesourcery.com>
12572
12573 * Makeconfig (run-via-rtld-prefix): New variable.
12574 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12575 (built-program-cmd): Likewise.
12576
b4b4c296
AJ
125772012-10-22 Andreas Jaeger <aj@suse.de>
12578
12579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12580 __O_RSYNC if it exists, otherwise to O_SYNC.
12581
6fb54a22
JB
125822012-10-22 Jim Blandy <jimb@codesourcery.com>
12583 Joseph Myers <joseph@codesourcery.com>
12584
12585 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12586 /dev/null.
12587 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12588 from /dev/null
12589 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12590 /dev/null.
12591
481b90b9
AJ
125922012-10-22 Andreas Jaeger <aj@suse.de>
12593
2a0e2669
AJ
12594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12595 Define always.
12596 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12597
76e38f9a
AJ
12598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12599 bits/fcntl-linux.h.
12600
7cd37b43
AJ
12601 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12602 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12603
481b90b9
AJ
12604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12605 to __O_LARGEFILE.
12606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12607 to __O_LARGEFILE.
12608
aba75984
JB
126092012-10-21 Jim Blandy <jimb@codesourcery.com>
12610 Joseph Myers <joseph@codesourcery.com>
12611
12612 * config.make.in (NM): New variable.
12613
88d4247f
AJ
126142012-10-21 Andreas Jaeger <aj@suse.de>
12615
12616 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12617 definitions and declarations that are provided by
12618 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12619
f2eed205
L
126202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12621
12622 [BZ #14683]
12623 * elf/Makefile (tests-static): Add tst-leaks1-static.
12624 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12625 ($(objpfx)tst-leaks1-static): New rule.
12626 ($(objpfx)tst-leaks1-static-mem): Likewise.
12627 (tst-leaks1-static-ENV): New macro.
12628 * elf/dl-open.c (dl_open_worker): Check the main application
12629 only if SHARED is defined.
12630 * elf/tst-leaks1-static.c: New file.
12631
335e6931
AJ
126322012-10-20 Andreas Jaeger <aj@suse.de>
12633
12634 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12635 generic values for Linux.
12636 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12637 and declarations that are provided by <bits/fcntl-linux.h> and
12638 include <bits/fcntl-linux.h>.
12639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12641
ac5c94d3
RM
126422012-10-20 Roland McGrath <roland@hack.frob.com>
12643
12644 * io/fcntl.h: Move include of <bits/types.h> to the top and
12645 include it unconditionally.
12646
de54b33a
L
126472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12648
228cfb01
L
12649 * wcsmbs/Makefile (tests-ifunc): New variable.
12650 (tests): Add $(tests-ifunc).
12651 * wcsmbs/test-wcschr-ifunc.c: New file.
12652 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12653 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12654 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12655 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12656 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12657
69f07e5f
L
12658 * string/Makefile (tests-ifunc): New variable.
12659 (tests): Add $(tests-ifunc).
12660 * string/test-memccpy.c (TEST_NAME): New macro.
12661 * string/test-memchr.c (TEST_NAME): Likewise.
12662 * string/test-memcmp.c (TEST_NAME): Likewise.
12663 * string/test-memcpy.c (TEST_NAME): Likewise.
12664 * string/test-memmem.c (TEST_NAME): Likewise.
12665 * string/test-memmove.c (TEST_NAME): Likewise.
12666 * string/test-memset.c (TEST_NAME): Likewise.
12667 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12668 * string/test-stpcpy.c (TEST_NAME): Likewise.
12669 * string/test-stpncpy.c (TEST_NAME): Likewise.
12670 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12671 * string/test-strcasestr.c (TEST_NAME): Likewise.
12672 * string/test-strcat.c (TEST_NAME): Likewise.
12673 * string/test-strchr.c (TEST_NAME): Likewise.
12674 * string/test-strcmp.c(TEST_NAME): Likewise.
12675 * string/test-strcpy.c (TEST_NAME): Likewise.
12676 * string/test-strcspn.c (TEST_NAME): Likewise.
12677 * string/test-strlen.c (TEST_NAME): Likewise.
12678 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12679 * string/test-strncmp.c (TEST_NAME): Likewise.
12680 * string/test-strncpy.c (TEST_NAME): Likewise.
12681 * string/test-strnlen.c (TEST_NAME): Likewise.
12682 * string/test-strpbrk.c (TEST_NAME): Likewise.
12683 * string/test-strrchr.c (TEST_NAME): Likewise.
12684 * string/test-strspn.c (TEST_NAME): Likewise.
12685 * string/test-strstr.c (TEST_NAME): Likewise.
12686 * string/test-bcopy-ifunc.c: New file.
12687 * string/test-bzero-ifunc.c: Likewise.
12688 * string/test-memccpy-ifunc.c: Likewise.
12689 * string/test-memchr-ifunc.c: Likewise.
12690 * string/test-memcmp-ifunc.c: Likewise.
12691 * string/test-memcpy-ifunc.c: Likewise.
12692 * string/test-memmem-ifunc.c: Likewise.
12693 * string/test-memmove-ifunc.c: Likewise.
12694 * string/test-mempcpy-ifunc.c: Likewise.
12695 * string/test-memset-ifunc.c: Likewise.
12696 * string/test-rawmemchr-ifunc.c: Likewise.
12697 * string/test-stpcpy-ifunc.c: Likewise.
12698 * string/test-stpncpy-ifunc.c: Likewise.
12699 * string/test-strcasecmp-ifunc.c: Likewise.
12700 * string/test-strcasestr-ifunc.c: Likewise.
12701 * string/test-strcat-ifunc.c: Likewise.
12702 * string/test-strchr-ifunc.c: Likewise.
12703 * string/test-strchrnul-ifunc.c: Likewise.
12704 * string/test-strcmp-ifunc.c: Likewise.
12705 * string/test-strcpy-ifunc.c: Likewise.
12706 * string/test-strcspn-ifunc.c: Likewise.
12707 * string/test-strlen-ifunc.c: Likewise.
12708 * string/test-strncasecmp-ifunc.c: Likewise.
12709 * string/test-strncat-ifunc.c: Likewise.
12710 * string/test-strncmp-ifunc.c: Likewise.
12711 * string/test-strncpy-ifunc.c: Likewise.
12712 * string/test-strnlen-ifunc.c: Likewise.
12713 * string/test-strpbrk-ifunc.c: Likewise.
12714 * string/test-strrchr-ifunc.c: Likewise.
12715 * string/test-strspn-ifunc.c: Likewise.
12716 * string/test-strstr-ifunc.c: Likewise.
12717
de54b33a
L
12718 * debug/Makefile (tests-ifunc): New variable.
12719 (tests): Add $(tests-ifunc).
12720 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12721 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12722 * debug/test-stpcpy_chk-ifunc.c: New file.
12723 * debug/test-strcpy_chk-ifunc.c: Likewise.
12724
88481c16
SP
127252012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12726
12727 [BZ #13601]
12728 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12729 header is not read in.
12730
135948bd
JM
127312012-10-19 Joseph Myers <joseph@codesourcery.com>
12732
89f1c388
JM
12733 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12734 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12735 directly. Pass built executable to script as
12736 $(built-program-cmd).
12737 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12738 $testprogram without using LD_LIBRARY_PATH and $ldso.
12739
e40a0d21
JM
12740 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12741 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12742 $(rtld-installed-name).
12743 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12744 (rtld_installed_name): Likewise.
12745 (library_path): Likewise.
12746 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12747 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12748 $(run-program-prefix) to tst-tables.sh.
12749 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12750 it to run tst-table-from and tst-table-to.
12751 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12752 Pass it to tst-table.sh.
12753 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12754 $(run-program-prefix) to tst-gettext.sh.
12755 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12756 tst-translit.sh.
12757 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12758 tst-gettext2.sh.
12759 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12760 to run tst-gettext.
12761 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12762 to run tst-gettext2.
12763 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12764 to run tst-translit.
12765 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12766 $(run-program-prefix) to tst-mtrace.sh.
12767 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12768 to run tst-mtrace.
12769 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12770 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12771 $(rtld-installed-name).
12772 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12773 (rtld_installed_name): Likewise.
12774 (run_program_prefix): New variable. Use it to run wordexp-test.
12775
728e272a
JM
12776 * Makeconfig (ARCH): Remove all definitions.
12777 (machine): Likewise.
12778 [ARCH]: Remove conditional code.
12779 [!objdir]: Give error.
12780 [!objdir] (objpfx): Remove.
12781 [!objdir] (common-objpfx): Likewise.
12782 [!objdir] (common-objdir): Likewise.
12783 * configure.in (config_makefile): Remove. Hardcode Makefile in
12784 AC_CONFIG_FILES call.
12785 * configure: Regenerated.
12786
d528cdcf
JM
12787 [BZ #13888]
12788 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12789 or TMPDIR.
12790 (testout): Likewise.
12791
135948bd
JM
12792 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12793 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12794 $(rtld-installed-name).
12795 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12796 (rtld_installed_name): Likwise.
12797 (runit): Remove function.
12798 (run_getconf): New variable, Use it for running getconf binary.
12799
38c78296
L
128002012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12801
12802 [BZ #14716]
12803 * string/test-memmem.c (check_result): New function.
12804 (do_one_test): Use it.
12805 (check1): New function.
12806 (test_main): Use it.
12807
d077f65f
MT
128082012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12809
12810 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12811
ced52c71
JM
128122012-10-18 Joseph Myers <joseph@codesourcery.com>
12813
12814 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12815 (_G_LSEEK64): Likewise.
12816 (_G_MMAP64): Likewise.
12817 (_G_FSTAT64): Likewise.
12818 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12819 (_G_LSEEK64): Likewise.
12820 (_G_MMAP64): Likewise.
12821 (_G_FSTAT64): Likewise.
12822 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12823 unconditional. Call __mmap64 directly.
12824 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12825 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12826 __lseek64 directly.
12827 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12828 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12829 __mmap64 directly.
12830 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12831 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12832 __lseek64 directly.
12833 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12834 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12835 __lseek64 directly.
12836 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12837 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12838 __lseek64 directly.
12839 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12840 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12841 __fxstat64 directly.
12842 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12843 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12844 unconditional.
12845 (freopen64) [!_G_OPEN64]: Remove conditional code.
12846 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12847 unconditional.
12848 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12849 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12850 unconditional.
12851 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12852 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12853 unconditional.
12854 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12855 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12856 unconditional.
12857 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12858 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12859 unconditional.
12860 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12861 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12862 unconditional.
12863 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12864 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12865 unconditional.
12866 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12867
b741de23
SP
128682012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12869
12870 [BZ #12140]
12871 * manual/memory.texi (Malloc Tunable Parameters): Add note
12872 about free list pointers overwriting some perturb bytes.
12873 Wording suggested by Roland McGrath.
12874
f9b9d9c9
JM
128752012-10-17 Joseph Myers <joseph@codesourcery.com>
12876
12877 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12878 (lgamma_test): Likewise.
12879 (tgamma_test): Likewise.
12880
172a631a
FW
128812012-10-16 Florian Weimer <fweimer@redhat.com>
12882
12883 [BZ #14700]
12884 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12885 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12886
e9f37252
MK
128872012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12888
12889 * NEWS: Mention BZ #14716.
12890 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12891 when removing AVAILABLE1_USES_J macro.
12892
d394eb74
L
128932012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12894
12895 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12896 (__bswap_64): __uint64_t for unsigned 64-bit int.
12897
ca38dc17
AS
128982012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12899
12900 * include/string.h (memmem): Declare libc hidden alias.
12901 * string/memmem.c (memmem): Define libc hidden alias.
12902 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12903 __read, __close instead of open, read, close.
12904
9a387d1f
L
129052012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12906
ac49ecaf
L
12907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12908 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12909 global and hidden.
12910 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12911 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12912 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12913 Likewise.
12914 (__rawmemchr_sse2): Likewise.
12915 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12916 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12917 (__strchr_sse2): Likewise.
12918 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12919 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12920 (__strcasecmp_sse2): Likewise.
12921 (__strncasecmp_sse2): Likewise.
12922 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12923 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12924 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12925 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12926 (__strrchr_sse2): Likewise.
12927 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12928 ifunc-impl-list.c.
12929 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12930 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12931 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12932 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12933 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12934 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12935 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12936 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12937 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12938 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12939 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12940 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12941 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12942 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12943 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12944 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12945 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12946 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12947 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12948 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12949 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12950 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12951 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12952 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12953 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12954 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12955 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12956 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12957 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12958 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12959
b090e8ea
L
12960 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12961 global and hidden.
12962 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12963 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12964 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12965 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12966 Likewise.
12967 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12968 Likewise.
12969 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12970 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12971 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12972 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12973 ifunc-impl-list.c.
12974 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12975 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12976 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12983 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12984 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12985 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12986 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12987 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12988 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12990 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12991 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12992 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12993 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12994 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12995 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12996 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12997 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12998 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12999 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13000 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13001 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13002 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13003 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13004 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13005 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13006 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13007 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13008 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13009 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13010 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13011 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13012 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13013 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13014 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13015
11dd4af6
L
13016 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13017 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13018 * include/ifunc-impl-list.h: New file.
13019 * misc/ifunc-impl-list.c: Likewise.
13020 * misc/Makefile (routines): Add ifunc-impl-list.
13021 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13022 * string/test-string.h: Include <ifunc-impl-list.h>.
13023 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13024 impl_array): New variables.
13025 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13026 are defined.
13027 (test_init): Call __libc_ifunc_impl_list to initialize
13028 func_list if TEST_IFUNC and TEST_NAME are defined.
13029
9a387d1f
L
13030 * string/Makefile (strop-tests): Add bcopy and bzero.
13031 * string/test-bcopy.c: New file.
13032 * string/test-bzero.c: Likewise.
13033 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13034 defined.
13035 * string/test-memset.c: Support bzero test if TEST_BZERO is
13036 defined.
13037 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13038 __libc_memmove.
13039 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13040 __libc_memset.
13041 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13042 of memset.
13043
472371b9
JM
130442012-10-10 Joseph Myers <joseph@codesourcery.com>
13045
1e4a9536
JM
13046 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13047 * configure: Regenerated.
13048
d173d12e
JM
13049 * Makeconfig (+link-static-before-libc): Don't include
13050 $(link-static-libc).
13051
472371b9
JM
13052 * libio/libio.h (_IO_pos_t): Remove.
13053
89a3ad0b
AO
130542012-10-10 Alexandre Oliva <aoliva@redhat.com>
13055
13056 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13057 McGrath.
13058
e7451425
AO
130592012-10-10 Alexandre Oliva <aoliva@redhat.com>
13060
13061 * crypt/crypt-entry.c: Include fips-private.h.
13062 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13063 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13064 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13065 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13066
4ba74a35
AO
130672012-10-10 Alexandre Oliva <aoliva@redhat.com>
13068
13069 * crypt/crypt-private.h: Include stdbool.h.
13070 (_ufc_setup_salt_r): Return bool.
13071 * crypt/crypt-entry.c: Include errno.h.
13072 (__crypt_r): Return NULL with EINVAL for bad salt.
13073 * crypt/crypt_util.c (bad_for_salt): New.
13074 (_ufc_setup_salt_r): Check that salt is long enough and within
13075 the specified alphabet.
13076 * crypt/badsalttest.c: New file.
13077 * crypt/Makefile (tests): Add it.
13078 ($(objpfx)badsalttest): New.
13079
f96f1242
MK
130802012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13081
13082 * NEWS: Add entry for BZ #14602.
13083
0e8e0c1c
JM
130842012-10-09 Joseph Myers <joseph@codesourcery.com>
13085
13086 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13087 type-generic.
13088 * math/libm-test.inc: Update comment listing what functions and
13089 macros are tested.
13090 (isgreater_test): New function.
13091 (isgreaterequal_test): Likewise.
13092 (isless_test): Likewise.
13093 (islessequal_test): Likewise.
13094 (islessgreater_test): Likewise.
13095 (isunordered_test): Likewise.
13096 (main): Call the new functions.
13097
273edc5e
RM
130982012-10-09 Roland McGrath <roland@hack.frob.com>
13099
b8493de0
RM
13100 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13101 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13102 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13103 * sysdeps/i386/configure: Regenerated.
13104 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13105 * sysdeps/mach/configure: Regenerated.
13106 * sysdeps/mach/hurd/configure: Regenerated.
13107 * sysdeps/powerpc/configure: Regenerated.
13108 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13109 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13110 * sysdeps/s390/s390-32/configure: Regenerated.
13111 * sysdeps/s390/s390-64/configure: Regenerated.
13112 * sysdeps/sh/configure: Regenerated.
13113 * sysdeps/sparc/configure: Regenerated.
13114 * sysdeps/unix/sysv/linux/configure: Regenerated.
13115 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13116 * sysdeps/x86_64/configure: Regenerated.
13117
273edc5e
RM
13118 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13119 defined. Don't check if MAP is NULL.
13120
c8450f70
JM
131212012-10-09 Joseph Myers <joseph@codesourcery.com>
13122
13123 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13124 (_G_stat64): Likewise.
13125 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13126 (_G_stat64): Likewise.
13127 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13128 instead of struct _G_stat64.
13129 * libio/fileops.c (mmap_remap_check): Likewise.
13130 (decide_maybe_mmap): Likewise.
13131 (_IO_new_file_seekoff): Likewise.
13132 (_IO_file_stat): Likewise.
13133 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13134 _G_off64_t.
13135 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13136 instead of struct _G_stat64.
13137 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13138
57e605ba
MK
131392012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13140
13141 [BZ #14602]
13142 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13143 Replace with ...
13144 (CHECK_EOL): New macro.
13145 (two_way_short_needle): Check beginning of haystack for EOL. Use
13146 CHECK_EOL.
13147 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13148 Replace with CHECK_EOL.
13149 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13150 Replace with CHECK_EOL.
13151
ef1bb361
JM
131522012-10-08 Joseph Myers <joseph@codesourcery.com>
13153
13154 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13155 type-generic.
13156 * math/libm-test.inc: Update comment listing what functions and
13157 macros are tested.
13158 (finite_test): New function.
13159 (isinf_test): Likewise.
13160 (isnan_test): Likewise.
13161 (fpclassify_test): Test subnormal input.
13162 (isfinite_test): Likewise.
13163 (isnormal_test): Likewise.
13164 (main): Call the new functions.
13165
55f11534
JN
131662012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13167
13168 [BZ #14660]
13169 * Makerules (%.dynsym): Force C locale when running
13170 $(OBJDUMP) --dynamic-syms.
13171
1ab29350
AS
131722012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13173
13174 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13175 <stdint.h>.
13176
f1ecb7ef
DM
131772012-10-06 David S. Miller <davem@davemloft.net>
13178
13179 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13180 upper 32-bits of the length value in %o2 since we use branch-on-register
13181 tests which consider the entire 64-bit register.
13182
5d41d91a
L
131832012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13184
13185 * string/test-strstr.c (check2): Add a test for page boundary.
13186
3baddb72
DM
131872012-10-05 David S. Miller <davem@davemloft.net>
13188
13189 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13190 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13191 file.
13192 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13193 sysdep_routines.
13194 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13195 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13196 and bzero when HWCAP_SPARC_CRYPTO is present.
13197
9cee5585
L
131982012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13199
d7e0dab9
L
13200 [BZ #14602]
13201 * string/test-strstr.c (check2): New function.
13202 (test_main): Call check2.
13203
03759f47
L
13204 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13205 and bug-strchr1.
13206 * string/bug-strcasestr1.c (do_test): Moved to ...
13207 * string/test-strcasestr.c (check1): Here. New function.
13208 (do_one_test): Break out result checking code into ...
13209 (check_result): This. New function.
13210 (do_one_test): Call check_result.
13211 (test_main): Call check1.
13212 * string/bug-strchr1.c (do_test): Moved to ...
13213 * string/test-strchr.c (check1): Here. New function.
13214 (do_one_test): Break out result checking code into ...
13215 (check_result): This. New function.
13216 (do_one_test): Call check_result.
13217 (test_main): Call check1.
13218 * string/bug-strstr1.c (main): Moved to ...
046f153e 13219 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13220 (do_one_test): Break out result checking code into ...
13221 (check_result): This. New function.
13222 (do_one_test): Call check_result.
13223 (test_main): Call check1.
13224 * string/bug-strcasestr1.c: Removed.
13225 * string/bug-strchr1.c: Likewise.
13226 * string/bug-strstr1.c: Likewise.
13227
53cea63e
L
13228 * elf/Makefile (dl-routines): Add hwcaps.
13229 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13230 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13231 (_dl_important_hwcaps): Moved to ...
13232 * elf/dl-hwcaps.c: Here. New file.
13233 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13234
9cee5585 13235 [BZ #14557]
bb859b06
L
13236 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13237 if IS_IN_rtld isn't defined.
13238
9cee5585
L
13239 * elf/dl-support.c (_dl_sysinfo_map): New.
13240 Include "get-dynamic-info.h" and "setup-vdso.h".
13241 (_dl_non_dynamic_init): Call setup_vdso.
13242 * elf/dynamic-link.h: Don't include <assert.h>.
13243 (elf_get_dynamic_info): Moved to ...
13244 * elf/get-dynamic-info.h: Here. New file.
13245 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13246 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13247 * elf/setup-vdso.h: Here. New file.
13248 * elf/rtld.c: Include "setup-vdso.h".
13249 (dl_main): Call setup_vdso.
13250
23c31b76
JM
132512012-10-05 Joseph Myers <joseph@codesourcery.com>
13252
28234b07
JM
13253 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13254 creal in comment listing functions tested. List finite, isinf,
13255 isnan, isless, islessequal, isgreater, isgreaterequal,
13256 islessgreater, isunordered, lgamma_r and pow10 as functions and
13257 macros not tested. Mention which functions not tested are aliases
13258 for other functions. Fix typo. Note that signs of NaNs are not
13259 tested.
13260
23c31b76
JM
13261 * scripts/config.guess: Update from config.git.
13262 * scripts/config.sub: Likewise.
13263
9043e228
RM
132642012-10-04 Roland McGrath <roland@hack.frob.com>
13265
13266 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13267 * misc/madvise.c (madvise): Renamed to __madvise.
13268 Make madvise a weak alias.
13269 * include/sys/mman.h: Declare __madvise.
13270 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13271 * sysdeps/unix/syscalls.list
13272 (madvise): Make __madvise the strong name, and madvise a weak alias.
13273 * sysdeps/unix/sysv/linux/syscalls.list
13274 (madvise, mmap): Remove redundant entries.
13275 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13276 * malloc/malloc.c (mtrim): Likewise.
13277 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13278
f57f8055
RM
132792012-10-03 Roland McGrath <roland@hack.frob.com>
13280
13281 * sysdeps/mach/hurd/dl-cache.c: File removed.
13282 * config.h.in (USE_LDCONFIG): New #undef.
13283 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13284 * configure: Regenerated.
13285 * elf/Makefile (dl-routines): Add dl-cache only under
13286 [$(use-ldconfig) = yes].
13287 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13288 cache on [USE_LDCONFIG].
13289 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13290 [USE_LDCONFIG].
13291 * elf/rtld.c (dl_main): Likewise.
13292
5bb0c10a
PT
132932012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13294
13295 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13296 _SC_LEVEL4_CACHE_LINESIZE.
13297
010188c6
RM
132982012-10-03 Roland McGrath <roland@hack.frob.com>
13299
13300 * sysdeps/unix/bsd/confstr.h: File removed.
13301
b6c5ec07
AO
133022012-10-02 Alexandre Oliva <aoliva@redhat.com>
13303
13304 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13305 sys/sdt-config.h.
13306
408223d4
RM
133072012-10-02 Roland McGrath <roland@hack.frob.com>
13308
13309 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13310 Make 'mapoff' field ElfW(Off) rather than off_t.
13311
bb9510dc
DL
133122012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13313
fc997c6e
DL
13314 * nscd/Makefile: Remove nscd-cflags and all its users.
13315 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13316 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13317
bb9510dc
DL
13318 [BZ #10631]
13319 * malloc.c (malloc_printerr): Clarify error message.
13320
05699367
L
133212012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13322
13323 [BZ #14648]
13324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13325 Set bit_FMA_Usable if FMA is supported.
13326 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13327 macro.
13328 (bit_FMA4_Usable): Updated.
13329 (index_FMA_Usable): New macro.
13330 (CPUID_FMA): Likewise
13331 (HAS_FMA): Defined with bit_FMA_Usable.
13332
51367701
RM
133332012-10-01 Roland McGrath <roland@hack.frob.com>
13334
13335 * bits/types.h (__swblk_t): Type removed.
13336 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13337 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13339 (__SWBLK_T_TYPE): Likewise.
13340 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13341 (__SWBLK_T_TYPE): Likewise.
13342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13343 (__SWBLK_T_TYPE): Likewise.
13344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13345 (__SWBLK_T_TYPE): Likewise.
13346
4d57bf63 133472012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13348 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13349
13350 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13351 (xdr_mapname): Use YPMAXMAP as maxsize.
13352 (xdr_peername): Use YPMAXPEER as maxsize.
13353 (xdr_keydat): Use YPAXRECORD as maxsize.
13354 (xdr_valdat): Use YPMAXRECORD as maxsize.
13355
93c65d43
RM
133562012-10-01 Roland McGrath <roland@hack.frob.com>
13357
497a03d6
RM
13358 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13359
93c65d43
RM
13360 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13361 * csu/init-first.c: ... here.
13362 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13363 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13364 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13365 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13366 * sysdeps/i386/init-first.c: File removed.
13367 * sysdeps/sh/init-first.c: File removed.
13368
bec749fd
JM
133692012-10-01 Joseph Myers <joseph@codesourcery.com>
13370
13371 [BZ #14645]
13372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13373 if x * y might underflow to zero and z is zero.
13374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13376 * math/libm-test.inc (min_subnorm_value): New variable.
13377 (fma_test): Add more tests.
13378 (fma_test_towardzero): Likewise.
13379 (fma_test_downward): Likewise
13380 (fma_test_upward): Likewise.
13381 (initialize): Set min_subnorm_value.
13382
8ec5b013
JM
133832012-09-29 Joseph Myers <joseph@codesourcery.com>
13384
13385 [BZ #14638]
13386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13387 0 + 0.
13388 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13389 mode for addition resulting in exact zero.
13390 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13392 exact 0 + 0.
13393 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13395 * math/libm-test.inc (fma_test): Add more tests.
13396 (fma_test_towardzero): New function.
13397 (fma_test_downward): Likewise.
13398 (fma_test_upward): Likewise.
13399 (main): Call the new functions.
13400
b1fa802e
DM
134012012-09-28 David S. Miller <davem@davemloft.net>
13402
13403 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13404
d3b9fd9e
RM
134052012-09-28 Roland McGrath <roland@hack.frob.com>
13406
ea4d37b3
RM
13407 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13408 instead of SIGALRM.
13409
ac51c949
RM
13410 * sysdeps/gnu/_G_config.h: Moved to ...
13411 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13412 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13413 * sysdeps/generic/_G_config.h: ... here.
13414
28c195f7
RM
13415 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13416
848917f9
RM
13417 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13418
6bacf05b
RM
13419 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13420 Conditionalize target on [libnss_test1.so-version].
13421
91363dbb
RM
13422 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13423
cc87f7d8
RM
13424 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13425 (elfobjdir): Move out of conditionals.
13426
b1c608fe
RM
13427 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13428 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13429 (__nss_lookup_function): Conditionalize label remove_from_tree on
13430 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13431
1d9a6d96
DM
134322012-09-28 David S. Miller <davem@davemloft.net>
13433
13434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13435 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13436 file.
13437 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13438 sysdep_routines.
13439 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13441 when HWCAP_SPARC_CRYPTO is present.
13442
72581615
PT
134432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13444
13445 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13446
715a900c
JL
134472012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13448
13449 [BZ #6530]
13450 * stdio-common/vfprintf.c (process_string_arg): Revert
13451 2000-07-22 change.
13452
134532011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13454
13455 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13456 for testcase.
13457 * stdio-common/tst-sprintf.c: Include <locale.h>
13458 (main): Test sprintf's handling of incomplete multibyte
13459 characters.
13460
9bac1d86
L
134612012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13462
13463 * elf/dl-runtime.c (VERSYMIDX): Removed.
13464 * elf/dl-version.c (VERSYMIDX): Likewise.
13465 * elf/do-rel.h (VERSYMIDX): Likewise.
13466 (VALIDX): Likewise.
13467 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13468 * elf/rtld.c (VALIDX): Likewise.
13469 (ADDRIDX): Likewise.
9bac1d86
L
13470 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13471 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13472 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13473 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13474 (VALIDX): Likewise.
13475 (ADDRIDX): Likewise.
9bac1d86 13476
b31606c0
PT
134772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13478
13479 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13480
11541177
JL
134812012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13482
13483 [BZ #11438]
13484 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13485 to global scope.
13486 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13487 addresses are in the same scope as 192.0.2/24.
13488 * posix/gai.conf: Document new scope table defaults.
13489
adb26fae
SP
134902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13491
13492 [BZ #5298]
13493 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13494 for ftell. Compute offsets from write pointers instead.
13495 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13496
4573c6b0
SP
134972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13498
13499 [BZ #14543]
13500 * libio/Makefile (tests): New test case tst-fseek.
13501 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13502 combination works in wide mode.
13503 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13504 state when the external buffer state changes.
13505
aa9bbfe6
DM
135062012-09-27 David S. Miller <davem@davemloft.net>
13507
13508 [BZ #14376]
13509 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13510 pass reloc->r_addend in as the 'high' argument to
13511 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13512
784421e7
DM
13513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13514
c39bc8b8
PT
135152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13516
13517 * rt/tst-aio2.c: Include <pthread.h>.
13518 * rt/tst-aio3.c: Likewise.
13519
1ccc2399
SE
135202012-09-27 Steve Ellcey <sellcey@mips.com>
13521
13522 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13523
31ed4153
L
135242012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13525
25f5f885
L
13526 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13527 contents on [SHARED].
31ed4153 13528
b7bfe116
MP
135292012-09-26 Marek Polacek <polacek@redhat.com>
13530
13531 [BZ #14530]
13532 [BZ #13741]
13533 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13534 for C++ and GCC <4.3 as well as for non GCC compilers.
13535
43c4edba
MT
135362012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13537
13538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13539
6a1bf82f
RM
135402012-09-25 Roland McGrath <roland@hack.frob.com>
13541
13542 * Makefile.in (all, install): Declare with .PHONY.
13543 Reported by Michael Hope <michael.hope@linaro.org>.
13544
8ad11b9a
TMQMF
135452012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13546
13547 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13548 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13549 system header.
13550 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13551 Likewise.
13552 (sydep_routines): Add the new and the internal functions.
13553 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13554 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13556 (GLIBC_2.17): Add the new function.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13558 (GLIBC_2.17): Likewise.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13560 (GLIBC_2.17): Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13562 (GLIBC_2.17): Likewise.
13563 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13564
7e2fca8d
AM
135652012-09-25 Alan Modra <amodra@gmail.com>
13566
13567 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13568 Add release barrier before setting once_control to say
13569 initialisation is done. Add hints on lwarx. Use macro in
13570 place of isync.
13571 (clear_once_control): Add release barrier.
13572
b87c4b24
JM
135732012-09-25 Joseph Myers <joseph@codesourcery.com>
13574
d032e0d2
JM
13575 [BZ #13629]
13576 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13577 specially.
13578 * math/s_clog10.c (__clog10): Likewise.
13579 * math/s_clog10f.c (__clog10f): Likewise.
13580 * math/s_clog10l.c (__clog10l): Likewise.
13581 * math/s_clogf.c (__clogf): Likewise.
13582 * math/s_clogl.c (__clogl): Likewise.
13583 * math/Makefile (libm-calls): Add x2y2m1.
13584 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13585 (__x2y2m1): Likewise.
13586 (__x2y2m1l): Likewise.
13587 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13588 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13591 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13592 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13593 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13594 * sysdeps/i386/fpu/libm-test-ulps: Update.
13595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13596
b87c4b24
JM
13597 [BZ #14621]
13598 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13599 int as type of variable DEPTH.
13600 (glob): Use size_t instead of int as type of variables NEWCOUNT
13601 and OLD_PATHC.
13602
6d3bf199
LD
136032012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13604
22bf5c17
LD
13605 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13606 Add s_sincosf-sse2.
13607 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13608 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13609 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13610 macros for using routine as __sincosf_ia32.
13611 Use macro for function declaration and weak_alias.
13612 * sysdeps/i386/fpu/libm-test-ulps: Update.
13613
13614 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13616
13617 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13618 subnormal argument.
13619 * math/s_cexpf.c (__cexpf): Likewise.
13620 * math/s_csinf.c (__csinf): Likewise.
13621 * math/s_csinhf.c (__csinhf): Likewise.
13622 * math/s_ctanf.c (__ctanf): Likewise.
13623 * math/s_ctanhf.c (__ctanhf): Likewise.
13624 * math/s_ccosh.c (__ccoshf): Likewise.
13625 * math/s_cexp.c (__cexpl): Likewise.
13626 * math/s_csin.c (__csin): Likewise.
13627 * math/s_csinh.c (__csinh): Likewise.
13628 * math/s_ctan.c (__ctan): Likewise.
13629 * math/s_ctanh.c (ctanh): Likewise.
13630 * math/s_ccoshl.c (__ccoshl): Likewise.
13631 * math/s_cexpl.c (__cexpl): Likewise.
13632 * math/s_csinl.c (__csinl): Likewise.
13633 * math/s_csinhl.c (__csinhl): Likewise.
13634 * math/s_ctanl.c (__ctanl): Likewise.
13635 * math/s_ctanhl.c (__ctanhl): Likewise.
13636
203e5603
JM
136372012-09-25 Joseph Myers <joseph@codesourcery.com>
13638
13639 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13640 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13641 (_IO_off_t): Define to __off_t, not _G_off_t.
13642 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13643 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13644 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13645 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13646 type of __dummy and __dummy2 fields.
13647 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13648 (_G_ssize_t): Likewise.
13649 (_G_off_t): Likewise.
13650 (_G_pid_t): Likewise.
13651 (_G_uid_t): Likewise.
13652 (_G_wchar_t): Likewise.
13653 (_G_wint_t): Likewise.
13654 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13655 (_G_ssize_t): Likewise.
13656 (_G_off_t): Likewise.
13657 (_G_pid_t): Likewise.
13658 (_G_uid_t): Likewise.
13659 (_G_wchar_t): Likewise.
13660 (_G_wint_t): Likewise.
13661 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13662 (_G_ssize_t): Likewise.
13663 (_G_off_t): Likewise.
13664 (_G_pid_t): Likewise.
13665 (_G_uid_t): Likewise.
13666 (_G_wchar_t): Likewise.
13667 (_G_wint_t): Likewise.
13668
9fab36eb
SP
136692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13670
13671 * malloc/arena.c: Include malloc-sysdep.h.
13672 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13673 is sufficient to shrink the heap or an unmap is needed.
13674 * sysdeps/generic/malloc-sysdep.h: New file. Define
13675 new function check_may_shrink_heap.
13676 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13677 new function check_may_shrink_heap.
13678
2b4f00d1
SP
136792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13680
13681 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13682 comments.
13683
9a9028b1
DL
136842012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13685
57c69bef
DL
13686 * catgets/test-gencat.sh: Add "set -e".
13687 * elf/tst-pathopt.sh: Likewise.
13688 * grp/tst_fgetgrent.sh: Likewise.
13689 * iconvdata/run-iconv-test.sh: Likewise.
13690 * intl/tst-gettext.sh: Likewise.
13691 * intl/tst-gettext2.sh: Likewise.
13692 * intl/tst-gettext4.sh: Likewise.
13693 * intl/tst-gettext6.sh: Likewise.
13694 * intl/tst-translit.sh: Likewise.
13695 * io/ftwtest-sh: Likewise.
13696 * libio/test-freopen.sh: Likewise.
13697 * malloc/tst-mtrace.sh: Likewise.
13698 * posix/globtest.sh: Likewise.
13699 * posix/tst-getconf.sh: Likewise.
13700 * posix/wordexp-tst.sh: Likewise.
13701 * stdio-common/tst-printf.sh: Likewise.
13702 * stdio-common/tst-unbputc.sh: Likewise.
13703 * stdlib/tst-fmtmsg.sh: Likewise.
13704 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13705 * catgets/Makefile: Do not specify -e option when running
13706 testsuite shell scripts.
13707 * elf/Makefile: Likewise.
13708 * grp/Makefile: Likewise.
13709 * iconvdata/Makefile: Likewise.
13710 * intl/Makefile: Likewise.
13711 * io/Makefile: Likewise.
13712 * libio/Makefile: Likewise.
13713 * malloc/Makefile: Likewise.
13714 * posix/Makefile: Likewise.
13715 * stdio-common/Makefile: Likewise.
13716 * stdlib/Makefile: Likewise.
13717 * sysdeps/x86_64/Makefile: Likewise.
13718
9a9028b1
DL
13719 * io/ftwtest-sh: Add copyright header.
13720 * posix/globtest.sh: Likewise.
13721 * posix/tst-getconf.sh: Likewise.
13722 * posix/wordexp-tst.sh: Likewise.
13723 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13724
ced6f16e
L
137252012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13726
94b32c39
L
13727 [BZ #13679]
13728 * Makeconfig (+link): Defined as $(+link-static) if
13729 $(build-shared) isn't yes.
13730 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13731 isn't yes.
13732 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13733
189e935b
L
13734 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13735
ced6f16e
L
13736 [BZ #14562]
13737 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13738 new chunk size with MALLOC_ALIGN_MASK.
13739
a9f8e53a
JM
137402012-09-24 Joseph Myers <joseph@codesourcery.com>
13741
13742 [BZ #5044]
13743 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13744 <rounding-mode.h>.
13745 (__printf_fphex): Determine rounding using get_rounding_mode and
13746 round_away.
13747 * stdio-common/tst-printf-round.c (struct hex_test): New
13748 structure.
13749 (hex_tests): New variable.
13750 (test_hex_in_one_mode): New function.
13751 (do_test): Also run tests for hex float output.
13752
43153109
JM
137532012-09-21 Joseph Myers <joseph@codesourcery.com>
13754
13755 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13756 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13757 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13758 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13759 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13760 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13761 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13762 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13763
8a26625d
JM
137642012-09-20 Joseph Myers <joseph@codesourcery.com>
13765
13766 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13767 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13768 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13769 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13770
f3fd569c
DL
137712012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13772
13773 [BZ #14579]
13774 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13775 mode only.
13776 * elf/tst-rtld-load-self.sh: New test.
13777 * elf/Makefile: Run it.
13778
63bbedd4
JM
137792012-09-18 Joseph Myers <joseph@codesourcery.com>
13780
13781 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13782 (tst-writev-ENV): Remove.
13783 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13784
626f8b6a
CM
137852012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13786
13787 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13788
b7aaa4d6
JM
137892012-09-17 Joseph Myers <joseph@codesourcery.com>
13790
13791 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13792 unconditional.
13793 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13794 Likewise.
13795 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13796 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13797 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13798 Likewise.
13799
65513990
L
138002012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13801
13802 [BZ #14587]
13803 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13804 * config.make.in (have-cpp-asm-debuginfo): Removed.
13805 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13806 * configure: Regenerated.
13807
784761be
JM
138082012-09-14 Joseph Myers <joseph@codesourcery.com>
13809
13810 [BZ #5044]
13811 * stdio-common/printf_fp.c: Include <stdbool.h> and
13812 <rounding-mode.h>.
13813 (___printf_fp): Determine rounding using get_rounding_mode and
13814 round_away.
13815 * stdio-common/tst-printf-round.c: New file.
13816 * stdio-common/Makefile (tests): Add tst-printf-round.
13817 (link-libm): New variable.
13818 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13819
9503345f
L
138202012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 [BZ #14576]
13823 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13824 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13825 Likewise.
13826 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13827 Likewise.
13828
ad35fc00
JM
138292012-09-13 Joseph Myers <joseph@codesourcery.com>
13830
13831 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13832 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13833 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13834 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13835
6c9b0f68
JM
138362012-09-12 Joseph Myers <joseph@codesourcery.com>
13837
13838 [BZ #14518]
13839 * include/rounding-mode.h: New file.
13840 * sysdeps/generic/get-rounding-mode.h: Likewise.
13841 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13842 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13843 (MAX_VALUE): New macro.
13844 (MIN_VALUE): Likewise.
13845 (overflow_value): New function.
13846 (underflow_value): Likewise.
13847 (round_and_return): Use overflow_value and underflow_value to
13848 determine return values in overflow and underflow cases. Use
13849 round_away to determine rounding depending on rounding mode.
13850 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13851 determine return values in overflow and underflow cases.
13852 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13853 (struct test_results): New structure.
13854 (struct test): Use struct test_results to store expected results
13855 for all rounding modes.
13856 (TEST): Include expected results for all rounding modes.
13857 (test_in_one_mode): New function.
13858 (do_test): Use test_in_one_mode to compute and check results.
13859 Check results for all rounding modes.
13860 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13861 $(link-libm).
13862
19fcedd5
AM
138632012-12-09 Allan McRae <allan@archlinux.org>
13864
1e9d84cd 13865 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13866
8bbfd2f1
JM
138672012-09-11 Joseph Myers <joseph@codesourcery.com>
13868
13869 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13870 (_G_int32_t): Likewise.
13871 (_G_uint16_t): Likewise.
13872 (_G_uint32_t): Likewise.
13873 (_G_HAVE_BOOL): Likewise.
13874 (_G_HAVE_ATEXIT): Likewise.
13875 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13876 (_G_HAVE_IO_FILE_OPEN): Likewise.
13877 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13878 (_G_int32_t): Likewise.
13879 (_G_uint16_t): Likewise.
13880 (_G_uint32_t): Likewise.
13881 (_G_HAVE_BOOL): Likewise.
13882 (_G_HAVE_ATEXIT): Likewise.
13883 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13884 (_G_HAVE_IO_FILE_OPEN): Likewise.
13885 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13886 (_G_int32_t): Likewise.
13887 (_G_uint16_t): Likewise.
13888 (_G_uint32_t): Likewise.
13889 (_G_HAVE_BOOL): Likewise.
13890 (_G_HAVE_ATEXIT): Likewise.
13891 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13892 (_G_HAVE_IO_FILE_OPEN): Likewise.
13893
b1dc5912
L
138942012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 * csu/libc-tls.c: Update copyright years.
13897
0e886ef9
JM
138982012-09-10 Joseph Myers <joseph@codesourcery.com>
13899
28361c5e
JM
13900 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13901 [!_G_USING_THUNKS]: Remove conditional code.
13902 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13903 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13904
0e886ef9
JM
13905 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13906 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13907 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13908 (_G_VTABLE_LABEL_PREFIX): Likewise.
13909 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13910 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13911 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13912 (_G_VTABLE_LABEL_PREFIX): Likewise.
13913 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13914 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13915 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13916 (_G_VTABLE_LABEL_PREFIX): Likewise.
13917 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13918
bcba7aa2
L
139192012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13920
13921 * libio/Makefile: Include ../Makeconfig before tests.
13922 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13923 only if $(build-shared) is yes.
13924
06585ee8
L
13925 * iconv/gconv_db.c: Update copyright years.
13926
80ccd52c
LD
139272012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13928
13929 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13930 unwind info if defined PIC. Fix special cases description.
13931 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13932
13933 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13934 DP_HI_MASK entry.
13935 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13936
691bc9c1
L
139372012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13938
3d9b46b3
L
13939 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13940
de2139a9
L
13941 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13942 is NULL.
13943
5ca78dd0
L
13944 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13945 (LDLIBS-tst-chk4): This.
13946 (LDFLAGS-tst-chk5): Renamed to ...
13947 (LDLIBS-tst-chk5): This.
13948 (LDFLAGS-tst-chk6): Renamed to ...
13949 (LDLIBS-tst-chk6): This.
13950 (LDFLAGS-tst-lfschk4): Renamed to ...
13951 (LDLIBS-tst-lfschk4): This.
13952 (LDFLAGS-tst-lfschk5): Renamed to ...
13953 (LDLIBS-tst-lfschk5): This.
13954 (LDFLAGS-tst-lfschk6): Renamed to ...
13955 (LDLIBS-tst-lfschk6): This.
13956
691bc9c1
L
13957 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13958 on $(common-objpfx)soversions.mk.
13959
65cafb1c
JM
139602012-09-07 Joseph Myers <joseph@codesourcery.com>
13961
13962 [BZ #10014]
13963 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13964 example host name.
13965
c78ab094
SP
139662012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13967
13968 * malloc/arena.c (arena_get_retry): New function that gets
13969 another arena for the caller to try its request on.
13970 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13971 current arena cannot fulfill the request.
13972 (__libc_memalign): Likewise.
13973 (__libc_memalign): Likewise.
13974 (__libc_pvalloc): Likewise.
13975 (__libc_calloc): Likewise.
13976
01f49f59
JT
139772012-09-05 John Tobey <john.tobey@gmail.com>
13978
13979 [BZ #13542]
13980 * manual/arith.texi (Operations on Complex): Fix description
13981 of carg branch cut.
13982
4c23fed5
JM
139832012-09-06 Joseph Myers <joseph@codesourcery.com>
13984
1d3c8572
JM
13985 [BZ #10014]
13986 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13987 host name.
13988
4c23fed5
JM
13989 [BZ #10038]
13990 * manual/memory.texi (Memory): Make order of menu items match
13991 order of sections.
13992
04570aaa
L
139932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13994
13995 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13996 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13997 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13998
b80af2f4
L
139992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14000
14001 * csu/libc-tls.c (static_dtv): Renamed to ...
14002 (_dl_static_dtv): This. Make it global.
14003 (_dl_initial_dtv): Removed.
14004 (__libc_setup_tls): Updated.
14005 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14006 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14007 DL_INITIAL_DTV.
14008
2abe9f15
PM
140092012-09-06 Petr Machata <pmachata@redhat.com>
14010
14011 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14012 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14013 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14014 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14015
0948c3af
L
140162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14017
14018 [BZ #14545]
14019 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14020 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14021 freeing dtv[-1].
14022
a5055ad1
L
140232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14024
14025 [BZ #14544]
14026 * Makeconfig (link-static-before-libc): Replace $(+prector)
14027 with $(+prectorT).
14028 (link-static-after-libc): Replace $(+postctor) with
14029 $(+postctorT).
14030 (link-bounded): Replace $(+prector)/$(+postctor) with
14031 $(+prectorT)/$(+postctorT).
14032 (+prectorT): New macro.
14033 (+postctorT): Likewise.
14034
ed8c2ecd
JM
140352012-09-06 Joseph Myers <joseph@codesourcery.com>
14036
14037 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14038 (round_str): Handle values above the maximum for IBM long double
14039 as inexact.
14040 * stdlib/tst-strtod-round.c (tests): Regenerated.
14041
14c996c8
AK
140422012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14043
14044 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14045 assembler flag.
14046 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14047 zarch_nohighgprs around the zarch optimized routines.
14048 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14049 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14050 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14051 for zarch.
14052
430d6ce6
DM
140532012-09-05 David S. Miller <davem@davemloft.net>
14054
14055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14056
ff04dda4
DM
14057 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14058 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14059 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14060 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14061 entries.
14062
24d4e01b
AO
140632012-09-05 Alexandre Oliva <aoliva@redhat.com>
14064
14065 * malloc/arena.c: Fold copyright years.
14066 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14067
61d58174
AO
140682012-09-05 Alexandre Oliva <aoliva@redhat.com>
14069
14070 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14071
20196a5e
AO
140722012-09-05 Alexandre Oliva <aoliva@redhat.com>
14073
14074 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14075
5c447383
AO
140762012-09-05 Alexandre Oliva <aoliva@redhat.com>
14077
14078 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14079 change internal state upon failure.
14080
fad64255
AO
140812012-09-05 Alexandre Oliva <aoliva@redhat.com>
14082
14083 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14084 * malloc/memusage.c (mmap): Likewise.
14085 (mmap64, mremap): Likewise. Adjust name in comment.
14086
1ffb8c90
SP
140872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14088
14089 * libio/fileops.c: Fix typos in comments.
14090 * libio/oldfileops.c: Likewise.
14091 * libio/wfileops.c: Likewise.
14092
6ef9cc37
SP
140932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14094
14095 [BZ #1349]
14096 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14097 (tst-malloc-usable-ENV): Set environment for test case.
14098 * malloc/hooks.c (malloc_check_get_size): New function to get
14099 requested size.
14100 * malloc/malloc.c (musable): Use malloc_check_get_size.
14101 * malloc/tst-malloc-usable.c: New test case.
14102
4d038ae3
AS
141032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14104
14105 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14106
c4e85184
AM
141072012-09-05 Allan McRae <allan@archlinux.org>
14108
b9dafc56 14109 [BZ #13966]
c4e85184
AM
14110 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14111 determine header location.
14112 * configure: Regenerated.
14113
e1343020
AS
141142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14115
14116 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14117 float format.
14118 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14119 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14120 format.
e1343020
AS
14121 (test): Regenerate.
14122
0a9f1987
DM
141232012-09-04 David S. Miller <davem@davemloft.net>
14124
14125 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14126 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14127 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14128
29237804
FW
141292012-09-04 Florian Weimer <fweimer@redhat.com>
14130
14131 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14132 failures.
14133
edb3cb88
FW
14134 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14135
60160d83
JM
141362012-09-04 Joseph Myers <joseph@codesourcery.com>
14137
14138 [BZ #9914]
14139 * libio/iogetdelim.c: Include <limits.h>.
14140 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14141 + len + 1 would overflow.
14142
bcd6c8dc
AJ
141432012-09-03 Andreas Jaeger <aj@suse.de>
14144
14145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14146 * sysdeps/i386/fpu/libm-test-ulps: Update.
14147
4ffffbd2
LD
141482012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14149
14150 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14151 Add s_sinf-sse2, s_conf-sse2.
14152
14153 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14154 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14155 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14156 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14157
14158 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14159 for using routine as __sinf_ia32.
14160 Use macro for function declaration and weak_alias.
14161 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14162 for using routine as __cosf_ia32.
14163 Use macro for function declaration and weak_alias.
14164
14165 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14166 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14167
14168 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14169 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14171
14172 * math/libm-test.inc (cos_test): Add more test cases.
14173 (sin_test): Likewise.
14174 (sincos_test): Likewise.
14175
511fa286
AK
141762012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14177
14178 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14179 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14180 hidden.
14181 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14182
5f30cfec
L
141832012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14184
14185 [BZ #14538]
14186 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14187 first element of the GOT.
14188 (elf_machine_load_address): Return the difference between
14189 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14190
0786794f
AM
141912012-09-01 Allan McRae <allan@archlinux.org>
14192
5f30cfec
L
14193 [BZ #13412]
14194 * configure.in (AWK): Require gawk version 3.0 or later.
14195 * configure: Regenerated.
0786794f 14196
26889eac
JM
141972012-09-01 Joseph Myers <joseph@codesourcery.com>
14198
14199 * sysdeps/unix/sysv/linux/kernel-features.h
14200 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14201 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14202 [__NR_clock_getres]: Make code unconditional.
14203 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14204 (clock_getcpuclockid): Remove code left unreachable by removal of
14205 conditionals.
14206 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14207 code unconditional.
14208 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14209 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14210 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14211 Make code unconditional.
14212 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14213 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14214 * sysdeps/unix/sysv/linux/clock_settime.c
14215 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14216 conditional code.
14217 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14218 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14219
d22e28b0
L
142202012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14221
14222 [BZ #14476]
14223 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14224 scripts/test-installation.pl.
14225
14226 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14227 and $ld_so_version if it is set.
14228
050af9c4
SP
142292012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14230
14231 [BZ #14516]
14232 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14233 failure if reading from procfs failed.
14234 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14235
ad845c0b
JM
142362012-08-27 Joseph Myers <joseph@codesourcery.com>
14237
14238 * sysdeps/unix/sysv/linux/kernel-features.h
14239 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14240 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14241 Remove conditional code.
14242 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14243 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14244 Remove conditional code.
14245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14246 * sysdeps/unix/sysv/linux/i386/fxstat.c
14247 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14248 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14249 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14250 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14252 * sysdeps/unix/sysv/linux/i386/lxstat.c
14253 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14254 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14255 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14256 Remove conditional code.
14257 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14258 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14259 Remove conditional code.
14260 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14261 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14262 <kernel-features.h>.
14263 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14264 Remove.
14265 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14266 Remove conditional code.
14267 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14268 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14269 Remove conditional.
14270
5dbf56af
MF
142712012-08-27 Mike Frysinger <vapier@gentoo.org>
14272
14273 [BZ #5400]
14274 * NEWS: Add fixed bug number.
14275
d6e70f43
JM
142762012-08-27 Joseph Myers <joseph@codesourcery.com>
14277
7efb4737
JM
14278 [BZ #14519]
14279 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14280 underflowing exponent in case of negative sign.
14281 * stdlib/tst-strtod-round-data: Add more tests.
14282 * stdlib/tst-strtod-round.c (tests): Regenerated.
14283
af92131a
JM
14284 [BZ #3479]
14285 * stdlib/strtod_l.c (NDIG): Remove.
14286 (HEXNDIG): Likewise.
14287 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14288 smallest representable value.
14289 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14290 lie within an exact representation of 1/2 ulp of the result.
14291 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14292 unconditionally.
14293 (TENS_P9_IDX): Define unconditionally.
14294 (TENS_P9_SIZE): Likewise.
14295 (TENS_P10_IDX): Likewise.
14296 (TENS_P10_SIZE): Likewise.
14297 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14298 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14299 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14300 entries for 10^2^13 and 10^2^14.
14301 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14302 (TENS_P13_IDX): Define.
14303 (TENS_P13_SIZE): Likewise.
14304 (TENS_P14_IDX): Likewise.
14305 (TENS_P14_SIZE): Likewise.
14306 (_fpioconst_pow10): Change array size to
14307 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14308 unconditional.
14309 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14310 1024]: Add entries for 10^2^13 and 10^2^14.
14311 [LAST_POW10 > _LAST_POW10]: Remove #error.
14312 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14313 (_fpioconst_pow10): Change array size to
14314 FPIOCONST_POW10_ARRAY_SIZE.
14315 * stdlib/gen-fpioconst.c: New file.
14316 * stdlib/gen-tst-strtod-round.c: Likewise.
14317 * stdlib/tst-strtod-round-data: Likewise.
14318 * stdlib/tst-strtod-round.c: Likewise.
14319 * stdlib/Makefile (tests): Add tst-strtod-round.
14320
d6e70f43
JM
14321 [BZ #14459]
14322 * stdlib/strtod_l.c: Include <stdint.h>.
14323 (NDEBUG): Do not define.
14324 (round_and_return): Change EXPONENT parameter to type intmax_t.
14325 Rearrange calculations to avoid internal overflow possibilities.
14326 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14327 Rearrange calculations to avoid internal overflow possibilities.
14328 Assert that number fits inside MPNSIZE limbs.
14329 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14330 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14331 calculations and add assertions to avoid internal overflow
14332 possibilities. Add casts to avoid signed/unsigned operations.
14333 * stdlib/tst-strtod-overflow.c: New file.
14334 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14335
1f529f7d
MP
143362012-08-25 Marek Polacek <polacek@redhat.com>
14337
14338 * time/time.h: Fix some typos in comments.
14339
59a629f1
RM
143402012-08-23 Roland McGrath <roland@hack.frob.com>
14341
14342 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14343 * posix/tst-rfc3484-2.c: Likewise.
14344 * posix/tst-rfc3484-3.c: Likewise.
14345
d3bafbc9
SM
143462012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14347
14348 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14349 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14350
4efcc022
JM
143512012-08-23 Joseph Myers <joseph@codesourcery.com>
14352
14353 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14354 #include of fxstatat64.c.
14355
3cc3ef96
RM
143562012-08-22 Roland McGrath <roland@hack.frob.com>
14357
f04e2132
RM
14358 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14359 * shadow/getspent_r.c: Likewise.
14360 * shadow/getspnam.c: Likewise.
14361 * shadow/getspnam_r.c: Likewise.
14362 * gshadow/getsgent.c: Likewise.
14363 * gshadow/getsgent_r.c: Likewise.
14364 * gshadow/getsgnam.c: Likewise.
14365 * gshadow/getsgnam_r.c: Likewise.
14366 * inet/getnetbyad.c: Likewise.
14367 * inet/getnetbyad_r.c: Likewise.
14368 * inet/getnetbynm.c: Likewise.
14369 * inet/getnetbynm_r.c: Likewise.
14370 * inet/getnetent.c: Likewise.
14371 * inet/getnetent_r.c: Likewise.
14372 * inet/getproto.c: Likewise.
14373 * inet/getproto_r.c: Likewise.
14374 * inet/getprtent.c: Likewise.
14375 * inet/getprtent_r.c: Likewise.
14376 * inet/getprtname.c: Likewise.
14377 * inet/getprtname_r.c: Likewise.
14378 * inet/getrpcbyname.c: Likewise.
14379 * inet/getrpcbyname_r.c: Likewise.
14380 * inet/getrpcbynumber.c: Likewise.
14381 * inet/getrpcbynumber_r.c: Likewise.
14382 * inet/getrpcent.c: Likewise.
14383 * inet/getrpcent_r.c: Likewise.
14384 * inet/getaliasent.c: Likewise.
14385 * inet/getaliasent_r.c: Likewise.
14386 * inet/getaliasname.c: Likewise.
14387 * inet/getaliasname_r.c: Likewise.
14388 * nscd/getgrgid_r.c: Likewise.
14389 * nscd/getgrnam_r.c: Likewise.
14390 * nscd/gethstbyad_r.c: Likewise.
14391 * nscd/gethstbynm3_r.c: Likewise.
14392 * nscd/getpwnam_r.c: Likewise.
14393 * nscd/getpwuid_r.c: Likewise.
14394 * nscd/getsrvbynm_r.c: Likewise.
14395 * nscd/getsrvbypt_r.c: Likewise.
14396 * nscd/gai.c: Likewise.
14397
c53d909c
RM
14398 * configure.in (build_nscd): New substituted variable, set
14399 by --disable-build-nscd and defaults to $use_nscd.
14400 * configure: Regenerated.
14401 * config.make.in (build-nscd): New substituted variable.
14402 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14403 Change conditional to require [$(build-nscd) = yes] as well.
14404 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14405
3cc3ef96
RM
14406 [BZ# 13696]
14407 * configure.in (use_nscd): New substituted variable, set by
14408 --disable-nscd. If enabled, define USE_NSCD.
14409 * configure: Regenerated.
14410 * config.h.in: Add USE_NSCD.
14411 * config.make.in (use-nscd): New substituted variable.
14412 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14413 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14414 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14415 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14416 (CFLAGS-getgrnam_r.c): Likewise.
14417 (CFLAGS-initgroups.c): Likewise.
14418 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14419 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14420 Variables removed.
14421 * inet/getnetgrent_r.c
14422 (nscd_setnetgrent): New function, broken out of ...
14423 (setnetgrent): ... here. Call it.
14424 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14425 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14426 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14427 * nscd/Makefile (routines, aux): Move definitions after include of
14428 Makeconfig. Conditionalize on [$(use-nscd) != no].
14429 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14430 Conditionalize on [USE_NSCD].
14431 (is_nscd, nscd_init_cb): Likewise.
14432 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14433 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14434 * nss/nss_db/db-init.c: Likewise.
14435 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14436 [USE_NSCD].
14437 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14438 (make_request): Use it.
14439 (cache_valid_p): New function.
14440 (__check_pf): Use it.
14441 * NEWS: Add item for --disable-nscd.
14442
07e51550
DL
144432012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14444
14445 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14446 to support sed >= 4.2.1-20-ga9bf076.
14447 * configure: Regenerated.
14448
35a5b08b
RM
144492012-08-22 Roland McGrath <roland@hack.frob.com>
14450
14451 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14452 Conditionalize whole body on [IREL].
14453
8479f23a
JL
144542012-08-22 Jeff Law <law@redhat.com>
14455
14456 [BZ #14505]
14457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14458 if the family is PF_UNSPEC.
14459
48da0b21
MF
144602012-08-22 Mike Frysinger <vapier@gentoo.org>
14461
14462 * Makerules (lib-version): Rename from V.
14463 (install-lib-nosubdir): Change V to lib-version.
14464
15d0da8c
WS
144652012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14466
14467 [BZ #14252]
14468 * powerpc32/power6/wcschr.c: New file.
14469 * powerpc32/power6/wcscpy.c: New file.
14470 * powerpc32/power6/wcsrchr.c: New file.
14471 * powerpc64/power6/wcschr.c: New file.
14472 * powerpc64/power6/wcscpy.c: New file.
14473 * powerpc64/power6/wcsrchr.c: New file.
14474
bcca0895
MK
144752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14476
14477 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14478 (two_way_short_needle): Use it.
5a4aaa33
RM
14479 * string/strstr.c (AVAILABLE1_USES_J): Define.
14480 * string/strcasestr.c: Likewise.
99677e57
MK
14481
14482 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14483 array references.
14484 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14485
400726de
MK
14486 [BZ #11607]
14487 * NEWS: Add an entry.
14488 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14489 define their defaults.
14490 (two_way_short_needle): Detect end-of-string on-the-fly.
14491 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14492 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14493 * string/bug-strcasestr1.c: New test.
14494 * string/Makefile: Run it.
14495
20a71f2c
MK
144962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14497
14498 [BZ #11607]
14499 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14500 the first character.
14501
21ad0558
RM
145022012-08-21 Roland McGrath <roland@hack.frob.com>
14503
14504 * csu/elf-init.c (__libc_csu_irel): Function removed.
14505 * csu/libc-start.c (apply_irel): New function.
14506 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14507
0e1d9911
JM
145082012-08-21 Joseph Myers <joseph@codesourcery.com>
14509
14510 * sysdeps/unix/sysv/linux/kernel-features.h
14511 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14512 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14513 <kernel-features.h>.
14514 [__NR_fadvise64_64]: Make code unconditional.
14515 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14516 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14517 !__NR_fadvise64_64)]: Likewise.
14518 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14519 !__NR_fadvise64_64))]: Likewise.
14520 [__NR_fadvise64]: Make code unconditional.
14521 [!__NR_fadvise64]: Remove conditional code.
14522 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14523 <kernel-features.h>.
14524 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14525 unconditional.
14526 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14527 conditional code.
14528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14529 not include <kernel-features.h>.
14530 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14531 unconditional.
14532 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14533 conditional code.
14534 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14535 include <kernel-features.h>.
14536 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14537 unconditional.
14538 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14539 conditional code.
14540
14a50c9d
WS
145412012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14542
14543 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14544 slight instruction rearrangements per scrollpipe analysis.
14545 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14546
c0f4faf0
RM
145472012-08-20 Roland McGrath <roland@hack.frob.com>
14548
696da859
RM
14549 * manual/syslog.texi (syslog; vsyslog, closelog):
14550 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14551 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14552
c0f4faf0
RM
14553 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14554 DSOCAPS to match condition on defining it.
14555
348363b2
JM
145562012-08-20 Joseph Myers <joseph@codesourcery.com>
14557
a35cbf28
JM
14558 * sysdeps/unix/sysv/linux/kernel-features.h
14559 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14561 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14562 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14564 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14565 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14567 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14568 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14569
445f7ecd
JM
14570 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14571 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14572
348363b2
JM
14573 * sysdeps/unix/sysv/linux/kernel-features.h
14574 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14575 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14576 unconditional.
14577 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14578 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14579 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14580 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14581 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14582 Make code unconditional.
14583 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14584 (__mmap64) [!__NR_mmap2]: Likewise.
14585 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14586 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14587 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14588 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14589 [__NR_mmap2]: Make code unconditional.
14590 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14591 (__mmap64) [!__NR_mmap2]: Likewise.
14592
bc5bc0e5
AK
145932012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14594
14595 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14596
88d506de
AJ
145972012-08-18 Andreas Jaeger <aj@suse.de>
14598
14599 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14600
493387d2
MF
146012012-08-18 Mike Frysinger <vapier@gentoo.org>
14602
14603 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14604 * include/unistd.h (__have_sock_cloexec): Likewise.
14605 (__have_pipe2): Likewise.
14606 (__have_dup3): Likewise.
14607
a277af22
MF
146082012-08-18 Mike Frysinger <vapier@gentoo.org>
14609
14610 [BZ #9685]
14611 * include/unistd.h (__have_pipe2): Change define into an extern int.
14612 (__have_dup3): Likewise.
14613 * socket/have_sock_cloexec.c: Include fcntl.h.
14614 (__have_pipe2): New variable.
14615 (__have_dup3): Likewise.
14616
fdab8fd3
MF
146172012-08-17 Mike Frysinger <vapier@gentoo.org>
14618
14619 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14620
31035e80
MP
146212012-08-17 Marek Polacek <polacek@redhat.com>
14622
14623 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14624 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14625
3bd9e993
RM
146262012-08-17 Roland McGrath <roland@hack.frob.com>
14627
c91c505f
RM
14628 * configure.in: Add AC_SUBST for sysheaders.
14629 * configure: Regenerated.
14630 * config.make.in (sysheaders): New substituted variable.
14631
7c6f9d53
RM
14632 * sysdeps/unix/mkfifo.c: Moved ...
14633 * sysdeps/posix/mkfifo.c: ... here.
14634 * sysdeps/unix/mkfifoat.c: Moved ...
14635 * sysdeps/posix/mkfifoat.c: ... here.
14636
14637 * sysdeps/unix/utime.c: Moved ...
14638 * sysdeps/posix/utime.c: ... here.
14639
14640 * sysdeps/unix/time.c: Moved ...
14641 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14642 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14643 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14644
14645 * sysdeps/unix/nice.c: Moved ...
14646 * sysdeps/posix/nice.c: ... here.
14647
14648 * sysdeps/unix/alarm.c: Moved ...
14649 * sysdeps/posix/alarm.c: ... here.
14650
3bd9e993
RM
14651 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14652
d1f09384
JL
146532012-08-17 Jeff Law <law@redhat.com>
14654
14655 * intl/Makefile (codeset_mo): New variable.
14656 ($(codeset_mo)): New target.
14657 (tst-codeset.out): Depend on that. Remove explicit rule.
14658 (tst-gettext3.out, tst-gettext5.out): Likewise.
14659 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14660 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14661 * intl/tst-codeset.sh: Remove.
14662 * intl/tst-gettext3.sh: Likewise.
14663 * intl/tst-gettext5.sh: Likewise.
14664
2ae1ae5c
RM
146652012-08-17 Roland McGrath <roland@hack.frob.com>
14666
c31fdb83
RM
14667 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14668 * sysdeps/unix/syscalls.list: ... here.
14669
a0844057
RM
14670 * sysdeps/posix/getaddrinfo.c
14671 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14672 (gaiconf_init, gaiconf_reload): Use them.
14673 [!_STATBUF_ST_NSEC]
14674 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14675 Define using time_t rather than struct timespec.
14676
750c1f2a
RM
14677 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14678 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14679 Macros removed.
14680 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14681 [!NO_THREADS].
14682 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14683 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14684 Likewise.
14685
2ae1ae5c
RM
14686 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14687 __libc_cleanup_push argument.
14688
e66a42f5
RM
14689 * bits/param.h: New file.
14690 * misc/sys/param.h: New file.
14691 * include/sys/param.h: New file.
14692 * misc/Makefile (headers): Add bits/param.h.
14693 * sysdeps/generic/sys/param.h: File removed.
14694 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14695 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14696 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14697 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14698
b7c08a66
RM
14699 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14700 last change.
14701
b2e1c562
RM
14702 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14703 [_IO_MTSAFE_IO].
14704 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14705 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14706 New macros.
14707
c75ccd4c
RM
14708 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14709 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14710 rather than -D_IO_MTSAFE_IO conditionally.
14711 * stdio-common/Makefile (CPPFLAGS): Likewise.
14712 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14713 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14714 Use $(libio-mtsafe).
14715 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14716 of -D_IO_MTSAFE_IO.
14717 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14718 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14719 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14720 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14721 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14722 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14723 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14724 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14725 (CFLAGS-fread_u_chk.c): Likewise.
14726 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14727 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14728 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14729 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14730 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14731 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14732 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14733 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14734 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14735
14736 * libio/Makefile: Test [$(libc-reentrant) = yes]
14737 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14738
14739 * Makeconfig
14740 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14741 * sysdeps/pthread/configure: File removed.
14742 * sysdeps/pthread/Makeconfig: New file.
14743 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14744 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14745
d9195db8
GB
147462012-08-16 Gary Benson <gbenson@redhat.com>
14747
14748 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14749 unmapping the first object in a namespace.
14750
86466cd9
RM
147512012-08-16 Roland McGrath <roland@hack.frob.com>
14752
14753 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14754 (__internal_setnetgrent): ... this. Add internal_function to
14755 definition. Add libc_hidden_def.
14756 (setnetgrent): Update caller.
14757 (internal_endnetgrent): Renamed to ...
14758 (__internal_endnetgrent): ... this. Add internal_function to
14759 definition. Add libc_hidden_def.
14760 (endnetgrent): Update caller.
14761 (internal_getnetgrent_r): Renamed to ...
14762 (__internal_getnetgrent_r): ... this. Add internal_function to
14763 definition. Add libc_hidden_def.
14764 (__getnetgrent_r): Update caller.
14765 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14766
c3c8283c
JM
147672012-08-16 Joseph Myers <joseph@codesourcery.com>
14768
14769 * stdlib/longlong.h: Update from GCC.
14770
db1ee0a8
RM
147712012-08-16 Roland McGrath <roland@hack.frob.com>
14772
14773 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14774 on _QL, which is set by umul_ppmm but never used.
14775 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14776 variables, which are set by GMP macros but never used.
14777 * stdio-common/_itowa.c (_itowa): Likewise.
14778 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14779 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14780
30f69637
CD
147812012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14782
14783 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14784 struct La_sh_regs is not constant.
14785 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14786 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14787 and struct La_sparc64_regs are not constant.
14788
93a78ac4
JM
147892012-08-16 Joseph Myers <joseph@codesourcery.com>
14790
14791 * sysdeps/unix/sysv/linux/kernel-features.h
14792 (__ASSUME_POSIX_TIMERS): Remove.
14793 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14794 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14795 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14796 Make code unconditional.
14797 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14798 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14799 Make code unconditional.
14800 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14801 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14802 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14803 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14804 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14805 Make code unconditional.
14806 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14807 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14808 (__libc_missing_posix_timers): Remove.
14809
dd924cd7
RM
148102012-08-15 Roland McGrath <roland@hack.frob.com>
14811
4b4f2771
RM
14812 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14813 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14814
601c888b
RM
14815 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14816
176790a7
RM
14817 * elf/dl-sym.c: Include <stdlib.h>.
14818
329bc018
RM
14819 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14820 constants, which avoids warnings in 32-bit builds.
14821
e04e272d
RM
14822 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14823 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14824
952bf94a
RM
14825 * misc/lseek.c: File moved to ...
14826 * io/lseek.c: ... here.
14827
7c99b50a
RM
14828 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14829
dd924cd7
RM
14830 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14831 shifting LEN more than 31 bits at once.
14832
b3f479a8
LD
148332012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14834
14835 [BZ #14195]
8c4ae0d4
RM
14836 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14837 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14838 * string/test-strncasecmp.c (check1): Renamed to...
14839 (bz12205): ...this.
14840 (bz14195): Add new testcase for two empty input strings and N > 0.
14841 (test_main): Call new testcase, adapt for renamed function.
14842
9c55864e
AJ
148432012-08-15 Andreas Jaeger <aj@suse.de>
14844
14845 [BZ #14090]
14846 * crypt/md5test2.c: New test, based on test supplied by Serge
14847 Belyshev <belyshev@depni.sinp.msu.ru>.
14848 * crypt/Makefile (xtests): Add md5test-giant..
14849 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14850
02dcb6c5
PE
148512012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14852
14853 [BZ #14090]
14854 * crypt/md5.c (md5_process_block): Don't assume the buffer
14855 length is less than 2**32.
14856 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14857 length is less than 2**64.
14858
a3f95dcc
RM
148592012-08-15 Roland McGrath <roland@hack.frob.com>
14860
be75d758
RM
14861 * string/str-two-way.h: Include <sys/param.h>.
14862 (MAX): Macro removed.
14863
7312ca90
RM
14864 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14865 Move #define and #undef of memmove to just before and after
14866 including <string.h>.
14867
9a0a5486
RM
14868 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14869 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14870 and after including <string.h>. Move declarations of
14871 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14872 to before #include "string/memmove.c".
14873
67cc348d
RM
14874 * include/dirent.h: Declare __getdirentries.
14875
a3f95dcc
RM
14876 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14877 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14878
ca98e171
MF
148792012-08-14 Mike Frysinger <vapier@gentoo.org>
14880
14881 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14882 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14883 * sysdeps/i386/configure: Regenerated.
14884 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14885 STABS_CURRENT_FILE, and STABS_FUN.
14886 (END): Remove call to STABS_FUN_END.
14887 (STABS_CURRENT_FILE1): Delete.
14888 (STABS_CURRENT_FILE): Likewise.
14889 (STABS_FUN): Likewise.
14890 (STABS_FUN_END): Likewise.
14891 (STABS_FUN2): Likewise.
14892 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14893 * sysdeps/x86_64/configure: Regenerated.
14894
5908bf46
RM
148952012-08-14 Roland McGrath <roland@hack.frob.com>
14896
14897 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14898 * elf/dl-lookup.c: Likewise.
5908bf46 14899
f2c05b9e
JM
149002012-08-14 Joseph Myers <joseph@codesourcery.com>
14901
14902 * sysdeps/unix/sysv/linux/kernel-features.h
14903 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14904 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14905 unconditionally.
14906 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14907 unconditionally.
14908 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14909 condition on __ASSUME_CLONE_THREAD_FLAGS.
14910
e11f5155
AJ
149112012-08-14 Andreas Jaeger <aj@suse.de>
14912
14913 * sysdeps/i386/fpu/libm-test-ulps: Update.
14914
51a9ba86
MK
149152012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14916
2fdd4f78
AJ
14917 * include/atomic.h (atomic_exchange_and_add): Split into ...
14918 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14919 New atomic macros.
51a9ba86 14920
ba6cba9e
MT
149212012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14922
14923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14924
42443a47
JL
149252012-08-13 Jeff Law <law@redhat.com>
14926
14927 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14928 null byte in the output string.
14929
121dce05
JM
149302012-08-10 Joseph Myers <joseph@codesourcery.com>
14931
14932 * sysdeps/unix/sysv/linux/kernel-features.h
14933 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14934 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14935 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14936 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14937 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14938 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14939 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14940
bf51f568
JL
149412012-08-09 Jeff Law <law@redhat.com>
14942
14943 [BZ #13939]
14944 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14945 When avoid_arena is set, don't retry in the that arena. Pick the
14946 next one, whatever it might be.
14947 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14948 (arena_lock): Pass in new parameter to arena_get2.
14949 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14950 arena_get2.
14951 (__libc_malloc): Unify retrying after main arena failure with
14952 __libc_memalign version.
14953 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14954
f85fa270
L
149552012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14956
14957 [BZ #14166]
14958 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14959 to __redirect_strstr.
14960 (__strstr_sse42): Use typeof __redirect_strstr.
14961 (__strstr_ia32): Likewise.
14962 (__libc_strstr): New prototype.
14963 (strstr): Renamed to ...
14964 (__libc_strstr): This.
14965 (strstr): New strong alias of __libc_strstr.
14966 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14967 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14968 __redirect_time.
14969 Include <time.h>.
14970 (__libc_time): New prototype.
14971 (time_ifunc): Replace time with __libc_time.
14972 (time): New strong alias and hidden definition of __libc_time.
14973 (__GI_time): Remove strong alias.
14974 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14975 Include <stddef.h>.
14976 (memmove): Redefined to __redirect_memmove.
14977 (__memmove_sse2): Use typeof __redirect_memmove.
14978 (__memmove_ssse3): Likewise.
14979 (__memmove_ssse3_back): Likewise.
14980 (__libc_memmove): New prototype.
14981 (memmove): Renamed to ...
14982 (__libc_memmove): This.
14983 (memmove): New strong alias of __libc_memmove.
14984
33b4a91e
MS
149852012-08-08 Mark Salter <msalter@redhat.com>
14986
14987 * elf/elf.h
14988 (R_MN10300_TLS_GD): Define.
14989 (R_MN10300_TLS_LD): Likewise.
14990 (R_MN10300_TLS_LDO): Likewise.
14991 (R_MN10300_TLS_GOTIE): Likewise.
14992 (R_MN10300_TLS_IE): Likewise.
14993 (R_MN10300_TLS_LE): Likewise.
14994 (R_MN10300_TLS_DTPMOD): Likewise.
14995 (R_MN10300_TLS_DTPOFF): Likewise.
14996 (R_MN10300_TLS_TPOFF): Likewise.
14997 (R_MN10300_SYM_DIFF): Likewise.
14998 (R_MN10300_ALIGN): Likewise.
14999 (R_MN10300_NUM): Update.
15000
b36137f1
JM
150012012-08-08 Joseph Myers <joseph@codesourcery.com>
15002
15003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15004 Remove.
15005
cdd915fd
RM
150062012-08-08 Roland McGrath <roland@hack.frob.com>
15007
a2433aac
RM
15008 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15009
cdd915fd
RM
15010 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15011 sysdeps/unix -> sysdeps/posix move.
15012 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15013
bf9b740a
AM
150142012-08-07 Allan McRae <allan@archlinux.org>
15015
15016 [BZ #14303]
15017 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15018 (SUNOS_CPP): Likewise.
15019 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15020 not found.
15021 (open_input): Call CPP using execvp.
15022
93df14ee
JM
150232012-08-07 Joseph Myers <joseph@codesourcery.com>
15024
15025 * sysdeps/unix/sysv/linux/kernel-features.h
15026 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15027 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15028 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15029 (__ASSUME_WAITID_SYSCALL): Likewise.
15030 * sysdeps/unix/sysv/linux/dl-execstack.c
15031 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15032 code unconditional.
15033 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15034 conditional code.
15035 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15036 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15037 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15038 code.
15039 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15040 unconditional.
15041 [__ASSUME_WAITID_SYSCALL]: Likewise.
15042 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15043
d34689de
RM
150442012-08-07 Roland McGrath <roland@hack.frob.com>
15045
a281decc
RM
15046 * sysdeps/unix/closedir.c: Renamed to ...
15047 * sysdeps/posix/closedir.c: ... here.
15048 * sysdeps/unix/dirfd.c: Renamed to ...
15049 * sysdeps/posix/dirfd.c: ... here.
15050 * sysdeps/unix/dirstream.h: Renamed to ...
15051 * sysdeps/posix/dirstream.h: ... here.
15052 * sysdeps/unix/fdopendir.c: Renamed to ...
15053 * sysdeps/posix/fdopendir.c: ... here.
15054 * sysdeps/unix/opendir.c: Renamed to ...
15055 * sysdeps/posix/opendir.c: ... here.
15056 * sysdeps/unix/readdir.c: Renamed to ...
15057 * sysdeps/posix/readdir.c: ... here.
15058 * sysdeps/unix/readdir_r.c: Renamed to ...
15059 * sysdeps/posix/readdir_r.c: ... here.
15060 * sysdeps/unix/rewinddir.c: Renamed to ...
15061 * sysdeps/posix/rewinddir.c: ... here.
15062 * sysdeps/unix/seekdir.c: Renamed to ...
15063 * sysdeps/posix/seekdir.c: ... here.
15064 * sysdeps/unix/telldir.c: Renamed to ...
15065 * sysdeps/posix/telldir.c: ... here.
15066 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15067 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15068 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15069 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15070
22895b47
RM
15071 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15072 * bits/fcntl.h: ... here.
15073
707a53b6
RM
15074 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15075 not 0.
15076 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15077 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15078 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15079 (struct flock): Move l_start, l_len to the beginning.
15080 Use __pid_t for l_pid.
15081 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15082 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15083 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15084 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15085 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15086 [__USE_LARGEFILE64] (struct flock64): New type.
15087 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15088
f0bd3e25
RM
15089 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15090 * bits/dirent.h: ... here.
15091
d34689de
RM
15092 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15093 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15094
6dad2c06
JM
150952012-08-07 Joseph Myers <joseph@codesourcery.com>
15096
15097 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15098 Change from 2.6.0 to 2.6.16.
15099 * sysdeps/unix/sysv/linux/configure: Regenerated.
15100 * sysdeps/unix/sysv/linux/kernel-features.h
15101 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15102 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15103 version.
15104 (__ASSUME_UTIMES): Likewise.
15105 (__ASSUME_CLONE_STOPPED): Remove.
15106 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15107 architectures, not kernel version.
15108 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15109 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15110 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15111 (__ASSUME_WAITID_SYSCALL): Likewise.
15112 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15113 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15114 * README: State 2.6.16 as minimum Linux kernel version. Do not
15115 refer to older versions.
15116
03af9520
RM
151172012-08-06 Roland McGrath <roland@hack.frob.com>
15118
8e49df1d
RM
15119 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15120 Define alphasort64 as an alias.
15121 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15122 Define versionsort64 as an alias.
15123 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15124 Define scandir64 as an alias.
15125 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15126 Define scandirat64 as an alias.
15127 * dirent/alphasort64.c (alphasort64):
15128 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15129 * dirent/versionsort64.c: Likewise.
15130 * dirent/scandir64.c: Likewise.
15131 * dirent/scandirat64.c: Likewise.
15132 * sysdeps/wordsize-64/alphasort.c: File removed.
15133 * sysdeps/wordsize-64/alphasort64.c: File removed.
15134 * sysdeps/wordsize-64/scandir.c: File removed.
15135 * sysdeps/wordsize-64/scandir64.c: File removed.
15136 * sysdeps/wordsize-64/scandirat.c: File removed.
15137 * sysdeps/wordsize-64/scandirat64.c: File removed.
15138 * sysdeps/wordsize-64/versionsort.c: File removed.
15139 * sysdeps/wordsize-64/versionsort64.c: File removed.
15140 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15141 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15142 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15143 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15144 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15145 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15146 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15147 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15148
15149 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15151 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15152 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15153 [defined __arch64__ || defined __sparcv9]
15154 (__INO_T_MATCHES_INO64_T): New macro.
15155 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15156 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15157 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15158 * sysdeps/unix/sysv/linux/bits/dirent.h
15159 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15160 (_DIRENT_MATCHES_DIRENT64): New macro.
15161
03af9520
RM
15162 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15163 Define lockf64 as an alias.
15164 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15165 Define fseeko64 as an alias.
15166 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15167 Define ftello64 as an alias.
15168 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15169 Define _IO_fgetpos64 and fgetpos64 as aliases.
15170 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15171 Define _IO_fsetpos64 and fsetpos64 as aliases.
15172 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15173 Conditionalize body on this.
15174 * libio/fseeko64.c: Likewise.
15175 * libio/ftello64.c: Likewise.
15176 * libio/iofgetpos64.c: Likewise.
15177 * libio/iofsetpos64.c: Likewise.
15178 * sysdeps/wordsize-64/lockf.c: File removed.
15179 * sysdeps/wordsize-64/lockf64.c: File removed.
15180 * sysdeps/wordsize-64/fseeko.c: File removed.
15181 * sysdeps/wordsize-64/fseeko64.c: File removed.
15182 * sysdeps/wordsize-64/ftello.c: File removed.
15183 * sysdeps/wordsize-64/ftello64.c: File removed.
15184 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15185 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15186 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15187 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15188 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15189 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15190 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15191 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15192 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15193 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15194 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15195 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15196 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15197 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15198
15199 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15201 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15203 [defined __arch64__ || defined __sparcv9]
15204 (__OFF_T_MATCHES_OFF64_T): New macro.
15205 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15206 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15208 (__OFF_T_MATCHES_OFF64_T): New macro.
15209
c5757acd
L
152102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15211
15212 * stdlib/secure-getenv.c (__secure_getenv): Replace
15213 GLIBC_2_16 with GLIBC_2_17.
15214
3a31811e
L
152152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15216
15217 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15218 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15219
faa2bccb
DM
152202012-08-03 David S. Miller <davem@davemloft.net>
15221
15222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15223
85fe1997
JM
152242012-08-03 Joseph Myers <joseph@codesourcery.com>
15225
15226 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15227 Remove.
15228 (__ASSUME_CORRECT_SI_PID): Likewise.
15229 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15230 (__ASSUME_TMPFS_NAME): Likewise.
15231 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15232 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15233 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15234 (HAVE_AUX_SECURE): Make definition unconditional.
15235 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15236 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15237
4f75b7a0
RM
152382012-08-03 Roland McGrath <roland@hack.frob.com>
15239
15240 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15241 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15242 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15243 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15244 __eloop_threshold instead of SYMLOOP_MAX.
15245
15246 * sysdeps/generic/eloop-threshold.h: New file.
15247 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15248 of MAXSYMLINKS.
15249 * elf/chroot_canon.c (chroot_canon): Likewise.
15250
7aab07e4
JM
152512012-08-03 Joseph Myers <joseph@codesourcery.com>
15252
15253 [BZ #13717]
15254 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15255 Change to 2.6.0 everywhere.
15256 * sysdeps/unix/sysv/linux/configure: Regenerated.
15257 * sysdeps/unix/sysv/linux/kernel-features.h
15258 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15259 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15260 kernel versions.
15261 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15262 (__ASSUME_FUTEX_REQUEUE): Remove.
15263 (__ASSUME_STATFS64): Define unconditionally.
15264 (__ASSUME_AT_SECURE): Likewise.
15265 (__ASSUME_CORRECT_SI_PID): Likewise.
15266 (__ASSUME_TGKILL): Define without depending on kernel version for
15267 i386.
15268 (__ASSUME_UTIMES): Likewise.
15269 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15270 kernel version.
15271 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15272 (__ASSUME_TMPFS_NAME): Likewise.
15273 * README: Update reference to Linux kernel versions.
15274
b67e9372
MP
152752012-08-02 Marek Polacek <polacek@redhat.com>
15276
1f529f7d 15277 [BZ# 14150]
b67e9372
MP
15278 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15279 libc_cv_asm_type_prefix with %.
15280 * configure: Regenerated.
d2441631
RM
15281 * include/libc-symbols.h: Remove comment about
15282 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15283 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15284 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15285 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15286 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15287 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15288 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15289 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15290 * elf/tst-unique2mod1.c: Likewise.
15291 * elf/tst-unique1mod2.c: Likewise.
15292 * elf/tst-unique1mod1.c: Likewise.
15293 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15294 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15295 Replace ASM_TYPE_DIRECTIVE with .type.
15296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15297 * sysdeps/i386/sysdep.h: Likewise.
15298 * sysdeps/x86_64/sysdep.h: Likewise.
15299 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15301 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15302 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15303 * sysdeps/powerpc/powerpc32/sysdep.h:
15304 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15305 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15306 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15307 * sysdeps/i386/fpu/e_powf.S: Likewise.
15308 * sysdeps/i386/fpu/e_expl.S: Likewise.
15309 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15310 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15311 * sysdeps/i386/fpu/e_pow.S: Likewise.
15312 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15313 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15314 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15315 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15316 * sysdeps/i386/fpu/e_log2.S: Likewise.
15317 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15318 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15319 * sysdeps/i386/fpu/e_powl.S: Likewise.
15320 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15321 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15322 * sysdeps/i386/fpu/e_logl.S: Likewise.
15323 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15324 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15325 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15326 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15327 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15328 * sysdeps/i386/fpu/e_log.S: Likewise.
15329 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15330 * sysdeps/i386/fpu/e_logf.S: Likewise.
15331 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15332 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15333 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15334 * sysdeps/i386/fpu/e_log10.S: Likewise.
15335 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15336 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15337 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15338 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15339 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15340 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15341 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15342 * sysdeps/i386/i686/strtok.S: Likewise.
15343 * sysdeps/i386/i386-mcount.S: Likewise.
15344 * sysdeps/i386/strtok.S: Likewise.
15345 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15346 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15348 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15349 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15350 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15351 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15352 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15353 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15354 * sysdeps/x86_64/_mcount.S: Likewise.
15355 * sysdeps/x86_64/strtok.S: Likewise.
15356 * sysdeps/sh/_mcount.S: Likewise.
15357
2747bf9a
RM
153582012-08-01 Roland McGrath <roland@hack.frob.com>
15359
15360 * libio/iofopen.c: Include <fcntl.h>.
15361 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15362 (_IO_fopen64, fopen64): Define as aliases.
15363 * libio/iofopen64.c: Include <fcntl.h>.
15364 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15365 Conditionalize body on this.
15366 * sysdeps/wordsize-64/iofopen.c: File removed.
15367 * sysdeps/wordsize-64/iofopen64.c: File removed.
15368
3fb791b8
MP
153692012-08-01 Marek Polacek <polacek@redhat.com>
15370
15371 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15372 Use dlfcn directly instead of a variable.
15373 (binfmt-subdir): Do not define.
15374 (dlfcn): Likewise.
15375
a9f1039f
JM
153762012-08-01 Joseph Myers <joseph@codesourcery.com>
15377
23bddc06
JM
15378 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15379 Remove all definitions.
15380 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15381 <kernel-features.h>.
15382 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15383 (miss_F_GETOWN_EX): Remove all definitions.
15384 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15385 macro definition.
15386 [!__ASSUME_FCNTL64]: Remove conditional code.
15387 [__ASSUME_FCNTL64]: Make code unconditional.
15388 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15389 <kernel-features.h>.
15390 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15391 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15392 (lockf64) [__NR_fcntl64]: Make code unconditional.
15393 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15394
a9f1039f
JM
15395 * sysdeps/unix/sysv/linux/kernel-features.h
15396 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15397 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15398 Make code unconditional.
15399 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15400 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15402 [__NR_vfork]: Make code unconditional.
15403 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15404 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15406 [__NR_vfork]: Make code unconditional.
15407 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15408 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15409
09c0ee5f
RM
154102012-08-01 Roland McGrath <roland@hack.frob.com>
15411
48aec5b9
RM
15412 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15413 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15414
cd97c966
RM
15415 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15416 Define mkstemp64 as an alias.
3f55550c
RM
15417 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15418 Define mkstemps64 as an alias.
cd97c966
RM
15419 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15420 Define mkostemp64 as an alias.
b8625cfc
RM
15421 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15422 Define mkostemps64 as an alias.
cd97c966
RM
15423 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15424 Conditionalize body on this.
15425 * misc/mkostemp64.c: Likewise.
b8625cfc 15426 * misc/mkostemps64.c: Likewise.
3f55550c 15427 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15428 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15429 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15430 * sysdeps/wordsize-64/mkostemp.c: File removed.
15431 * sysdeps/wordsize-64/mkstemp.c: File removed.
15432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15433 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15434 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15435 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15436
09c0ee5f
RM
15437 [BZ #14138]
15438 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15439 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15440 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15441 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15442
15443 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15444 compat_symbol macros from <shlib-compat.h> rather than the underlying
15445 default_symbol_version and symbol_version macros, so that DEFAULT
15446 lines in shlib-versions are respected.
15447 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15448
7e66ee51
FW
154492012-08-01 Florian Weimer <fweimer@redhat.com>
15450
15451 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15452 Declare with warn_unused_result.
15453 (setgid, setregid, setegid, setresgid): Likewise.
15454 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15455 Likewise.
15456 * WUR-REPORT: Remove set*id functions.
15457
d2a54255
PT
154582012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15459
15460 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15461
7ecdb005
RM
154622012-07-31 Roland McGrath <roland@hack.frob.com>
15463
b4180a5e 15464 [BZ #10191]
789bd351
RM
15465 * include/sys/socket.h (__libc_accept, __libc_accept4):
15466 Add attribute_hidden.
15467 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15468
40ce302d
RM
15469 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15470 use of PTR_MANGLE.
15471 * inet/getnetgrent_r.c (setup): Likewise.
15472
7ecdb005
RM
15473 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15474
e2eabb2c
DM
154752012-07-31 David S. Miller <davem@davemloft.net>
15476
15477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15478
d0419dbf
JM
154792012-07-31 Joseph Myers <joseph@codesourcery.com>
15480
15481 [BZ #13629]
15482 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15483 value between 1.0 and 2.0 and smaller part has absolute value less
15484 than 1.0.
15485 * math/s_clog10.c (__clog10): Likewise.
15486 * math/s_clog10f.c (__clog10f): Likewise.
15487 * math/s_clog10l.c (__clog10l): Likewise.
15488 * math/s_clogf.c (__clogf): Likewise.
15489 * math/s_clogl.c (__clogl): Likewise.
15490 * math/libm-test.inc (clog_test): Add more tests.
15491 (clog10_test): Likewise.
15492 * sysdeps/i386/fpu/libm-test-ulps: Update.
15493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15494
2bc13872
FW
154952012-07-31 Florian Weimer <fweimer@redhat.com>
15496
15497 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15498 Exit with zero in case no suitable GID is found, and write a
15499 message to standard error.
15500
bea9b193
RM
155012012-07-30 Roland McGrath <roland@hack.frob.com>
15502
15503 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15504 rather than to 1.
15505 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15506 (MAXPATHLEN): Removed.
15507 (NOGROUP, NODEV): New macros.
15508 (setbit, clrbit, isset, isclr): New macros.
15509 (howmany, roundup, powerof2): New macros.
15510 (DEV_BSIZE): New macro.
15511
15512 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15513 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15514
15515 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15516 definition on [!__NO_LONG_DOUBLE_MATH].
15517
15518 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15519 PTR_MANGLE and PTR_DEMANGLE.
15520
15521 * socket/accept4.c (accept4): Rename to __libc_accept4.
15522 Define accept4 as a weak alias.
15523
15524 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15525 on [_DIRENT_HAVE_D_TYPE].
15526 * io/ftw.c (ftw_dir): Likewise.
15527
15528 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15529
15530 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15531
15532 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15533 Use the BSD numbers rather than the arbitrary ones we had.
15534 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15535 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15536 (SIGXCPU, SIGXFSZ): New macros.
15537 (_NSIG): Now 32.
15538
15539 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15540 initializer on [_LIBC_REENTRANT].
15541
15542 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15543 definitions inside [_POSIX_MAPPED_FILES].
15544
15545 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15546
15547 * dirent/opendir.c: Include <fcntl.h>.
15548
15549 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15550 (__libc_getspecific): Likewise.
15551 (__libc_key_create): Likewise.
15552
15553 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15554 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15555 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15556 (tmpfile64): Define as alias.
15557 * sysdeps/wordsize-64/tmpfile.c: File removed.
15558 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15559 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15560 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15561
15562 * stdio-common/vfscanf.c: Include <stdbool.h>.
15563 * nss/makedb.c: Likewise.
15564 * stdio-common/_i18n_number.h: Likewise.
15565 * argp/argp-help.c: Likewise.
15566 * posix/wordexp.c: Likewise.
15567 * sysdeps/posix/spawni.c: Likewise.
15568 * nss/nss_files/files-initgroups.c: Likewise.
15569 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15570 * nss/nss_files/files-initgroups.c: Likewise.
15571 * nss/nss_db/db-netgrp.c: Likewise.
15572 * nss/nss_db/db-initgroups.c: Likewise.
15573 * io/fchmodat.c: Include <sys/stat.h>.
15574
15575 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15576 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15577
15578 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15579 [HAVE_MMAP].
15580
15581 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15582 Add multiple inclusion protection.
15583
e5abc686
DM
155842012-07-27 David S. Miller <davem@davemloft.net>
15585
15586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15587
815e6fa3
GB
155882012-07-27 Gary Benson <gbenson@redhat.com>
15589
15590 [BZ #14298]
15591 * elf/rtld.c: Include <stap-probe.h>.
15592 (dl_main): Added static probes "init_start" and "init_complete".
15593 * elf/dl-load.c: Include <stap-probe.h>.
15594 (lose): Take new parameter "nsid".
15595 Added static probe "map_failed".
15596 (_dl_map_object_from_fd): Pass namespace id to lose.
15597 Added static probe "map_start".
15598 (open_verify): Pass namespace id to lose.
15599 * elf/dl-open.c: Include <stap-probe.h>.
15600 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15601 and "reloc_complete".
15602 * elf/dl-close.c: Include <stap-probe.h>.
15603 (_dl_close_worker): Added static probes "unmap_start" and
15604 "unmap_complete".
15605 * elf/rtld-debugger-interface.txt: New file documenting the above.
15606
9f98c16c
RM
156072012-07-26 Roland McGrath <roland@hack.frob.com>
15608
15609 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15610 rather than a string variable.
15611 * sunrpc/rpc_main.c (h_output): Likewise.
15612 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15613
f3c22df3
PT
156142012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15615
15616 * inet/check_native.c: New file.
15617
3129cfc6
JM
156182012-07-26 Joseph Myers <joseph@codesourcery.com>
15619
da865e95
JM
15620 [BZ #13629]
15621 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15622 if larger part has absolute value 1.0.
15623 * math/s_clog10.c (__clog10): Likewise.
15624 * math/s_clog10f.c (__clog10f): Likewise.
15625 * math/s_clog10l.c (__clog10l): Likewise.
15626 * math/s_clogf.c (__clogf): Likewise.
15627 * math/s_clogl.c (__clogl): Likewise.
15628 * math/libm-test.inc (clog_test): Add more tests.
15629 (clog10_test): Likewise.
15630 * sysdeps/i386/fpu/libm-test-ulps: Update.
15631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15632
3129cfc6
JM
15633 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15634 (pltexit): Likewise.
15635 (La_regs): Likewise.
15636 (La_retval): Likewise.
15637 (int_retval): Likewise.
15638 Update #error for removed macros to refer only to definitions in
15639 tst-audit.h.
15640 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15641 macro.
15642 (pltexit): Likewise.
15643 (La_regs): Likewise.
15644 (La_retval): Likewise.
15645 (int_retval): Likewise.
15646 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15647 macro.
15648 (pltexit): Likewise.
15649 (La_regs): Likewise.
15650 (La_retval): Likewise.
15651 (int_retval): Likewise.
15652 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15653 macro.
15654 (pltexit): Likewise.
15655 (La_regs): Likewise.
15656 (La_retval): Likewise.
15657 (int_retval): Likewise.
15658 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15659 macro.
15660 (pltexit): Likewise.
15661 (La_regs): Likewise.
15662 (La_retval): Likewise.
15663 (int_retval): Likewise.
15664 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15665 macro.
15666 (pltexit): Likewise.
15667 (La_regs): Likewise.
15668 (La_retval): Likewise.
15669 (int_retval): Likewise.
15670 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15671 macro.
15672 (pltexit): Likewise.
15673 (La_regs): Likewise.
15674 (La_retval): Likewise.
15675 (int_retval): Likewise.
15676 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15677 macro definitions in tst-audit.h.
15678 * sysdeps/i386/tst-audit.h: New file.
15679 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15680 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15681 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15682 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15683 * sysdeps/sh/tst-audit.h: Likewise.
15684 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15685 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15686 * sysdeps/x86_64/tst-audit.h: Likewise.
15687
bfc07087
AJ
156882012-07-26 Andreas Jaeger <aj@suse.de>
15689
b1b2aaf8
AJ
15690 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15691 ptrace.
15692
15693 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15694 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15695 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15696 PTRACE_O_MASK.
15697 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15698 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15699 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15700
bfc07087
AJ
15701 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15702 value.
15703
15704 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15705 _sigsys.
15706 (si_call_addr, si_syscall, si_arch): Define new macro.
15707 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15708 _sigsys.
15709 (si_call_addr, si_syscall, si_arch): Define new marcro.
15710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15711 _sigsys.
15712 (si_call_addr, si_syscall, si_arch): Define new macro.
15713 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15714 _sigsys.
15715 (si_call_addr, si_syscall, si_arch): Define new macro.
15716
89b4b02f
JM
157172012-07-25 Joseph Myers <joseph@codesourcery.com>
15718
15719 [BZ #13717]
15720 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15721 Change to 2.4.21 where previously 2.4.1.
15722 * sysdeps/unix/sysv/linux/configure: Regenerated.
15723 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15724 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15725 Linux kernel version.
15726 (__ASSUME_STD_AUXV): Remove.
15727 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15728 kernel version.
15729 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15730 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15731 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15732 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15733 (__ASSUME_NETLINK_SUPPORT): Likewise.
15734 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15735 (__no_netlink_support): Remove conditional definition.
15736 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15737 Remove.
15738 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15739 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15740 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15741 (if_nameindex_ioctl): Remove.
15742 (if_nameindex_netlink): Do not handle __no_netlink_support.
15743 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15744 code.
15745 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15746 Remove conditional code.
15747 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15748 code.
15749 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15750 unconditional.
15751 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15752 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15753 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15754 Remove.
15755 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15756 [!__ASSUME_STD_AUXV]: Remove conditional code.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15758 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15759 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15761 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15762 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15763 code.
15764 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15766 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15767 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15768 conditional code.
15769 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15771 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15772 code.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15774 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15775 conditional code.
15776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15777 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15778 code unconditional.
15779 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15780 conditional code.
15781 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15782 unconditional.
15783 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15784 conditional code.
15785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15786 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15787 unconditional.
15788 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15789 conditional code.
15790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15791 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15792 code unconditional.
15793 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15794 conditional code.
15795 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15796 unconditional.
15797 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15798 conditional code.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15800 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15801 code unconditional.
15802 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15803 conditional code.
15804 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15805 unconditional.
15806 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15807 conditional code.
15808
842a39cd
AS
158092012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15810
15811 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15812 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15813 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15814 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15815 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15816 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15817 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15818 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15819 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15820 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15821 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15822 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15823 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15824 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15825 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15826 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15827 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15828 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15829 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15831 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15832 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15833 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15834
84b3fd84
FW
158352012-07-25 Florian Weimer <fweimer@redhat.com>
15836
15837 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15838 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15839 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15840 Introduce __libc_secure_getenv.
0c7936d5
FW
15841 * stdlib/Versions (2.17): Add secure_getenv
15842 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15843 * stdlib/secure-getenv.c: Rename __secure_getenv to
15844 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15845 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15846 * stdlib/tst-secure-getenv.c: New.
15847 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15848 * manual/startup.texi (Environment Access): Document
15849 secure_getenv.
84b3fd84
FW
15850 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15851 __libc_secure_getenv.
15852 * inet/ruserpass.c (ruserpass): Likewise.
15853 * malloc/mtrace.c (mtrace): Likewise.
15854 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15855 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15856 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15857 * sysdeps/posix/tempname.c: Likewise. Evaluate
15858 HAVE_SECURE_GETENV.
15859 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15860 __secure_getenv to __libc_secure_getenv.
84b3fd84 15861 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15863 Likewise.
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15865 Likewise.
15866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15873
56e49b71
JM
158742012-07-25 Joseph Myers <joseph@codesourcery.com>
15875
15876 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15877 (struct La_i86_retval): Likewise.
15878 (struct La_x86_64_regs): Likewise.
15879 (struct La_x86_64_retval): Likewise.
15880 (struct La_x32_regs): Likewise.
15881 (struct La_x32_retval): Likewise.
15882 (struct La_ppc32_regs): Likewise.
15883 (struct La_ppc32_retval): Likewise.
15884 (struct La_ppc64_regs): Likewise.
15885 (struct La_ppc64_retval): Likewise.
15886 (struct La_sh_regs): Likewise.
15887 (struct La_sh_retval): Likewise.
15888 (struct La_s390_32_regs): Likewise.
15889 (struct La_s390_32_retval): Likewise.
15890 (struct La_s390_64_regs): Likewise.
15891 (struct La_s390_64_retval): Likewise.
15892 (struct La_sparc32_regs): Likewise.
15893 (struct La_sparc32_retval): Likewise.
15894 (struct La_sparc64_regs): Likewise.
15895 (struct La_sparc64_retval): Likewise.
15896 (struct audit_ifaces): Remove architecture-specific pltenter and
15897 pltexit members.
15898 * sysdeps/i386/ldsodefs.h: New file.
15899 * sysdeps/powerpc/ldsodefs.h: Likewise.
15900 * sysdeps/s390/ldsodefs.h: Likewise.
15901 * sysdeps/sh/ldsodefs.h: Likewise.
15902 * sysdeps/sparc/ldsodefs.h: Likewise.
15903 * sysdeps/x86_64/ldsodefs.h: Likewise.
15904
354691b7
MP
159052012-07-25 Marek Polacek <polacek@redhat.com>
15906
15907 [BZ #6808]
15908 * math/libm-test.inc (yn_test): Add another test.
15909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15910 to ERANGE when the result is +-Inf.
15911 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15912 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15913 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15914 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15915
bf9e2071
JM
159162012-07-24 Joseph Myers <joseph@codesourcery.com>
15917
15918 * conform/data/time.h-data (NULL): Use macro-constant. Require
15919 equal to 0.
15920 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15921 clock_t.
15922 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15923
57633811
TS
159242012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15925
15926 * configure.in <sysdeps resolving>: Correct printing
15927 Implies_before.
15928 * configure: Regenerate.
15929
c23c33b0
TS
159302012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15931
15932 * math/w_ilogb.c: Include <limits.h>.
15933 * math/w_ilogbl.c: Likewise.
15934
b5982523
JM
159352012-07-20 Joseph Myers <joseph@codesourcery.com>
15936
15937 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15938 va_copy. Document allowing for unavailable va_copy only as
15939 pre-C99 compatibility.
15940 * manual/string.texi (Copying and Concatenation): Use va_copy
15941 instead of __va_copy in concat example.
15942
ac4ea442
PT
159432012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15944
15945 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15946 (__sendto): Use create_address_port. Initialize APORT and deallocate
15947 it if not null.
15948
f98eafbd
PT
15949 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15950 with O_NOLINK passed to __file_name_lookup.
15951
898c7aab
PT
15952 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15953 with O_NOLINK passed to __file_name_lookup.
15954
0ced335a
PT
15955 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15956 negative N or less than NGIDS.
15957
b3404dbd
PT
15958 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15959 type to string_t. Set ERANGE as errno and return it if NAME is not big
15960 enough. Use memcpy instead of strncpy.
15961
0f48659e
JM
159622012-07-20 Joseph Myers <joseph@codesourcery.com>
15963
15964 * elf/Makefile (check-data): Remove.
15965 (localplt.data): New vpath directive.
15966 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15967 instead of $(check-data).
15968 * scripts/data/localplt-generic.data: Move to ...
15969 * sysdeps/generic/localplt.data: ... here.
15970 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15971 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15972 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15974 ... here.
15975 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15977 ... here.
15978 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15980 ... here.
15981 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15983 ... here.
15984 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15986 ... here.
15987 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15989 ... here.
15990
d37cbdaa
AZ
159912012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15992
15993 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15994 PPC32 and PPC64 files.
15995 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15996 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15997
46f85fc2
AK
159982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15999
16000 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16001 __makecontext_ret to ...
16002 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16003 ... here and call exit if uc_link is NULL. New file.
16004 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16005 __makecontext_ret.S.
16006 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16007 __makecontext_ret to ...
16008 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16009 ... here and call exit if uc_link is NULL. New file.
16010 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16011 __makecontext_ret.S.
16012
08f43f9b
AK
160132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16014
16015 * elf/elf.h (R_390_IRELATIVE): New definition.
16016 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16017 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16018 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16019 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16020 (elf_machine_lazy_rel): Likewise.
16021 * sysdeps/s390/dl-irel.h: New file.
16022 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16023 * sysdeps/s390/s390-64/memset.S: New asm code.
16024 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16025 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16026 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16027 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16028 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16029 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16030 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16031 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16032 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16033 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16034 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16035 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16036 * sysdeps/s390/s390-32/memset.S: New asm code.
16037 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16038
3b05db33
MP
160392012-07-17 Marek Polacek <polacek@redhat.com>
16040
16041 [BZ #14349]
16042 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16043 * sysdeps/s390/s390-64/configure.in: Likewise.
16044 * sysdeps/sparc/configure.in: Likewise.
16045 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16046 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16047 * sysdeps/i386/configure.in: Likewise.
16048 * sysdeps/x86_64/configure.in: Likewise.
16049 * sysdeps/sh/configure.in: Likewise.
16050 * sysdeps/s390/s390-32/configure: Regenerated.
16051 * sysdeps/s390/s390-64/configure: Likewise.
16052 * sysdeps/x86_64/configure: Likewise.
16053 * sysdeps/sh/configure: Likewise.
16054 * sysdeps/powerpc/powerpc64/configure: Likewise.
16055 * sysdeps/powerpc/powerpc32/configure: Likewise.
16056 * sysdeps/sparc/configure: Likwise.
16057 * sysdeps/i386/configure: Likewise.
16058
a66877c6
MP
16059 * elf/dl-open.c: Comment fixes.
16060
cfc82fd8
JM
160612012-07-17 Joseph Myers <joseph@codesourcery.com>
16062
bd29910a
JM
16063 * Makefile [CXX] (check-data): Remove.
16064 [CXX] (c++-types.data): New vpath directive.
16065 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16066 vpath. Do not allow for C++ type data being missing.
16067 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16068 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16069 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16070 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16071 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16072 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16073 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16075 ... here.
16076 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16078 ... here.
16079 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16081 ... here.
16082 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16084 ... here.
16085 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16087 ... here.
16088 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16090 ... here.
16091 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16093 ... here.
16094 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16096
cfc82fd8
JM
16097 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16098 definitions to architecture-specific files.
16099 (TLS_IE): Likewise.
16100 (TLS_LD): Likewise.
16101 (TLS_GD): Likewise.
16102 * sysdeps/i386/tls-macros.h: New file.
16103 * sysdeps/powerpc/tls-macros.h: Likewise.
16104 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16105 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16106 * sysdeps/sh/tls-macros.h: Likewise.
16107 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16108 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16109 * sysdeps/x86_64/tls-macros.h: Likewise.
16110
f7db3170
TS
161112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16112
07cbfc23
TS
16113 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16114 zero value for regular exit case.
16115
f7db3170
TS
16116 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16117 (__start_context): Preserve zero value for regular exit case.
16118
dc97c227
TS
161192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16120 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16121
16122 * manual/setjmp.texi (setcontext): Clarify normal process
16123 termination when uc_link is the null pointer.
16124 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16125 exit call.
16126
d0cd7d02
AS
161272012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16128
16129 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16130 preprocessor. Test for each exception mask separately.
16131
dd318934
AJ
161322012-07-16 Andreas Jaeger <aj@suse.de>
16133
16134 * po/ru.po: Update from translation team.
16135
8048311a
JM
161362012-07-15 Joseph Myers <joseph@codesourcery.com>
16137
16138 * conform/data/string.h-data (NULL): Use macro-constant. Require
16139 equal to 0.
16140 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16141 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16142 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16143 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16145
b637d46e
AJ
161462012-07-13 Andreas Jaeger <aj@suse.de>
16147
16148 * po/fr.po: Update from translation team.
16149
541428fe
MP
161502012-07-12 Marek Polacek <polacek@redhat.com>
16151
16152 [BZ #14173]
16153 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16154 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16155 loop condition.
16156
ec332e94
JM
161572012-07-12 Joseph Myers <joseph@codesourcery.com>
16158
16159 [BZ #13717]
16160 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16161 Change to 2.4.1 where previously 2.4.0.
16162 * sysdeps/unix/sysv/linux/configure: Regenerated.
16163 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16164 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16165 version.
16166 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16167 (__ASSUME_AT_CLKTCK): Remove.
16168 (__ASSUME_AT_PAGESIZE): Likewise.
16169 (__ASSUME_AT_XID): Likewise.
16170 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16171 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16172 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16173 unconditionally.
16174 (HAVE_AUX_PAGESIZE): Likewise.
16175 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16176 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16177 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16178
7b6e99be
JB
161792012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16180
16181 [BZ #14307]
16182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16183 the temporary buffer used to invoke __gethostbyname2_r,
16184 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16185 host_data / struct gaih_addrtuple.
16186 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16187 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16188 header file nss/nsswitch.h.
16189 * nss/nsswitch.h (global scope): Add definition of implementation
16190 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16191 resolv/nss_dns/dns-host.c).
16192
608404eb
AJ
161932012-07-11 Andreas Jaeger <aj@suse.de>
16194
16195 * po/fr.po: Update from translation team.
16196
71220aca
AJ
16197 * po/sv.po: Update from translation team
16198 * po/fr.po: Another update from translation team.
16199
28cfe843
AZ
162002012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16201
16202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16203 for subnormals or multiply small sinh result by itself.
16204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16206
6b90f981
DM
162072012-07-11 David S. Miller <davem@davemloft.net>
16208
16209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16210
c6825772
AS
162112012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16212
16213 [BZ #14347]
16214 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16215 (INTERNAL_MARK): Shift it here.
16216
7b8e0d49
MP
162172012-07-10 Marek Polacek <polacek@redhat.com>
16218
16219 [BZ #14151]
16220 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16221 libc_cv_asm_global_directive with .globl.
16222 * configure: Regenerated.
16223 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16224 with .globl.
16225 * sysdeps/i386/configure: Regenerated.
16226 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16227 with .globl.
16228 * sysdeps/x86_64/configure: Regenerated.
16229 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16230 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16231 * elf/tst-unique2mod2.c: Likewise.
16232 * elf/tst-unique2mod1.c: Likewise.
16233 * elf/tst-unique1mod2.c: Likewise.
16234 * elf/tst-unique1mod1.c: Likewise.
16235 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16236 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16237 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16238 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16239 * sysdeps/mach/sysdep.h: Likewise.
16240 * sysdeps/i386/sysdep.h: Likewise.
16241 * sysdeps/i386/i386-mcount.S: Likewise.
16242 * sysdeps/x86_64/_mcount.S: Likewise.
16243 * sysdeps/x86_64/sysdep.h: Likewise.
16244 * sysdeps/sh/_mcount.S: Likewise.
16245 * sysdeps/sh/sysdep.h: Likewise.
16246 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16247 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16248 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16249 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16250 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16251 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16252 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16253 * locale/localeinfo.h: Likewise.
16254 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16255 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16256
6c55cda3
RM
162572012-07-09 Roland McGrath <roland@hack.frob.com>
16258
16259 [BZ #14336]
16260 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16261 system".
16262 * manual/message.texi (The Uniforum approach): Likewise.
16263 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16264 (glibc iconv Implementation): Likewise.
16265
638a572e
JM
162662012-07-09 Joseph Myers <joseph@codesourcery.com>
16267
16268 [BZ #14337]
16269 * math/s_clog.c (__clog): Avoid scaling a value down where that
16270 could result in underflow.
16271 * math/s_clog10.c (__clog10): Likewise.
16272 * math/s_clog10f.c (__clog10f): Likewise.
16273 * math/s_clog10l.c (__clog10l): Likewise.
16274 * math/s_clogf.c (__clogf): Likewise.
16275 * math/s_clogl.c (__clogl): Likewise.
16276 * math/libm-test.inc (clog_test): Add more tests.
16277 (clog10_test): Likewise.
16278 * sysdeps/i386/fpu/libm-test-ulps: Update.
16279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16280
261f4859
AS
162812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16282
0abaf3e4
AS
16283 [BZ #14283]
16284 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16285 by 7 not 8 to examine high bit of fractional part.
16286
261f4859
AS
16287 [BZ #14042]
16288 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16289 for call to __mcount_internal.
16290 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16291 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16292 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16293
f17ac40d
JM
162942012-07-06 Joseph Myers <joseph@codesourcery.com>
16295
9ad63c23
JM
16296 [BZ #14154]
16297 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16298 approximation for values within 0x1p-13f of an odd multiple of
16299 pi/4.
16300 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16301 exception. Add more tests.
16302 * sysdeps/i386/fpu/libm-test-ulps: Update.
16303
f17ac40d
JM
16304 [BZ #6778]
16305 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16306 inputs and return -1 for them. Do not check for +Inf in case not
16307 reachable for +Inf.
16308 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16309 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16310 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16311 and return -1 for them. Do not check for +Inf in case not
16312 reachable for +Inf.
16313 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16314 define.
16315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16316 and return -1 for them. Do not check for +Inf in case not
16317 reachable for +Inf.
16318 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16319 spurious underflow.
16320 * sysdeps/i386/fpu/libm-test-ulps: Update.
16321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16322
fb21f89b
MF
163232012-07-06 Mike Frysinger <vapier@gentoo.org>
16324
16325 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16326
cdfe2c5e
JM
163272012-07-05 Joseph Myers <joseph@codesourcery.com>
16328
16329 [BZ #14157]
16330 [BZ #14331]
16331 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16332 could result in spurious underflow. Scale down values above
16333 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16334 * math/s_csqrtf.c (__csqrtf): Likewise.
16335 * math/s_csqrtl.c (__csqrtl): Likewise.
16336 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16337 spurious underflow.
16338 * sysdeps/i386/fpu/libm-test-ulps: Update.
16339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16340
70d35b67
AS
163412012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16342
704bc459
AS
16343 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16344 xopen-msg.sed.
16345 * catgets/xopen-msg.awk: New file.
16346 * catgets/xopen-msg.sed: Removed.
16347
70d35b67
AS
16348 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16349 po2text.sed.
16350 * intl/po2test.awk: New file.
16351 * intl/po2test.sed: Removed.
16352
ca61cf32
JM
163532012-07-04 Joseph Myers <joseph@codesourcery.com>
16354
16355 [BZ #14328]
16356 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16357 or multiply small sinh result by itself.
16358 * math/s_ctanf.c (__ctanf): Likewise.
16359 * math/s_ctanh.c (__ctanh): Likewise.
16360 * math/s_ctanhf.c (__ctanhf): Likewise.
16361 * math/s_ctanhl.c (__ctanhl): Likewise.
16362 * math/s_ctanl.c (__ctanl): Likewise.
16363 * math/libm-test.inc (ctan_test_tonearest): New function.
16364 (ctan_test_towardzero): Likewise.
16365 (ctan_test_downward): Likewise.
16366 (ctan_test_upward): Likewise.
16367 (ctanh_test_tonearest): Likewise.
16368 (ctanh_test_towardzero): Likewise.
16369 (ctanh_test_downward): Likewise.
16370 (ctanh_test_upward): Likewise.
16371 (main): Call these new functions.
16372 * sysdeps/i386/fpu/libm-test-ulps: Update.
16373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16374
ca48a46a
MF
163752012-07-03 Mike Frysinger <vapier@gentoo.org>
16376
16377 * .gitignore: Delete /ports entry.
16378
9d63d37d
AJ
163792012-07-03 Andreas Jaeger <aj@suse.de>
16380
16381 * po/bg.po: Update from translation team.
16382 * po/cs.po: Likewise.
16383 * po/de.po: Likewise.
16384 * po/hr.po: Likewise.
16385 * po/nl.pl: Likewise.
16386 * po/pl.po: Likewise.
16387 * po/vi.po: Likewise.
16388
370ca3d2
JM
163892012-07-03 Joseph Myers <joseph@codesourcery.com>
16390
95f5a9a8
JM
16391 * Makeconfig [!+link] (+link-before-libc): New variable.
16392 [!+link] (+link-after-libc): Likewise.
16393 [!+link] (+link-tests): Likewise.
16394 [!+link] (+link): Define in terms of $(+link-before-libc) and
16395 $(+link-after-libc).
16396 [!+link-static] (+link-static-before-libc): New variable.
16397 [!+link-static] (+link-static-after-libc): Likewise.
16398 [!+link-static] (+link-static-tests): Likewise.
16399 [!+link-static] (+link-static): Define in terms of
16400 $(+link-static-before-libc) and $(+link-static-after-libc).
16401 [build-shared] (link-libc-before-gnulib): New variable.
16402 [build-shared] (link-libc-tests): Likewise.
16403 [build-shared] (link-libc): Define in terms of
16404 $(link-libc-before-gnulib).
16405 [!build-shared] (link-libc-tests): New variable.
16406 (link-libc-static-tests): New variable.
16407 [!gnulib] (gnulib-arch): New variable.
16408 [!gnulib] (gnulib-tests): Likewise.
16409 [!gnulib] (static-gnulib-arch): Likewise.
16410 [!gnulib] (static-gnulib-tests): Likewise.
16411 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16412 Define with "=" instead of ":=".
16413 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16414 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16415 * Rules (binaries-all-notests): New variable.
16416 (binaries-all-tests): Likewise.
16417 (binaries-static-notests): Likewise.
16418 (binaries-static-tests): Likewise.
16419 (binaries-all): Define using $(binaries-all-notests) and
16420 $(binaries-all-tests).
16421 (binaries-static): Define using $(binaries-static-notests) and
16422 $(binaries-static-tests).
16423 (binaries-shared-tests): New variable.
16424 (binaries-shared-notests): Likewise.
16425 (binaries-shared): Remove variable.
16426 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16427 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16428 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16429 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16430 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16431 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16432 * elf/Makefile (sln-modules): New variable.
16433 (extra-objs): Add $(sln-modules:=.o).
16434 (ldconfig-modules): Add static-stubs.
16435 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16436 * elf/static-stubs.c: New file.
16437
7a845b2c
JM
16438 [BZ #14283]
16439 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16440 by 7 not 8 to examine high bit of fractional part. Use volatile
16441 variables when splitting into final array of floats if
16442 __FLT_EVAL_METHOD__ != 0.
16443 * math/libm-test.inc (cos_test): Add another test.
16444 (sin_test): Likewise.
16445 * sysdeps/i386/fpu/libm-test-ulps: Update.
16446
e2283f38
JM
16447 [BZ #14273]
16448 * math/libm-test.inc (cosh_test): Add more tests.
16449
370ca3d2
JM
16450 * version.h (RELEASE): Set to "development".
16451 (VERSION): Set to "2.16.90".
16452
ee9247c3
CD
164532012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16454
16455 * NEWS: Update copyright. Remove last-updated date.
16456 Mention math library bug fixes and timezone data changes.
16457 * README: Mention GNU/Hurd, x32, and HPPA support status.
16458
4648c381
TS
164592012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16460
16461 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16462
aac78a43
AJ
164632012-06-27 Andreas Jaeger <aj@suse.de>
16464
16465 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16466
ed3dbfad
AJ
164672012-06-25 Andreas Jaeger <aj@suse.de>
16468
16469 * sysdeps/s390/fpu/libm-test-ulps: Update.
16470
4d0ee855
AS
164712012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16472 Thomas Schwinge <thomas@codesourcery.com>
16473
16474 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16475 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16476 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16477 fanotify_mark.
16478
af1bce34
TS
164792012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16480
a9fa33ba
TS
16481 * sysdeps/mach/start.c: Remove file.
16482 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16483 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16484 * sysdeps/sh/init-first.c: Likewise.
16485
58f902b8
TS
16486 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16487 registers for frame unwinding purposes, add CFI directives.
16488 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16489 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16490 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16491 Likewise.
16492
1518f58b
TS
16493 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16494 __fortify_fail returning.
16495 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16496
db9b5059
TS
16497 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16498 sysdeps/sh/____longjmp_chk.S.
16499 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16500 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16501 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16502 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16503
967705fe
TS
16504 * sysdeps/sh/abort-instr.h: New file.
16505 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16506 process in case exit returns.
16507
a9def8c4
TS
16508 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16509 initialize the GOT register before use.
16510
2a649725
TS
16511 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16512 calculation of ARGC > 4.
16513
af1bce34
TS
16514 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16515 meaningful names to some local labels.
16516
d230f50a
KK
165172012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16518 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16519
16520 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16521 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16522 (__arch_compare_and_exchange_val_16_acq): Likewise.
16523 (__arch_compare_and_exchange_val_32_acq): Likewise.
16524 (atomic_exchange_and_add): Fix gUSA sequence.
16525 (atomic_add): Likewise.
16526 (atomic_add_negative): Likewise.
16527 (atomic_add_zero): Likewise.
16528 (atomic_bit_test_set): Likewise.
16529
0479b305
AS
165302012-06-22 Andreas Schwab <schwab@redhat.com>
16531
16532 [BZ #13579]
16533 * include/link.h (struct link_map): Add l_free_initfini.
16534 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16535 l_initfini.
16536 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16537 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16538 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16539 set.
16540
0e3933b9
CD
165412012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16542
16543 * configure.in: Use AC_LANG_SOURCE.
16544 * configure: Regenerate.
16545
4248b1b1
RM
165462012-06-22 Roland McGrath <roland@hack.frob.com>
16547
16548 * configure.in (libc_cv_localstatedir): New substituted variable.
16549 * configure: Regenerated.
16550 * config.make.in (localstatedir): New variable, substituted from
16551 libc_cv_localstatedir.
16552 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16553 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16554 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16555 * sysdeps/gnu/configure: Regenerated.
16556
006dd861
JL
165572012-06-21 Jeff Law <law@redhat.com>
16558
16559 [BZ #14277]
16560 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16561 free. Simplify list management for _LIBC case.
16562
79662d42
JM
165632012-06-21 Joseph Myers <joseph@codesourcery.com>
16564
b7abb4bf
JM
16565 [BZ #14273]
16566 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16567 Clear sign bit of 64-bit integer value before comparing against
16568 overflow value.
16569
79662d42
JM
16570 * sysdeps/mach/configure: Regenerated.
16571
1f150908
L
165722012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16573
16574 [BZ #14278]
16575 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16576
28363bbf
JL
165772012-06-21 Jeff Law <law@redhat.com>
16578
16579 [BZ #13882]
16580 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16581 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16582 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16583 * elf/dl-open.c (dl_open_worker): Likewise.
16584
09615db4
CD
165852012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16586
16587 * scripts/list-sources.sh: Scan PORTS for translations.
16588 * po/libc.pot: Regenerated.
16589
2174c6dd
AJ
165902012-06-21 Andreas Jaeger <aj@suse.de>
16591
16592 [BZ #12194]
16593 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16594 warning.
16595 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16596 * bits/byteswap-16.h (__bswap_16): Likewise.
16597 * bits/byteswap.h (__bswap_constant_16): Likewise.
16598
3ee947b1
L
165992012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16600
16601 [BZ #14117]
a2f34833
L
16602 * sysdeps/i386/fpu_control.h: Removed.
16603 * sysdeps/x86_64/fpu_control.h: Moved to ...
16604 * sysdeps/x86/fpu_control.h: Here.
16605
3ee947b1
L
16606 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16607 (_FPU_SETCW): Likewise.
16608
ed1825f8
L
166092012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16610
25f1282a
L
16611 [BZ #14117]
16612 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16613 * sysdeps/x86/fpu/bits/mathinline.h: This.
16614 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16615
ed1825f8
L
16616 [BZ #14050]
16617 [BZ #14117]
16618 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16619 functions if __x86_64__ is defined.
16620
36d54b74
CLT
166212012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16622
16623 * string/endian.h: Add !__ASSEMBLER__ condition for including
16624 conversion interfaces.
16625
10285c21
JM
166262012-06-15 Joseph Myers <joseph@codesourcery.com>
16627
16628 [BZ #14241]
16629 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16630 of ABS(x) in calculating zero to negative powers other than odd
16631 integers.
16632 * math/libm-test.inc (pow_test): Add more tests.
16633
06c5abbd
AJ
166342012-06-15 Andreas Jaeger <aj@suse.de>
16635
16636 * manual/contrib.texi (Contributors): Update entry of Liubov
16637 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16638 Machado Filho.
16639
a3aeac40
CH
166402012-06-15 Cyril Hrubis <metan@ucw.cz>
16641
16642 * string/string.h: Add __wur to GNU version of strerror_r.
16643
49bdf4c1
L
166442012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16645
16646 [BZ #14229]
16647 * string/Makefile (tests): Add tst-strtok_r.
16648 * string/tst-strtok_r.c: New file.
16649 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16650 RAX_LP/RDX_LP on SAVE_PTR.
16651
834f9b8d
RM
166522012-06-14 Roland McGrath <roland@hack.frob.com>
16653
16654 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16655
75fa1921
JM
166562012-06-14 Joseph Myers <joseph@codesourcery.com>
16657
16658 * libm_test.inc (csqrt_test): Allow more spurious underflow
16659 exceptions.
16660 (j0_test): Likewise.
16661 (j1_test): Likewise.
16662 (y0_test): Likewise.
16663 (y1_test): Likewise.
16664
771766df
CD
166652012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16666
16667 * po/Makefile (libc.pot): Use UTF-8 charset.
16668
ceb9e56b
PP
166692012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16670
16671 [BZ #14210]
16672 Suppress sign-conversion warning from FD_SET.
16673 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16674 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16675 not unsigned long int.
16676 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16677
ddb28975
L
166782012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16679
16680 [BZ #14050]
16681 [BZ #14117]
16682 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16683 __extern_always_inline instead of __extern_inline.
16684 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16685 (__signbit): Likewise.
16686 (__signbitl): Support C++ namespace.
16687 (lrintf): New inline function.
16688 (lrint): Likewise.
16689 (llrintf): Likewise.
16690 (llrint): Likewise.
16691 (fmaxf): Likewise.
16692 (fmax): Likewise.
16693 (fminf): Likewise.
16694 (fmin): Likewise.
16695 (rint): Likewise.
16696 (rintf): Likewise.
16697 (ceil): Likewise.
16698 (ceilf): Likewise.
16699 (floor): Likewise.
16700 (floorf): Likewise.
16701 (nearbyint): Likewise.
16702 (nearbyintf): Likewise.
16703
d7b4fb26
TS
167042012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16705
16706 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16707 non-default versions.
16708
eb55f5c2
RM
167092012-06-11 Roland McGrath <roland@hack.frob.com>
16710
16711 [BZ #14218]
16712 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16713
366af02c
TS
167142012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16715
99ff6e5c
TS
16716 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16717 (FE_UPWARD, FE_DOWNWARD): Don't define.
16718 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16719 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16720
366af02c
TS
16721 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16722 reading it.
16723 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16724 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16725
793ea851
KK
167262012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16727
16728 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16730 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16731 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16732
a728a38f
L
167332012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16734
16735 [BZ #14117]
c08010c7
L
16736 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16737 * sysdeps/i386/fpu/Implies: New file.
16738 * sysdeps/x86_64/fpu/Implies: Likewise.
16739 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16740 * sysdeps/x86/fpu/bits/fenv.h: This.
16741
a728a38f
L
16742 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16743 __SSE_MATH__.
16744
6e230d11
SP
167452012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16746
16747 [BZ #14134]
16748 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16749 character 0xffff that matches the last element of the
16750 conversion table.
16751
1b671feb
AZ
167522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16753
16754 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16755 fmodl commit.
16756
6043738b
AZ
167572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16758
16759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16760 values higher than 25.6283.
16761
34ae0b32
AZ
167622012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16763
16764 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16765 subnormal exponent extraction and add some __builtin_expect.
16766 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16767 Fix for subnormal mantissa calculation.
16768
1214ec8f
MF
167692012-06-04 Mike Frysinger <vapier@gentoo.org>
16770
16771 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16772 cpu2 is -1 and errno is not ENOSYS.
16773
f3d1f93c
L
167742012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16775
16776 [BZ #14117]
0e4a3cd7
L
16777 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16778 * sysdeps/x86/bits/string.h: This.
16779 * sysdeps/x86_64/bits/string.h: Removed.
16780
6704c645
L
16781 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16782 if not compiling for x86-64, but compiling for >= i486.
16783
48495318
L
16784 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16785 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16786
14adcbfc
L
16787 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16788 New macro from Linux kernel 3.4.0.
16789 (FP_XSTATE_MAGIC2): Likewise.
16790 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16791 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16792 (struct _fpx_sw_bytes): New struct.
16793 (struct _xsave_hdr): Likewise.
16794 (struct _ymmh_state): Likewise.
16795 (struct _xstate): Likewise.
16796
68e408ab
L
16797 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16798 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16799 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16800 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16801 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16802 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16803
f3d1f93c
L
16804 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16805 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16806 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16807 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16808 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16809 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16810
d9dc34cd
TMQMF
168112012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16812
16813 [BZ #13743]
16814 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16815 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16816 (sysdep_headers): Include sys/platform/ppc.h.
16817 * sysdeps/powerpc/test-gettimebase.c: Test for
16818 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16819 * manual/Makefile (appendices): Include platform.texi.
16820 * manual/contrib.texi (Contributors): Update @node pointers.
16821 * manual/maint.texi (Maintenance): Likewise.
16822 (Platform): New node.
16823 * manual/platform.texi: New file. Document the new features.
16824
4af3879c
SP
168252012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16826 Jakub Jelinek <jakub@redhat.com>
16827
16828 [BZ #14188]
16829 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16830 where __builtin_expect is unavailable.
16831
2fd6ff13
DM
168322012-06-03 David S. Miller <davem@davemloft.net>
16833
16834 * stdlib/longlong.h: Updated from GCC.
16835
173f7220
AS
168362012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16837
16838 [BZ #14042]
16839 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16840 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16841 __mcount_internal.
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16843 (GLIBC_2.16): Likewise.
16844
f34a1c6f
L
168452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16846
16847 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16848
88a4576f
JM
168492012-06-01 Joseph Myers <joseph@codesourcery.com>
16850
ea32bcdd
JM
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16852 (default-abi): New variable.
16853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16854 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16855 variable.
16856 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16857 Likewise.
16858 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16859 Likewise.
16860 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16861 Likewise.
16862
88a4576f
JM
16863 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16864 definition. Document in comment.
16865
402fe938
DM
168662012-06-01 David S. Miller <davem@davemloft.net>
16867
16868 * stdlib/longlong.h: Updated from GCC.
16869
3553723f
L
168702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16871
16872 [BZ #14117]
3bd872c4
L
16873 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16874 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16875 sys/debugreg.h sys/io.h here.
16876 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16877 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16878 sys/io.h.
16879 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16880 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16881 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16882 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16883 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16884 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16885
3553723f
L
16886 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16887 Define only if __x86_64__ is defined.
16888
4842e4fe
JM
168892012-06-01 Joseph Myers <joseph@codesourcery.com>
16890
c5bfe3d5
JM
16891 [BZ #14048]
16892 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16893 Use int64_t for variable i.
16894 * math/libm-test.inc (fmod_test): Add more tests.
16895
4842e4fe
JM
16896 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16897 z computation is not scheduled after fetestexcept.
16898 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16899 Use math_force_eval instead of asm to ensure calculation scheduled
16900 before exception test.
16901 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16902 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16903
efb73488
AJ
169042012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16905
16906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16907 computation is not scheduled after fetestexcept.
16908
29bcce7c
L
169092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16910
16911 [BZ #14117]
16912 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16913 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16914
73a68f94
AZ
169152012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16916
16917 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16918 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16919
67b6df78
L
169202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16921
edf2933a 16922 [BZ #14117]
ebc64a18
L
16923 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16924 <bits/wordsize.h>.
16925 (__WCHAR_MIN): Support __WORDSIZE == 64.
16926 (__WCHAR_MAX): Likewise.
16927
edf2933a
L
16928 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16929 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16930
57c6cf40
L
16931 [BZ #14183]
16932 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16933 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16934
67b6df78 16935 [BZ #14117]
8eb6281e
L
16936 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16937 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16938
aac639f4
L
16939 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16940 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16941
67b6df78
L
16942 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16943 Defined to 1 if __x86_64__ isn't defined.
16944 (_STAT_VER_LINUX_OLD): New.
16945 (st_atime): Remove duplicate.
16946 (st_mtime): Likewise.
16947 (st_ctime): Likewise.
16948
1c2cfe81
DM
169492012-05-31 David S. Miller <davem@davemloft.net>
16950
16951 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16952 entries.
16953
5be8418c
AS
169542012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16955
e7725326
AS
16956 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16957 gen-libm-test.pl.
16958
5be8418c
AS
16959 [BZ #14132]
16960 * elf/dl-reloc.c: Include <_itoa.h>.
16961 (_dl_reloc_bad_type): Remove use of INTUSE.
16962 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16963 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16964 * stdio-common/psiginfo.c (psiginfo): Likewise.
16965 * stdio-common/psignal.c (psignal): Likewise.
16966 * string/strsignal.c (strsignal): Likewise.
16967 * include/signal.h (_sys_siglist): Declare hidden proto.
16968 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16969 INTVARDEF with libc_hidden_data_def.
16970 * stdio-common/itoa-udigits.c: Likewise.
16971 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16972 (_itoa_lower_digits_internal): Remove declaration.
16973 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16974 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16975 (_sys_sigabbrev_internal): Remove aliases.
16976 (_sys_siglist): Define hidden alias.
16977
507352f1
MT
169782012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16979
16980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16981 bits/sysctl.h.
16982
42bbb1c3
L
169832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16984
16985 [BZ #14117]
6bd784b6
L
16986 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16987 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16988
8bca20f0
L
16989 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16990 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16991 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16992 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16993 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16994 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16995
f9e890a9
L
16996 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16997 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16998 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16999
471101a1
L
17000 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17001 with __addr.
17002 (insw): Likewise.
17003 (insl): Likewise.
17004 (outsb): Likewise.
17005 (outsw): Likewise.
17006 (outsl): Likewise.
17007
6451c862
L
17008 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17009 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17010 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17011
a254b8c9
L
17012 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17013 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17014 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17015 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17016 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17017 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17018
b8dfdd92
L
17019 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17020 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17021
578cd270
L
17022 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17023 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17024
de662f5f
L
17025 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17026 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17027 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17028
25653439
L
17029 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17030 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17031 to ...
17032 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17033
6bad24a0
L
17034 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17035 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17036 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17037
42bbb1c3
L
17038 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17039 for x86-64.
17040 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17041
2d10d547
JM
170422012-05-31 Joseph Myers <joseph@codesourcery.com>
17043
17044 * math/math.h (M_El): Use two more decimal places.
17045 (M_LOG2El): Likewise.
17046 (M_LOG10El): Likewise.
17047 (M_LN2l): Likewise.
17048 (M_LN10l): Likewise.
17049 (M_PIl): Likewise.
17050 (M_PI_2l): Likewise.
17051 (M_PI_4l): Likewise.
17052 (M_1_PIl): Likewise.
17053 (M_2_PIl): Likewise.
17054 (M_2_SQRTPIl): Likewise.
17055 (M_SQRT2l): Likewise.
17056 (M_SQRT1_2l): Likewise.
17057
f230c29b
DM
170582012-05-31 David S. Miller <davem@davemloft.net>
17059
17060 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17061 values between float registers.
17062 * sysdeps/sparc/sparc64/memset.S: Likewise.
17063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17064
fed806c3
MF
170652012-05-31 Mike Frysinger <vapier@gentoo.org>
17066
17067 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17068 -D_FORTIFY_SOURCE=1.
17069 (CPPFLAGS-tst-longjmp_chk.c): Define.
17070 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17071 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17072 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17073 CFLAGS-tst-wchar-h.c.
17074
30917259
MP
170752012-05-31 Marek Polacek <polacek@redhat.com>
17076
17077 [BZ #14132]
17078 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17079 __endmntent_internal): Remove declaration.
17080 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17081 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17082 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17083
1c58d5dc
DM
170842012-05-30 David S. Miller <davem@davemloft.net>
17085
17086 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17087 (___Q_simulate_exceptions): Use real FP ops rather than writing
17088 into the %fsr.
17089 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17090 Likewise.
17091
7dc00e0d
L
170922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17093
17094 [BZ #14117]
0bd53985
L
17095 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17096 * sysdeps/x86/bits/xtitypes.h: This.
17097
3a257e66
L
17098 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17099 * sysdeps/x86/bits/wordsize.h: This.
17100
62f62904
L
17101 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17102 * sysdeps/x86/bits/huge_vall.h: This.
17103
404fe9d9
L
17104 * sysdeps/i386/bits/select.h: Removed.
17105 * sysdeps/x86_64/bits/select.h: Renamed to ...
17106 * sysdeps/x86/bits/select.h: This.
17107
d48d0446
L
17108 * sysdeps/i386/bits/setjmp.h: Removed.
17109 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17110 * sysdeps/x86/bits/setjmp.h: This.
17111
7dc00e0d
L
17112 * sysdeps/i386/bits/mathdef.h: Removed.
17113 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17114 * sysdeps/x86/bits/mathdef.h: This.
17115
03277f8f
AS
171162012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17117
17118 [BZ #14132]
17119 * include/sys/socket.h (__connect_internal)
17120 (__libc_sa_len_internal): Remove declaration.
17121 (__connect, __libc_sa_len): Declare hidden_proto.
17122 (SA_LEN): Remove use of INTUSE.
17123 * socket/connect.c: Add libc_hidden_def.
17124 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17125 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17126 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17127 alias.
17128 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17129 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17130 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17131 of adding _internal alias.
17132
13764867
L
171332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17134
17135 [BZ #14117]
6bd97696
L
17136 * sysdeps/i386/bits/link.h: Removed.
17137 * sysdeps/i386/bits/linkmap.h: Likewise.
17138 * sysdeps/x86_64/bits/link.h: Renamed to ...
17139 * sysdeps/x86/bits/link.h: This.
17140 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17141 * sysdeps/x86/bits/linkmap.h: This.
17142
f726f0bb
L
17143 * sysdeps/i386/bits/endian.h: Removed.
17144 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17145 * sysdeps/x86/bits/endian.h: This.
17146
13764867
L
17147 * sysdeps/i386/bits/byteswap.h: Removed.
17148 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17149 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17150 * sysdeps/x86/bits/byteswap.h: This.
17151 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17152 * sysdeps/x86/bits/byteswap-16.h: This.
17153 * sysdeps/i386/Implies: Add x86.
17154 * sysdeps/x86_64/Implies: Likewise.
17155
ae251b0b
DM
171562012-05-30 David S. Miller <davem@davemloft.net>
17157
17158 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17159 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17160 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17161 (FP_TRAPPING_EXCEPTIONS): Define.
17162 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17163 (FP_TRAPPING_EXCEPTIONS): Define.
17164 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17165 subnormals only when inexact has been signalled or underflow
17166 exceptions are enabled.
17167 (_FP_PACK_CANONICAL): Likewise.
17168
d5c90867
L
171692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17170
17171 [BZ #14183]
17172 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17173 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17174
63f1549e
RH
171752012-05-30 Richard Henderson <rth@twiddle.net>
17176
8d8f2279
RH
17177 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17178 with #ifndef NOT_IN_libc.
17179
63f1549e
RH
17180 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17181 marked to avoid plt entry.
17182
0ab0291b
L
171832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17184
17185 [BZ #14112]
17186 * Makeconfig (default-abi): New macro.
17187 (abi-includes): Likewise.
17188 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17189 $(abi-$(default-abi)-lib-soname) for soname if defined.
17190 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17191 abi-variants.
17192 * Makefile (installed-stubs): Likewise.
17193 * include/stubs-biarch.h: Removed.
17194 * scripts/lib-names.awk: Only handle one library at a time.
17195 * scripts/soversions.awk: Remove WORDSIZE support.
17196 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17197 entries.
17198 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17199 Removed.
17200 (syscall-list-default-condition): Likewise.
17201 (syscall-list-default-condition): Likewise.
17202 (syscall-list-includes): Likewise.
17203 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17204 syscall-list-* with abi-*. Handle undefined abi-variants.
17205 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17206 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17207 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17208 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17209 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17210 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17211 Removed.
17212 (syscall-list-32-options): Likewise.
17213 (syscall-list-32-condition): Likewise.
17214 (syscall-list-64-options): Likewise.
17215 (syscall-list-64-condition): Likewise.
17216 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17217 macro.
17218 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17219 Renamed to ...
17220 (abi-*): This.
17221 (abi-64-ld-soname): New macro.
17222 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17223 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17224 Renamed to ...
17225 (abi-*): This.
17226 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17227 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17228
4da0431d
JM
172292012-05-30 Joseph Myers <joseph@codesourcery.com>
17230
3a85279c
JM
17231 * sysdeps/unix/sysv/linux/kernel-features.h
17232 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17233 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17234 include <kernel-features.h>.
17235 [!__NR_ftruncate64]: Remove conditional code.
17236 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17237 [__NR_ftruncate64]: Make code unconditional.
17238 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17239 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17240 include <kernel-features.h>.
17241 [!__NR_ftruncate64]: Remove conditional code.
17242 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17243 [__NR_ftruncate64]: Make code unconditional.
17244 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17246 include <kernel-features.h>.
17247 [!__NR_ftruncate64]: Remove conditional code.
17248 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17249 [__NR_ftruncate64]: Make code unconditional.
17250 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17252 include <kernel-features.h>.
17253 [!__NR_ftruncate64]: Remove conditional code.
17254 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17255 [__NR_ftruncate64]: Make code unconditional.
17256 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17257
4da0431d
JM
17258 * configure.in (libc_cv_fpie): Weaken to a compile test using
17259 LIBC_TRY_CC_OPTION.
17260 * configure: Regenerated.
17261
11ef492c
AK
172622012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17263
17264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17268 Refreshed.
17269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17275 Refreshed.
17276
d66ef399
DM
172772012-05-27 David S. Miller <davem@davemloft.net>
17278
17279 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17280 (___Q_zero): New.
17281 (__Q_simulate_exceptions): Return void. Change to simulate
17282 exceptions by writing into the %fsr.
17283 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17284 (__Qp_handle_exceptions): Likewise.
17285 (numbers): Delete.
17286 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17287 __Qp_handle_exceptions.
17288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17289 __Qp_handle_exceptions.
17290 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17291 as unused and give dummy FP_RND_NEAREST initializer.
17292 (FP_INHIBIT_RESULTS): Define.
17293 (___Q_simulate_exceptions): Update declaration.
17294 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17295 formatting.
17296 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17297 as unused and give dummy FP_RND_NEAREST initializer.
17298 (__Qp_handle_exceptions): Update declaration.
17299 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17300 formatting.
17301
04fb54b5
TS
173022012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17303
17304 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17305 the temporary FPU control word.
17306 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17307 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17308 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17309 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17310 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17311 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17312 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17313 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17314 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17315 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17316 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17317
3f99608f
KK
173182012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17319
17320 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17321 fields.
17322
65a4de4e
CLT
173232012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17324
17325 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17326 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17327 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17328 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17329 Likewise.
17330 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17331 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17332 Likewise.
17333
15749d40
UD
173342012-05-27 Ulrich Drepper <drepper@gmail.com>
17335
17336 * po/h.po: Update from translation team.
17337
25dbcb27
AS
173382012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17339
3d3f8e55
AS
17340 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17341
25dbcb27
AS
17342 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17343 handling of denormals.
17344 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17345 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17346 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17347 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17351 Likewise.
17352
7ad47a80 173532012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17354
17355 [BZ #14152]
17356 * math/libm-test.inc (fma_test): Don't always expect underflow
17357 exception.
17358
9c6ea9fa
SP
173592012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17360
17361 [BZ #12416]
17362 * elf/tst-execstack.c: Include stackinfo.h.
17363 (do_test): Adjust test case to ensure that pthread_getattr_np
17364 behaviour remains the same after marking stack executable.
17365
a8239222
JM
173662012-05-25 Joseph Myers <joseph@codesourcery.com>
17367
17368 * sysdeps/unix/sysv/linux/kernel-features.h
17369 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17370 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17371 kernel-features.h.
17372 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17373 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17374 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17375 kernel-features.h.
17376 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17377 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17378
918b5606
L
173792012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17380
17381 * configure.in: Define the default includes to being none.
17382 * configure: Regenerated.
17383
3a097cc7
RM
173842012-05-25 Roland McGrath <roland@hack.frob.com>
17385
8422c9a5
RM
17386 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17387 * sysdeps/x86_64/setjmp.S: Likewise.
17388 * sysdeps/i386/bsd-setjmp.S: Likewise.
17389 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17390 * sysdeps/i386/setjmp.S: Likewise.
17391 * sysdeps/i386/__longjmp.S: Likewise.
17392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17393 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17394
3a097cc7
RM
17395 * include/stap-probe.h: New file.
17396 * configure.in: Handle --enable-systemtap.
17397 * configure: Regenerated.
17398 * config.h.in (USE_STAP_PROBE): New #undef.
17399 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17400 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17401 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17402
21708942
JM
174032012-05-25 Joseph Myers <joseph@codesourcery.com>
17404
17405 [BZ #13717]
17406 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17407 to 2.4.0 where earlier.
17408 * sysdeps/unix/sysv/linux/configure: Regenerated.
17409 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17410 <kernel-features.h>.
17411 [__ASSUME_32BITUIDS]: Make code unconditional.
17412 [!__ASSUME_32BITUIDS]: Remove conditional code.
17413 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17414 <kernel-features.h>.
17415 [__ASSUME_32BITUIDS]: Make code unconditional.
17416 [!__ASSUME_32BITUIDS]: Remove conditional code.
17417 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17418 [__ASSUME_32BITUIDS]: Make code unconditional.
17419 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17420 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17421 <kernel-features.h>.
17422 [__ASSUME_32BITUIDS]: Make code unconditional.
17423 [!__ASSUME_32BITUIDS]: Remove conditional code.
17424 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17425 <kernel-features.h>.
17426 [__ASSUME_32BITUIDS]: Make code unconditional.
17427 [!__ASSUME_32BITUIDS]: Remove conditional code.
17428 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17429 <kernel-features.h>.
17430 [__ASSUME_32BITUIDS]: Make code unconditional.
17431 [!__ASSUME_32BITUIDS]: Remove conditional code.
17432 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17433 <kernel-features.h>.
17434 [__ASSUME_32BITUIDS]: Make code unconditional.
17435 [!__ASSUME_32BITUIDS]: Remove conditional code.
17436 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17437 <kernel-features.h>.
17438 [__ASSUME_32BITUIDS]: Make code unconditional.
17439 [!__ASSUME_32BITUIDS]: Remove conditional code.
17440 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17441 <kernel-features.h>.
17442 [__ASSUME_32BITUIDS]: Make code unconditional.
17443 [!__ASSUME_32BITUIDS]: Remove conditional code.
17444 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17445 <kernel-features.h>.
17446 [__ASSUME_32BITUIDS]: Make code unconditional.
17447 [!__ASSUME_32BITUIDS]: Remove conditional code.
17448 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17449 <kernel-features.h>.
17450 [__ASSUME_32BITUIDS]: Make code unconditional.
17451 [!__ASSUME_32BITUIDS]: Remove conditional code.
17452 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17453 <kernel-features.h>.
17454 [__ASSUME_32BITUIDS]: Make code unconditional.
17455 [!__ASSUME_32BITUIDS]: Remove conditional code.
17456 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17457 <kernel-features.h>.
17458 [__ASSUME_32BITUIDS]: Make code unconditional.
17459 [!__ASSUME_32BITUIDS]: Remove conditional code.
17460 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17461 <kernel-features.h>.
17462 [__NR_setresgid] (__setresgid): Do not declare.
17463 [__ASSUME_32BITUIDS]: Make code unconditional.
17464 [!__ASSUME_32BITUIDS]: Remove conditional code.
17465 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17466 <kernel-features.h>.
17467 [__NR_setresuid] (__setresuid): Do not declare.
17468 [__ASSUME_32BITUIDS]: Make code unconditional.
17469 [!__ASSUME_32BITUIDS]: Remove conditional code.
17470 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17471 <kernel-features.h>.
17472 [__ASSUME_32BITUIDS]: Make code unconditional.
17473 [!__ASSUME_32BITUIDS]: Remove conditional code.
17474 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17475 <kernel-features.h>.
17476 [__ASSUME_32BITUIDS]: Make code unconditional.
17477 [!__ASSUME_32BITUIDS]: Remove conditional code.
17478 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17479 <kernel-features.h>.
17480 [__ASSUME_32BITUIDS]: Make code unconditional.
17481 [!__ASSUME_32BITUIDS]: Remove conditional code.
17482 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17483 <kernel-features.h>.
17484 [__ASSUME_32BITUIDS]: Make code unconditional.
17485 [!__ASSUME_32BITUIDS]: Remove conditional code.
17486 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17487 <kernel-features.h>.
17488 [__ASSUME_32BITUIDS]: Make code unconditional.
17489 [!__ASSUME_32BITUIDS]: Remove conditional code.
17490 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17491 <kernel-features.h>.
17492 [__ASSUME_32BITUIDS]: Make code unconditional.
17493 [!__ASSUME_32BITUIDS]: Remove conditional code.
17494 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17495 <kernel-features.h>.
17496 [__ASSUME_32BITUIDS]: Make code unconditional.
17497 [!__ASSUME_32BITUIDS]: Remove conditional code.
17498 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17499 <kernel-features.h>.
17500 [__ASSUME_32BITUIDS]: Make code unconditional.
17501 [!__ASSUME_32BITUIDS]: Remove conditional code.
17502 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17503 <kernel-features.h>.
17504 [__ASSUME_32BITUIDS]: Make code unconditional.
17505 [!__ASSUME_32BITUIDS]: Remove conditional code.
17506 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17507 <kernel-features.h>.
17508 [__ASSUME_32BITUIDS]: Make code unconditional.
17509 [!__ASSUME_32BITUIDS]: Remove conditional code.
17510 * sysdeps/unix/sysv/linux/kernel-features.h
17511 (__ASSUME_SETRESUID_SYSCALL): Remove.
17512 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17513 (__ASSUME_32BITUIDS): Likewise.
17514 (__ASSUME_LDT_WORKS): Likewise.
17515 (__ASSUME_O_DIRECTORY): Likewise.
17516 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17517 architecture but not kernel version.
17518 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17519 (__ASSUME_MMAP2_SYSCALL): Likewise.
17520 (__ASSUME_STAT64_SYSCALL): Likewise.
17521 (__ASSUME_IPC64): Likewise.
17522 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17523 <kernel-features.h>.
17524 [__ASSUME_32BITUIDS]: Make code unconditional.
17525 [!__ASSUME_32BITUIDS]: Remove conditional code.
17526 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17527 <kernel-features.h>.
17528 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17529 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17530 132096]: Remove conditional code.
17531 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17532 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17533 <kernel-features.h>.
17534 [__ASSUME_32BITUIDS]: Make code unconditional.
17535 [!__ASSUME_32BITUIDS]: Remove conditional code.
17536 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17537 <kernel-features.h>.
17538 [__ASSUME_32BITUIDS]: Make code unconditional.
17539 [!__ASSUME_32BITUIDS]: Remove conditional code.
17540 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17541 <kernel-features.h>.
17542 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17543 unconditional.
17544 (__setresgid): Do not declare.
17545 [__ASSUME_32BITUIDS]: Make code unconditional.
17546 [!__ASSUME_32BITUIDS]: Remove conditional code.
17547 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17548 <kernel-features.h>.
17549 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17550 unconditional.
17551 (__setresuid): Do not declare.
17552 [__ASSUME_32BITUIDS]: Make code unconditional.
17553 [!__ASSUME_32BITUIDS]: Remove conditional code.
17554 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17555 <kernel-features.h>.
17556 [__ASSUME_32BITUIDS]: Make code unconditional.
17557 [!__ASSUME_32BITUIDS]: Remove conditional code.
17558 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17559 <kernel-features.h>.
17560 [__ASSUME_32BITUIDS]: Make code unconditional.
17561 [!__ASSUME_32BITUIDS]: Remove conditional code.
17562
a386f1cc
RH
175632012-05-25 Richard Henderson <rth@twiddle.net>
17564
17565 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17566 dl_hwcap to ifunc resolver.
17567 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17568 elf_ifunc_invoke.
17569 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17570 dl_hwcap to ifunc resolver.
17571 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17572
b6550497
JM
175732012-05-24 Joseph Myers <joseph@codesourcery.com>
17574
17575 [BZ #14153]
17576 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17577 for |x| <= 2**-26, not 2**-57.
17578 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17579 exception.
17580
b0bc23a1
JL
175812012-05-24 Jeff Law <law@redhat.com>
17582
17583 * stdio-common/Makefile (tests): Add bug25.
17584 * stdio-common/bug25.c: New test.
17585
347c92e9
L
175862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17587
17588 [BZ #13576]
17589 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17590 multiple of MALLOC_ALIGNMENT in size.
17591 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17592
6bcc8b3f
JM
175932012-05-24 Joseph Myers <joseph@codesourcery.com>
17594
17595 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17596 Require >= 256.
17597 (FILENAME_MAX): Use macro-int-constant.
17598 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17599 (_IOFBF): Use macro-int-constant.
17600 (_IOLBF): Likewise.
17601 (_IONBF): Likewise.
17602 (SEEK_CUR): Likewise.
17603 (SEEK_END): Likewise.
17604 (SEEK_SET): Likewise.
17605 (TMP_MAX): Likewise.
17606 (EOF): Use macro-int-constant. Require < 0.
17607 (NULL): Use macro-constant. Require == 0.
17608 (stdin): Require type to be FILE *.
17609 (stdout): Likewise.
17610 (stderr): Likewise.
17611 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17612 macro-int-constant.
17613 (EXIT_SUCCESS): Likewise.
17614 (NULL): Use macro-constant. Require == 0.
17615 (RAND_MAX): Use macro-int-constant.
17616 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17617 [C99-based standards] (strtof): Require function.
17618 [C99-based standards] (strtold): Likewise.
17619 [C99-based standards] (strtoll): Likewise.
17620 [C99-based standards] (strtoull): Likewise.
17621 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17622 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17623 [ISO || ISO99 || ISO11] (math.h): Likewise.
17624 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17625 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17626 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17627
d18ea0c5
AS
176282012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17629
17630 [BZ #14132]
56d25bb8
AS
17631 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17632 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17633 * intl/dgettext.c (DCGETTEXT): Likewise.
17634 * intl/gettext.c (DCGETTEXT): Likewise.
17635 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17636 * posix/regex_internal.h (gettext): Likewise.
17637 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17638 Remove declaration.
17639 * include/argz.h (__argz_count_internal)
17640 (__argz_stringify_internal): Remove declaration.
17641 (__argz_count, __argz_stringify): Declare hidden proto.
17642 * intl/dcgettext.c: Remove use of INTDEF.
17643 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17644 * string/argz-stringify.c: Likewise.
17645 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17646 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17647 Declare hidden proto.
d18ea0c5
AS
17648 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17649 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17650 Declare hidden proto.
17651 * include/stdio.h (__asprintf_internal): Don't declare.
17652 (__asprintf): Don't define as macro. Declare hidden proto.
17653 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17654 (__fsetlocking): Declare hidden proto.
17655 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17656 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17657 hidden proto.
17658 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17659 (_IO_setlinebuf): Remove use of INTUSE.
17660 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17661 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17662 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17663 Remove declaration.
17664 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17665 (_IO_do_flush): Remove use of INTUSE.
17666 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17667 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17668 (_IO_adjust_column, _IO_least_wmarker)
17669 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17670 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17671 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17672 (_IO_default_doallocate, _IO_wdefault_doallocate)
17673 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17674 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17675 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17676 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17677 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17678 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17679 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17680 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17681 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17682 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17683 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17684 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17685 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17686 proto.
17687 (_IO_flush_all_internal, _IO_adjust_column_internal)
17688 (_IO_default_uflow_internal, _IO_default_finish_internal)
17689 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17690 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17691 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17692 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17693 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17694 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17695 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17696 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17697 (_IO_file_close_internal, _IO_file_close_it_internal)
17698 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17699 (_IO_file_init_internal, _IO_file_attach_internal)
17700 (_IO_file_fopen_internal, _IO_file_read_internal)
17701 (_IO_file_sync_internal, _IO_file_seek_internal)
17702 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17703 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17704 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17705 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17706 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17707 (_IO_list_all_internal, _IO_link_in_internal)
17708 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17709 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17710 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17711 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17712 (_IO_do_write_internal, _IO_padn_internal)
17713 (_IO_getline_info_internal, _IO_getline_internal)
17714 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17715 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17716 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17717 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17718 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17719 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17720 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17721 with libc_hidden_ver, remove use of INTUSE.
17722 * libio/genops.c: Likewise.
17723 * libio/freopen.c: Likewise.
17724 * libio/freopen64.c: Likewise.
17725 * libio/iofclose.c: Likewise.
17726 * libio/iofdopen.c: Likewise.
17727 * libio/iofflush.c: Likewise.
17728 * libio/iofflush_u.c: Likewise.
17729 * libio/iofgets.c: Likewise.
17730 * libio/iofgets_u.c: Likewise.
17731 * libio/iofopen.c: Likewise.
17732 * libio/iofopncook.c: Likewise.
17733 * libio/iofread.c: Likewise.
17734 * libio/iofread_u.c: Likewise.
17735 * libio/ioftell.c: Likewise.
17736 * libio/iofwrite.c: Likewise.
17737 * libio/iogetline.c: Likewise.
17738 * libio/iogets.c: Likewise.
17739 * libio/iogetwline.c: Likewise.
17740 * libio/iopadn.c: Likewise.
17741 * libio/iopopen.c: Likewise.
17742 * libio/ioseekoff.c: Likewise.
17743 * libio/ioseekpos.c: Likewise.
17744 * libio/iosetbuffer.c: Likewise.
17745 * libio/iosetvbuf.c: Likewise.
17746 * libio/ioungetc.c: Likewise.
17747 * libio/ioungetwc.c: Likewise.
17748 * libio/iovdprintf.c: Likewise.
17749 * libio/iovsprintf.c: Likewise.
17750 * libio/iovsscanf.c: Likewise.
17751 * libio/memstream.c: Likewise.
17752 * libio/obprintf.c: Likewise.
17753 * libio/oldfileops.c: Likewise.
17754 * libio/oldiofclose.c: Likewise.
17755 * libio/oldiofdopen.c: Likewise.
17756 * libio/oldiofopen.c: Likewise.
17757 * libio/oldiopopen.c: Likewise.
17758 * libio/oldstdfiles.c: Likewise.
17759 * libio/putc.c: Likewise.
17760 * libio/setbuf.c: Likewise.
17761 * libio/setlinebuf.c: Likewise.
17762 * libio/stdfiles.c: Likewise.
17763 * libio/strops.c: Likewise.
17764 * libio/vasprintf.c: Likewise.
17765 * libio/vscanf.c: Likewise.
17766 * libio/vsnprintf.c: Likewise.
17767 * libio/vswprintf.c: Likewise.
17768 * libio/wfiledoalloc.c: Likewise.
17769 * libio/wfileops.c: Likewise.
17770 * libio/wgenops.c: Likewise.
17771 * libio/wmemstream.c: Likewise.
17772 * libio/wstrops.c: Likewise.
17773 * libio/__fpurge.c: Likewise.
17774 * libio/__fsetlocking.c: Likewise.
17775 * assert/assert.c: Likewise.
17776 * debug/fgets_chk.c: Likewise.
17777 * debug/fgets_u_chk.c: Likewise.
17778 * debug/fread_chk.c: Likewise.
17779 * debug/fread_u_chk.c: Likewise.
17780 * debug/gets_chk.c: Likewise.
17781 * debug/obprintf_chk.c: Likewise.
17782 * debug/vasprintf_chk.c: Likewise.
17783 * debug/vdprintf_chk.c: Likewise.
17784 * debug/vsnprintf_chk.c: Likewise.
17785 * debug/vsprintf_chk.c: Likewise.
17786 * malloc/mtrace.c: Likewise.
17787 * misc/error.c: Likewise.
17788 * misc/syslog.c: Likewise.
17789 * stdio-common/asprintf.c: Likewise.
17790 * stdio-common/fxprintf.c: Likewise.
17791 * stdio-common/getw.c: Likewise.
17792 * stdio-common/isoc99_fscanf.c: Likewise.
17793 * stdio-common/isoc99_scanf.c: Likewise.
17794 * stdio-common/isoc99_vfscanf.c: Likewise.
17795 * stdio-common/isoc99_vscanf.c: Likewise.
17796 * stdio-common/isoc99_vsscanf.c: Likewise.
17797 * stdio-common/printf-prs.c: Likewise.
17798 * stdio-common/printf_fp.c: Likewise.
17799 * stdio-common/printf_fphex.c: Likewise.
17800 * stdio-common/printf_size.c: Likewise.
17801 * stdio-common/putw.c: Likewise.
17802 * stdio-common/scanf.c: Likewise.
17803 * stdio-common/sprintf.c: Likewise.
17804 * stdio-common/tmpfile.c: Likewise.
17805 * stdio-common/vfprintf.c: Likewise.
17806 * stdio-common/vfscanf.c: Likewise.
17807 * stdlib/strfmon_l.c: Likewise.
17808 * sunrpc/openchild.c: Likewise.
17809 * sunrpc/xdr_stdio.c: Likewise.
17810 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17811 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17812
d6c33fda
RM
178132012-05-24 Roland McGrath <roland@hack.frob.com>
17814
c1487492
RM
17815 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17816
17817 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17818 in the third column, to generate for the shared library an IFUNC
17819 that uses _dl_vdso_vsym.
17820 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17821 * Makeconfig (object-suffixes-noshared): New variable.
17822
17823 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17824 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17825 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17826 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17827
d6c33fda
RM
17828 [BZ #14132]
17829 * include/sys/time.h (__gettimeofday): Remove macro.
17830 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17831 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17832 Remove INTDEF.
17833 (__gettimeofday): Add libc_hidden_def.
17834 (gettimeofday): Add libc_hidden_weak.
17835 * sysdeps/mach/gettimeofday.c: Likewise.
17836 * sysdeps/posix/gettimeofday.c: Likewise.
17837 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17838 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17840 (__gettimeofday_internal): Remove strong_alias.
17841 (__gettimeofday): Add libc_hidden_def.
17842 (gettimeofday): Add libc_hidden_weak.
17843 * sysdeps/unix/syscalls.list (gettimeofday):
17844 Remove __gettimeofday_internal alias.
17845
b5a2bbe6
L
178462012-05-24 Daniel Jacobowitz <drow@false.org>
17847 H.J. Lu <hongjiu.lu@intel.com>
17848
17849 [BZ #12495]
17850 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17851 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17852 (largebin_index_32_big): New.
17853 (largebin_index): Use it for 16-byte alignment.
17854 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17855 correction with front_misalign.
17856
cfba4fda
L
178572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17858
7f907421
L
17859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17861 Likewise.
17862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17863 Likewise.
17864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17865 Likewise.
17866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17867 Likewise.
17868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17869 Likewise.
17870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17871 Likewise.
17872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17873 Likewise.
17874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17875 Likewise.
17876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17877 Likewise.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17879 Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17881 Likewise.
17882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17883 Likewise.
17884
cfba4fda
L
17885 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17886 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17887
80bad0cc
JM
178882012-05-24 Joseph Myers <joseph@codesourcery.com>
17889
7a25eb06
JM
17890 [BZ #10846]
17891 [BZ #14036]
17892 * math/libm-test.inc (exp_test): Add test from bug 14036.
17893 (pow_test): Add test from bug 10846.
17894
795405f9
JM
17895 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17896 and other flags.
17897 (special_function): Do not include flags in test name.
17898 (parse_args): Likewise.
17899 * sysdeps/i386/fpu/libm-test-ulps: Update.
17900 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17901 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17902 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17904
80bad0cc
JM
17905 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17906 exceptions.
17907 * math/libm-test.inc ("Philosophy"): Update comment about
17908 exception testing.
17909 (UNDERFLOW_EXCEPTION): New macro.
17910 (UNDERFLOW_EXCEPTION_OK): Likewise.
17911 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17912 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17913 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17914 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17915 (INVALID_EXCEPTION_OK): Update value.
17916 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17917 (OVERFLOW_EXCEPTION_OK): Likewise.
17918 (IGNORE_ZERO_INF_SIGN): Likewise.
17919 (test_exceptions): Handle underflow exceptions.
17920 (acos_test): Update for underflow exception expectations.
17921 (cexp_test): Likewise.
17922 (clog_test): Likewise.
17923 (clog10_test): Likewise.
17924 (csqrt_test): Likewise.
17925 (ctan_test): Likewise.
17926 (ctanh_test): Likewise.
17927 (exp_test): Likewise.
17928 (exp10_test): Likewise.
17929 (exp2_test): Likewise.
17930 (expm1_test): Likewise.
17931 (fma_test): Likewise.
17932 (j0_test): Likewise.
17933 (jn_test): Likewise.
17934 (nexttoward_test): Likewise.
17935 (pow_test): Likewise.
17936 (scalbn_test): Likewise.
17937 (scalbln_test): Likewise.
17938 (tan_test): Likewise.
17939 (y1_test): Likewise.
17940 * sysdeps/i386/fpu/libm-test-ulps: Update.
17941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17942
9e0e3d0b
DM
179432012-05-23 David S. Miller <davem@davemloft.net>
17944
17945 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17946 (__libc_sigaction): Remove unused local variables.
17947
ccd0a08f
L
179482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17951
62bdf9a6
PE
179522012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17953
f8591f80
PE
17954 mktime: avoid signed integer overflow
17955 * time/mktime.c (__mktime_internal): Do not mishandle the case
17956 where diff == INT_MIN.
17957
94c7d826
PE
17958 mktime: simplify computation of average
17959 * time/mktime.c (ranged_convert): Use new time_t_avg function
17960 instead of rolling our own (probably-slower) code.
17961
ce73d683
PE
17962 mktime: do not assume signed right shift propagates sign bit
17963 * time/mktime.c (isdst_differ): New static function.
17964 (__mktime_internal): No need to normalize tm_isdst now.
17965 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17966 tm_isdst values.
17967
72a22e59
PE
17968 mktime: merge another wrapv change from gnulib
17969 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17970 from some compilers.
17971
68605433
PE
17972 mktime: remove incorrect attempt at unusual arithmetics
17973 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17974 The code didn't really work on such machines anyway.
17975 (TYPE_MINIMUM): Assume two's complement.
17976 (twos_complement_arithmetic): Verify that long_int and time_t
17977 are two's complement (or unsigned, in the latter case).
17978
03cf7fe3
PE
17979 mktime: check signed shifts on long_int and time_t, too
17980 * time/mktime.c (SHR): Check that shifts work as desired
17981 on the types long_int and time_t too, as SHR is used on
17982 such types.
17983
f04dfbc2
PE
17984 mktime: do not assume 'long' is wide enough
17985 * time/mktime.c (verify): Move decl up.
17986 (long_int): New type.
17987 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17988 to remove assumption in the code that 'long' is wide enough to
17989 store year values. This assumption is not true on x32 and on
17990 some non-glibc platforms.
17991
62bdf9a6
PE
17992 mktime: merge wrapv change from gnulib
17993 * time/mktime.c (WRAPV): New macro.
17994 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17995 (guess_time_tm, __mktime_internal): Do not assume that signed
17996 integer overflow wraps around; modern compilers generate code
17997 where this assumption is no longer valid.
17998
5e292e4f
L
179992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18000
18001 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18002 Replace "jmp L(pseudo_end)" with "ret".
18003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18004 Likewise.
18005
8caf8c87
AJ
180062012-05-23 Andreas Jaeger <aj@suse.de>
18007
18008 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18009 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18010
1a09dc56
AJ
180112012-05-23 Andreas Jaeger <aj@suse.de>
18012 Maximilian Attems <max@stro.at>
18013
18014 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18015 New macros.
18016
1c87aba0
L
180172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18018
18019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18020 code so that pseudo_end is just ret and the stack pointer is
18021 correct also for static library in error case.
18022
40e45bd5
JM
180232012-05-23 Joseph Myers <joseph@codesourcery.com>
18024
c2670533
JM
18025 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18026 move to syscalls.list.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18031
40e45bd5
JM
18032 * manual/install.texi (Running make install): Do not mention Linux
18033 kernel version for which pt_chown is not needed.
18034 (Linux): Do not mention problems with nscd with 2.0 kernels.
18035 * INSTALL: Regenerated.
18036
be08eda5
AJ
180372012-05-23 Andreas Jaeger <aj@suse.de>
18038
18039 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18040 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18041 macro.
18042 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18043 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18044 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18046 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18048 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18050 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18051 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18052 * sysdeps/unix/sysv/linux/bits/in.h
18053 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18054
a6a056bb
RM
180552012-05-22 Roland McGrath <roland@hack.frob.com>
18056
18057 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18058 (PREPARE_VERSION): Just use assert instead, it will be elided
18059 under [NDEBUG] anyway.
18060
c9009328
L
180612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18062
18063 * sysdeps/unix/sysv/linux/Makefile: Include
18064 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18065 (sysdep_routines): Remove sysctl.
c9009328
L
18066 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18067 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18069 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18070 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18071
73338355
AJ
180722012-05-22 Andreas Jaeger <aj@suse.de>
18073
18074 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18075 that pseudo_end is just ret and the stack pointer is correct also
18076 for static library in error case.
18077
d44638b0
PP
180782012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18079
18080 [BZ #14122]
18081 * nss/nsswitch.c (defconfig_entries): New variable.
18082 (__nss_database_lookup): Don't leak defconfig entries.
18083 (nss_parse_service_list): Don't leak on error paths.
18084 (free_database_entries): New function.
18085 (free_defconfig): New function.
18086 (free_mem): Move common code to free_database_entries.
18087
31a39bd8
L
180882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18089
da0331a8
L
18090 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18091 Add arch_prctl.
18092 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18093
31a39bd8
L
18094 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18095 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18097 New macro.
18098 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18099 (INTERNAL_SYSCALL_TYPES): Likewise.
18100 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18101 (LOAD_REGS_TYPES_[1-6]): Likewise.
18102 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18103 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18104
45470df3
AZ
181052012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18106
18107 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18108 copysignl for GLIBC_2_0.
18109 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18110 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18112 logbl for GLIBC_2_0.
18113 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18114 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18115
98a61bcb
L
181162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18117
a4f6e481
L
18118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18119 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18120
f63d5db6
L
18121 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18122 Use "neg %eax".
18123
98a61bcb
L
18124 * time/mktime.c: Update copyright years.
18125
95770f14
PE
181262012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18127
6226efbd
PE
18128 mktime: merge comment-quoting-style change from gnulib
18129 * time/mktime.c: Quote 'like this' in comments.
18130 The GNU coding standards suggest that we no longer quote `like this',
18131 as "`" and "'" are typically rendered asymmetrically nowadays.
18132 The typical gnulib style is to quote 'like this' when quoting
18133 code, and "like this" when quoting English.
18134
b99e4f78
PE
18135 * time/mktime.c (compile-command): Add "-I.".
18136
643e01e6
PE
18137 mktime: merge mktime-internal.h change from gnulib
18138 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18139
2554247d
PE
18140 mktime: merge time_r change from gnulib
18141 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18142
826dd0ab
PE
18143 mktime: merge DEBUG change from gnulib
18144 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18145 case system <time.h> has a #define.
18146
bd83aabe
PE
18147 mktime: merge <sys/types.h> change from gnulib
18148 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18149 since <time.t> is now guaranteed to define time_t.
18150
95770f14
PE
18151 mktime: merge HAVE_CONFIG_H change from gnulib
18152 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18153
5e1a27a9
L
181542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18155
0e44a77e
L
18156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18157 Use "neg %eax".
18158
5e1a27a9
L
18159 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18160 __rlim_t cast.
18161 (struct rusage): Use anonymous union to pad each field to
18162 __syscall_slong_t.
18163
46259bec
DM
181642012-05-21 David S. Miller <davem@davemloft.net>
18165
18166 * Makefules (o-iterator): Remove .s cases.
18167 (compile-command.s): Delete.
18168 (COMPILE.s): Delete.
18169 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18170
59f0c22e
JM
181712012-05-21 Joseph Myers <joseph@codesourcery.com>
18172
18173 * configure.in (libc_cv_predef_stack_protector): Only consider
18174 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18175 * configure: Regenerated.
18176
20c07380
L
181772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18178
bbb3154b
L
18179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18180 New macro. Use R*LP on int and pointer.
18181 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18182 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18183 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18184 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18185
20c07380
L
18186 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18187 [__WORDSIZE_TIME64_COMPAT32] instead of
18188 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18189 (struct utmp): Likewise.
18190 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18191 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18192 Renamed to ...
18193 (__WORDSIZE_TIME64_COMPAT32): This.
18194 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18195 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18196 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18197 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18198 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18199 (__WORDSIZE_TIME64_COMPAT32): New macro.
18200
d8d1017e
AJ
182012012-05-21 Andreas Jaeger <aj@suse.de>
18202
18203 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18204 only if [SHARED]. Add prototype for __wcschr_ia32.
18205
6c7fb145
RM
182062012-05-21 Roland McGrath <roland@hack.frob.com>
18207
18208 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18209 of %rbp unmolested in the jmp_buf while mangling the low bits.
18210 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18211 unmolested high bits of %rbp while demangling the low bits.
18212 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18213
66274218
AJ
182142012-05-21 Andreas Jaeger <aj@suse.de>
18215
07c58f8f
AJ
18216 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18217 * sunrpc/svc_simple.c: Use it for registerrpc.
18218 * sunrpc/xcrypt.c: Use it for passwd2des.
18219
66274218
AJ
18220 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18221
61f65140
L
182222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18223
18224 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18225 Don't define if [__SYSCALL_WORDSIZE != 32].
18226 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18227 New macro.
18228
5fefb436
AJ
182292012-05-21 Bruno Haible <bruno@clisp.org>
18230 Andreas Jaeger <aj@suse.de>
18231
18232 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18233 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18234 inptr and inend for must_buffer_ch.
18235 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18236 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18237 * stdio-common/Makefile (tests): Remove bug15.
18238 (bug15-ENV): Remove macro.
18239 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18240 anymore.
18241
d8e272ab
AJ
182422012-05-19 Andreas Jaeger <aj@suse.de>
18243 Roland McGrath <roland@hack.frob.com>
18244
18245 * manual/contrib.texi: Completely rewritten. It contains now an
18246 alphabetical list of contributors and their contributions.
18247
4a56a162
RH
182482012-05-21 Richard Henderson <rth@twiddle.net>
18249
18250 * misc/getauxval.c (__getauxval): Use unsigned long int.
18251 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18252 (getauxval): Use unsigned long int.
18253
d024d23c
L
182542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18255
18256 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18257
cbc00a03
RM
182582012-05-21 Roland McGrath <roland@hack.frob.com>
18259
18260 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18261 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18262 __alignof__ (long double).
18263
478143fa
AZ
182642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18265
18266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18267
c7683a6d
RH
182682012-05-20 Richard Henderson <rth@twiddle.net>
18269
18270 * misc/getauxval.c: New file.
18271 * misc/sys/auxv.h: New file.
18272 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18273 (routines): Add getauxval.
18274 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18275 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18276 * elf/dl-sysdep.c (_dl_auxv): Remove.
18277 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18278 * elf/dl-support.c (_dl_auxv): New variable.
18279 (_dl_aux_init): Initialize it.
18280 * manual/startup.texi (Auxiliary Vector): New node.
18281 * sysdeps/generic/bits/hwcap.h: New file.
18282 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18283 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18284 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18285 * sysdeps/sparc/sysdep.h: ... here. Include it.
18286 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18287 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18289 Update.
c7683a6d
RH
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18293 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18298
a6f1845d
AZ
182992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18300
18301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18302
cbcbe830
DM
183032012-05-19 David S. Miller <davem@davemloft.net>
18304
18305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18306
e0b16cc2
JM
183072012-05-19 Joseph Myers <joseph@codesourcery.com>
18308
18309 [BZ #14123]
18310 * math/s_ccosh.c: Include <float.h>
18311 (__ccosh): Avoid internal overflow calculating sinh and cosh
18312 values before multiplying by sin and cos values.
18313 * math/s_ccoshf.c: Likewise.
18314 * math/s_ccoshl.c: Likewise.
18315 * math/s_csin.c: Likewise.
18316 * math/s_csinf.c: Likewise.
18317 * math/s_csinl.c: Likewise.
18318 * math/s_csinh.c: Likewise.
18319 * math/s_csinhf.c: Likewise.
18320 * math/s_csinhl.c: Likewise.
18321 * math/libm-test.inc (ccos_test): Add more tests.
18322 (ccosh_test): Likewise.
18323 (csin_test): Likewise.
18324 (csinh_test): Likewise.
18325 * sysdeps/i386/fpu/libm-test-ulps: Update.
18326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18327
6ad13e08
L
183282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18329
f66f0ce8
L
18330 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18331 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18332
6ad13e08
L
18333 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18334
b1d072a7
JM
183352012-05-19 Joseph Myers <joseph@codesourcery.com>
18336
18337 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18338 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18339 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18340 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18341 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18342 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18343 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18344 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18345 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18346 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18347 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18348 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18349 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18350 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18351 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18352 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18353 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18354 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18355 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18356 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18357 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18358 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18359 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18360 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18361 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18362 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18363 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18364 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18365 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18366 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18367 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18368
9eae47cb
AJ
183692012-05-18 Andreas Jaeger <aj@suse.de>
18370
18371 * csu/.gitignore: Delete.
18372
bb07f69f
L
183732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18374
18375 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18376 (timex): Use __syscall_slong_t.
18377
e6bdb741
AJ
183782012-05-18 Andreas Jaeger <aj@suse.de>
18379 Carlos O'Donell <carlos_odonell@mentor.com>
18380
18381 * manual/install.texi (Configuring and compiling): Update
18382 description about files modified in the source directory.
d6c33fda 18383 * INSTALL: Regenerated.
e6bdb741 18384
1b74487e
L
183852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18386
18387 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18388 value. Use "or" to set return value to -1.
18389 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18390 negate return value.
18391
a88b64b9
TMQMF
183922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18393
18394 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18395 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18396 failure if the compiler has Graphite support disabled.
18397 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18398 Likewise.
18399 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18400 CFLAGS-memmove.c): Likewise.
18401 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18402 Likewise.
18403
3707636e
L
184042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18405
610b8622
L
18406 * sysdeps/x86_64/x32/_itoa.h: New file.
18407
7cd195df
L
18408 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18409 getdents system call only if kernel and user dirents have the
18410 same d_ino and d_off.
18411
94b07d20
L
18412 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18413 LLONG_MAX != LONG_MAX.
18414 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18415 (_fitoa_word): Likewise.
18416
18298070
L
18417 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18418 years.
18419 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18420 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18421 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18422
553c7ea4
L
18423 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18424 include <bits/wordsize.h>. Check __x86_64__ instead of
18425 __WORDSIZE.
18426 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18427 if __x86_64__ is defined. Use anonymous union on fpstate.
18428
3707636e
L
18429 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18430 anonymous union.
18431
b53ef01a
AS
184322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18433
37fb1dc0
AS
18434 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18435 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18436 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18437 Refer to _rtld_local_ro instead of _rtld_global_ro.
18438 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18439 Likewise.
18440 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18441 Likewise.
18442 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18443 Likewise.
18444 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18445 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18446 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18447
b53ef01a
AS
18448 * sysdeps/powerpc/powerpc32/dl-machine.c
18449 (__elf_machine_runtime_setup) [PROF]: Don't reference
18450 _dl_prof_resolve.
18451
7a185db2
AJ
184522012-05-18 Andreas Jaeger <aj@suse.de>
18453
18454 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18455 function only available for GCCs before 3.4 since GCC 3.4
18456 introduced a builtin.
18457 (lrint): Likewise.
18458 (llrintf): Likewise.
18459 (llrint): Likewise.
18460 (fmaxf): Likewise.
18461 (fmax): Likewise.
18462 (fminf): Likewise.
18463 (fmin): Likewise.
18464 (rint): Likewise.
18465 (rintf): Likewise.
18466 (nearbyint): Likewise.
18467 (nearbyintf): Likewise.
18468 (ceil): Likewise.
18469 (ceilf): Likewise.
18470 (floor): Likewise.
18471 (floorf): Likewise.
18472
3e5aef87
L
184732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18474
428bd707
L
18475 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18476 on both fields and cast pointer to __syscall_ulong_t.
18477
3e5aef87
L
18478 * bits/types.h (__fsword_t): New type.
18479 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18480 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18481 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18482 (__FSWORD_T_TYPE): Likewise.
18483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18484 (__FSWORD_T_TYPE): Likewise.
18485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18486 (__FSWORD_T_TYPE): Likewise.
18487 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18488 (__FSWORD_T_TYPE): Likewise.
18489 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18490 __SWORD_TYPE with __fsword_t.
18491 (statfs64): Likewise.
18492
1ba7c3dc
DM
184932012-05-17 David S. Miller <davem@davemloft.net>
18494
18495 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18496
59910343
AJ
184972012-05-17 Andreas Jaeger <aj@suse.de>
18498
18499 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18500 warning.
18501
2e4c1e9e
L
185022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18503
18504 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18505
de7f5ce7
AJ
185062012-05-17 Andreas Jaeger <aj@suse.de>
18507
18508 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18509 when it is used.
18510
286abc3d
CM
185112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18512
18513 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18514
477cc68e
L
185152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18516
18517 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18518 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18519
1a0994f5
CD
185202012-05-17 Andreas Jaeger <aj@suse.de>
18521 Carlos O'Donell <carlos_odonell@mentor.com>
18522
18523 [BZ #14059]
18524 * sysdeps/x86_64/multiarch/init-arch.h
18525 (bit_YMM_Usable): Rename to...
18526 (bit_AVX_Usable): ... this.
18527 (bit_FMA4_Usable): New macro.
18528 (bit_XMM_state): New macro.
18529 (bit_YMM_state): New macro.
18530 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18531 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18532 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18533 (CPUID_OSXSAVE): New macro.
18534 (CPUID_AVX): New macro.
18535 (CPUID_FMA4): New macro.
18536 (index_YMM_Usable): Rename to...
18537 (index_AVX_Usable): ... this.
18538 (HAS_AVX): Use HAS_ARCH_FEATURE.
18539 (HAS_FMA4): Likewise.
18540 (HAS_YMM_USABLE): Remove.
18541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18542 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18543 are present.
18544 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18545 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18546 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18547 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18548 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18549
0af797de
CM
185502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18551
18552 * math/libm-test.c: Support platforms without multiple rounding modes.
18553 * math/bug-nextafter.c: Support platforms without FP exceptions.
18554 * math/bug-nexttoward.c: Likewise.
18555 * math/test-fenv.c: Likewise.
18556 * math/test-misc.c: Likewise.
18557 * stdlib/bug-getcontext.c: Likewise.
18558
e39745ff
AJ
185592012-05-17 Andreas Jaeger <aj@suse.de>
18560
18561 * manual/examples/search.c (critter_cmp): Change signature to
18562 avoid warnings.
18563 * manual/string.texi (Collation Functions): Likewise.
18564
48970aba
L
185652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18566
18567 * bits/types.h: Fold copyright years.
18568 * bits/typesizes.h: Likewise.
18569 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18573 * time/time.h: Likewise.
18574
bedee953
PP
185752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18576
18577 [BZ #208]
18578 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18579 in instead of returning them. Return void.
18580 (__libc_mallinfo): Accumulate over all arenas.
18581 (__malloc_stats): Adjust for change in int_mallinfo interface.
18582
61653dfb
RM
185832012-05-16 Roland McGrath <roland@hack.frob.com>
18584
30b99d79
RM
18585 [BZ #10375]
18586 * configure.in (NM): Add AC_CHECK_TOOL for it.
18587 (libc_extra_cflags): New substituted variable.
18588 Check for -fstack-protector being used implicitly.
18589 * configure: Regenerated.
18590 * config.make.in (config-extra-cflags): New variable,
18591 gets @libc_extra_cflags@.
18592 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18593
61653dfb
RM
18594 [BZ #10375]
18595 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18596 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18597 * configure: Regenerated.
18598 * config.make.in (CPPUNDEFS): New substituted variable.
18599 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18600 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18601 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18602
661768bb
L
186032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18604
18605 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18606 (mq_attr): Use __syscall_slong_t.
18607
d4261567
L
186082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18609
18610 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18611 Check __x86_64__ instead of __WORDSIZE.
18612 (_STAT_VER_LINUX): Likewise.
18613 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18614 __syscall_ulong_t and __syscall_slong_t.
18615 (stat64): Likewise.
18616
cf3ff365
L
186172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18618
18619 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18620
76cf3e4d
L
186212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18622
18623 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18624
a637753a
L
186252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18626
18627 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18628 __syscall_ulong_t.
18629
d5e05119
L
18630 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18631 include <bits/wordsize.h>. Check __x86_64__ instead of
18632 __WORDSIZE.
18633 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18634 defined.
18635 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18636
f62ee380
L
18637 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18638 include <bits/wordsize.h>. Check __x86_64__ instead of
18639 __WORDSIZE.
18640 (user_regs_struct): Use "__extension__ unsigned long long"
18641 instead of "unsigned long" if __x86_64__ is defined.
18642 (user): Likewise. Pad after pointer field if __ILP32__ is
18643 defined.
18644
4e124ced
JM
186452012-05-16 Joseph Myers <joseph@codesourcery.com>
18646
6a3951a0
JM
18647 * configure.in (makeinfo): Require version 4.5 or later. Allow
18648 versions 5 to 9.
18649 * configure: Regenerated.
18650 * manual/install.texi (texinfo): Increase version requirement to
18651 4.5 or later.
18652 * INSTALL: Regenerated.
18653
4e124ced
JM
18654 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18655
953ca31a
L
186562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18657
18658 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18659
617aca05
L
18660 * sysdeps/x86_64/x32/ffs.c: New file.
18661
5762f7ae
L
18662 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18663 __syscall_ulong_t.
18664 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18665 defined. Use __syscall_ulong_t.
18666 (shminfo): Use __syscall_ulong_t.
18667 (shm_info): Likewise.
18668
a26b6856
L
18669 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18670 __syscall_ulong_t.
18671
cb2b9ef7
L
18672 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18673 <bits/wordsize.h>.
18674 (msgqnum_t): Use __syscall_ulong_t.
18675 (msglen_t): Likewise.
18676 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18677 __syscall_ulong_t.
18678
34683bb0
L
18679 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18680 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18681
84a68786
L
18682 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18683
48baa5f1
L
18684 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18685 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18686
180be88b
L
18687 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18688 __syscall_slong_t.
18689
5e90c8ad
L
18690 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18691 include <bits/wordsize.h>. Check __x86_64__ instead of
18692 __WORDSIZE.
18693
23dfb58b
L
18694 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18695 "unsigned long long int" if __x86_64__ is defined.
18696 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18697
ce5d54b0
L
18698 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18699 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18700 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18701
13dc9eac
L
18702 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18703 <stdint.h>.
18704 (GET_PC): Cast to uintptr_t first.
18705 (GET_FRAME): Likewise.
18706 (GET_STACK): Likewise.
18707
a7895d15
L
18708 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18709 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18710 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18711 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18712 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18713 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18714 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18715 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18716 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18719 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18720 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18721 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18722 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18723 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18724 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18725 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18726 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18727 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18728 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18729 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18730 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18731 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18732 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18733 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18734 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18735 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18736 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18737
656416c9
AS
187382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18739
5bd66283
AS
18740 * Makerules (+depfiles): Also collect depfiles from .oS in
18741 $(extra-objs).
18742 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18743 .oS, $(libnldbl-routines)).
18744
656416c9
AS
18745 * Makerules (native-compile-mkdep-flags): Define.
18746 * sunrpc/Makefile (extra-objs): Add $(addprefix
18747 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18748 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18749 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18750 calling $(make-target-directory).
18751
a46f2169
L
187522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18753
18754 * bits/types.h (__snseconds_t): Removed.
18755 * time/time.h (struct timespec): Replace __snseconds_t with
18756 __syscall_slong_t.
18757 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18758 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18759 Likewise.
18760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18761 (__SNSECONDS_T_TYPE): Likewise.
18762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18763 (__SNSECONDS_T_TYPE): Likewise.
18764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18765 (__SNSECONDS_T_TYPE): Likewise.
18766
6af6528b
L
187672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18768
18769 * sysdeps/mach/hurd/bits/typesizes.h
18770 (__SYSCALL_SLONG_TYPE): New macro.
18771 (__SYSCALL_ULONG_TYPE): Likewise.
18772
de986b56
L
187732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18774
18775 * bits/types.h (__syscall_slong_t): New type.
18776 (__syscall_ulong_t): Likewise.
18777
18778 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18779 (__SYSCALL_ULONG_TYPE): Likewise.
18780 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18781 (__SYSCALL_SLONG_TYPE): Likewise.
18782 (__SYSCALL_ULONG_TYPE): Likewise.
18783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18784 (__SYSCALL_SLONG_TYPE): Likewise.
18785 (__SYSCALL_ULONG_TYPE): Likewise.
18786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18787 (__SYSCALL_SLONG_TYPE): Likewise.
18788 (__SYSCALL_ULONG_TYPE): Likewise.
18789
85736dc7
L
187902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18791
18792 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18793 Add sigaltstack-offsets.sym.
18794 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18795 <sigaltstack-offsets.h>.
18796 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18797 longjmp_msg pointer.
18798 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18799 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18800 signal stack.
18801 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18802
cc03b296
JM
188032012-05-15 Joseph Myers <joseph@codesourcery.com>
18804
a9538892
JM
18805 * elf/stackguard-macros.h: Remove file.
18806 * sysdeps/generic/stackguard-macros.h: New file.
18807 * sysdeps/i386/stackguard-macros.h: Likewise.
18808 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18809 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18810 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18811 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18812 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18813 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18814 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18815 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18816 <elf/stackguard-macros.h>.
18817
cc03b296
JM
18818 [BZ #14109]
18819 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18820 __aligned__ in attribute.
18821 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18822 (gregset_t): Likewise.
18823
93171016
L
188242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18825
18826 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18827 * sysdeps/x86_64/64/Implies-after: Here. New file.
18828 * sysdeps/x86_64/x32/Implies-after: New file.
18829
d86813a0
L
188302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18831
18832 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18833 and access return value for _dl_profile_fixup. Use R10_LP to
18834 load frame size.
18835
2953ec75
L
188362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18837
18838 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18839
3b550e9e
L
188402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18841
18842 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18843 * sysdeps/x86_64/x32/sysdep.h: New file.
18844
eda41706
L
188452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18846
18847 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18848 * sysdeps/x86_64/setjmp.S: Likewise.
18849
9ea01d93
AZ
188502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18851
18852 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18853 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18854 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18855 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18856 remove unused global constant.
18857
02a91938
CM
188582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18859
18860 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18861 include of <not-cancel.h>.
18862
6540185f
RM
188632012-05-15 Roland McGrath <roland@hack.frob.com>
18864
18865 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18866
509072a0
AJ
188672012-05-15 Jeff Law <law@redhat.com>
18868 Andreas Jaeger <aj@suse.de>
18869
18870 [BZ #13594]
18871 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18872 out from...
18873 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18874 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18875 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18876 code changing __hst_map_handle.map.
18877
ba75122d
RM
188782012-05-15 Roland McGrath <roland@hack.frob.com>
18879
18880 * configure.in (sysnames): Look for Implies-before and Implies-after
18881 files.
18882 * configure: Regenerated.
18883
890d8bd8
L
188842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18885
18886 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18887 8-byte data alignment with LP_SIZE alignment.
18888
f6ee6623
L
188892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18890
18891 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18892 into R10_LP.
18893
ea2626f6
L
188942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18895
18896 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18897
085f715e
L
188982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18899
18900 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18901 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18902 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18903 Likewise.
18904 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18905
be8498fc
L
189062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18909 (stackinfo_sub_sp): Likewise.
18910
70bc83b9
L
189112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18912
18913 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18914 RAX_LP.
18915
9bc0b730
L
189162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18917
18918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18919 into R*_LP.
18920
6d2850e7
L
189212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18922
18923 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18924 sizes into R*_LP.
18925
3cb84561
L
189262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18927
18928 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18929
54e2ed81
L
189302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18933 into R11_LP and load __x86_64_shared_cache_size_half into
18934 R8_LP.
18935
8a17f349
L
189362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18937
18938 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18939 R8_LP.
18940
777b1eea
AZ
189412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18942
18943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18944 logb for POWER7.
18945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18946 logbf for POWER7.
18947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18948 logbl for POWER7.
18949 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18950 powerpc32/power7/fpu/s_logb.c via #include.
18951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18952 powerpc32/power7/fpu/s_logbf.c via #include.
18953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18954 powerpc32/power7/fpu/s_logbl.c via #include.
18955
d20d4ac2
JM
189562012-05-15 Joseph Myers <joseph@codesourcery.com>
18957
18958 * README.libm: Remove file.
18959
6cdef1ab
L
189602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18961
18962 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18963 count for x32. Use R*_LP and omit operand-size suffix.
18964
0b254d8f
L
189652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18966
18967 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18968 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18969 * sysdeps/x86_64/x32/shlib-versions: New file.
18970
ceb809dc
RM
189712012-05-14 Roland McGrath <roland@hack.frob.com>
18972
18973 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18974 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18975 Use _dl_fatal_printf instead.
18976
37f1abd4
JM
189772012-05-14 Joseph Myers <joseph@codesourcery.com>
18978
18979 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18980 set if not set by the user. Do not allow for being unset.
18981 * sysdeps/unix/sysv/linux/configure: Regenerated.
18982
11de3a33
L
189832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18984
18985 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18986 the `q' suffix from lea and replace .quad with ASM_ADDR.
18987
e02f153a
L
189882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18989
18990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18991 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18992 instead of $17.
18993 (PTR_DEMANGLE): Likewise.
18994
520ae0fd
L
189952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18996
18997 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18998 (LP_OP): Likewise.
18999 (ASM_ADDR): Likewise.
19000 (RAX_LP): Likewise.
19001 (RBP_LP): Likewise.
19002 (RBX_LP): Likewise.
19003 (RCX_LP): Likewise.
19004 (RDI_LP): Likewise.
19005 (RSI_LP): Likewise.
19006 (RSP_LP): Likewise.
19007 (R8_LP): Likewise.
19008 (R9_LP): Likewise.
19009 (R10_LP): Likewise.
19010 (R10_LP): Likewise.
19011 (R11_LP): Likewise.
19012 (R12_LP): Likewise.
19013 (R13_LP): Likewise.
19014 (R14_LP): Likewise.
19015 (R15_LP): Likewise.
19016
b985be81
L
190172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19018
19019 * sysdeps/x86_64/x32/dl-machine.h: New file.
19020
6a4888ff
AJ
190212012-05-14 Andreas Jaeger <aj@suse.de>
19022
19023 * manual/Makefile (subdir): Remove export of subdir.
19024 (all): Remove target.
19025 (.PHONY): Remove all from list.
19026 (mkinstalldirs): Remove.
19027 (.PHONY): Remove installdirs from list.
19028 ($(inst_infodir)/libc.info): Use make-target-directory.
19029 (installdirs): Remove.
19030 (subdir_%): Remove.
19031 (glibc-targets): Remove.
19032 (lib): Remove.
19033 (stubs): Remove.
19034 ($(objpfx)stubs ../po/manual.pot): Remove.
19035 ($(objpfx)stamp%): Remove.
19036 (make-target-directory): Remove.
19037 (subdir_install): Remove.
19038 (routines): Remove.
19039 (aux): Remove.
19040 (sources): Remove.
19041 (objects): Remove.
19042 (headers): Remove.
19043
19044 [BZ #13750]
19045 * manual/.gitignore: Remove, it's not needed anymore.
19046 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19047 all files in it.
19048 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19049 directory.
19050 (texis): Renamed to $(objpfx)texis.
19051 (texis-path): New, contains path to generated files.
19052 (chapters.%): Use texis-path for complete path, add extra argument
19053 libc-texinfo.sh.
19054 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19055 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19056 (summary,texi, stamp-summary): Use complete path of
19057 files. Generate files in build dir.
19058 (dir-add.texi): Build in build dir.
19059 (libm-err.texi,stamp-libm-err): Likewise.
19060 (version.texi, stamp-version): Likewise.
19061 (.%c.texi): Likewise.
19062 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19063 (mostlyclean): Remove target.
19064 (realclean): Remove target.
19065 (generated): Add new variable with contents from mostlyclean and
19066 realclean, remove entries duplicated in common-mostlyclean, add
19067 stamp-libm-err and stamp-version.
19068 (generated-dirs): Add libc directory.
19069 ($(inst_infodir)/libc.info): Install files from build dir.
19070
19071 * manual/install.texi (Configuring and compiling): Adjust since
19072 the info files are not part of the tar ball anymore.
19073
7ac77294
AJ
190742012-05-14 Andreas Jaeger <aj@suse.de>
19075
19076 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19077 variable.
19078
ffb7875d
JM
190792012-05-14 Joseph Myers <joseph@codesourcery.com>
19080
19081 [BZ #13717]
19082 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19083 to 2.2.0 where earlier.
19084 * sysdeps/unix/sysv/linux/configure: Regenerated.
19085 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19086 Remove conditional code.
19087 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19088 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19089 Remove conditional code.
19090 [!__NR_lchown]: Likewise.
19091 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19092 [__NR_lchown]: Likewise.
19093 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19094 comment referencing __ASSUME_LCHOWN_SYSCALL.
19095 * sysdeps/unix/sysv/linux/i386/sigaction.c
19096 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19097 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19098 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19099 Remove conditional code.
19100 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19101 (__protocol_available): Remove #if 0 code.
19102 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19103 conditional code.
19104 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19105 * sysdeps/unix/sysv/linux/kernel-features.h
19106 (__ASSUME_GETCWD_SYSCALL): Don't define.
19107 (__ASSUME_REALTIME_SIGNALS): Likewise.
19108 (__ASSUME_PREAD_SYSCALL): Likewise.
19109 (__ASSUME_PWRITE_SYSCALL): Likewise.
19110 (__ASSUME_POLL_SYSCALL): Likewise.
19111 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19112 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19113 non-SPARC.
19114 (__ASSUME_SIOCGIFNAME): Don't define.
19115 (__ASSUME_MSG_NOSIGNAL): Likewise.
19116 (__ASSUME_SENDFILE): Define unconditionally.
19117 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19118 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19119 conditional code.
19120 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19121 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19122 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19123 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19124 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19125 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19126 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19128 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19131 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19134 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19137 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19140 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19141 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19143 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19144 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19146 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19149 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19151 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19152 Remove conditional code.
19153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19154 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19155 Remove conditional code.
19156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19157 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19158 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19159 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19160 Remove conditional code.
19161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19162 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19163 Remove conditional code.
19164 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19165 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19166 Remove conditional code.
19167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19168 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19169 Remove conditional code.
19170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19171 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19172 Remove conditional code.
19173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19174 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19175 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19177 * sysdeps/unix/sysv/linux/sigaction.c
19178 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19179 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19180 * sysdeps/unix/sysv/linux/sigpending.c
19181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19183 * sysdeps/unix/sysv/linux/sigprocmask.c
19184 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19185 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19186 * sysdeps/unix/sysv/linux/sigsuspend.c
19187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19189 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19190 (__libc_missing_rt_sigs): Remove.
19191 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19192 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19193 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19194 Remove conditional code.
19195 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19196 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19197 return 1.
19198 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19199 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19200 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19201 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19202
1bfb7291
AJ
192032012-05-14 Andreas Jaeger <aj@suse.de>
19204
caae5a81
AJ
19205 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19206 it's not used in glibc.
19207 (__coshm1): Likewise.
19208 (__acosh1p): Likewise.
19209 (__sgn): Likewise.
19210
1bfb7291
AJ
19211 * manual/string.texi (Copying and Concatenation): Add missing
19212 variable in concat example.
19213 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19214
c044d724
L
192152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19216
144c5467 19217 [BZ #14103]
c044d724
L
19218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19219 __builtin_clzl with __builtin_clzll.
19220
2523c62b
L
192212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19222
19223 [BZ #14104]
19224 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19225 libc_freeres_ptr.
19226
d7bb4c42
LD
192272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19228
19229 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19230 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19231 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19232 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19233
9dc4e1fb
MF
192342012-05-14 Mike Frysinger <vapier@gentoo.org>
19235
19236 * NEWS: Update ia64 info.
19237
c7df0112
AS
192382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19239
19240 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19241 used as bcopy.
19242
dc70356c
TS
192432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19244
19245 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19246 * sysdeps/unix/syscalls.list (dup3): Likewise.
19247 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19248 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19249
9fb1a21f
L
192502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19251
19252 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19253 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19254
4822a2a5
L
192552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19256
19257 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19258 thread pointer.
19259 (TLS_IE): Use mov/add instead of movq/addq to load thread
19260 pointer.
19261 (TLS_GD_PREFIX): New.
19262 (TLS_GD): Use it.
19263
842b81d6
DM
192642012-05-11 David S. Miller <davem@davemloft.net>
19265
19266 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19267 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19268 (_FPU_SETCW): Likewise.
19269
1cf463cd
L
192702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19271
19272 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19273 is 32-byte aligned.
19274
60cc4a18
AS
192752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19276
19277 [BZ #11837]
19278 * iconvdata/gb18030.c: Update tables.
19279 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19280 characters specially.
19281 (BODY for TO_LOOP): Add encoding of missing ranges.
19282
febb44a4
TS
192832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19284
19285 [BZ #13673]
19286 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19287 * sysdeps/mach/hurd/dup3.c: Likewise.
19288 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19289 * sysdeps/powerpc/memmove.c:: Likewise.
19290
0a10fb9e
L
192912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19292
19293 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19294 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19295
df8a552f
L
192962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19297
19298 * elf/elf.h (R_X86_64_RELATIVE64): New.
19299 (R_X86_64_NUM): Updated.
19300 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19301 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19302 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19303 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19304 tst-quad1pie tst-quad2pie
19305 (modules-names): Add tst-quadmod1 tst-quadmod2.
19306 ($(objpfx)tst-quad1): New dependency.
19307 ($(objpfx)tst-quad2): Likewise.
19308 ($(objpfx)tst-quad1pie): Likewise.
19309 ($(objpfx)tst-quad2pie): Likewise.
19310 * sysdeps/x86_64/tst-quad1.c: New file.
19311 * sysdeps/x86_64/tst-quad1pie.c: New file.
19312 * sysdeps/x86_64/tst-quad2.c: Likewise.
19313 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19314 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19315 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19316 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19317 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19318
f34d6f84
ST
193192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19320
f42d41d1
ST
19321 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19322 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19323 * streams/stropts.h (t_scalar_t): Define type.
19324
3c3571fc
ST
19325 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19326 (_PATH_PRESERVE): Set to "/var/lib".
19327 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19328
61f06bd3
ST
19329 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19330 instead of int.
19331
918d4d71
ST
19332 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19333 if __dir_mkfile succeeded.
19334
f34d6f84
ST
19335 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19336 checking for _hurd_dtablesize. Unlock it right after having
19337 finished _hurd_dtable allocation.
19338
10589b4a
TS
193392012-05-10 Thomas Schwinge <thomas@schwinge.name>
19340
674cdbc7
TS
19341 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19342 * sysdeps/mach/hurd/configure: Regenerated.
19343 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19344 special-casing to...
19345 * sysdeps/gnu/configure.in: ... this new file.
19346 * sysdeps/unix/sysv/linux/configure: Regenerated.
19347 * sysdeps/gnu/configure: New generated file.
19348
8e41b99f
TS
19349 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19350 for Linux: use nsec instead of usec, as well as:
19351 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19352 members of type struct timespec.
19353 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19354 New macros.
19355 (struct stat64): Likewise.
19356 (_STATBUF_ST_NSEC): New macro.
19357 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19358
10589b4a
TS
19359 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19360 __strtoul_internal rather than strtoul.
19361
63643c85
PT
193622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19363
19364 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19365 and reject them.
19366
3faebe6a
ST
193672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19368
19369 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19370 which preserves existing values.
19371 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19372
c6474b07
PT
193732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19374
19375 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19376 TIMEOUT values. Return EINVAL for NFDS values either negative or
19377 greater than FD_SETSIZE.
19378
1043890b
ST
193792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19380
19381 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19382 allocated, call __vm_protect to finish enabling the existing space, and
19383 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19384 allocate the remainder.
19385
37ed8b9b
PT
193862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19387
19388 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19389 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19390
db653660
ST
193912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19392
37ed8b9b
PT
19393 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19394 sysdeps/mach/hurd/readlink.c.
b29d4053 19395
db653660
ST
19396 * posix/tst-sysconf.c (posix_options): Only use
19397 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19398 _POSIX_SYNCHRONIZED_IO when they are defined
19399 * sysdeps/mach/hurd/bits/posix_opt.h:
19400 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19401 (_XOPEN_REALTIME): Undefine macro.
19402 (_XOPEN_REALTIME_THREADS): Undefine macro.
19403 (_XOPEN_SHM): Undefine macro.
19404 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19405 macro to -1.
19406 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19407 macro to -1.
19408 (_POSIX_ASYNC_IO): Undefine macro.
19409 (_POSIX_PRIORITIZED_IO): Undefine macro.
19410 (_POSIX_SPIN_LOCKS): Define macro to -1.
19411
ee16e894
ST
19412 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19413 SA_NODEFER, SA_RESETHAND.
19414 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19415 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19416 F_DUPFD_CLOEXEC.
19417
6103ae3b
TS
194182012-05-10 Thomas Schwinge <thomas@schwinge.name>
19419
19420 * elf/Makefile (pldd-modules): Define unconditionally.
19421
80b4e5f3
TS
194222012-05-10 Thomas Schwinge <thomas@schwinge.name>
19423
19424 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19425
edadcbd6
ST
194262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19427
19428 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19429 Return ENOENT when name is empty.
19430 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19431
80694780
TS
194322012-05-10 Thomas Schwinge <thomas@schwinge.name>
19433
1792c087
TS
19434 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19435
80694780
TS
19436 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19437
6b645f0d
ST
194382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19439
80694780
TS
19440 Fix mlock in all cases except non-readable pages.
19441 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19442 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19443
6b645f0d
ST
19444 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19445 (__mkdir): When path is `/', just fail with EEXIST.
19446 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19447
e468f8a3
TS
194482012-05-10 Thomas Schwinge <thomas@schwinge.name>
19449
19450 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19451 <sys/uio.h> (for writev).
19452 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19453 and <sys/param.h> (for MIN).
19454
a4186cff
PT
194552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19456
19457 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19458 REQUESTED_TIME. Properly set the remaining time and return EINTR
19459 if interrupted.
19460
510bbf14
TS
194612012-05-10 Thomas Schwinge <thomas@schwinge.name>
19462
19463 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19464 Depend on against $(link-rpcuserlibs).
19465
5d5722e8
ST
194662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19467
a4186cff
PT
19468 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19469 (__libc_stack_end): Do not use attribute_relro.
19470 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19471 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19472 to libthread-provided value.
a4186cff
PT
19473 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19474 attribute_relro.
5d5722e8 19475
37233df9
TS
194762012-05-10 Thomas Schwinge <thomas@schwinge.name>
19477
be971a2b
TS
19478 [BZ #3748]
19479 * bits/libc-lock.h (__libc_once_get): New macro.
19480 * sysdeps/mach/bits/libc-lock.h: Likewise.
19481 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19482 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19483 instead of using implementation details.
19484
37233df9
TS
19485 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19486 * libio/freopen.c: Likewise.
19487 * libio/freopen64.c: Likewise.
19488 * misc/syslog.c: Likewise.
19489 * nscd/connections.c: Likewise.
19490 * nscd/netgroupcache.c: Likewise.
19491 * sysdeps/posix/getcwd.c: Likewise.
19492
38de94a5
RM
194932012-05-10 Roland McGrath <roland@hack.frob.com>
19494
19495 * math/w_ilogbf.c: Add #include <limits.h>.
19496
67530489
ST
194972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19498
a4186cff 19499 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19500 path instead of returning without unlocking.
19501
67530489
ST
19502 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19503 immediate-write ioctls.
19504 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19505
5aa3a74a
TS
195062012-05-10 Thomas Schwinge <thomas@schwinge.name>
19507
18bad2ae
TS
19508 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19509 __builtin_frame_address instead of making assumptions about the
19510 location of the return address relative to DATA. Force early load of
19511 the return address.
19512 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19513 __builtin_frame_address.
19514
5aa3a74a
TS
19515 dup3 for GNU Hurd.
19516 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19517 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19518 implement dup3 and do some further code clean-ups.
19519 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19520 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19521
ecd0de9a
ST
195222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19523
cd9fa985
ST
19524 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19525
a4186cff
PT
19526 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19527 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19528 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19529 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19530 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19531 d->port.lock.
802ca5a5 19532
a4186cff
PT
19533 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19534 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19535 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19536
bcf55240
TS
195372012-05-10 Thomas Schwinge <thomas@schwinge.name>
19538
6960eb42
TS
19539 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19540 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19541 definitions.
19542
eb43375f
TS
19543 accept4 for GNU Hurd.
19544 * include/sys/socket.h (__libc_accept4): New prototype.
19545 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19546 to implement __libc_accept4.
19547 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19548 __libc_accept4.
19549 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19550
bcf55240
TS
19551 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19552 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19553 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19554 signal-defines.sym.
19555
6178c55b
ST
195562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19557
a4186cff 19558 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19559
6f080c2f
TS
195602012-05-10 Thomas Schwinge <thomas@schwinge.name>
19561
19562 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19563 assertion on O_CLOEXEC flag.
19564 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19565 * hurd/intern-fd.c: Likewise.
19566 * hurd/port2fd.c: Likewise.
19567
bcfe3a54
ST
195682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19569
19570 [BZ #3906]
19571 * bits/in.h (IPV6_PKTINFO): Define new macro.
19572 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19573
89c9aa49
AZ
195742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19575
19576 [BZ #13954]
19577 [BZ #13955]
19578 [BZ #13956]
19579 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19580 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19581 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19582 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19584 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19585 * math/libm-test.inc (logb_test) : Additional logb tests.
19586
021db4be
AJ
195872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19588 Andreas Jaeger <aj@suse.de>
19589
19590 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19591 * configure: Regenerated.
19592 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19593 * config.make.in (link-obsolete-rpc): New substituted variable.
19594 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19595 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19596 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19597 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19598 so that libc.a contains the symbols.
19599 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19600 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19601 * sunrpc/auth_none.c: Likewise.
19602 * sunrpc/auth_unix.c: Likewise.
19603 * sunrpc/authdes_prot.c: Likewise.
19604 * sunrpc/authuxprot.c: Likewise.
19605 * sunrpc/clnt_gen.c: Likewise.
19606 * sunrpc/clnt_perr.c: Likewise.
19607 * sunrpc/clnt_raw.c: Likewise.
19608 * sunrpc/clnt_simp.c: Likewise.
19609 * sunrpc/clnt_tcp.c: Likewise.
19610 * sunrpc/clnt_udp.c: Likewise.
19611 * sunrpc/clnt_unix.c: Likewise.
19612 * sunrpc/des_crypt.c: Likewise.
19613 * sunrpc/des_soft.c: Likewise.
19614 * sunrpc/get_myaddr.c: Likewise.
19615 * sunrpc/key_call.c: Likewise.
19616 * sunrpc/key_prot.c: Likewise.
19617 * sunrpc/netname.c: Likewise.
19618 * sunrpc/pm_getmaps.c: Likewise.
19619 * sunrpc/pm_getport.c: Likewise.
19620 * sunrpc/pmap_clnt.c: Likewise.
19621 * sunrpc/pmap_prot.c: Likewise.
19622 * sunrpc/pmap_prot2.c: Likewise.
19623 * sunrpc/pmap_rmt.c: Likewise.
19624 * sunrpc/publickey.c: Likewise.
19625 * sunrpc/rpc_cmsg.c: Likewise.
19626 * sunrpc/rpc_common.c: Likewise.
19627 * sunrpc/rpc_dtable.c: Likewise.
19628 * sunrpc/rpc_prot.c: Likewise.
19629 * sunrpc/rpc_thread.c: Likewise.
19630 * sunrpc/rtime.c: Likewise.
19631 * sunrpc/svc.c: Likewise.
19632 * sunrpc/svc_auth.c: Likewise.
19633 * sunrpc/svc_raw.c: Likewise.
19634 * sunrpc/svc_run.c: Likewise.
19635 * sunrpc/svc_tcp.c: Likewise.
19636 * sunrpc/svc_udp.c: Likewise.
19637 * sunrpc/svc_unix.c: Likewise.
19638 * sunrpc/svcauth_des.c: Likewise.
19639 * sunrpc/xcrypt.c: Likewise.
19640 * sunrpc/xdr.c: Likewise.
19641 * sunrpc/xdr_array.c: Likewise.
19642 * sunrpc/xdr_float.c: Likewise.
19643 * sunrpc/xdr_intXX_t.c: Likewise.
19644 * sunrpc/xdr_mem.c: Likewise.
19645 * sunrpc/xdr_rec.c: Likewise.
19646 * sunrpc/xdr_ref.c: Likewise.
19647 * sunrpc/xdr_sizeof.c: Likewise.
19648 * sunrpc/xdr_stdio.c: Likewise.
19649
b5c086a2
RM
196502012-05-10 Roland McGrath <roland@hack.frob.com>
19651
19652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19653 change. Update copyright years.
19654
6d74dd09
JM
196552012-05-10 Joseph Myers <joseph@codesourcery.com>
19656
19657 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19658
28e72501
MK
196592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19660 Joseph Myers <joseph@codesourcery.com>
19661 Paul Pluzhnikov <ppluzhnikov@google.com>
19662
19663 [BZ #14012]
19664 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19665 requiring rpcgen.
19666 [cross-compiling] (extra-libs): Likewise.
19667 [cross-compiling] (extra-libs-others): Likewise.
19668 [cross-compiling] (librpcsvc-routines): Likewise.
19669 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19670 [cross-compiling] (omit-deps): Likewise.
19671 (sunrpc-CPPFLAGS): New variable.
19672 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19673 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19674 (cross-rpcgen-objs): New variable.
19675 (extra-objs): Append $(cross-rpcgen-objs).
19676 ($(cross-rpcgen-objs)): New rule.
19677 ($(objpfx)cross-rpcgen): Likewise.
19678 (rpcgen-cmd): Define to use $(built-program-file). Expand
19679 comment.
19680 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19681 ($(objpfx)x%.stmp): Likewise.
19682 * sunrpc/proto.h [IS_IN_build] (_): Define.
19683 [IS_IN_build] (_libc_intl_domainname): Likewise.
19684
c8c59454
L
196852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19686
19687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19688 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19689 and R_X86_64_TPOFF64.
19690
6f27cd16
JM
196912012-05-10 Joseph Myers <joseph@codesourcery.com>
19692
19693 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19694 sysdeps/unix/sysv/syscalls.list.
19695 (stime): Likewise.
19696 (utime): Likewise.
19697 * sysdeps/unix/sysv/syscalls.list: Remove file.
19698
02467e1c
PE
196992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19700
19701 [BZ #3440]
19702 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19703 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19704 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19705 (__LC_IDENTIFICATION): Make these macros useful in #if
19706 expressions, as required by C99.
19707
da392631
AS
197082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19709
19710 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19711 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19712 after this.
19713
8115f29b
L
197142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19715
19716 * stdlib/longlong.h: Updated from GCC.
19717
bdd74070
AJ
197182012-05-09 Andreas Jaeger <aj@suse.de>
19719
edfe0dbe
AJ
19720 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19721 default is first entry.
19722 (run_mode): Set type.
19723 (main): Remove informal message about syslog.
19724 (options): Fix typo.
19725
bcfe3a54
ST
19726 [BZ #14053]
19727 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19728 to asm.
bcfe3a54
ST
19729 (lrint): Likewise.
19730 (llrintf): Likewise.
19731 (llrint): Likewise.
19732 (rint): Likewise.
19733 (rintf): Likewise.
19734 (nearbyint): Likewise.
19735 (nearbyintf): Likewise.
bdd74070 19736
91d8d69e
AJ
197372012-05-09 Andreas Jaeger <aj@suse.de>
19738 Pedro Alves <palves@redhat.com>
19739
19740 * nscd/nscd.c (run_mode): Use enum.
19741 (main): Cleanup coding style issue.
19742
bb90b80b
AJ
197432012-05-09 Alexandre Oliva <aoliva@redhat.com>
19744 Andreas Jaeger <aj@suse.de>
19745
bcfe3a54
ST
19746 * nscd/nscd.c (go_background): Replaced with...
19747 (run_mode): ... this.
bb90b80b 19748 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19749 (options): Add -F --foreground.
19750 (main): Implement it.
19751 (parse_opt): Parse it.
bb90b80b 19752
1a4b75a1
AJ
197532012-05-09 Andreas Jaeger <aj@suse.de>
19754
19755 [BZ #14083]
19756 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19757 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19758 -Wconversion warning.
19759 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19760 Likewise.
19761
b1cc2472
JM
197622012-05-09 Joseph Myers <joseph@codesourcery.com>
19763
19764 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19765 == 0.
19766 (LC_ALL): Use macro-int-constant.
19767 (LC_COLLATE): Likewise.
19768 (LC_CTYPE): Likewise.
19769 (LC_MESSAGES): Likewise.
19770 (LC_MONETARY): Likewise.
19771 (LC_NUMERIC): Likewise.
19772 (LC_TIME): Likewise.
19773 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19774 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19775 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19776 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19777 Specify type.
19778 [C99-based standards] (float_t): Expect type.
19779 [C99-based standards] (double_t): Expect type.
19780 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19781 type.
19782 [C99-based standards] (HUGE_VALL): Likewise.
19783 [C99-based standards] (INFINITY): Likewise.
19784 [C99-based standards] (NAN): Likewise.
19785 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19786 [C99-based standards] (FP_NAN): Likewise.
19787 [C99-based standards] (FP_NORMAL): Likewise.
19788 [C99-based standards] (FP_SUBNORMAL): Likewise.
19789 [C99-based standards] (FP_ZERO): Likewise.
19790 [C99-based standards] (FP_FAST_FMA): Use
19791 optional-macro-int-constant. Specify type. Require == 1.
19792 [C99-based standards] (FP_FAST_FMAF): Likewise.
19793 [C99-based standards] (FP_FAST_FMAL): Likewise.
19794 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19795 [C99-based standards] (FP_ILOGBNAN): Likewise.
19796 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19797 Specify type.
19798 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19799 [C99-based standards] (math_errhandling): Specify type.
19800 [ISO99 || ISO11] (signgam): Do not allow.
19801 [non-C99-based standards] (copysignf): Do not allow.
19802 [non-C99-based standards] (exp2f): Likewise.
19803 [non-C99-based standards] (log2f): Likewise.
19804 [non-C99-based standards] (modff): Allow.
19805 [non-C99-based standards] (erff): Do not allow.
19806 [non-C99-based standards] (erfcf): Likewise.
19807 [non-C99-based standards] (gammaf): Likewise.
19808 [non-C99-based standards] (hypotf): Likewise.
19809 [non-C99-based standards] (j0f): Likewise.
19810 [non-C99-based standards] (j1f): Likewise.
19811 [non-C99-based standards] (jnf): Likewise.
19812 [non-C99-based standards] (lgammaf): Likewise.
19813 [non-C99-based standards] (tgammaf): Likewise.
19814 [non-C99-based standards] (y0f): Likewise.
19815 [non-C99-based standards] (y1f): Likewise.
19816 [non-C99-based standards] (ynf): Likewise.
19817 [non-C99-based standards] (isnanf): Likewise.
19818 [non-C99-based standards] (acoshf): Likewise.
19819 [non-C99-based standards] (asinhf): Likewise.
19820 [non-C99-based standards] (atanhf): Likewise.
19821 [non-C99-based standards] (cbrtf): Likewise.
19822 [non-C99-based standards] (expm1f): Likewise.
19823 [non-C99-based standards] (ilogbf): Likewise.
19824 [non-C99-based standards] (log1pf): Likewise.
19825 [non-C99-based standards] (logbf): Likewise.
19826 [non-C99-based standards] (nextafterf): Likewise.
19827 [non-C99-based standards] (remainderf): Likewise.
19828 [non-C99-based standards] (rintf): Likewise.
19829 [non-C99-based standards] (scalbf): Likewise.
19830 [non-C99-based standards] (copysignl): Likewise.
19831 [non-C99-based standards] (exp2l): Likewise.
19832 [non-C99-based standards] (log2l): Likewise.
19833 [non-C99-based standards] (modfl): Allow.
19834 [non-C99-based standards] (erfl): Do not allow.
19835 [non-C99-based standards] (erfcl): Likewise.
19836 [non-C99-based standards] (gammal): Likewise.
19837 [non-C99-based standards] (hypotl): Likewise.
19838 [non-C99-based standards] (j0l): Likewise.
19839 [non-C99-based standards] (j1l): Likewise.
19840 [non-C99-based standards] (jnl): Likewise.
19841 [non-C99-based standards] (lgammal): Likewise.
19842 [non-C99-based standards] (tgammal): Likewise.
19843 [non-C99-based standards] (y0l): Likewise.
19844 [non-C99-based standards] (y1l): Likewise.
19845 [non-C99-based standards] (ynl): Likewise.
19846 [non-C99-based standards] (isnanl): Likewise.
19847 [non-C99-based standards] (acoshl): Likewise.
19848 [non-C99-based standards] (asinhl): Likewise.
19849 [non-C99-based standards] (atanhl): Likewise.
19850 [non-C99-based standards] (cbrtl): Likewise.
19851 [non-C99-based standards] (expm1l): Likewise.
19852 [non-C99-based standards] (ilogbl): Likewise.
19853 [non-C99-based standards] (log1pl): Likewise.
19854 [non-C99-based standards] (logbl): Likewise.
19855 [non-C99-based standards] (nextafterl): Likewise.
19856 [non-C99-based standards] (remainderl): Likewise.
19857 [non-C99-based standards] (rintl): Likewise.
19858 [non-C99-based standards] (scalbl): Likewise.
19859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19860 [non-C99-based standards] (FP_*): Do not allow.
19861 [C99-based standards] (FP_*): Change to
19862 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19863 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19864 allow.
19865 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19866 (SIG_ERR): Likewise.
19867 [X/Open-based standards] (SIG_HOLD): Likewise.
19868 (SIG_IGN): Likewise.
19869 (SIGABRT): Use macro-int-constant. Specify type. Require
19870 positive value.
19871 (SIGFPE): Likewise.
19872 (SIGILL): Likewise.
19873 (SIGINT): Likewise.
19874 (SIGSEGV): Likewise.
19875 (SIGTER): Likewise.
19876 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19877 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19878 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19879 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19880 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19881 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19882 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19883 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19884 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19885 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19886 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19887 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19888 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19889 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19890 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19891 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19892 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19893 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19894 [X/Open-based standards] (SIGTRAP): Likewise.
19895 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19896 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19897 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19898 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19899 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19900 allow.
19901
b9f1922d
IW
199022012-05-08 Ian Wienand <ianw@vmware.com>
19903
19904 [BZ #14080]
19905 * time/tzset.c (__tzset_parse_tz): Update default rules for
19906 daylight time changes in the Energy Policy Act of 2005.
19907
1db86e88
AJ
199082012-05-09 Andreas Jaeger <aj@suse.de>
19909
19910 [BZ #13983]
19911 * elf/ldconfig.c (parse_conf): Change string to make clear that
19912 ldconfig only issued a warning if ld.so.conf does not exist.
19913
dee4a4e3
DM
199142012-05-08 David S. Miller <davem@davemloft.net>
19915
ee0db190
DM
19916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19917 movxtod instead of popping the value on the stack.
19918
dee4a4e3
DM
19919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19920
6a43ec98
CD
199212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19922
19923 * config.h.in: Add HAVE_ARM_PCS_VFP.
19924
05c2c961
RMG
199252012-05-08 Roland Mc Grath <roland@hack.frob.com>
19926
bcfe3a54
ST
19927 [BZ #13979]
19928 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19929 checking but the checks are disabled for any reason.
05c2c961 19930
4b30f61a
L
199312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19932
19933 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19934 and ELF64_R_TYPE with ELFW(R_TYPE).
19935
eee2bc67
JM
199362012-05-08 Joseph Myers <joseph@codesourcery.com>
19937
7ea5391a
JM
19938 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19939 (ulimit): Likewise.
19940
eee2bc67
JM
19941 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19942 (settimeofday): Likewise.
19943
abb66a67
MF
199442012-05-08 Mike Frysinger <vapier@gentoo.org>
19945
19946 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19947 a struct th_u2 inside the union, and move tu_block/tu_code into
19948 a new th_u3 union of tu_block/tu_code inside of that. Move
19949 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19950 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19951 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19952 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19953 (th_stuff): Change to th_u1.tu_stuff.
19954 (th_data): Define.
19955 (th_msg): Change to th_u1.th_u2.tu_data.
19956
7f18b530
DM
199572012-05-07 David S. Miller <davem@davemloft.net>
19958
05760585
DM
19959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19960
7f18b530
DM
19961 [BZ #14074]
19962 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19963 (SETUP_PIC_REG): Use it.
19964 (SETUP_PIC_REG_LEAF): Use it.
19965
495fd99f
JM
199662012-05-07 Joseph Myers <joseph@codesourcery.com>
19967
19968 [BZ #13885]
19969 [BZ #13923]
19970 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19971 USE_AS_EXPM1L.
19972 (EXPL_FINITE): Likewise.
19973 (FLDLOG): Likewise.
19974 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19975 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19976 e_expl.S.
19977 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19978 USE_AS_EXPM1L.
19979 (EXPL_FINITE): Likewise.
19980 (FLDLOG): Likewise.
19981 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19982 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19983 e_expl.S.
19984 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19985 test of -max_value argument for long double.
19986 * sysdeps/i386/fpu/libm-test-ulps: Update.
19987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19988
6693d694
DM
199892012-05-06 David S. Miller <davem@davemloft.net>
19990
19991 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19992 quad soft-float symbols whose references which are compiler
19993 generated.
19994 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19995
6c23e11c
JM
199962012-05-06 Joseph Myers <joseph@codesourcery.com>
19997
d8b82cad
JM
19998 [BZ #13884]
19999 [BZ #13914]
20000 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20001 USE_AS_EXP10L.
20002 (EXPL_FINITE): Likewise.
20003 (FLDLOG): Likewise.
20004 (c0): Likewise.
20005 (c1): Likewise.
20006 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20007 Adjust comments for base varying.
20008 (__expl_finite): Change alias to EXPL_FINITE.
20009 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20010 e_expl.S.
20011 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20012 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20013 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20014 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20015 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20016 USE_AS_EXP10L.
20017 (EXPL_FINITE): Likewise.
20018 (FLDLOG): Likewise.
20019 (c0): Likewise.
20020 (c1): Likewise.
20021 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20022 Adjust comments for base varying.
20023 (__expl_finite): Change alias to EXPL_FINITE.
20024 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20025 tests for bugs.
20026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20027
6c23e11c
JM
20028 [BZ #14064]
20029 * math/libm-test.inc (check_float_internal): Correct ulp
20030 calculation for subnormal expected results.
20031
29ba805c
AJ
200322012-05-06 Andreas Jaeger <aj@suse.de>
20033
20034 * Makeconfig (+math-flags): New, set to -frounding-math.
20035 (+cflags): Add +math-flags so that all of glibc gets compiled with
20036 it.
20037
20038 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20039
7b17aeda
JM
200402012-05-05 Joseph Myers <joseph@codesourcery.com>
20041
5779f134
JM
20042 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20043 Disable one test.
20044
41498f4d
JM
20045 [BZ #13787]
20046 [BZ #13922]
20047 [BZ #14036]
20048 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20049 (__ieee754_expl): Allow for and saturate large arguments.
20050 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20051 (u_threshold): Likewise.
20052 (__exp): Call __ieee754_exp before checking for overflow and
20053 underflow.
20054 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20055 (u_threshold): Likewise.
20056 (__expf): Call __ieee754_expf before checking for overflow and
20057 underflow.
20058 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20059 (u_threshold): Likewise.
20060 (__expl): Call __ieee754_expl before checking for overflow and
20061 underflow.
20062 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20063 (__ieee754_expl): Allow for and saturate large arguments.
20064 * math/libm-test.inc (exp_test): Add another test. Do not allow
20065 missing overflow exception on overflow.
20066 (expm1_test): Do not allow missing overflow exception on overflow.
20067
6698b8bf
JM
20068 * sysdeps/i386/fpu/e_expl.c: Move to ...
20069 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20070 rather than using inline asm.
20071 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20072 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20073 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20074
7b17aeda
JM
20075 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20076 (nice): Likewise.
20077 (poll): Likewise.
20078 (signal): Likewise.
20079 (time): Likewise.
20080 (times): Likewise.
20081
f7c85819
JM
200822012-05-04 Joseph Myers <joseph@codesourcery.com>
20083
20084 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20085 sysdeps/unix/common/syscalls.list.
20086 (fchmod): Likewise.
20087 (fchown): Likewise.
20088 (ftruncate): Likewise.
20089 (getrusage): Likewise.
20090 (gettimeofday): Likewise.
20091 (setpgid): Likewise.
20092 (setregid): Likewise.
20093 (setreuid): Likewise.
20094 (sigaction): Likewise.
20095 (truncate): Likewise.
20096 (vhangup): Likewise.
20097 * sysdeps/unix/common/syscalls.list: Remove file.
20098 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20099 * sysdeps/unix/sysv/linux/Implies: Likewise.
20100
336270d0
L
201012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20102
20103 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20105 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20106 Moved to ...
20107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20108 Here.
20109 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20110 to ...
20111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20112 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20113 to ...
20114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20115 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20116 to ...
20117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20118 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20119 to ...
20120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20121 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20122 to ...
20123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20124 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20125 to ...
20126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20127 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20128 to ...
20129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20130 Here.
20131 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20132 to ...
20133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20134 Here.
20135 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20136 to ...
20137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20138 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20139 Moved to ...
20140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20141 Here.
20142 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20143 to ...
20144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20145
d128e450
JM
201462012-05-04 Joseph Myers <joseph@codesourcery.com>
20147
fa8ee516
JM
20148 * sysdeps/unix/common/bits/dirent.h: Remove file.
20149 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20150
d128e450
JM
20151 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20152 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20153 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20154 * sysdeps/unix/bsd/isatty.c: Likewise.
20155 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20156 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20157 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20158
ff8faaf0 201592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20160
62881be4 20161 [BZ #13563]
31dc8730
AZ
20162 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20163 long double comparison inaccuracies.
20164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20166
6fef930c
AS
201672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20168
20169 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20170 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20171
8f203e6c
JM
201722012-05-04 Joseph Myers <joseph@codesourcery.com>
20173
20174 [BZ #14049]
20175 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20176 nonzero digits before rounding a hex value.
20177 * stdlib/tst-strtod.c (tests): Add another test.
20178
5197d9c2
AK
201792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20180
20181 * sysdeps/s390/fpu/libm-test-ulps: Update.
20182
f0c1dedf
AJ
201832012-05-03 Andreas Jaeger <aj@suse.de>
20184
20185 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20186 does not get optimized out.
20187 (malloc_opt_barrier): New.
20188
a65ef2ae 201892012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20190 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20191
2b942cb7 20192 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20193 intermediate file deletion.
2b942cb7 20194 (generated): Add .symlist files.
a65ef2ae 20195
54b71e02
JM
201962012-05-03 Joseph Myers <joseph@codesourcery.com>
20197
20198 [BZ #13775]
20199 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20200 Redirect under this condition.
20201 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20202 [__USE_GNU] (__dprintf_chk): Not under this condition.
20203 [__USE_GNU] (__vdprintf_chk): Likewise.
20204 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20205 under this condition.
20206 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20207 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20208 [__USE_XOPEN2K8] (vdprintf): Likewise.
20209 [__USE_GNU] (__dprintf_chk): Not under this condition.
20210 [__USE_GNU] (__vdprintf_chk): Likewise.
20211 [__USE_GNU] (dprintf): Likewise.
20212 [__USE_GNU] (vdprintf): Likewise.
20213
d3dfcc41
RM
202142012-05-03 Roland McGrath <roland@hack.frob.com>
20215
20216 * elf/Makefile (common-generated): Set this instead of generated for
20217 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20218 $(all-built-dso)-derived lists.
20219
7ac30cc5
AJ
202202012-05-03 Andreas Jaeger <aj@suse.de>
20221
0c51e550
AJ
20222 * sysdeps/i386/fpu/libm-test-ulps: Update.
20223
7ac30cc5
AJ
20224 * FAQ: Removed.
20225 * FAQ.in: Likewise.
20226 * scripts/gen-FAQ.pl: Likewise.
20227 * manual/install.texi (Installation): Point to online location of
20228 FAQ.
20229 * Makefile (files-for-dist): Remove FAQ.
20230 (FAQ): Remove.
20231
d4c2917f
AM
202322012-05-02 Allan McRae <allan@archlinux.org>
20233
20234 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20235 (LDFLAGS-reldepmod5.so): Likewise.
20236 (LDFLAGS-reldep6mod1.so): Likewise.
20237 (LDFLAGS-reldep6mod4.so): Likewise.
20238 (LDFLAGS-reldep8mod3.so): Likewise.
20239 (LDFLAGS-unload4mod1.so): Likewise.
20240 (LDFLAGS-unload4mod2.so): Likewise.
20241 (LDFLAGS-tst-initorder): Likewise.
20242 (LDFLAGS-tst-initordera2.so): Likewise.
20243 (LDFLAGS-tst-initordera3.so): Likewise.
20244 (LDFLAGS-tst-initordera4.so): Likewise.
20245 (LDFLAGS-tst-initorderb2.so): Likewise.
20246 (LDFLAGS-noload): Likewise.
20247 (LDFLAGS-next): Likewise.
20248 (LDFLAGS-order2mod1.so): Likewise.
20249 (LDFLAGS-order2mod2.so): Likewise.
20250 (LDFLAGS-tst-initorder2): Likewise.
20251 (LDFLAGS-tst-initorder2a.so): Likewise.
20252 (LDFLAGS-tst-initorder2b.so): Likewise.
20253 (LDFLAGS-tst-initorder2c.so): Likewise.
20254 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20255
d77f993f
DM
202562012-05-02 David S. Miller <davem@davemloft.net>
20257
20258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20259
171a70b4
PP
202602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20261
20262 [BZ #14055]
20263 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20264
0be196ad
AJ
202652012-05-02 Andreas Jaeger <aj@suse.de>
20266
20267 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20268 since we manipulate rounding mode.
20269 (CPPFLAGS-test-idouble.c): Likewise.
20270 (CPPFLAGS-test-ifloat.c): Likewise.
20271 (CFLAGS-test-ldouble.c): Likewise.
20272 (CFLAGS-test-double.c): Likewise.
20273 (CFLAGS-test-float.c): Likewise.
20274 (CFLAGS-test-misc.c): Likewise.
20275 (CFLAGS-test-test-fenv.c): Likewise.
20276
4f9d04aa
AZ
202772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20278
2b942cb7
RM
20279 [BZ #2550]
20280 [BZ #2570]
20281 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20282 comparisons to determine direction to adjust input.
4f9d04aa 20283
82a79e7d
RM
202842012-05-01 Roland McGrath <roland@hack.frob.com>
20285
f5a01ca9
RM
20286 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20287 output to the target.
20288
90fe4186
RM
20289 * scripts/localplt.awk: New file.
20290 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20291 (check-localplt-CFLAGS): Variable removed.
20292 ($(all-built-dso:=.jmprel)): New static pattern rule.
20293 (generated): Add those targets.
20294 (localplt-built-dso): New variable.
20295 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20296
20297 * elf/check-localplt.c: File removed.
20298
82397ed6
RM
20299 * scripts/check-execstack.awk: New file.
20300 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20301 (check-execstack-CFLAGS): Variable removed.
20302 ($(objpfx)check-execstack.h): Target removed.
20303 ($(objpfx)execstack-default): New target.
20304 (generated): Add that instead of check-execstack.h.
20305 ($(all-built-dso:=.phdr)): New static pattern rule.
20306 (generated): Add those targets.
20307 * elf/check-execstack.c: File removed.
20308
82a79e7d
RM
20309 * scripts/check-textrel.awk: New file.
20310 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20311 (check-textrel-CFLAGS): Variable removed.
20312 (all-built-dso): Use := to define.o
20313 ($(all-built-dso:=.dyn)): New static pattern rule.
20314 (generated): Add those targets.
20315 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20316 * config.make.in (READELF): New substituted variable.
20317 * elf/check-textrel.c: File removed.
20318
62fde54f 203192012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20320
615605c9
JM
20321 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20322 allow.
20323 * conform/data/ctype.h-data [C99-based standards] (isblank):
20324 Expect function.
20325 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20326 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20327 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20328 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20329 Specify type. Require positive value.
20330 (EILSEQ): Likewise.
20331 (ERANGE): Likewise.
20332 [ISO || POSIX] (EILSEQ): Do not expect.
20333 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20334 Specify type. Require positive value.
20335 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20336 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20337 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20338 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20339 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20340 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20341 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20342 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20343 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20344 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20345 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20346 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20347 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20350 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20352 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20353 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20354 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20355 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20359 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20360 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20361 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20362 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20363 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20371 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20372 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20373 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20374 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20375 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20376 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20377 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20378 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20379 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20380 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20381 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20382 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20383 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20384 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20385 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20386 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20387 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20388 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20389 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20390 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20391 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20392 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20393 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20394 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20395 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20396 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20397 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20398 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20399 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20400 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20401 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20402 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20403 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20404 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20405 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20406 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20407 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20408 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20409 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20410 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20411 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20412 Require >= 2.
20413 (FLT_ROUNDS): Expect as macro, not constant.
20414 (FLT_MANT_DIG): Use macro-int-constant.
20415 (DBL_MANT_DIG): Likewise.
20416 (LDBL_MANT_DIG): Likewise.
20417 (FLT_DIG): Likewise.
20418 (DBL_DIG): Likewise.
20419 (LDBL_DIG): Likewise.
20420 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20421 (DBL_MIN_EXP): Likewise.
20422 (LDBL_MIN_EXP): Likewise.
20423 (FLT_MAX_EXP): Use macro-int-constant.
20424 (DBL_MAX_EXP): Likewise.
20425 (LDBL_MAX_EXP): Likewise.
20426 (FLT_MAX_10_EXP): Likewise.
20427 (DBL_MAX_10_EXP): Likewise.
20428 (LDBL_MAX_10_EXP): Likewise.
20429 (FLT_MAX): Use macro-constant.
20430 (DBL_MAX): Likewise.
20431 (LDBL_MAX): Likewise.
20432 (FLT_EPSILON): Use macro-constant. Give upper bound.
20433 (DBL_EPSILON): Likewise.
20434 (LDBL_EPSILON): Likewise.
20435 (FLT_MIN): Likewise.
20436 (DBL_MIN): Likewise.
20437 (LDBL_MIN): Likewise.
20438 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20439 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20440 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20441 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20442 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20443 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20444 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20445 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20446 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20447 [ISO11] (FLT_TRUE_MIN): Likewise.
20448 [ISO11] (LDBL_TRUE_MIN): Likewise.
20449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20450 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20451 (SCHAR_MIN): Use macro-int-constant. Specify type.
20452 (SCHAR_MAX): Likewise.
20453 (UCHAR_MAX): Likewise.
20454 (CHAR_MIN): Likewise.
20455 (CHAR_MAX): Likewise.
20456 (MB_LEN_MAX): Use macro-int-constant.
20457 (SHRT_MIN): Use macro-int-constant. Specify type.
20458 (SHRT_MAX): Likewise.
20459 (USHRT_MAX): Likewise.
20460 (INT_MAX): Likewise.
20461 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20462 bound negative.
20463 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20464 bound with "U".
20465 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20466 bound with "L".
20467 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20468 bound negative. Suffix upper bound with "L".
20469 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20470 bound with "UL".
20471 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20472 Specify type.
20473 [C99-based standards] (LLONG_MAX): Likewise.
20474 [C99-based standards] (ULLONG_MAX): Likewise.
20475 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20476 == 0.
20477 [ISO11] (max_align_t): Require type.
20478 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20479
c9140a62
JM
20480 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20481 from $CFLAGS, without defining away __attribute__ calls.
20482 (checknamespace): Use $CFLAGS_namespace.
20483
9af0bf29
JM
20484 * conform/conformtest.pl (@keywords): Only include C99 keywords
20485 for standards based on C99 or C11.
20486
343222a2
JM
20487 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20488 Disable tests.
20489 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20490 UNIX98]: Likewise.
20491
661f8cf0
JM
20492 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20493 usability of symbols in #if.
20494
ee74b9cb
JM
20495 * conform/conformtest.pl: If macro or constant types start
20496 "promoted:", expect the symbol to be of the following type
20497 promoted by the integer promotions.
62fde54f 20498
aafc49b3
JM
20499 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20500 in one place. Also handle "macro-constant".
20501
fefdf574
JM
20502 * conform/conformtest.pl: Only accept expected macro values with
20503 "==". Parse all "macro" lines in one place.
20504 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20505
f2d922fe
JM
20506 * conform/conformtest.pl: Handle braced types on "constant" lines
20507 instead of handling "typed-constant".
20508 * conform/data/signal.h-data: Use "constant" instead of
20509 "typed-constant".
20510
d22956c9
JM
20511 * conform/conformtest.pl: Handle "optional-" at start of lines in
20512 one place rather than duplicating several cases. Handle each
20513 format of "macro" line with initial "optional-".
20514
028e2e38
JM
20515 * conform/conformtest.pl: Only accept expected constant or
20516 optional-constant values with "==". Parse all "constant" lines in
20517 one place. Parse all "optional-constant" lines in one place.
20518 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20519 * conform/data/fmtmsg.h-data: Likewise.
20520 * conform/data/netinet/in.h-data: Likewise.
20521 * conform/data/tar.h-data: Likewise.
20522 * conform/data/limits.h-data: Use "==" form on "constant" and
20523 "optional-constant" lines.
20524
1b8f2850
JM
20525 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20526 Use -std=c99 for XOPEN2K.
20527 (@knownproblems): Remove.
20528 (newtoken): Don't check %isknown.
20529
a05a144b
JM
20530 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20531 Do not expect macro.
20532 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20544 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20545 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20562 [XPG3] (acosh): Likewise.
20563 [XPG3] (asinh): Likewise.
20564 [XPG3] (atanh): Likewise.
20565 [XPG3] (cbrt): Likewise.
20566 [XPG3] (expm1): Likewise.
20567 [XPG3] (ilogb): Likewise.
20568 [XPG3] (log1p): Likewise.
20569 [XPG3] (logb): Likewise.
20570 [XPG3] (nextafter): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20573 [XPG3] (remainder): Likewise.
20574 [XPG3] (rint): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20582 [UNIX98 || XOPEN2K] (scalb): Expect.
20583 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20584 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20616 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20617 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20618 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20619 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20620 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20621 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20622 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20623 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20624 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20625 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20626 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20627 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20628 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20630 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20631 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20632 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20633 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20635 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20636 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20637 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20638 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20639 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20640 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20641 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20642 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20643 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20644 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20645 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20646 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20647 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20648 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20649 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20650 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20651 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20652 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20653 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20654 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20655 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20656 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20657 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20658 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20659 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20660 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20661 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20662 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20663 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20664 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20665 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20666 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20667 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20668 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20669 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20670 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20671 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20672 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20673 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20674 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20675 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20676 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20677 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20678 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20679 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20680 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20681 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20682 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20683 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20684 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20685 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20686 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20687 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20688 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20689 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20690 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20691 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20692 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20693 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20694 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20695 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20696 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20697 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20698 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20699 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20700 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20701 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20702 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20703 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20704 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20705 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20706 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20707 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20708 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20709 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20710 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20711 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20712 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20713 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20714 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20715 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20716 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20717 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20718 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20719 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20720
73c5ebe3
JM
20721 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20722 _XOPEN_SOURCE_EXTENDED for XPG4.
20723
39c33b6c
JM
20724 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20725
62fde54f
JM
20726 * Makeconfig (localtime): Remove variable.
20727 (inst_localtime-file): Likewise.
20728
0741d64c
AS
207292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20730
20731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20732 Update.
20733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20734 Update.
20735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20736 Update.
20737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20738 Update.
20739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20740 Update.
20741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20742 Update.
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20744 Update.
20745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20746 Update.
20747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20748 Update.
20749
7cb029ee
JM
207502012-05-01 Joseph Myers <joseph@codesourcery.com>
20751
20752 [BZ #2550]
20753 [BZ #2570]
20754 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20755 comparisons to determine direction to adjust input.
20756 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20757 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20758 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20759 Likewise.
20760 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20761 Likewise.
20762 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20763 Likewise.
20764 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20765 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20766 Likewise.
20767 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20768 Likewise.
20769 * math/libm-test.inc (nexttoward_test): Add more tests.
20770
412bd966
AS
207712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20772
20773 [BZ #14040]
20774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20775 in version GLIBC_2.1, not GLIBC_2.0.
20776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20777 Likewise.
20778
9568c0c2
JM
207792012-04-30 Joseph Myers <joseph@codesourcery.com>
20780
adfbc8ac
JM
20781 [BZ #13942]
20782 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20783 (1 - x) * (1 + x).
20784 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20785 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20786 * math/libm-test.inc (acos_test): Add more tests.
20787 (asin_test): Likewise.
20788 * sysdeps/i386/fpu/libm-test-ulps: Update.
20789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20790
5ba3cc69
JM
20791 [BZ #14034]
20792 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20793 of square root.
20794 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20795 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20796 * math/libm-test.inc (acos_test_tonearest): New function.
20797 (acos_test_towardzero): Likewise.
20798 (acos_test_downward): Likewise.
20799 (acos_test_upward): Likewise.
20800 (asin_test_tonearest): Likewise.
20801 (asin_test_towardzero): Likewise.
20802 (asin_test_downward): Likewise.
20803 (asin_test_upward): Likewise.
20804 (main): Call the new functions.
20805 * sysdeps/i386/fpu/libm-test-ulps: Update.
20806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20807
9568c0c2
JM
20808 [BZ #13884]
20809 [BZ #13924]
20810 * math/e_exp10.c: Include <float.h>.
20811 (__ieee754_exp10): Handle underflow here rather than multiplying
20812 large negative argument by M_LN10.
20813 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20814 of __ieee754_expf.
20815 * math/e_exp10l.c: Include <float.h>.
20816 (__ieee754_exp10l): Handle underflow here rather than multiplying
20817 large negative argument by M_LN10l.
20818 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20819 spurious overflow exception on underflow.
20820
5ac3ea17
MP
208212012-04-29 Marek Polacek <polacek@redhat.com>
20822
20823 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20824 (__fortify_function): New macro.
20825 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20826 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20827 __extern_always_inline.
20828 * libio/bits/stdio2.h: Likewise.
20829 * libio/bits/stdio.h: Likewise.
20830 * string/string.h: Likewise.
20831 * string/bits/string3.h: Likewise.
20832 * include/stdio.h: Likewise.
20833 * stdlib/bits/stdlib.h: Likewise.
20834 * stdlib/stdlib.h: Likewise.
20835 * rt/bits/mqueue2.h: Likewise.
20836 * rt/mqueue.h: Likewise.
20837 * posix/bits/unistd.h: Likewise.
20838 * posix/unistd.h: Likewise.
20839 * io/bits/poll2.h: Likewise.
20840 * io/bits/fcntl2.h: Likewise.
20841 * io/fcntl.h: Likewise.
20842 * io/sys/poll.h: Likewise.
20843 * misc/bits/syslog.h: Likewise.
20844 * misc/bits/syslog-ldbl.h: Likewise.
20845 * misc/sys/syslog.h: Likewise.
20846 * socket/bits/socket2.h: Likewise.
20847 * socket/sys/socket.h: Likewise.
20848 * debug/tst-chk1.c: Likewise.
20849 * wcsmbs/bits/wchar2.h: Likewise.
20850 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20851 * wcsmbs/wchar.h: Likewise.
20852
ecf0ebfb
AJ
208532012-04-29 Andreas Jaeger <aj@suse.de>
20854
20855 * Makerules (tests): Remove enable-check-abi protection.
20856 (check-abi-warn): Remove.
20857 (check-abi-%): Remove check-abi-warn usage.
20858
20859 * configure.in: Remove check-abi configure option.
20860 * configure: Regenerated.
20861 * config.make.in (enable-check-abi): Remove.
20862
6d5c57fa
AS
208632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20864
24c5d07e 20865 [BZ #14033]
ded5180a
AS
20866 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20867 double functions to double *_finite functions.
20868
7e0d315d
AS
20869 [BZ #13941]
20870 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20871 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20872 LDBL_MIN_EXP.
20873 * stdio-common/Makefile (tests): Add tst-sprintf3.
20874 * stdio-common/tst-sprintf3.c: New file.
20875
6d5c57fa
AS
20876 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20877 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20878
0749ff8b
JM
208792012-04-28 Joseph Myers <joseph@codesourcery.com>
20880
20881 * conform/conformtest.pl: Remove duplicate typed-constant
20882 handling.
20883
8dbd5d7b
DM
208842012-04-28 David S. Miller <davem@davemloft.net>
20885
20886 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20887 (check-abi-%): Remove AWK script prerequisite and explicit
20888 abilist directory.
20889 (check-abi): Rewrite to just diff the symlist with the abilist.
20890 (config-tls, config-abi-config): Delete, no longer used.
20891 (update-abi-%): Remove AWK script and explicit abilist directory.
20892 (update-abi): Rewrite to simply compare and conditionally copy the
20893 symlist and the sysdep abilist file. Remove update-abi-config
20894 checks.
20895 * abilist/ld.abilist: Remove.
20896 * abilist/libBrokenLocale.abilist: Remove.
20897 * abilist/libanl.abilist: Remove.
20898 * abilist/libcrypt.abilist: Remove.
20899 * abilist/libdl.abilist: Remove.
20900 * abilist/librt.abilist: Remove.
20901 * abilist/libthread_db.abilist: Remove.
20902 * abilist/libutil.abilist: Remove.
20903 * scripts/extract-abilist.awk: Remove.
20904 * scripts/merge-abilist.awk: Remove.
20905 * sysdeps/generic/libcidn.abilist: New file.
20906 * sysdeps/generic/libnss_compat.abilist: New file.
20907 * sysdeps/generic/libnss_db.abilist: New file.
20908 * sysdeps/generic/libnss_dns.abilist: New file.
20909 * sysdeps/generic/libnss_files.abilist: New file.
20910 * sysdeps/generic/libnss_hesiod.abilist: New file.
20911 * sysdeps/generic/libnss_nis.abilist: New file.
20912 * sysdeps/generic/libnss_nisplus.abilist: New file.
20913 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20914 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20915 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20916 file.
20917 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20918 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20919 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20920 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20921 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20922 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20923 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20924 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20925 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20926 file.
20927 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20928 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20929 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20930 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20931 file.
20932 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20933 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20934 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20935 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20936 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20937 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20938 file.
20939 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20940 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20941 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20942 file.
20943 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20945 New file.
20946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20947 New file.
20948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20949 New file.
20950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20951 New file.
20952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20953 New file.
20954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20955 New file.
20956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20957 New file.
20958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20959 New file.
20960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20961 New file.
20962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20963 New file.
20964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20965 New file.
20966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20967 New file.
20968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20969 New file.
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20971 file.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20973 New file.
20974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20975 New file.
20976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20977 file.
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20979 New file.
20980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20981 New file.
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20983 file.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20985 New file.
20986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20987 New file.
20988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20989 New file.
20990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20991 New file.
20992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20993 New file.
20994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20995 New file.
20996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20998 file.
20999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21000 New file.
21001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21002 file.
21003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21004 file.
21005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21006 file.
21007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21008 file.
21009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21010 file.
21011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21012 New file.
21013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21014 file.
21015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21016 file.
21017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21018 New file.
21019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21020 file.
21021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21023 file.
21024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21025 New file.
21026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21027 file.
21028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21029 file.
21030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21031 file.
21032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21033 file.
21034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21035 file.
21036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21037 New file.
21038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21039 file.
21040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21041 file.
21042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21043 New file.
21044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21045 file.
21046 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21047 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21048 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21049 file.
21050 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21051 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21052 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21053 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21054 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21055 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21056 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21057 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21058 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21059 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21062 file.
21063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21064 New file.
21065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21066 file.
21067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21068 file.
21069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21070 file.
21071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21072 file.
21073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21074 file.
21075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21076 New file.
21077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21078 New file.
21079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21080 file.
21081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21082 New file.
21083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21084 file.
21085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21087 file.
21088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21089 New file.
21090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21091 file.
21092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21093 file.
21094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21095 file.
21096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21097 file.
21098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21099 file.
21100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21101 New file.
21102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21103 New file.
21104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21105 file.
21106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21107 New file.
21108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21109 file.
21110
41d73a1b
JM
211112012-04-28 Joseph Myers <joseph@codesourcery.com>
21112
21113 * conform/conformtest.pl: Fix typo in handling typed-constant from
21114 allow-header.
21115
28aeeda4
JM
211162012-04-27 Joseph Myers <joseph@codesourcery.com>
21117
adae8f5e
JM
21118 * README: Cut down references to pre-2.6 Linux kernels and
21119 Linuxthreads. Update lists of configurations in libc and ports
21120 and sort alphabetically. Say "or newer" with Linux kernel version
21121 requirements.
21122
28aeeda4
JM
21123 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21124
a462cb63
RA
211252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21126
21127 [BZ #887]
21128 * math/libm-test.inc (logb_test_downward): New test to expose
21129 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21130 rounding mode.
21131
6ad3493e
JM
211322012-04-27 Joseph Myers <joseph@codesourcery.com>
21133
21134 [BZ #14027]
21135 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21136 to be done.
21137 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21138 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21139
2ce4f015
JM
211402012-04-26 Joseph Myers <joseph@codesourcery.com>
21141
5aeb141a
JM
21142 * sysdeps/unix/i386/brk.S: Remove file.
21143 * sysdeps/unix/i386/dl-brk.S: Likewise.
21144 * sysdeps/unix/i386/pipe.S: Likewise.
21145 * sysdeps/unix/i386/sigreturn.S: Likewise.
21146 * sysdeps/unix/i386/syscall.S: Likewise.
21147 * sysdeps/unix/i386/vfork.S: Likewise.
21148 * sysdeps/unix/i386/wait.S: Likewise.
21149
7143acae
JM
21150 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21151 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21152
2ce4f015
JM
21153 * configure.in (arm*-none*): Do not allow without
21154 --enable-hacker-mode.
21155 (netbsd*): Remove case setting base_os.
21156 (386bsd*): Likewise.
21157 (freebsd*): Likewise.
21158 (bsdi*): Likewise.
21159 (osf*): Likewise.
21160 (sunos*): Likewise.
21161 (ultrix*): Likewise.
21162 (newsos*): Likewise.
21163 (dynix*): Likewise.
21164 (*bsd*): Likewise.
21165 (sysv*): Likewise.
21166 (isc*): Likewise.
21167 (esix*): Likewise.
21168 (sco*): Likewise.
21169 (minix*): Likewise.
21170 (irix4*): Likewise.
21171 (irix6*): Likewise.
21172 (solaris[2-9]*): Likewise.
21173 (none): Likewise.
21174 * configure: Regenerated.
21175
0ac229c8
AZ
211762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21177
21178 [BZ #11521]
21179 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21180 overflow or cancellation in calculating denominator.
21181 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21182 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21183 down expression to avoid unexpected rounding in newer GCCs.
21184 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21185
33f244f4
DM
211862012-04-26 David S. Miller <davem@davemloft.net>
21187
21188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21189 long-double compat symbols.
21190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21203
cfa1f3e8
DM
212042012-04-25 David S. Miller <davem@davemloft.net>
21205
21206 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21207 HWCAP_* values only after the memory barriers have been defined.
21208 (atomic_full_barrier): Define.
21209 (atomic_read_barrier): Define.
21210 (atomic_write_barrier): Define.
21211
6e236b92
SP
212122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21213
21214 * shlib-versions: Add libgcc_s version information.
21215 * sysdeps/generic/libgcc_s.h: Remove.
21216 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21217 libgcc_s.h.
21218 * sysdeps/gnu/unwind-resume.c: Likewise.
21219 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21220
aab39a09
DM
212212012-04-25 David S. Miller <davem@davemloft.net>
21222
21223 * sysdeps/unix/sparc/brk.S: Delete.
21224 * sysdeps/unix/sparc/dl-brk.S: Delete.
21225 * sysdeps/unix/sparc/pipe.S: Delete.
21226 * sysdeps/unix/sparc/sysdep.S: Delete.
21227 * sysdeps/unix/sparc/sysdep.h: Delete.
21228 * sysdeps/unix/sparc/vfork.S: Delete.
21229 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21230 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21231 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21232 ret_ERRVAL, r0, r1, MOVE): Define.
21233 (JUMPTARGET): Remove.
21234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21235 sysdeps/unix/sparc/sysdep.h
21236 (ENTRY, END): Remove.
21237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21238
a3cc4f48
JM
212392012-04-25 Joseph Myers <joseph@codesourcery.com>
21240
2ed8cda2
JM
21241 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21242 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21243 -DIS_IN_build.
21244
35d76d59
JM
21245 * timezone/README: Update upstream location and email address for
21246 tzcode and tzdata.
21247 * timezone/zdump.c: Update from tzcode 2012b.
21248 * timezone/zic.c: Likewise.
21249
a3cc4f48
JM
21250 * configure.in (libc_cv_as_needed): Remove test.
21251 * configure: Regenerated.
21252 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21253 conditional definition.
21254 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21255 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21256 * config.make.in (have-as-needed): Remove variable.
21257
ceab42c3
SP
212582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21259 Paul Pluzhnikov <ppluzhnikov@google.com>
21260
21261 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21262 strings correctly.
21263
3ce2865f
CLT
212642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21265
21266 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21267 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21268 * sysdeps/sh/strlen.S: Likewise.
21269
f37e0d68
JM
212702012-04-24 Joseph Myers <joseph@codesourcery.com>
21271
ae186e9a
JM
21272 * sysdeps/unix/fork.S: Remove file.
21273 * sysdeps/unix/i386/fork.S: Likewise.
21274 * sysdeps/unix/sparc/fork.S: Likewise.
21275
b96914af
JM
21276 * sysdeps/unix/system.c: Remove file.
21277 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21278
f37e0d68
JM
21279 * sysdeps/unix/getegid.S: Remove file.
21280 * sysdeps/unix/geteuid.S: Likewise.
21281
87ef29ca
RM
212822012-04-24 Roland McGrath <roland@hack.frob.com>
21283
83bcd236
RM
21284 * scripts/check-localplt.awk: New file.
21285 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21286 of diff.
21287 * scripts/data/localplt-generic.data: Add a comment.
21288
87ef29ca
RM
21289 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21290 NODE when __dir_mkfile failed.
21291 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21292 Reported by Ludovic Courtès <ludo@gnu.org>.
21293
e5a6e567
AJ
212942012-04-24 Andreas Jaeger <aj@suse.de>
21295
21296 * Makerules (common-clean): Also remove gen-as-const-headers
21297 files.
21298
c1820385
JM
212992012-04-24 Joseph Myers <joseph@codesourcery.com>
21300
21301 * Makerules (native-compile): Do not change working directory for
21302 build. Use $(OUTPUT_OPTION) in command.
21303 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21304
94e02fc4
AZ
213052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21306
21307 [BZ #13886]
21308 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21309 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21310 * math/libm-test.inc (floor_test): Add more tests.
21311 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21312
3a533ca3
JM
213132012-04-24 Joseph Myers <joseph@codesourcery.com>
21314
940ab4b3
JM
21315 * sysdeps/unix/getdents.c: Remove file.
21316 * sysdeps/unix/sysv/getdents.c: Likewise.
21317 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21318
90e037bd
JM
21319 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21320 sysdeps/unix/mman/syscalls.list.
21321 (mmap): Likewise.
21322 (mprotect): Likewise.
21323 (msync): Likewise.
21324 (munmap): Likewise.
21325 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21326 * sysdeps/unix/mman/syscalls.list: Remove.
21327 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21328
3a533ca3
JM
21329 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21330 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21331 * configure: Regenerated.
21332 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21333 $(libgcc_s_suffix).
21334 * config.make.in (libgcc_s_suffix): Remove variable.
21335
1ad743de
JM
213362012-04-23 Joseph Myers <joseph@codesourcery.com>
21337
4ad451e2
JM
21338 * sysdeps/unix/sysv/gethostname.c: Move to ...
21339 * sysdeps/posix/gethostname.c: ... here.
21340
5e37ce39
JM
21341 * sysdeps/unix/execve.S: Remove file.
21342
1ad743de
JM
21343 * sysdeps/unix/_exit.S: Remove file.
21344
4e681b5b
AJ
213452012-04-23 Andreas Jaeger <aj@suse.de>
21346
21347 [BZ #13739]
21348 * manual/Makefile: Remove make dist support, there's no
21349 need for a stand-alone documentation tar ball.
21350 (TEXI2DVI): Define always, it's not in Makeconfig.
21351 (dist): Removed.
21352 (tar-it): Removed.
21353 (edition): Removed.
21354 (glibc-doc-$(edition).tar): Removed
21355 (%.Z): Removed.
21356 (%.gz): Removed.
21357 (%.uu): Removed.
21358 (ETAGS): Remove, it's in Makeconfig.
21359 (move-if-change): Remove, it's in Makeconfig.
21360
38686a03 213612012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21362
21363 [BZ #13970]
21364 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21365 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21366 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21367 (strtod_l, strtof_l, strtold_l): Remove __wur.
21368 It is not necessarily an error to ignore strtol's return value.
21369 One can reliably look at the stored endptr to decide whether
21370 the number had valid syntax.
21371
7c0616fa
AJ
213722012-04-21 Andreas Jaeger <aj@suse.de>
21373
803cb6b7 21374 [BZ #13739]
7c0616fa
AJ
21375 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21376
b0fe253f
JM
213772012-04-21 Joseph Myers <joseph@codesourcery.com>
21378
21379 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21380 * sysdeps/unix/sysv/Versions: Remove file.
21381
8280f22d
MT
213822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21383
21384 [BZ #13927]
21385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21386
75ce411f 213872012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21388
21389 [BZ #7064]
21390 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21391 version from __vm86.
21392
097d59fa
JM
213932012-04-20 Joseph Myers <joseph@codesourcery.com>
21394
a90f3bcb
JM
21395 * sysdeps/unix/common/lxstat.c: Remove file.
21396 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21397
edc7ea78
JM
21398 * sysdeps/unix/sysv/Makefile: Remove file.
21399
cb78c221
JM
21400 * sysdeps/unix/sysv/direct.h: Remove file.
21401
efa6a45f
JM
21402 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21403 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21404 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21405 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21406 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21407 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21408 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21409
9c9f2d0c
JM
21410 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21411
4541c83b
JM
21412 * sysdeps/unix/xmknod.c: Remove file.
21413 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21414
f5d153a0
JM
21415 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21416
aa746595
JM
21417 * sysdeps/unix/sysv/i386/time.S: Remove file.
21418
cce5905e
JM
21419 * sysdeps/unix/fxstat.c: Remove file.
21420 * sysdeps/unix/xstat.c: Likewise.
21421 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21422
37fa3841
JM
21423 * sysdeps/unix/sysv/sigaction.c: Remove file.
21424
ff1962a3
JM
21425 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21426 (sysdep_headers): Remove variable.
21427 [termio.h not in sysdep_headers] (generated): Likewise.
21428 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21429 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21430 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21431 * sysdeps/unix/sysv/tcflow.c: Likewise.
21432 * sysdeps/unix/sysv/tcflush.c: Likewise.
21433 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21434 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21435 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21436 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21437 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21438
e7740d31
JM
21439 * sysdeps/unix/siglist.c: Remove file.
21440
ee06f18b
JM
21441 * sysdeps/unix/getppid.S: Remove file.
21442
097d59fa
JM
21443 * sysdeps/unix/mkdir.c: Remove file.
21444 * sysdeps/unix/rmdir.c: Likewise.
21445
ff3d51ec
AS
214462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21447
21448 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21449 ERR_MAX value.
21450 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21451 errlist-compat value.
21452
50f81fd7
DM
214532012-04-18 David S. Miller <davem@davemloft.net>
21454
21455 * sysdeps/generic/memcopy.h (reg_char): Delete.
21456 * debug/strcat_chk.c: Use char, not reg_char.
21457 * debug/strcpy_chk.c: Likewise.
21458 * debug/strncat_chk.c: Likewise.
21459 * debug/strncpy_chk.c: Likewise.
21460 * string/memchr.c: Likewise.
21461 * string/memrchr.c: Likewise.
21462 * string/rawmemchr.c: Likewise.
21463 * string/strcat.c: Likewise.
21464 * string/strchr.c: Likewise.
21465 * string/strchrnul.c: Likewise.
21466 * string/strcmp.c: Likewise.
21467 * string/strcpy.c: Likewise.
21468 * string/strncat.c: Likewise.
21469 * string/strncmp.c: Likewise.
21470 * string/strncpy.c: Likewise.
21471
8ff41c46
WS
214722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21473
21474 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21475 __builtin_memcopy is called when src and dest ranges are known to not
21476 overlap.
21477
6b652f46
WS
214782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21479
21480 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21481 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21482 fwd_align_merge macro call.
21483 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21484 bwd_align_merge macro call.
21485 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21486
b282631e
WS
214872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21488
21489 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21490 bwd_align_merge macros.
21491 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21492 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21493 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21494
95aa737c
DM
214952012-04-18 David S. Miller <davem@davemloft.net>
21496
21497 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21498
7a99a614
AJ
214992012-04-18 Andreas Jaeger <aj@suse.de>
21500
21501 [BZ# 6794]
21502 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21503 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21504 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21505
21506 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21507 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21508 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21509
21510 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21511 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21512 Adjust for changed ldbl-128 files.
21513
21514 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21515 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21516 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21517
e5270c23
DM
215182012-04-17 David S. Miller <davem@davemloft.net>
21519
21520 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21521
fb5e92c9
AS
215222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21523
21524 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21525 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21526 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21527 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21528 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21529 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21530
76da7265
AZ
215312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21532
21533 [BZ #6794]
21534 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21535 * math/libm-test.inc: Add ilogb errno and exception tests.
21536 * math/w_ilogb.c: New file: ilogb wrapper.
21537 * math/w_ilogbf.c: New file: ilogbf wrapper.
21538 * math/w_ilogbl.c: New file: ilogbl wrapper.
21539 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21540 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21541 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21542 exception being thrown with 0.0 as argument.
21543 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21544 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21545 exception being thrown with 0.0 as argument.
21546 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21547 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21548 exception being thrown with 0.0 as argument.
21549 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21550 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21551 exception being thrown with 0.0 as argument.
21552 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21553 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21554 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21555 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21556 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21557 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21558 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21559 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21560 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21561
0396e69d
PB
215622012-04-17 Petr Baudis <pasky@ucw.cz>
21563
21564 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21565 with altivec.
21566
750b5926
MP
215672012-04-16 Marek Polacek <polacek@redhat.com>
21568
21569 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21570
751728a1
MP
215712012-04-16 Marek Polacek <polacek@redhat.com>
21572
21573 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21574 operands of fdivp instruction.
21575
34a27407
L
215762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21577
21578 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21579 * elf/tst-auditmod3b.c: Likewise.
21580 * elf/tst-auditmod4b.c: Likewise.
21581 * elf/tst-auditmod5b.c: Likewise.
21582 * elf/tst-auditmod6b.c: Likewise.
21583 * elf/tst-auditmod6c.c: Likewise.
21584 * elf/tst-auditmod7b.c: Likewise.
21585 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21586 * sysdeps/x86_64/preconfigure.in: Likewise.
21587 * sysdeps/x86_64/preconfigure: Regenerated.
21588
7e73e17d
L
215892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21590
21591 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21592 __ILP32__.
21593
c7a6ab72
AB
215942012-04-13 Antoine Balestrat <merkil33@gmail.com>
21595
21596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21597 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21598
a9e8e0e0
CL
215992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21600
21601 [BZ #13973]
21602 * locale/iso-639.def: Fix gl language name. Spotted by
21603 Yaron Shahrabani.
21604
ec98af7d
RM
216052012-04-12 Roland McGrath <roland@hack.frob.com>
21606
21607 [BZ #2074]
21608 * libio/libio.h (__io_write_fn): Update comment.
21609
247c3ede
PB
216102012-04-12 Petr Baudis <pasky@ucw.cz>
21611
21612 [BZ #2074]
21613 * stdio.texi (Hook Functions): The user provided writer function
21614 is not allowed to return -1.
21615
55939d6d
DM
216162012-04-11 David S. Miller <davem@davemloft.net>
21617
21618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21619
90020f5a
MF
216202012-04-11 Mike Frysinger <vapier@gentoo.org>
21621
21622 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21623 Add a leading slash to rtkaio.
21624
288f9098
JM
216252012-04-11 Jim Meyering <meyering@redhat.com>
21626
90020f5a
MF
21627 [BZ #11959]
21628 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21629 It is not necessarily an error to ignore fwrite's return
21630 value. One can reliably use ferror to test for errors after
21631 the fact.
288f9098 21632
4be2b570
L
216332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21634
21635 * bits/types.h (__snseconds_t): New type.
21636 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21637
21638 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21640 (__SNSECONDS_T_TYPE): Likewise.
21641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21642 (__SNSECONDS_T_TYPE): Likewise.
21643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21644 (__SNSECONDS_T_TYPE): Likewise.
21645
288f9098 216462012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21647
21648 [BZ #2636]
21649 * manual/time.texi (Processor Time): Return type of times is
21650 elapsed real time since an arbitrary point in the past.
21651 (CPU Time): Move CLK_TCK from here...
21652 (Processor Time): ...to here. Correct description.
21653 * manual/conf.texi (Constants for Sysconf): Correct description of
21654 _SC_CLK_TCK.
21655
d7dd4413
DM
216562012-04-10 David S. Miller <davem@davemloft.net>
21657
21658 [BZ #13967]
21659 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21660 where the is a gap between DT_REL(A) and DT_JMPREL.
21661
b46068fc
L
216622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21663
21664 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21665 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21666 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21667
73d65cc3
SP
216682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21669
21670 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21671 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21672 (dl_main): Handle --inhibit-cache.
21673 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21674 _dl_inhibit_cache.
21675 * elf/dl-load.c (_dl_map_object): Use it.
21676 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21677
bcc8d661
JM
216782012-04-09 Joseph Myers <joseph@codesourcery.com>
21679
8f9a2fae
JM
21680 [BZ #13872]
21681 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21682 (__ieee754_powl): Saturate large exponents rather than testing for
21683 overflow of y*log2(x).
21684 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21685 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21686 exceptions.
21687
bcc8d661
JM
21688 [BZ #11521]
21689 * math/s_ctan.c: Include <float.h>.
21690 (__ctan): Avoid internal overflow or cancellation in calculating
21691 denominator.
21692 * math/s_ctanf.c: Likewise.
21693 * math/s_ctanl.c: Likewise.
21694 * math/s_ctanh.c: Likewise.
21695 * math/s_ctanhf.c: Likewise.
21696 * math/s_ctanhl.c: Likewise.
21697 * math/libm-test.inc (ctan_test): Add more tests.
21698 (ctanh_test): Likewise.
21699 * sysdeps/i386/fpu/libm-test-ulps: Update.
21700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21701
823fbbb4
AJ
217022012-04-09 Andreas Jaeger <aj@suse.de>
21703
03879793
AJ
21704 [BZ #6894]
21705 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21706 is an optional BSD extension.
21707
823fbbb4
AJ
21708 [BZ #10254]
21709 * manual/stdio.texi (Opening Streams): Document additional fopen
21710 parameters.
21711
8de131cb
RM
217122012-04-09 Roland McGrath <roland@hack.frob.com>
21713
21714 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21715 %eax without telling the compiler.
21716
c0ed9d7d
CD
217172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21718
21719 [BZ # 13963]
21720 * manual/install.texi: Use sourceware.org.
21721
c483f6b4
JM
217222012-04-09 Joseph Myers <joseph@codesourcery.com>
21723
d7dd9453
JM
21724 [BZ #13873]
21725 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21726 (__ieee754_pow): Generate overflow and underflow using huge*huge
21727 and tiny*tiny rather than just returning constant infinity or zero
21728 for large exponents.
21729 * math/libm-test.inc (pow_test): Require overflow exceptions for
21730 applicable cases of large exponents.
21731
c483f6b4
JM
21732 [BZ #706]
21733 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21734 (__ieee754_pow): Use iterative multiplication algorithm only for
21735 integer exponents with absolute value below 1024. Check for odd
21736 integer exponents when using algorithm for real exponents.
21737 * math/libm-test.inc (pow_test): Add more tests.
21738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21739
d2de7579
JM
217402012-04-08 Joseph Myers <joseph@codesourcery.com>
21741
21742 [BZ #13705]
21743 * math/libm-test.inc (exp_test): Do not allow overflow exception
21744 on underflow test.
21745
f77f1232
AJ
217462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21747
21748 [BZ #13705]
21749 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21750 instead of __kernel_standard_f.
21751
3884932b
MF
217522012-04-08 Mike Frysinger <vapier@gentoo.org>
21753
21754 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21755 * sysdeps/x86_64/memset_chk.S: Likewise.
21756
54472e9c
AJ
217572012-04-08 Andreas Jaeger <aj@suse.de>
21758
6ab0fbfc
AJ
21759 [BZ #10153]
21760 * manual/startup.texi (Environment Access): Describe return value
21761 for putenv and setenv.
21762
61efba8c
AJ
21763 [BZ #6895]
21764 * manual/filesys.texi (Directory Entries): Add description for
21765 DT_LNK.
21766
95c3f29a
AJ
21767 [BZ #6890]
21768 * manual/filesys.texi (Directory Entries): Clarify that it's file
21769 system not operating system in the description of DT_UNKNOWN.
21770
54472e9c
AJ
21771 [BZ #6578]
21772 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21773
624254b1
SC
217742012-04-08 Stephen Compall <s11@member.fsf.org>
21775
21776 [BZ #6649]
21777 * manual/llio.texi (Opening and Closing Files): Add cross
21778 reference to explain mode argument.
21779
1e4920e0
MF
217802012-04-07 Mike Frysinger <vapier@gentoo.org>
21781
21782 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21783 * sysdeps/x86_64/memset_chk.S: Likewise.
21784
5ed848f3
DM
217852012-04-07 David S. Miller <davem@davemloft.net>
21786
21787 * elf/elf.h (R_SPARC_WDISP10): Define.
21788 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21789 R_SPARC_SIZE32.
21790 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21791 R_SPARC_SIZE64 and R_SPARC_H34.
21792
96154cd8
CD
217932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21794
21795 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21796 conditions and remove no longer applicable assertion.
21797
9904dc47
L
217982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21799
21800 * bits/byteswap.h: Include <features.h>.
21801 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21802 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21803
f8887d0a
L
218042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21805
21806 * bits/byteswap.h (__bswap_16): Removed.
21807 Include <bits/byteswap-16.h> to get __bswap_16.
21808 * sysdeps/i386/bits/byteswap.h: Likewise.
21809 * sysdeps/s390/bits/byteswap.h: Likewise.
21810 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21811 * bits/byteswap-16.h: New file.
21812 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21813 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21814 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21815 * string/Makefile (headers): Add bits/byteswap-16.h.
21816
62470f60
PP
218172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21818
21819 [BZ #13895]
21820 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21821 extra indirection.
21822 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21823 * nss/tst-nss-static.c: New.
21824
4dad7bab
RM
218252012-04-06 Robert Millan <rmh@gnu.org>
21826
21827 [BZ #6486]
21828 * manual/llio.texi (File Position Primitive): lseek
21829 refers to WHENCE when it really means OFFSET.
21830
e9142a17
AJ
218312012-04-06 Andreas Jaeger <aj@suse.de>
21832
2c040eff
AJ
21833 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21834 strncmp declarations.
21835
e9142a17
AJ
21836 * abilist/libc.abilist: Add __poll and __ppoll.
21837
ff9f1c5f
DM
218382012-04-05 David S. Miller <davem@davemloft.net>
21839
dcd2ae90
DM
21840 * scripts/check-local-headers.sh: Accept a host triplet in the
21841 path matched by the exclude regexp.
21842
993eb054
DM
21843 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21844 definition.
21845 * sysdeps/powerpc/powerpc32/dl-machine.h
21846 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21847 * sysdeps/s390/s390-32/dl-machine.h
21848 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21849 * sysdeps/sparc/sparc32/dl-machine.h
21850 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21851 * sysdeps/sparc/sparc64/dl-machine.h
21852 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21853
ff9f1c5f
DM
21854 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21855 lazy binding.
48e2e132 21856 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21857 undefined symbol errors.
21858
48e2e132 21859 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21860 DT_NEEDED entries.
21861
e80d6f94
MM
218622012-04-05 Michael Matz <matz@suse.de>
21863
21864 [BZ #13592]
21865 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21866
349fa79f
AJ
218672012-04-05 Andreas Jaeger <aj@suse.de>
21868
21869 [BZ #13908]
21870 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21871 comment.
21872
f402708f
KK
218732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21874
21875 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21876 which ROUND is no valid rounding mode.
21877
2ecccfc9
KK
218782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21879
21880 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21881 read again.
21882 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21883
8a53f50f
KK
218842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21885
21886 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21887 an exception using FPU order intentionally.
21888
218892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21890
21891 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21892 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21893 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21894 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21895
d653abb7
SJ
218962012-04-05 Simon Josefsson <simon@josefsson.org>
21897
21898 [BZ #12340]
21899 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21900 EINVAL when BUFLEN is too smal.
21901
c3b1bf7d
TS
219022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21903
21904 [BZ #13553]
21905 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21906 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21907
b1aa60f3
AJ
219082012-04-03 Andreas Jaeger <aj@suse.de>
21909
c3b1bf7d 21910 [BZ #13938]
67f60a26
AJ
21911 * manual/setjmp.texi (System V contexts): Fix sentence.
21912
b1aa60f3
AJ
21913 [BZ #13926]
21914 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21915 New macro for this case.
21916 [!__GNUC__] (__bswap_64): New inline function for this case.
21917 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21918 * bits/byteswap.h: Likewise.
21919 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21920 ull, guard with __GLIBC_HAVE_LONG_LONG.
21921
21922 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21923 __GLIBC_HAVE_LONG_LONG.
21924
21925 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21926 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21927
39c59c35
TMQMF
219282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21929
21930 [BZ #13691]
21931 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21932 inptr and inend, rather than using last_ch.
21933
135ffda8
DM
219342012-04-02 David S. Miller <davem@davemloft.net>
21935
21936 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21937 * stdio-common/printf-parse.h (read_int): Change return type to
21938 'int', return -1 on INT_MAX overflow.
21939 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21940 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21941 overflows INT_MAX. Check for overflow of in-format-string precision
21942 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21943 SIZE_MAX not INT_MAX for integer overflow test.
21944 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21945 skip the construct in the format string but do not record anything.
21946 * stdio-common/bug22.c: Adjust to test both width/prevision
21947 INT_MAX overflow as well as total length INT_MAX overflow. Check
21948 explicitly for proper errno values.
21949
228c019e
TS
219502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21951
302cadd3
TS
21952 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21953 CHAR_MAX.
21954 * string/test-strcmp.c [! WIDE]: Likewise.
21955 * time/tst-mktime2.c: Likewise for INT_MAX.
21956 * string/test-string.h: #include <sys/param.h> for MIN.
21957
228c019e
TS
21958 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21959 * sysdeps/i386/init-first.c (init): Likewise.
21960 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21961 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21962 * sysdeps/sh/init-first.c (init): Likewise.
21963
cfa633f5
UD
219642012-04-01 Ulrich Drepper <drepper@gmail.com>
21965
21966 * po/ru.po: Update from translation team.
d1635ef8 21967 * po/vi.po: Likewise.
cfa633f5 21968
6cd0a5ea
SP
219692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21970
21971 * resolv/nss_dns/dns-host.c: Merge copyright years.
21972
4b43400f
LD
219732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21974
21975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21976 Optimize memcpy with prefetch if
21977 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21978 src, dst pointers have unequal 16 byte alignments.
21979
48c41d04
SP
219802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21981
21982 [BZ #13928]
21983 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21984 from a CNAME entry and return the minimum ttl for the query.
21985 (gaih_getanswer_slice): Likewise.
21986
b8dc394d
JL
219872012-03-30 Jeff Law <law@redhat.com>
21988
21989 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21990 due to long keys.
21991 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21992 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21993
2f5a5ed0
JL
21994 * resolv/nss_dns/dns-host.c: Update copyright year.
21995
1d39e359
UD
219962012-03-30 Ulrich Drepper <drepper@gmail.com>
21997
c030f70c 21998 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21999 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22000
1d39e359
UD
22001 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22002 comments for sendmmsg.
22003
220042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22005
22006 [BZ #13691]
22007 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22008 with only 1 character between 0x0041 and 0x01b0.
22009 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22010 * wcsmbs/tst-mbsnrtowcs.c: New file.
22011
20fde227
DM
220122012-03-29 David S. Miller <davem@davemloft.net>
22013
22014 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22015 small copies by hand.
22016
984a4237
JL
220172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22018
22019 [BZ #13761]
22020 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22021 _nss_compat_initgroups_dyn): Fall back to malloc/free
22022 for large group memberships.
22023
18c9d62b
DM
220242012-03-28 David S. Miller <davem@davemloft.net>
22025
88d85d4f
DM
22026 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22027 that branches into memcpy.
22028 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22030 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22031 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22033 bits.
22034 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22035 implementation too.
22036 * sysdeps/sparc/mempcpy.S: New file.
22037
e5aa83e1
DM
22038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22039 the IFUNC routine in the libc case.
22040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22041
88570753
DM
22042 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22043 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22044 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22045 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22046 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22047 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22048 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22049 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22050
249d7567
DM
22051 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22052 loop to 256 bytes instead of 64 bytes and fix test signedness.
22053
18c9d62b
DM
22054 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22055 * sysdeps/sparc/sparc32/Makefile: rather than here...
22056 * sysdeps/sparc/sparc64/Makefile: and here.
22057
05f3d1f6
UD
220582012-03-28 Ulrich Drepper <drepper@gmail.com>
22059
22060 * malloc/mallocbug.c: Avoid warnings about unused variables.
22061
86ae07a8
JL
220622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22063
22064 [BZ #13760]
22065 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22066 in the right place. Discard and retry query if response is
22067 larger than input buffer size.
22068
41bf21a1
JM
220692012-03-28 Joseph Myers <joseph@codesourcery.com>
22070
d6270972
JM
22071 [BZ #369]
22072 [BZ #2678]
22073 [BZ #3866]
22074 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22075 x for large integer exponent.
22076 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22077 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22078 sign of result as needed afterwards.
22079 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22080 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22081 result for underflowing pow the same as for overflow.
22082 (__kernel_standard_l): Handle powl overflow and underflow here
22083 rather than calling __kernel_standard.
22084 * math/libm-test.inc (pow_test): Add more tests.
22085
414fca03 22086 [BZ #3868]
41bf21a1
JM
22087 [BZ #13879]
22088 [BZ #13910]
22089 [BZ #13911]
22090 [BZ #13912]
22091 [BZ #13913]
22092 [BZ #13915]
22093 [BZ #13916]
22094 [BZ #13917]
22095 [BZ #13918]
22096 [BZ #13919]
22097 [BZ #13920]
22098 [BZ #13921]
22099 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22100 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22101 (__kernel_standard_l): New function.
22102 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22103 __kernel_standard.
22104 * math/w_acosl.c (__acosl): Likewise.
22105 * math/w_asinl.c (__asinl): Likewise.
22106 * math/w_atan2l.c (__atan2l): Likewise.
22107 * math/w_atanhl.c (__atanhl): Likewise.
22108 * math/w_coshl.c (__coshl): Likewise.
22109 * math/w_exp10l.c (__exp10l): Likewise.
22110 * math/w_exp2l.c (__exp2l): Likewise.
22111 * math/w_fmodl.c (__fmodl): Likewise.
22112 * math/w_hypotl.c (__hypotl): Likewise.
22113 * math/w_j0l.c (__j0l, __y0l): Likewise.
22114 * math/w_j1l.c (__j1l, __y1l): Likewise.
22115 * math/w_jnl.c (__jnl, __ynl): Likewise.
22116 * math/w_lgammal.c (__lgammal): Likewise.
22117 * math/w_log10l.c (__log10l): Likewise.
22118 * math/w_log2l.c (__log2l): Likewise.
22119 * math/w_logl.c (__logl): Likewise.
22120 * math/w_powl.c (__powl): Likewise.
22121 * math/w_remainderl.c (__remainderl): Likewise.
22122 * math/w_scalbl.c (sysv_scalbl): Likewise.
22123 * math/w_sinhl.c (__sinhl): Likewise.
22124 * math/w_sqrtl.c (__sqrtl): Likewise.
22125 * math/w_tgammal.c (__tgammal): Likewise.
22126 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22127 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22128 * math/libm-test.inc (acos_test): Add more tests.
22129 (acosh_test): Likewise.
22130 (asin_test): Likewise.
22131 (atanh_test): Likewise.
22132 (exp_test): Likewise.
22133 (exp10_test): Likewise.
22134 (exp2_test): Likewise.
22135 (expm1_test): Likewise.
22136 (lgamma_test): Likewise.
22137 (log_test): Likewise.
22138 (log10_test): Likewise.
22139 (log1p_test): Likewise.
22140 (log2_test): Likewise.
22141 (pow_test): Do not allow some spurious overflow exceptions.
22142 (sqrt_test): Add more tests.
22143 (tgamma_test): Likewise.
22144 (y0_test): Likewise.
22145 (y1_test): Likewise.
22146 (yn_test): Likewise.
22147
dd62fda6
AB
221482012-03-27 Anton Blanchard <anton@samba.org>
22149
22150 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22151 MAP_HUGETLB.
22152 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22153 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22154 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22155
1e3cdfda
AJ
221562012-03-27 David S. Miller <davem@davemloft.net>
22157
b855ab85
DM
22158 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22159
1e3cdfda
AJ
22160 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22161 have-as-vis3 check.
22162
221632012-03-27 Andreas Jaeger <aj@suse.de>
22164
22165 * sysdeps/x86_64/elf/configure.in: Moved to ...
22166 * sysdeps/x86_64/configure.in: ... here.
22167 * sysdeps/x86_64/elf/start.S: Moved to ...
22168 * sysdeps/x86_64/start.S: ... here.
22169 * sysdeps/x86_64/elf/configure: Delete.
22170
22171 * sysdeps/x86_64/configure.in: Merge contents from
22172 sysdeps/i386/configure.in (without i686 check).
22173
22174 * sysdeps/i386/elf/Versions: Merge into ...
22175 * sysdeps/i386/Versions: ... this.
22176 * sysdeps/i386/elf/Versions: Delete file.
22177 * sysdeps/i386/elf/start.S: Moved to ...
22178 * sysdeps/i386/start.S: ...here.
22179 * sysdeps/i386/elf/configure.in: Merge into...
22180 * sysdeps/i386/configure.in: ...here.
22181 * sysdeps/i386/elf/configure.in: Delete file.
22182 * sysdeps/i386/elf/configure: Delete file.
22183
22184 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22185 * debug/backtracesyms.c: ... here.
22186 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22187 * debug/backtracesymsfd.c: ... here.
22188 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22189 * sysdeps/generic/ifunc-sel.h: ... here.
22190
22191 * sysdeps/unix/i386/start.c: Delete file.
22192 * sysdeps/unix/sparc/start.c: Delete file.
22193 * sysdeps/unix/start.c: Delete file.
22194
22195 * sysdeps/sh/elf/configure.in: Moved to ...
22196 * sysdeps/sh/configure.in: ... here.
22197 * sysdeps/sh/elf/start.S: Moved to ...
22198 * sysdeps/sh/start.S: ... here.
22199 * sysdeps/sh/elf/configure: Delete file.
22200
22201 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22202 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22203 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22204 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22205 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22206 * sysdeps/powerpc/powerpc64/start.S: here.
22207 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22208 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22209 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22210 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22211 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22212
22213 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22214 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22215 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22216 * sysdeps/powerpc/powerpc32/start.S: ... here.
22217 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22218 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22219 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22220
22221 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22222 * sysdeps/powerpc/ifunc-sel.h: ... here.
22223 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22224 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22225
22226 * sysdeps/sparc/elf/configure.in: Moved to ...
22227 * sysdeps/sparc/configure.in: ... here.
22228 * sysdeps/sparc/elf/configure: Delete file.
22229 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22230 * sysdeps/sparc/sparc32/start.S: ... here.
22231 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22232 * sysdeps/sparc/sparc64/start.S: ... here.
22233 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22234 * sysdeps/sparc/sparc32/Makefile: ... this.
22235 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22236 * sysdeps/sparc/sparc64/Makefile: ... this.
22237
22238 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22239 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22240 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22241 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22242 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22243 * sysdeps/s390/s390-32/setjmp.S: ... here.
22244 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22245 * sysdeps/s390/s390-32/configure.in: ... here.
22246 * sysdeps/s390/s390-32/elf/configure: Delete file.
22247 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22248 * sysdeps/s390/s390-32/start.S: ... here.
22249
22250 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22251 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22252 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22253 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22254 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22255 * sysdeps/s390/s390-64/setjmp.S: ... here.
22256 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22257 * sysdeps/s390/s390-64/configure.in: ... here
22258 * sysdeps/s390/s390-64/elf/configure: Delete file.
22259 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22260 * sysdeps/s390/s390-64/start.S: ... here.
22261 * sysdeps/s390/s390-64/elf/configure: Delete.
22262
22263 * configure.in: Remove support for elf directories in sysdeps.
22264
22265 * configure: Regenerated.
22266 * sysdeps/i386/configure: Regenerated.
22267 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22268 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22269 * sysdeps/s390/s390-32/configure: Regenerated.
22270 * sysdeps/s390/s390-64/configure: Regenerated.
22271 * sysdeps/sh/configure: Regenerated.
22272 * sysdeps/sparc/configure: Regenerated.
22273 * sysdeps/x86_64/configure: Regenerated.
22274
a3f61311
AS
222752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22276
c876e002
AS
22277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22278
a3f61311
AS
22279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22280 denormal result into account.
22281
ac4c54f0
RM
222822012-03-25 Roland McGrath <roland@hack.frob.com>
22283
22284 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22285 Reported by Allan McRae <allan@archlinux.org>.
22286
6a9b9c02
JL
222872012-03-23 Jeff Law <law@redhat.com>
22288
22289 * nss/getnssent.c (__nss_getent): Fix typo.
22290
4c42a0c1
DM
222912012-03-23 David S. Miller <davem@davemloft.net>
22292
22293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22294
1532c7ac
L
222952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22296
22297 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22298 to pad to uint64_t for each field.
22299 (dl_tls_index): Replace unsigned long with uint64_t.
22300
3ff42526
PP
223012012-03-23 Daniel Jacobowitz <dmj@google.com>
22302 Paul Pluzhnikov <ppluzhnikov@google.com>
22303
22304 [BZ #6528]
22305 * grp/Makefile (otherlibs): Don't set it.
22306 * inet/Makefile (otherlibs): Likewise.
22307 * login/Makefile (otherlibs): Likewise.
22308 * nscd/Makefile (otherlibs): Likewise.
22309 * posix/Makefile (otherlibs): Likewise.
22310 * pwd/Makefile (otherlibs): Likewise.
22311 * rt/Makefile (otherlibs): Likewise.
22312 * sunrpc/Makefile (otherlibs): Likewise.
22313 * nss/Makefile (otherlibs): Likewise.
22314 Add libnss_files to routines and static-only-routines.
22315 ($(objpfx)getent): Remove rule.
22316 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22317 static-only-routines.
22318
7c69cd14
JM
223192012-03-22 Joseph Myers <joseph@codesourcery.com>
22320
22321 [BZ #13892]
22322 * math/s_cexp.c: Include <float.h>.
22323 (__cexp): Handle exp result overflowing not necessarily
22324 overflowing both real and imaginary parts of result.
22325 * math/s_cexpf.c: Likewise.
22326 * math/s_cexpl.c: Likewise.
22327 * math/libm-test.inc (cexp_test): Add more tests.
22328 * sysdeps/i386/fpu/libm-test-ulps: Update.
22329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22330
81b035fe
L
223312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22332
22333 * include/link.h (ELFW): New macro.
22334 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22335 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22336
1da7940c
L
223372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22338
22339 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22340 with uint64_t.
22341
b749dbb9
L
223422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22343
22344 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22345 declaration.
22346 (struct La_x32_retval): Likewise.
22347
2ff87f3f
L
223482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22349
22350 * sysdeps/x86_64/preconfigure.in: New file.
22351 * sysdeps/x86_64/preconfigure: New generated file.
22352
c0df8e69
JM
223532012-03-22 Joseph Myers <joseph@codesourcery.com>
22354
48e44791
JM
22355 [BZ #13824]
22356 * math/e_exp2l.c: Include <float.h>.
22357 (__ieee754_exp2l): Handle overflow and underflow cases
22358 separately. Only pass fractional part of argument to
22359 __ieee754_expl.
22360 * math/libm-test.inc (exp2_test): Add more tests.
22361
c0df8e69
JM
22362 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22363 negating x to take absolute value.
22364 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22365 Likewise.
22366 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22367 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22368 Likewise.
22369 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22370 computing low part if x was negated.
22371 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22372
c8e43ba7
L
223732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22374
22375 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22376 la_x32_gnu_pltexit.
22377 (pltexit): Cast int_retval to ptrdiff_t.
22378 * elf/tst-auditmod3b.c: Likewise.
22379 * elf/tst-auditmod4b.c: Likewise.
22380 * elf/tst-auditmod5b.c: Likewise.
22381 * elf/tst-auditmod6b.c: Likewise.
22382 * elf/tst-auditmod6c.c: Likewise.
22383 * elf/tst-auditmod7b.c: Likewise.
22384
22385 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22386 and x32_gnu_pltexit.
22387
22388 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22389 __ELF_NATIVE_CLASS.
22390 (La_x32_regs): New macro.
22391 (La_x32_retval): Likewise.
22392 (la_x32_gnu_pltenter): New function prototype.
22393 (la_x32_gnu_pltexit): Likewise.
22394
7998fa78
AS
223952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22396
dcb33988
AS
22397 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22398 exponent.
22399
233fc563
AS
22400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22401
7998fa78
AS
22402 * configure.in (libc_cv_cc_nofma): Check for option to disable
22403 generation of FMA instructions.
22404 * configure: Regenerate.
22405 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22406 * sysdeps/ieee754/dbl-64/Makefile: New file.
22407 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22408 Remove brandred-fma4.
22409 (CFLAGS-brandred-fma4.c): Remove.
22410 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22412 define.
22413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22414 define.
22415
8e95c99a
L
224162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22417
22418 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22419 LLONG_MAX != LONG_MAX.
22420 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22421 (_fitoa_word): Likewise.
22422 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22423 LLONG_MAX != LONG_MAX.
22424 * stdio-common/_itowa.h: Include <_itoa.h>.
22425 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22426 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22427 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22428 only if not defined.
22429 (_ITOA_WORD_TYPE): Likewise.
22430 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22431 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22432
6f4db457
DM
224332012-03-21 David S. Miller <davem@davemloft.net>
22434
22435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22436
7785fe5a
L
224372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22438
22439 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22440 of x86_64 when setting libc_cv_slibdir, libdir and
22441 libc_cv_localedir.
22442 * sysdeps/unix/sysv/linux/configure: Regenerated.
22443
4535cd55
JM
224442012-03-21 Joseph Myers <joseph@codesourcery.com>
22445
22446 * manual/lang.texi (Old Varargs): Remove section.
22447 (How Variadic): Update menu.
22448 (va_start): Do not mention varargs.h.
22449
17228132
TS
224502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22451 Joseph Myers <joseph@codesourcery.com>
22452
22453 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22454 link test.
22455 * configure: Regenerated.
22456
8149f976
TS
224572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22458
05f3d1f6
UD
22459 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22460 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22461 conformtest.pl
8149f976 22462
1a4ac776
JM
224632012-03-21 Joseph Myers <joseph@codesourcery.com>
22464
be22ce65
JM
22465 * NOTES: Remove.
22466 * Makefile (files-for-dist): Remove NOTES.
22467 (NOTES): Remove rule.
22468 * README: Don't refer to NOTES.
22469 * manual/creature.texi: Don't include macros.texi.
22470 * manual/intro.texi (creature.texi): Remove comment referring to
22471 NOTES.
22472
40b601fb
JM
22473 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22474 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22475 * configure: Regenerated.
22476 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22477 LIBC_TRY_CC_OPTION.
22478 (libc_cv_as_i686): Likewise.
22479 (libc_cv_cc_avx): Likewise.
22480 (libc_cv_cc_sse2avx): Likewise.
22481 (libc_cv_cc_fma4): Likewise.
22482 (libc_cv_cc_novzeroupper): Likewise.
22483 * sysdeps/i386/configure: Regenerated.
22484
1a4ac776
JM
22485 [BZ #13883]
22486 * sysdeps/i386/fpu/s_cexp.S: Remove.
22487 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22488 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22489 * math/libm-test.inc (cexp_test): Add more tests.
22490 * sysdeps/i386/fpu/libm-test-ulps: Update.
22491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22492
a458e7fe
AM
224932012-03-21 Allan McRae <allan@archlinux.org>
22494
22495 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22496
0cb7efc5
JM
224972012-03-21 Joseph Myers <joseph@codesourcery.com>
22498
22499 [BZ #13871]
22500 * math/w_exp2.c: Do not include <float.h>.
22501 (o_threshold, u_threshold): Remove.
22502 (__exp2): Calculate result before checking finiteness and calling
22503 __kernel_standard.
22504 * math/w_exp2f.c: Likewise.
22505 * math/w_exp2l.c: Likewise.
22506 * math/libm-test.inc (exp2_test): Require overflow exception for
22507 1e6 input.
2460d3aa
JM
22508
22509 [BZ #3866]
22510 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22511 range of signed 64-bit integers before using fistpll. Remove
22512 checks for whether integers fit in mantissa bits.
22513 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22514 the range of signed 32-bit integers before using fistpl. Remove
22515 checks for whether integers fit in mantissa bits.
22516 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22517 (__ieee754_powl): Test for y outside the range of signed 64-bit
22518 integers before using fistpll. Reduce 64-bit values to 63-bit
22519 ones as needed.
22520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22521 divide-by-zero is raised for zero to large negative powers.
22522 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22523 (__ieee754_powl): Test for y outside the range of signed 64-bit
22524 integers before using fistpll. Reduce 64-bit values to 63-bit
22525 ones as needed.
22526 * math/libm-test.inc (pow_test): Add more tests.
22527
eb96ffb0
L
225282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22529
22530 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22531 <stdio-common/_itoa.h>.
22532 * debug/segfault.c: Likewise.
22533 * elf/dl-cache.c: Likewise.
22534 * elf/dl-minimal.c: Likewise.
22535 * elf/dl-misc.c: Likewise.
22536 * elf/dl-sysdep.c: Likewise.
22537 * elf/dl-version.c: Likewise.
22538 * elf/rtld.c: Likewise.
22539 * hurd/hurdsock.c: Likewise.
22540 * hurd/lookup-retry.c: Likewise.
22541 * malloc/malloc.c: Likewise.
22542 * malloc/mtrace.c: Likewise.
22543 * nscd/nscd_getgr_r.c: Likewise.
22544 * nscd/nscd_getpw_r.c: Likewise.
22545 * nscd/nscd_getserv_r.c: Likewise.
22546 * posix/getopt_init.c: Likewise.
22547 * posix/wordexp.c: Likewise.
22548 * stdio-common/_itoa.c: Likewise.
22549 * stdio-common/printf_fphex.c: Likewise.
22550 * stdio-common/vfprintf.c: Likewise.
22551 * string/_strerror.c: Likewise.
22552 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22553 * sysdeps/i386/i686/hp-timing.h: Likewise.
22554 * sysdeps/mach/_strerror.c: Likewise.
22555 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22556 * sysdeps/mach/hurd/sethostid.c: Likewise.
22557 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22558 * sysdeps/mach/xpg-strerror.c: Likewise.
22559 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22560 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22561 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22562 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22563 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22564 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22565 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22566 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22567 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22568 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22569 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22570 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22571 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22572 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22573 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22574 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22575 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22576 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22577 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22578 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22579 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22580
22581 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22582
22583 * stdio-common/_itoa.h: Moved to ...
22584 * sysdeps/generic/_itoa.h: Here.
22585
22586 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22587
22588 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22589 instead of "_itoa.h" and "_itowa.h".
22590 * stdio-common/vfprintf.: Likewise.
22591
d1af992d
L
225922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22593
22594 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22595 <bits/wordsize.h>.
22596 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22597 (__signbit): Likwise.
22598 (llrintf): Likwise.
22599 (llrint): Likwise.
22600
114883e0
L
226012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22602
22603 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22604 __WORDSIZE != 64.
22605
c135cc1b
JM
226062012-03-20 Joseph Myers <joseph@codesourcery.com>
22607
22608 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22609 OVERFLOW_EXCEPTION_OK.
22610 * math/libm-test.inc ("Philosophy"): Update comment about
22611 exception testing.
22612 (OVERFLOW_EXCEPTION): Define.
22613 (OVERFLOW_EXCEPTION_OK): Likewise.
22614 (INVALID_EXCEPTION_OK): Renumber.
22615 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22616 (IGNORE_ZERO_INF_SIGN): Likewise.
22617 (test_exceptions): Handle FE_OVERFLOW.
22618 (exp10_test): Expect overflow exceptions.
22619 (exp2_test): Likewise.
22620 (expm1_test): Likewise.
22621 (nextafter_test): Likewise.
22622 (pow_test): Likewise.
22623 (scalbn_test): Likewise.
22624 (scalbln_test): Likewise.
22625
95443d88
L
226262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22627
22628 * sysdeps/x86_64/bits/atomic.h
22629 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22630 64bit integer.
22631 (atomic_exchange_acq): Likewise.
22632 (__arch_exchange_and_add_body): Likewise.
22633 (__arch_add_body): Likewise.
22634 (atomic_add_negative): Likewise.
22635 (atomic_add_zero): Likewise.
22636
490df6c4
L
226372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22638
c2722551 22639 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22640 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22641
5e52b189
L
226422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22643
22644 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22645 Check __x86_64__ instead of __WORDSIZE.
22646
a9879d4c
L
226472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22648
22649 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22650
5df98260
DM
226512012-03-19 David S. Miller <davem@davemloft.net>
22652
e1497744
DM
22653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22654
5df98260
DM
22655 * sysdeps/sparc/fpu/fenv_private.h: New file.
22656 * sysdeps/sparc/fpu/math_private.h: Use it.
22657 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22658 Remove.
22659 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22660 (libc_feholdexcept_setroundl): Remove.
22661 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22662 Remove.
22663 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22664 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22665
b4c35121
L
226662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22667
22668 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22669 int64_t instead of long int.
22670 (INSERT_WORDS64): Likwise.
22671
56965fd7
L
226722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22673
22674 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22675 _Unwind_GetCFA return to _Unwind_Ptr first.
22676
83d1aec8
JM
226772012-03-19 Joseph Myers <joseph@codesourcery.com>
22678
1897ad44
JM
22679 [BZ #13629]
22680 * math/s_clog.c: Include <float.h>.
22681 (__clog): Scale large or subnormal inputs.
22682 * math/s_clogf.c: Likewise.
22683 * math/s_clogl.c: Likewise.
22684 * math/s_clog10.c: Include <float.h>.
22685 (M_LOG10_2): Define.
22686 (__clog10): Scale large or subnormal inputs.
22687 * math/s_clog10f.c: Likewise.
22688 * math/s_clog10l.c: Likewise.
22689 * math/libm-test.inc (clog_test): Add more tests.
22690 (clog10_test): Likewise.
22691 * sysdeps/i386/fpu/libm-test-ulps: Update.
22692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22693
7726d6a9
JM
22694 [BZ #11451]
22695 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22696 x and y.
22697 * math/libm-test.inc (atan2_test): Add another test.
22698
83d1aec8
JM
22699 * Makerules (common-objdir-compile): Remove.
22700 * sysdeps/unix/Makefile (config-generated): Do not add
22701 $(unix-generated) to variable.
22702 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22703 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22704 Remove rule.
22705 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22706 Likewise.
22707 [generic bits/local_lim.h] (before-compile): Do not append to
22708 variable.
22709 [generic bits/local_lim.h] (common-generated): Likewise.
22710 [generic sys/param.h] (before-compile): Do not append to variable.
22711 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22712 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22713 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22714 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22715 include.
22716 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22717 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22718 [generic sys/param.h] ($(addprefix
22719 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22720 [generic sys/param.h] (common-generated): Do not append to
22721 variable.
22722 [generic sys/param.h] (sysdep_headers): Likewise.
22723 [generic bits/errno.h] (before-compile): Do not append to
22724 variable.
22725 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22726 rule.
22727 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22728 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22729 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22730 [generic bits/errno.h] (common-generated): Do not append to
22731 variable.
22732 [generic bits/ioctls.h] (before-compile): Do not append to
22733 variable.
22734 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22735 rule.
22736 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22737 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22738 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22739 rule.
22740 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22741 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22742 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22743 [generic bits/ioctls.h] (common-generated): Do not append to
22744 variable.
22745 [generic sys/syscall.h] (syscall.h): Remove variable.
22746 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22747 rule.
22748 [generic sys/syscall.h] (before-compile): Do not append to
22749 variable.
22750 [generic sys/syscall.h] (common-generated): Likewise.
22751 * sysdeps/unix/errnos-tmpl.c: Remove file.
22752 * sysdeps/unix/errnos.awk: Likewise.
22753 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22754 * sysdeps/unix/ioctls.awk: Likewise.
22755 * sysdeps/unix/mk-local_lim.c: Likewise.
22756 * sysdeps/unix/snarf-ioctls: Likewise.
22757
4851a949
RH
227582012-03-19 Richard Henderson <rth@twiddle.net>
22759
bd37f2ee
RH
22760 * sysdeps/i386/fpu/fenv_private.h: New file.
22761 * sysdeps/i386/fpu/math_private.h: Use it.
22762 (math_opt_barrier, math_force_eval): Remove.
22763 (libc_feholdexcept_setround_53bit): Remove.
22764 (libc_feupdateenv_53bit): Remove.
22765 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22766 (math_opt_barrier, math_force_eval): Remove.
22767 (libc_feholdexcept): Remove.
22768 (libc_feholdexcept_setround): Remove.
22769 (libc_fetestexcept, libc_fesetenv): Remove.
22770 (libc_feupdateenv_test): Remove.
22771 (libc_feupdateenv, libc_feholdsetround): Remove.
22772 (libc_feresetround): Remove.
22773
d0adc922
RH
22774 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22775 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22776
0fe0f1f8
RH
22777 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22778 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22779 (libc_feupdateenv_testl): New.
22780 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22781 (libc_feupdateenv_testf): New.
22782 (libc_feupdateenv): Use libc_feupdateenv_test.
22783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22784 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22785
eb92c487
RH
22786 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22787 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22788 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22789 (libc_feresetround_noex): New.
22790 (libc_feresetround_noexf): New.
22791 (libc_feresetround_noexl): New.
22792 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22793 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22794 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22795 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22796 SET_RESTORE_ROUND.
22797 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22798 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22799 (__cos): Likewise.
22800 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22801 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22802 SET_RESTORE_ROUND_NOEX.
22803 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22804 SET_RESTORE_ROUND_NOEXF.
22805 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22806 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22807 (libc_feholdsetroundf): New.
22808 (libc_feresetround, libc_feresetroundf): New.
22809
7d2e8012
RH
22810 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22811 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22812 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22813
b4dabbb4
RH
22814 * sysdeps/generic/math_private.h: Include <fenv.h>.
22815 (default_libc_feholdexcept): New.
22816 (default_libc_feholdexcept_setround): New.
22817 (default_libc_fesetenv, default_libc_feupdateenv): New.
22818 (libc_feholdexcept): Only define if undefined.
22819 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22820 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22821 (libc_feholdexcept_setroundl): Likewise.
22822 (libc_feholdexcept_setround_53bit): Likewise.
22823 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22824 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22825 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22826 (libc_feupdateenv_53bit): Likewise.
22827 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22828 (libc_feholdexcept): Convert from macro to inline function.
22829 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22830 (libc_fesetenv, libc_feupdateenv): Likewise.
22831
4851a949
RH
22832 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22833 not previously defined.
22834 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22835 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22836 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22837 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22838 * sysdeps/ieee754/flt-32/math_private.h: New file.
22839 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22840 math_private.h below SET_FLOAT_WORD.
22841 (__isnan, __isinf_ns, __finite): Remove.
22842 (__isnanf, __isinf_nsf, __finitef): Remove.
22843
e79d442e
AS
228442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22845
22846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22847
90b80344
DM
228482012-03-17 David S. Miller <davem@davemloft.net>
22849
22850 [BZ #6471]
22851 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22852 for 2.16.
22853
edc21804
DM
228542012-03-16 David S. Miller <davem@davemloft.net>
22855
77e927af
DM
22856 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22857 warnings.
22858
374976dd
DM
22859 [BZ #6471]
22860 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22861 properly.
22862 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22863 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22864 sysdep_routines when subdir is sysvipc.
22865 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22866 __getshmlba helper.
22867
edc21804
DM
22868 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22869
473c3ef3
L
228702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22871
22872 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22873 [__LP64__].
22874
eb0f39b6
L
228752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22876
22877 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22878 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22879 (__lround): Renamed to ...
22880 (__llround): This. Replace long int with long long int.
22881 Define lround functions as aliases of llround functions.
22882 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22883
6b6cd74b
L
228842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22885
22886 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22887 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22888 adresses to uintptr_t. Replace "long int" and "unsigned long
22889 int" with "greg_t" on va_arg.
22890
f1a77b01
L
228912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22894 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22895
22896 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22897 Move e_machine check before EI_CLASS check. Handle x32
22898 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22899 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22900 SKIP_EM_IA_64 and include
22901 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22902
22903 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22904 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22905 (add_system_dir): New macro.
22906
22907 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22908 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22909
11b90b9f
JM
229102012-03-16 Joseph Myers <joseph@codesourcery.com>
22911
c36e1d23
JM
22912 [BZ #2551]
22913 [BZ #2552]
22914 [BZ #2553]
22915 [BZ #2554]
22916 [BZ #2562]
22917 [BZ #2563]
22918 [BZ #2565]
22919 [BZ #2566]
22920 [BZ #2576]
22921 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22922 (y0): Likewise.
22923 * math/w_j0f.c (j0f): Likewise.
22924 (y0f): Likewise.
22925 * math/w_j0l.c (__j0l): Likewise.
22926 (__y0l): Likewise.
22927 * math/w_j1.c (j1): Likewise.
22928 (y1): Likewise.
22929 * math/w_j1f.c (j1f): Likewise.
22930 (y1f): Likewise.
22931 * math/w_j1l.c (__j1l): Likewise.
22932 (__y1l): Likewise.
22933 * math/w_jn.c (jn): Likewise.
22934 (yn): Likewise.
22935 * math/w_jnf.c (jnf): Likewise.
22936 (ynf): Likewise.
22937 * math/w_jnl.c (__jnl): Likewise.
22938 (__ynl): Likewise.
22939 * math/libm-test.inc (j0_test): Add more tests.
22940 (j1_test): Likewise.
22941 (jn_test): Likewise. Add trailing semicolon to existing test.
22942 (y0_test): Likewise.
22943 (y1_test): Likewise.
22944 * sysdeps/i386/fpu/libm-test-ulps: Update.
22945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22946
11b90b9f
JM
22947 [BZ #13851]
22948 [BZ #13854]
22949 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22950 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22951 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22952 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22953 (__tanl): Set errno for infinite argument.
22954 * sysdeps/i386/fpu/mptan.c: Remove.
22955 * sysdeps/i386/fpu/s_tan.S: Likewise.
22956 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22957 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22958 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22959 * math/libm-test.inc (tan_test): Add more tests and enable more
22960 tests for double and long double.
22961 * sysdeps/i386/fpu/libm-test-ulps: Update.
22962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22963
6a1bd2a1
JK
229642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22965
22966 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22967 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22968
10a803e0
RM
229692012-03-16 Roland McGrath <roland@hack.frob.com>
22970
22971 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22972 * configure.in: Use it for both main tree and add-ons.
22973 * configure: Regenerated.
22974
f196c7f7
L
229752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22976
22977 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22978
8848d99d
JM
229792012-03-16 Joseph Myers <joseph@codesourcery.com>
22980
96cbe7f4
JM
22981 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22982 in comment.
22983
8848d99d
JM
22984 [BZ #13851]
22985 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22986 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22990 infinite argument.
22991 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22992 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22993 != 0 for prec == 2.
22994 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22995 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22996 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22997 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22998 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22999 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23000 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23001 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23002 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23003 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23004 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23005 * math/libm-test.inc (cos_test): Add more tests and enable more
23006 tests for long double.
23007 (sin_test): Likewise.
23008 (sincos_test): Likewise.
23009 * sysdeps/i386/fpu/libm-test-ulps: Update.
23010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23011
dd7f4703
DM
230122012-03-16 David S. Miller <davem@davemloft.net>
23013
23014 * sysdeps/sparc/fpu/math_private.h: New file.
23015
006f1daa
DM
230162012-03-15 David S. Miller <davem@davemloft.net>
23017
c0c83bc8
DM
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23019 file.
e6a62e18 23020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23022 file.
e6a62e18
DM
23023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23029 sysdep routines.
23030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23031
88cb87d9
DM
23032 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23033 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23034
006f1daa 23035 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23037 sparc-ifunc.h
006f1daa 23038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23040 Likewise.
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23042 Likewise.
006f1daa
DM
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23047 Likewise.
006f1daa
DM
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23053 Likewise.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23055 Likewise.
006f1daa
DM
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23080
11e0098e
AS
230812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23082
23083 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23084 scaling.
23085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23086
e85b09d0
AJ
230872012-03-15 Andreas Jaeger <aj@suse.de>
23088
23089 [BZ #13852]
23090 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23091 ieee754/flt-32 implementation for sin, cos and sincos.
23092 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23093 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23094 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23095 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23096 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23097 ieee754/flt-32 implementation for tan.
23098
23099 * math/libm-test.inc (cos_test): Enable some large input tests for
23100 float as well
23101 (sin_test): Likewise.
23102 (sincos_test): Likewise.
23103 (tan_test): Add tests for large input.
23104
23105 * sysdeps/i386/fpu/libm-test-ulps: Update.
23106
81c64153
AJ
231072012-03-15 Andreas Jaeger <aj@suse.de>
23108
23109 [BZ #13658]
23110 * math/libm-test.inc (cos_test): Add more test cases.
23111 (sin_test): Likewise.
23112 (sincos_test): Likewise.
23113
7bbfa5c6
AJ
231142012-03-15 Andreas Jaeger <aj@suse.de>
23115
23116 [BZ #13837]
23117 * math/libm-test.inc (cos_test): Add a test case for large input
23118 value.
23119 (sin_test): Likewise.
23120 (sincos_test): Likewise.
23121
231222012-03-15 Andreas Jaeger <aj@suse.de>,
23123 Joseph Myers <joseph@codesourcery.com>
23124
23125 [BZ #13658]
0671f479 23126 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23127 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23128 * sysdeps/i386/fpu/branred.c: Likewise.
23129 * sysdeps/i386/fpu/dosincos.c: Likewise.
23130 * sysdeps/i386/fpu/mpa.c: Likewise.
23131 * sysdeps/i386/fpu/s_cos.S: Likewise.
23132 * sysdeps/i386/fpu/s_sin.S: Likewise.
23133 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23134 * sysdeps/i386/fpu/sincos32.c: Likewise.
23135
23136 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23137 Define.
23138 (libc_feupdateenv_53bit): Define.
23139 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23140 Define.
23141 (libc_feupdateenv_53bit): Define.
23142
23143 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23144 53 bit (without extend i386 double precision).
23145
23146 * math/libm-test.inc (sincos_test): Add tests for large input.
23147 (sin): Likewise.
23148 (cos): Likewise.
23149
23150 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23151
9cad04ea
AS
231522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23153
23154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23155
f7062b9a
DM
231562012-03-15 David S. Miller <davem@davemloft.net>
23157
23158 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23159 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23160 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23161 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23174 file.
f7062b9a 23175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23177 file.
f7062b9a 23178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23180 file.
f7062b9a 23181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23183 file.
f7062b9a
DM
23184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23186 fmin/fmax sysdep routines.
23187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23188
7bd951ff
DM
231892012-03-14 David S. Miller <davem@davemloft.net>
23190
559398ab
DM
23191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23220 routines.
23221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23222 file.
559398ab 23223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23225 file.
559398ab 23226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23228 file.
559398ab 23229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23231 file.
559398ab 23232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23234 file.
559398ab 23235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23237 file.
23238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23239 file.
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23241 file.
23242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23243 file.
23244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23245 New file.
23246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23247 file.
23248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23249 file.
559398ab 23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23252 file.
559398ab 23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23255 file.
559398ab 23256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23258 file.
559398ab 23259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23261 VIS3 routines.
559398ab
DM
23262
23263 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23264 New file.
23265
5a1c1e32
DM
23266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23267
eae47a36
DM
23268 * sysdeps/sparc/configure.in: New file.
23269 * sysdeps/sparc/configure: Generate.
23270 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23271 * configure: Regenerate.
23272 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23273 * config.make.in (have-as-vis3): New.
23274 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23275 available use -Av9d instead of -Av9a.
23276 * sysdeps/sparc/sparc64/Makefile: Likewise.
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23279 New file.
23280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23281 file.
23282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23283 New file.
23284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23285 file.
eae47a36
DM
23286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23287 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23288 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23291
c0c83bc8
DM
23292 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23293 fzeros/fnegs to load 0x80000000 into a float register instead of
23294 using the stack.
7bd951ff
DM
23295 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23296
bd951ccb
JM
232972012-03-14 Joseph Myers <joseph@codesourcery.com>
23298
23299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23300 bits/syscall.h.
23301 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23302 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23303 ($(inst_includedir)/bits/syscall.h): Remove rule.
23304 ($(objpfx)bits/syscall.d): Include instead of
23305 $(objpfx)syscall-list.d.
23306 (generated): Change syscall-list.h and syscall-list.d to
23307 bits/syscall.h and bits/syscall.d.
23308
bb4e6db2
RM
233092012-03-14 Roland McGrath <roland@hack.frob.com>
23310
23311 [BZ #13846]
23312 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23313
aa4a2ae1
JM
233142012-03-14 Joseph Myers <joseph@codesourcery.com>
23315
e456826d
JM
23316 [BZ #13841]
23317 * math/s_csqrt.c: Include <float.h>.
23318 (__csqrt): Scale large or subnormal inputs.
23319 * math/s_csqrtf.c: Likewise.
23320 * math/s_csqrtl.c: Likewise.
23321 * math/libm-test.inc (csqrt_test): Add more tests.
23322 * sysdeps/i386/fpu/libm-test-ulps: Update.
23323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23324
aa4a2ae1
JM
23325 [BZ #13840]
23326 * math/libm-test.inc (hypot_test): Add more tests.
23327
7c10fd35
DM
233282012-03-13 David S. Miller <davem@davemloft.net>
23329
23330 [BZ #13840]
23331 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23332 double-precision for the calculation instead of scaling.
23333
f453b98b
JM
233342012-03-13 Joseph Myers <joseph@codesourcery.com>
23335
23336 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23337 manipulate bits before adding and subtracting TWO52[sx].
23338 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23339 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23340 Likewise.
23341 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23342
09a3453f
DM
233432012-03-13 David S. Miller <davem@davemloft.net>
23344
8e59da90
DM
23345 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23346 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23347 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23348 rtld-global-offsets.h
23349 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23350
2a8ab7f2
DM
23351 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23352 large parameters.
23353
10f62770
DM
23354 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23355
5f0bdb18
DM
23356 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23357 'err' in the ifdef scope in which it is actually used.
23358
09a3453f
DM
23359 * nss/nss_db/db-init.c: Include string.h
23360
b4b2eb5e
DM
233612012-03-12 David S. Miller <davem@davemloft.net>
23362
98bb2f1c
DM
23363 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23364 masking out of the most significant byte of random value used.
23365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23366 Fix coding style in previous change.
23367
b4b2eb5e
DM
23368 * sysdeps/unix/sysv/linux/kernel-features.h
23369 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23370 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23371 expression.
23372 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23373 later.
23374
6e226b09
DM
233752012-03-11 David S. Miller <davem@davemloft.net>
23376
a1bcbd40
DM
23377 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23378 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23379 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23380 for 'resultvar' otherwise things get truncated on 64-bit.
23381
cb9d6174
DM
23382 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23383 Fix masking out of the most significant byte of random value used.
23384
6e226b09
DM
23385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23386
058c132d
AS
233872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23388
23389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23390
2d2cd515
DM
233912012-03-09 David S. Miller <davem@davemloft.net>
23392
23393 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23394 variables with appropriate CPP guards.
23395 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23396 frame pointer, not the stack pointer. Correct layout comments. Fix test
23397 on resulting framesize and the management of the outregs buffer for pltexit.
23398 Preserve floating point return values across _dl_call_pltexit call.
23399 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23400 framesize and the management of the outregs buffer for pltexit.
23401 Preserve floating point return values across _dl_call_pltexit
23402 call.
23403 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23404 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23405 (print_exit): Fix format string for return register value.
23406
9a07f9d0
JM
234072012-03-10 Joseph Myers <joseph@codesourcery.com>
23408
23409 * sunrpc/Makefile (others): Add rpcgen.
23410 ($(objpfx)rpcgen): Remove special build rule and dependency on
23411 libc.
23412 * sunrpc/rpcgen.c: New file.
23413
547b5e30
PE
234142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23415
c524201a
PE
23416 [BZ #13673]
23417 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23418 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23419 * sysdeps/i386/crti.S: Likewise.
23420 * sysdeps/i386/crtn.S: Likewise.
23421 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23422 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23423 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23424 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23425 * sysdeps/sh/crti.S: Likewise.
23426 * sysdeps/sh/crtn.S: Likewise.
23427 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23428
7b6235f2
PE
23429 [BZ #13673]
23430 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23431 with URL.
23432 * locale/programs/locfile-kw.gperf: Likewise.
23433 * locale/programs/charmap-kw.h: Regenerated.
23434 * locale/programs/locfile-kw.h: Likewise.
23435
547b5e30
PE
23436 [BZ #13673]
23437 * intl/plural.y: Replace FSF snail mail address with URL.
23438 * intl/plural.c: Regenerated.
23439
5f0a5dae
RH
234402012-03-09 Richard Henderson <rth@twiddle.net>
23441
23442 * include/math_private.h: Remove file.
23443 * math/math_private.h: Move file ...
23444 * sysdeps/generic/math_private.h: ... here.
23445
b8c03620
RH
23446 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23447 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23448 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23449
4e234f5d 23450 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23451 and <math_private.h>.
23452 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23453 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23454 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23455 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23456 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23465 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23466 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23467 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23468 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23469 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23470 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23473 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23474 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23476 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23477 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23478 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23482 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23484 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23485 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23486 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23487 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23488 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23489 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23490 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23491 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23492 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23494 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23504 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23505 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23507 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23508 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23510 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23511 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23512 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23513 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23514 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23515 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23516 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23517 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23518 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23519 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23520 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23522 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23523 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23524 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23525 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23526 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23531 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23532 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23533 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23534 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23535 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23536 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23539 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23540 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23541 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23542 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23543 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23544 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23545 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23546 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23547 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23548 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23549 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23551 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23552 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23553 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23554 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23555 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23556 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23557 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23558 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23559 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23560 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23561 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23562 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23563 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23564 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23565 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23566 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23567 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23568 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23569 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23570 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23571 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23572 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23573 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23574 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23575 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23576 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23578 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23579 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23580 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23581 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23582 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23583 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23584 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23585 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23586 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23587 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23588 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23589 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23590 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23591 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23592 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23593 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23594 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23595 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23596 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23597 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23598 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23599 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23600 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23601 * sysdeps/ieee754/k_standard.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23653 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23676 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23678 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23680 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23681 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23682 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23683 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23684 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23685 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23686 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23687 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23688 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23689 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23690 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23692 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23693 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23694 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23695 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23696 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23697 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23698 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23699 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23700 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23701 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23703 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23705 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23706 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23709 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23710 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23711 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23712 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23714 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23715 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23716 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23717 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23718 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23721 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23722 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23723 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23724 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23726 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23727 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23728 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23729 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23730 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23731 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23732 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23733 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23734 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23735 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23736 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23737 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23738 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23739 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23740 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23741 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23742 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23743 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23744 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23745 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23746 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23747 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23748 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23749 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23750 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23751 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23752 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23754 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23755 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23756 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23757 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23758 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23759 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23761 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23762 * sysdeps/ieee754/s_lib_version.c: Likewise.
23763 * sysdeps/ieee754/s_matherr.c: Likewise.
23764 * sysdeps/ieee754/s_signgam.c: Likewise.
23765 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23766 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23767 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23768 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23769 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23770 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23771 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23772 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23773 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23774 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23775 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23776 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23777 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23778 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23779 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23780 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23781 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23782 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23783 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23786
1991fa03
JM
237872012-03-09 Joseph Myers <joseph@codesourcery.com>
23788
23789 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23790 * sunrpc/rpc_main.c: Likewise.
23791 * sunrpc/rpc_svcout.c: Likewise.
23792
60d6f5a6
DM
237932012-03-09 David S. Miller <davem@davemloft.net>
23794
23795 * include/math_private.h: New file.
23796
4962050e
JM
237972012-03-09 Joseph Myers <joseph@codesourcery.com>
23798
02a6f887
JM
23799 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23800 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23801 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23802 from <bits/socket_type.h>.
23803 (enum __socket_type): Don't define here.
23804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23806 bits/socket_type.h.
23807
c6e013c1
JM
23808 [BZ #13566]
23809 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23810 checking __USE_GNU.
23811
4962050e
JM
23812 * Makerules ($(inst_includedir)/%.h): New rule.
23813 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23814 (install-others): Remove variable setting.
23815 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23816
38842f45
RH
238172012-03-08 Richard Henderson <rth@twiddle.net>
23818
67bb6da6
RH
23819 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23820 from macro to inline function; merge with the
23821 !__LIBC_INTERNAL_MATH_INLINES version.
23822 (__ieee754_sqrtf): Likewise.
23823
15194b4b
RH
23824 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23825 to inline function.
23826 (__rintf, __floor, __floorf): Likewise.
23827
64e21ede
RH
23828 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23829 macro to inline function.
23830 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23831
38842f45
RH
23832 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23833 not <math/math_private.h>.
23834
c64bf5fe
DM
238352012-03-08 David S. Miller <davem@davemloft.net>
23836
23837 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23838 copyright year.
23839 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23840
82d86f28
TS
238412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23842
23843 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23844 normalization.
23845 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23846 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23847
aea5d727
UD
238482012-03-08 Ulrich Drepper <drepper@gmail.com>
23849
23850 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23851 be defined individually, they must be defined as a block. Define
23852 S for printing a string instead of hidint the different by using a
23853 macro for adding the 'l'.
23854 * stdio-common/tst-fphex-wide.c: Adjust.
23855
70bca0a3
MP
238562012-03-07 Marek Polacek <polacek@redhat.com>
23857
23858 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23859
65b81130
MP
238602012-03-08 Marek Polacek <polacek@redhat.com>
23861
23862 [BZ #13806]
23863 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23864 * stdio-common/tst-fphex.c: Define a few macros to make the
23865 test reusable. Use them.
23866 * stdio-common/tst-fphex-wide.c: New file.
23867
07037eeb
JM
238682012-03-08 Joseph Myers <joseph@codesourcery.com>
23869
a7a93d50
JM
23870 [BZ #6911]
23871 * manual/macros.texi (gnusystems): New macro.
23872 (nongnusystems): Likewise.
23873 (gnulinuxhurdsystems): Likewise.
23874 (gnuhurdsystems): Likewise..
23875 (gnulinuxsystems): Likewise.
23876 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23877 variants of the GNU system, not "GNU system".
23878 * manual/conf.texi: Likewise.
23879 * manual/errno.texi: Likewise. Update example of errno macro
23880 expansion.
23881 * manual/filesys.texi: Likewise.
23882 (getumask): Document as specific to GNU/Hurd.
23883 * manual/install.texi: Likewise. Reword some references to
23884 GNU/Linux.
23885 * manual/intro.texi: Likewise.
23886 * manual/io.texi: Likewise.
23887 (File Name Portability): Detail which constraints are inapplicable
23888 to all GNU systems and which are only inapplicable to GNU/Hurd.
23889 * manual/job.texi: Likewise.
23890 * manual/llio.texi: Likewise.
23891 (O_NOCTTY): Document as present on GNU/Linux.
23892 * manual/maint.texi: Likewise.
23893 * manual/memory.texi: Likewise.
23894 * manual/pattern.texi: Likewise.
23895 * manual/pipe.texi: Likewise.
23896 * manual/process.texi: Likewise.
23897 * manual/resource.texi: Likewise.
23898 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23899 child on GNU/Hurd.
23900 * manual/setjmp.texi: Likewise.
23901 * manual/signal.texi: Likewise.
23902 * manual/startup.texi: Likewise.
23903 * manual/stdio.texi: Likewise.
23904 * manual/terminal.texi: Likewise.
23905 (ONLCR): Document as POSIX.
23906 (OXTABS): Document availability on GNU/Linux as XTABS.
23907 (ONOEOT): Document availability separately from other bits.
23908 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23909 * manual/time.texi: Likewise.
23910 * manual/users.texi: Likewise.
23911 * INSTALL: Regenerated.
23912 * sysdeps/gnu/errlist.c: Regenerated.
23913
07037eeb
JM
23914 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23915 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23916 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23917 puts.
23918 * configure: Regenerated.
23919
d1d3431a
JM
239202012-03-07 Joseph Myers <joseph@codesourcery.com>
23921
af6a1e37
JM
23922 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23923 default includes instead of AC_HEADER_CHECK.
23924 * sysdeps/i386/configure: Regenerated.
23925
d1d3431a
JM
23926 [BZ #10716]
23927 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23928 * math/s_cacoshf.c (__cacoshf): Likewise.
23929 * math/s_cacoshl.c (__cacoshl): Likewise.
23930 * math/s_casinh.c (__casinh): Set signs of result from argument.
23931 * math/s_casinhf.c (__casinhf): Likewise.
23932 * math/s_casinhl.c (__casinhl): Likewise.
23933 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23934 (casinh_test): Add more tests.
23935 * sysdeps/i386/fpu/libm-test-ulps: Update.
23936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23937
482ff4da
UD
239382012-03-07 Ulrich Drepper <drepper@gmail.com>
23939
872fda05
UD
23940 * po/zh_TW.po: Update from translation team.
23941
a4300c7a
UD
23942 * login/Makefile (distribute): Remove variable.
23943 * catgets/Makefile: Likewise.
23944 * mach/Makefile: Likewise.
23945 * malloc/Makefile: Likewise.
23946 * misc/Makefile: Likewise.
23947 * iconv/Makefile: Likewise.
23948 * nscd/Makefile: Likewise.
23949 * hurd/Makefile: Likewise.
23950 * manual/Makefile: Likewise.
23951 * locale/Makefile: Likewise.
23952 * intl/Makefile: Likewise.
23953 * conform/Makefile: Likewise.
23954 * nss/Makefile: Likewise.
23955 * time/Makefile: Likewise.
23956 * soft-fp/Makefile: Likewise.
23957 * dirent/Makefile: Likewise.
23958 * gmon/Makefile: Likewise.
23959 * po/Makefile: Likewise.
23960 * rt/Makefile: Likewise.
23961 * socket/Makefile: Likewise.
23962 * math/Makefile: Likewise.
23963 * signal/Makefile: Likewise.
23964 * debug/Makefile: Likewise.
23965 * elf/Makefile: Likewise.
23966 * timezone/Makefile: Likewise.
23967 * stdlib/Makefile: Likewise.
23968 * iconvdata/Makefile: Likewise.
23969 * sunrpc/Makefile: Likewise.
23970 * io/Makefile: Likewise.
23971 * argp/Makefile: Likewise.
23972 * inet/Makefile: Likewise.
23973 * hesiod/Makefile: Likewise.
23974 * grp/Makefile: Likewise.
23975 * csu/Makefile: Likewise.
23976 * wctype/Makefile: Likewise.
23977 * crypt/Makefile: Likewise.
23978 * libio/Makefile: Likewise.
23979 * string/Makefile: Likewise.
23980 * nis/Makefile: Likewise.
23981 * resolv/Makefile: Likewise.
23982 * stdio-common/Makefile: Likewise.
23983 * wcsmbs/Makefile: Likewise.
23984 * dlfcn/Makefile: Likewise.
23985 * posix/Makefile: Likewise.
23986
3b7c4e74 23987 [BZ #6959]
482ff4da
UD
23988 * timezone/Makefile: Don't install timezone files, just the programs
23989 and scripts.
23990
f72ed77d
UD
239912012-03-06 Ulrich Drepper <drepper@gmail.com>
23992
a000466f
UD
23993 * nss/databases.def: Add missing gshadow entry.
23994
f72ed77d
UD
23995 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23996
a53b7a4e
MP
239972012-03-06 Marek Polacek <polacek@redhat.com>
23998
23999 [BZ #13726]
24000 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24001 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24002 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24003 * stdio-common/tst-long-dbl-fphex.c: New file.
24004
e9258400
DM
240052012-03-06 David S. Miller <davem@davemloft.net>
24006
24007 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24008 (set_obp_int): New function.
24009 (get_obp_int): New function.
24010 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24011 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24012 Avoid unused variable warnings on 'val' and use builtin_expect.
24013 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24014 __builtin_expect.
e9258400
DM
24015 (INLINE_CLONE_SYSCALL): Likewise.
24016
3bd2c723
DM
240172012-03-05 David S. Miller <davem@davemloft.net>
24018
24019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24020
bbb78d03
AS
240212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24022
884c5db4
AS
24023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24024
bbb78d03
AS
24025 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24026 only for |x| >= 40.
24027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24028
1c9f702a 240292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24030
24031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24032 Replace gettimeofday with __vdso_gettimeofday.
24033
7be16f82
RM
24034 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24035 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24036 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24037
24038 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24039 time with __vdso_time.
24040
ed58a00f
JM
240412012-03-05 Joseph Myers <joseph@codesourcery.com>
24042
24043 * manual/lang.texi (size_t): Note types to which size_t may be
24044 equivalent with the GNU C Library, but do not describe when
24045 differences between them are significant.
24046
30ee4ced
AJ
240472012-03-05 Andreas Jaeger <aj@suse.de>
24048
24049 * sysdeps/i386/fpu/libm-test-ulps: Update.
24050
b7cd39e8
JM
240512012-03-05 Joseph Myers <joseph@codesourcery.com>
24052
24053 [BZ #3976]
24054 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24055 (__ieee754_pow): Save and restore rounding mode and use
24056 round-to-nearest for main computations.
24057 * math/libm-test.inc (pow_test_tonearest): New function.
24058 (pow_test_towardzero): Likewise.
24059 (pow_test_downward): Likewise.
24060 (pow_test_upward): Likewise.
24061 (main): Call the new functions.
24062 * sysdeps/i386/fpu/libm-test-ulps: Update.
24063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24064
24065 [BZ #3976]
24066 * math/libm-test.inc (cosh_test_tonearest): New function.
24067 (cosh_test_towardzero): Likewise.
24068 (cosh_test_downward): Likewise.
24069 (cosh_test_upward): Likewise.
24070 (sinh_test_tonearest): Likewise.
24071 (sinh_test_towardzero): Likewise.
24072 (sinh_test_downward): Likewise.
24073 (sinh_test_upward): Likewise.
24074 (main): Call the new functions.
24075 * sysdeps/i386/fpu/libm-test-ulps: Update.
24076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24077
6c6a98c9
TV
240782012-03-05 Tom de Vries <tom@codesourcery.com>
24079
24080 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24081 default stack guard is set in last bytes.
24082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24083
21bb2d2e 240842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24085
21bb2d2e 24086 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24087
21bb2d2e
AJ
24088 [BZ #13656]
24089 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24090 possibly allocate from heap instead of stack.
24091 * stdio-common/bug-vfprintf-nargs.c: New file.
24092 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24093
c6922934
AS
240942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24095
24096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24097
bc957d53
MP
240982012-03-03 Marek Polacek <polacek@redhat.com>
24099
24100 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24101 * math/math_private.h: Likewise.
24102 * stdlib/tst-strtod.c: Likewise.
24103 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24104 * sysdeps/x86_64/bits/atomic.h: Likewise.
24105
6358490d
DM
241062012-03-02 David S. Miller <davem@davemloft.net>
24107
24108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24112 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24113 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24114 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24115 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24116
01ae168d
RM
241172012-03-02 Roland McGrath <roland@hack.frob.com>
24118
d9a17c07
RM
24119 [BZ #13792]
24120 * manual/examples/README: New file, says the example source files
24121 can be used under GPL>=2.
24122 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24123 line containing just "*/".
24124 * manual/examples/add.c: Add copyright header (GPL>=2).
24125 * manual/examples/argp-ex1.c: Likewise.
24126 * manual/examples/argp-ex2.c: Likewise.
24127 * manual/examples/argp-ex3.c: Likewise.
24128 * manual/examples/argp-ex4.c: Likewise.
24129 * manual/examples/atexit.c: Likewise.
24130 * manual/examples/db.c: Likewise.
24131 * manual/examples/dir.c: Likewise.
24132 * manual/examples/dir2.c: Likewise.
24133 * manual/examples/execinfo.c: Likewise.
24134 * manual/examples/filecli.c: Likewise.
24135 * manual/examples/filesrv.c: Likewise.
24136 * manual/examples/fmtmsgexpl.c: Likewise.
24137 * manual/examples/genpass.c: Likewise.
24138 * manual/examples/inetcli.c: Likewise.
24139 * manual/examples/inetsrv.c: Likewise.
24140 * manual/examples/isockad.c: Likewise.
24141 * manual/examples/longopt.c: Likewise.
24142 * manual/examples/memopen.c: Likewise.
24143 * manual/examples/memstrm.c: Likewise.
24144 * manual/examples/mkfsock.c: Likewise.
24145 * manual/examples/mkisock.c: Likewise.
24146 * manual/examples/mygetpass.c: Likewise.
24147 * manual/examples/pipe.c: Likewise.
24148 * manual/examples/popen.c: Likewise.
24149 * manual/examples/rprintf.c: Likewise.
24150 * manual/examples/search.c: Likewise.
24151 * manual/examples/select.c: Likewise.
24152 * manual/examples/setjmp.c: Likewise.
24153 * manual/examples/sigh1.c: Likewise.
24154 * manual/examples/sigusr.c: Likewise.
24155 * manual/examples/stpcpy.c: Likewise.
24156 * manual/examples/strdupa.c: Likewise.
24157 * manual/examples/strftim.c: Likewise.
24158 * manual/examples/strncat.c: Likewise.
24159 * manual/examples/subopt.c: Likewise.
24160 * manual/examples/swapcontext.c: Likewise.
24161 * manual/examples/termios.c: Likewise.
24162 * manual/examples/testopt.c: Likewise.
24163 * manual/examples/testpass.c: Likewise.
24164 * manual/examples/timeval_subtract.c: Likewise.
24165
01ae168d
RM
24166 [BZ #13792]
24167 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24168 function to ...
24169 * manual/timeval_subtract.c.texi: ... here, new file.
24170
49efa33d
DM
241712012-03-02 David S. Miller <davem@davemloft.net>
24172
24173 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24174
28afd92d
JM
241752012-03-02 Joseph Myers <joseph@codesourcery.com>
24176
804360ed
JM
24177 [BZ #3976]
24178 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24179 (__sin): Save and restore rounding mode and use round-to-nearest
24180 for all computations.
24181 (__cos): Save and restore rounding mode and use round-to-nearest
24182 for all computations.
24183 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24184 <fenv.h>.
24185 (tan): Save and restore rounding mode and use round-to-nearest for
24186 all computations.
24187 * math/libm-test.inc (cos_test_tonearest): New function.
24188 (cos_test_towardzero): Likewise.
24189 (cos_test_downward): Likewise.
24190 (cos_test_upward): Likewise.
24191 (sin_test_tonearest): Likewise.
24192 (sin_test_towardzero): Likewise.
24193 (sin_test_downward): Likewise.
24194 (sin_test_upward): Likewise.
24195 (tan_test_tonearest): Likewise.
24196 (tan_test_towardzero): Likewise.
24197 (tan_test_downward): Likewise.
24198 (tan_test_upward): Likewise.
24199 (main): Call the new functions.
24200 * sysdeps/i386/fpu/libm-test-ulps: Update.
24201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24202
a6d06d7b
JM
24203 [BZ #10135]
24204 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24205 small n, then large n, before computing and testing k+n.
24206 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24208 Likewise.
24209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24210 Likewise.
24211 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24212 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24217 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24218 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24219 * math/libm-test.inc (scalbn_test): Add more tests.
24220 (scalbln_test): Likewise.
24221
07e12bb3
JM
24222 * manual/filesys.texi (mode_t): Describe constraints on size and
24223 signedness, not exact equivalence to a particular type.
24224 (ino_t): Likewise.
24225 (ino64_t): Likewise.
24226 (dev_t): Likewise.
24227 (nlink_t): Likewise.
24228 (blkcnt_t): Likewise.
24229 (blkcnt64_t): Likewise.
24230 * manual/llio.texi (off_t): Likewise.
24231
28afd92d
JM
24232 [BZ #3976]
24233 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24234 (__ieee754_exp): Save and restore rounding mode and use
24235 round-to-nearest for all computations.
24236 * math/libm-test.inc (exp_test_tonearest): New function.
24237 (exp_test_towardzero): Likewise.
24238 (exp_test_downward): Likewise.
24239 (exp_test_upward): Likewise.
24240 (main): Call the new functions.
24241 * sysdeps/i386/fpu/libm-test-ulps: Update.
24242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24243
b1eeb65d
CD
242442012-03-01 Chris Demetriou <cgd@google.com>
24245
24246 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24247 have predictable order.
24248
53362a4b
DM
242492012-03-01 David S. Miller <davem@davemloft.net>
24250
3c969083
DM
24251 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24252
759707de
DM
24253 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24254 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24255 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24256 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24257
dfdb8ff2
DM
24258 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24259 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24260 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24262 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24263 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24264 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24265 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24266 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24267
ead89f96
DM
24268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24269
7f66bd07
DM
24270 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24271 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24272 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24273
53362a4b
DM
24274 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24275 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24276 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24277 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24278 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24279 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24280 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24281 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24282 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24283 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24284 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24287 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24288 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24290 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24291 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24292 * sysdeps/sparc/elf/configure: Regenerated.
24293
7b1902cb
JM
242942012-03-01 Joseph Myers <joseph@codesourcery.com>
24295
bec039bc
JM
24296 * configure.in (AS, LD): Require binutils 2.20 or later.
24297 * configure: Regenerated.
24298 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24299 as required minimum version.
24300 * INSTALL: Regenerated.
24301
7b1902cb
JM
24302 [BZ #2541]
24303 [BZ #4108]
24304 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24305 before squaring exponent.
24306 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24307 bottom long double and 27 bits of top long double before squaring
24308 exponent.
24309 * math/libm-test.inc (erfc_test): Add more tests.
24310 * sysdeps/i386/fpu/libm-test-ulps: Update.
24311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24313
f775c276
KT
243142012-03-01 Kai Tietz <ktietz@redhat.com>
24315
24316 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24317 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24318 containing bit-fields.
24319 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24320 * soft-fp/single.h (_FP_UNION_S): Likewise.
24321 * soft-fp/double.h (_FP_UNION_D): Likewise.
24322
5b8a4d4a
JM
243232012-02-29 Joseph Myers <joseph@codesourcery.com>
24324
0bab47b6
JM
24325 [BZ #13786]
24326 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24327 not include ../strcmp.S.
24328 [USE_AS_STRNCASECMP_L]: Likewise.
24329 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24330 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24331 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24332 (__strncasecmp_l_ia32): Define as alias to
24333 __strncasecmp_l_nonascii.
24334
0fcad3e2
JM
24335 [BZ #5794]
24336 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24337 * sysdeps/i386/fpu/libm-test-ulps: Update.
24338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24339
5b8a4d4a
JM
24340 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24342
8fdceb2e
JL
243432012-02-29 Jeff Law <law@redhat.com>
24344
24345 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24346 out of bounds read.
24347
1f393a11
MP
243482012-02-29 Marek Polacek <polacek@redhat.com>
24349
24350 [BZ #13706]
24351 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24352 * elf/Makefile: Add rules to run tst-unused-dep.out.
24353
8847f037
DM
243542012-02-28 David S. Miller <davem@davemloft.net>
24355
24356 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24357 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24358 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24360 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24361 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24362
169d7f11
JM
243632012-02-29 Joseph Myers <joseph@codesourcery.com>
24364
24365 * math/libm-test.inc (llround_test): Move one test from
24366 lround_test. Use TEST_f_L in moved test.
24367 (lround_test): Move misplaced test to llround_test. Add testcase
24368 from bug 2561.
24369
39adf059
UD
243702012-02-28 Ulrich Drepper <drepper@gmail.com>
24371
24372 * sysdeps/x86_64/fpu/e_expf.S: New file.
24373 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24374
71b5d1c5
SB
243752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24376
24377 [BZ #13637]
24378 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24379 of remain_len that may cause incomplete multi-byte character and
24380 false match.
24381 * posix/bug-regex33.c: New file.
24382 * posix/Makefile (tests): Add bug-regex33.
24383
1f77f049
JM
243842012-02-28 Joseph Myers <joseph@codesourcery.com>
24385
24386 * manual/macros.texi: New file.
24387 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24388 * manual/libc.texinfo: Include macros.texi.
24389 * manual/creatute.texi: Likewise.
24390 * manual/install.texi: Likewise.
24391 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24392 @glibcadj{} in references to the GNU C Library.
24393 * manual/charset.texi: Likewise.
24394 * manual/conf.texi: Likewise.
24395 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24396 when not using those macros.
24397 * manual/creature.texi: Likewise.
24398 * manual/crypt.texi: Likewise.
24399 * manual/errno.texi: Likewise.
24400 * manual/filesys.texi: Likewise.
24401 * manual/header.texi: Likewise.
24402 * manual/install.texi: Likewise.
24403 * manual/intro.texi: Likewise.
24404 * manual/io.texi: Likewise.
24405 * manual/job.texi: Likewise.
24406 * manual/lang.texi: Likewise.
24407 * manual/libc.texiinfo: Likewise.
24408 * manual/llio.texi: Likewise.
24409 * manual/locale.texi: Likewise.
24410 * manual/maint.texi: Likewise.
24411 * manual/math.texi: Likewise.
24412 * manual/memory.texi: Likewise.
24413 * manual/message.texi: Likewise.
24414 * manual/nss.texi: Likewise.
24415 * manual/pattern.texi: Likewise.
24416 * manual/process.texi: Likewise.
24417 * manual/resource.texi: Likewise.
24418 * manual/search.texi: Likewise.
24419 * manual/setjmp.texi: Likewise.
24420 * manual/signal.texi: Likewise.
24421 * manual/socket.texi: Likewise.
24422 * manual/startup.texi: Likewise.
24423 * manual/stdio.texi: Likewise.
24424 * manual/string.texi: Likewise.
24425 * manual/sysinfo.texi: Likewise.
24426 * manual/syslog.texi: Likewise.
24427 * manual/terminal.texi: Likewise.
24428 * manual/time.texi: Likewise.
24429 * manual/users.texi: Likewise.
24430 * INSTALL: Regenerated.
24431 * NOTES: Regenerated.
d40c5d54 24432 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24433
450bf206
AS
244342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24435
24436 * include/dirent.h: Include <dirstream.h> before
24437 <dirent/dirent.h>.
24438
741a235b
DM
244392012-02-28 David S. Miller <davem@davemloft.net>
24440
24441 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24442 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24443 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24444 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24445
d6b5aa58
DM
244462012-02-27 David S. Miller <davem@davemloft.net>
24447
1aff59a3
DM
24448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24450 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24451 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24452
d6b5aa58
DM
24453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24454 frame pointer instead of stack pointer relative arg slot.
24455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24456 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24457 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24458
433f48bf
CD
244592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24460
24461 [BZ #3992]
24462 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24463
d674b76d
DM
244642012-02-27 David S. Miller <davem@davemloft.net>
24465
24466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24470 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24471 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24472 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24473 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24474
0e7727f7
JM
244752012-02-27 Joseph Myers <joseph@codesourcery.com>
24476
24477 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24478 later. Allow versions 5-9.
43be4ca2 24479 * configure: Regenerated.
0e7727f7
JM
24480 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24481 required minimum version and 4.6 as recommended version. Do not
24482 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24483 * INSTALL: Regenerated.
0e7727f7 24484
a78bc654
DM
244852012-02-27 David S. Miller <davem@davemloft.net>
24486
428d5830
DM
24487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24491 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24492 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24493 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24494 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24495
a78bc654
DM
24496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24497 manipulate bits before adding and subtracting TWO112[sx].
24498 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24499
4579f81c
RM
245002012-02-27 Roland McGrath <roland@hack.frob.com>
24501
36c8acb4
RM
24502 [BZ #13775]
24503 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24504 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24505 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24506 being in POSIX, because they are in 1003.1-2008.
24507
84ad622b
RM
24508 * rt/tst-aio.c: Include <fcntl.h>.
24509 * rt/tst-aio7.c: Likewise.
24510 * rt/tst-aio64.c: Likewise.
24511
4579f81c
RM
24512 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24513
abd923db
JM
245142012-02-27 Joseph Myers <joseph@codesourcery.com>
24515
24516 * manual/install.texi (--with-headers): Describe headers as
24517 interface headers, not private headers.
24518 (Specific advice for GNU/Linux systems): Describe use of headers
24519 from "make headers_install", not private headers from older
24520 kernels.
43be4ca2 24521 * INSTALL: Regenerated.
abd923db
JM
24522 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24523 Change to 2.6.19.
24524 * sysdeps/unix/sysv/linux/configure: Regenerated.
24525
6664049b
JM
24526 * manual/llio.texi (fclean): Remove documentation.
24527
bb8b6697
JM
24528 * manual/Makefile (libc-texi-generated): New variable. Include
24529 version.texi.
24530 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24531 $(libc-texi-generated), not duplicated list of files.
24532 (version.texi, stamp-version): New rules.
24533 (realclean): Remove $(libc-texi-generated), not individual files
24534 from that list. Do not remove dir-add.texinfo.
24535 * manual/libc.texinfo: Comment out uses of edition numbers and
24536 references to printed manual. Remove last-updated dates.
24537 (EDITION): Comment out.
24538 (ISBN): Likewise.
24539 (VERSION, UPDATED): Remove.
24540 (version.texi): Include.
24541
12e5c3b9
AS
245422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24543
24544 * sysdeps/posix/spawni.c: Include <signal.h>.
24545 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24546 * sysdeps/pthread/aio_fsync.c: Likewise.
24547
4efeffc1 245482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24549
ba63ba08
UD
24550 * conform/Makefile (tests): Run only when not cross-compiling and
24551 when fast-check is not defined.
24552
d94a4670
UD
24553 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24554 * conform/data/limits.h-data: Fixes for POSIX2008.
24555 * conform/run-conformtest.sh: Run all tests.
24556 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24557 headers.
24558 * include/bits/dlfcn.h: Likewise.
24559 * include/langinfo.h: Likewise.
24560 * include/monetary.h: Likewise.
24561 * include/sys/poll.h: Likewise.
24562
24563 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24564 for __USE_GNU.
24565 * posix/spawn.h: Define __need_sigset_t.
24566 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24567 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24568 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24569 to get sigevent_t only.
24570 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24571 only for __USE_GNU.
24572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24573 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24574 process_vm_writev only for __USE_GNU.
24575 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24576
24577 * conform/Makefile: For now ignore errors from run-conformtest.
24578 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24579 POSIX to avoid namespace pollution. Don't prepend headers.
24580 * conform/data/aio.h-data: Fixes for POSIX testing.
24581 * conform/data/fcntl.h-data: Likewise.
24582 * conform/data/glob.h-data: Likewise.
24583 * conform/data/grp.h-data: Likewise.
24584 * conform/data/pthread.h-data: Likewise.
24585 * conform/data/pwd.h-data: Likewise.
24586 * conform/data/signal.h-data: Likewise.
24587 * conform/data/spawn.h-data: Likewise.
24588 * conform/data/stdio.h-data: Likewise.
24589 * conform/data/stdlib.h-data: Likewise.
24590 * conform/data/stropts.h-data: Likewise.
24591 * conform/data/sys/mman.h-data: Likewise.
24592 * conform/data/sys/stat.h-data: Likewise.
24593 * conform/data/sys/types.h-data: Likewise.
24594 * conform/data/sys/wait.h-data: Likewise.
24595 * conform/data/time.h-data: Likewise.
24596 * conform/data/unistd.h-data: Likewise.
24597 * conform/data/utime.h-data: Likewise.
24598
24599 * io/sys/stat.h: fchmod was always in POSIX.
24600 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24601 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24602 * rt/aio.h: Define __need_timespec before including <time.h>.
24603 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24604 struct. Add forward declaration of pthread_attr_t and use it in
24605 sigevent.
24606 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24608 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24609 always remove CLK_TCK definition.
24610
c20105c3
AS
246112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24612
24613 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24614
7a270350
UD
246152012-02-25 Ulrich Drepper <drepper@gmail.com>
24616
31341567
UD
24617 * conform/run-conformtest.sh: New file.
24618 * conform/Makefile: Run run-conformtest for tests.
24619 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24620 support.
24621
24622 * conform/data/uchar.h-data: New file.
24623 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24624 * conform/data/arpa/inet.h-data: Likewise.
24625 * conform/data/assert.h-data: Likewise.
24626 * conform/data/complex.h-data: Likewise.
24627 * conform/data/cpio.h-data: Likewise.
24628 * conform/data/ctype.h-data: Likewise.
24629 * conform/data/dirent.h-data: Likewise.
24630 * conform/data/dlfcn.h-data: Likewise.
24631 * conform/data/errno.h-data: Likewise.
24632 * conform/data/fcntl.h-data: Likewise.
24633 * conform/data/float.h-data: Likewise.
24634 * conform/data/fmtmsg.h-data: Likewise.
24635 * conform/data/fnmatch.h-data: Likewise.
24636 * conform/data/ftw.h-data: Likewise.
24637 * conform/data/glob.h-data: Likewise.
24638 * conform/data/grp.h-data: Likewise.
24639 * conform/data/iconv.h-data: Likewise.
24640 * conform/data/inttypes.h-data: Likewise.
24641 * conform/data/langinfo.h-data: Likewise.
24642 * conform/data/libgen.h-data: Likewise.
24643 * conform/data/limits.h-data: Likewise.
24644 * conform/data/locale.h-data: Likewise.
24645 * conform/data/math.h-data: Likewise.
24646 * conform/data/monetary.h-data: Likewise.
24647 * conform/data/mqueue.h-data: Likewise.
24648 * conform/data/ndbm.h-data: Likewise.
24649 * conform/data/net/if.h-data: Likewise.
24650 * conform/data/netdb.h-data: Likewise.
24651 * conform/data/netinet/in.h-data: Likewise.
24652 * conform/data/nl_types.h-data: Likewise.
24653 * conform/data/poll.h-data: Likewise.
24654 * conform/data/pthread.h-data: Likewise.
24655 * conform/data/pwd.h-data: Likewise.
24656 * conform/data/regex.h-data: Likewise.
24657 * conform/data/sched.h-data: Likewise.
24658 * conform/data/search.h-data: Likewise.
24659 * conform/data/semaphore.h-data: Likewise.
24660 * conform/data/setjmp.h-data: Likewise.
24661 * conform/data/signal.h-data: Likewise.
24662 * conform/data/spawn.h-data: Likewise.
24663 * conform/data/stdarg.h-data: Likewise.
24664 * conform/data/stdio.h-data: Likewise.
24665 * conform/data/stdlib.h-data: Likewise.
24666 * conform/data/string.h-data: Likewise.
24667 * conform/data/strings.h-data: Likewise.
24668 * conform/data/stropts.h-data: Likewise.
24669 * conform/data/sys/ipc.h-data: Likewise.
24670 * conform/data/sys/mman.h-data: Likewise.
24671 * conform/data/sys/msg.h-data: Likewise.
24672 * conform/data/sys/resource.h-data: Likewise.
24673 * conform/data/sys/select.h-data: Likewise.
24674 * conform/data/sys/sem.h-data: Likewise.
24675 * conform/data/sys/shm.h-data: Likewise.
24676 * conform/data/sys/socket.h-data: Likewise.
24677 * conform/data/sys/stat.h-data: Likewise.
24678 * conform/data/sys/statvfs.h-data: Likewise.
24679 * conform/data/sys/time.h-data: Likewise.
24680 * conform/data/sys/timeb.h-data: Likewise.
24681 * conform/data/sys/times.h-data: Likewise.
24682 * conform/data/sys/types.h-data: Likewise.
24683 * conform/data/sys/uio.h-data: Likewise.
24684 * conform/data/sys/un.h-data: Likewise.
24685 * conform/data/sys/utsname.h-data: Likewise.
24686 * conform/data/sys/wait.h-data: Likewise.
24687 * conform/data/syslog.h-data: Likewise.
24688 * conform/data/tar.h-data: Likewise.
24689 * conform/data/termios.h-data: Likewise.
24690 * conform/data/utime.h-data: Likewise.
24691 * conform/data/utmpx.h-data: Likewise.
24692 * conform/data/varargs.h-data: Likewise.
24693 * conform/data/wchar.h-data: Likewise.
24694 * conform/data/wctype.h-data: Likewise.
24695 * conform/data/wordexp.h-data: Likewise.
24696
24697 * include/stropts.h: New file.
24698 * include/uchar.h: New file.
24699 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24700 * include/assert.h: Likewise.
24701 * include/ctype.h: Likewise.
24702 * include/dirent.h: Likewise.
24703 * include/dlfcn.h: Likewise.
24704 * include/fcntl.h: Likewise.
24705 * include/fnmatch.h: Likewise.
24706 * include/glob.h: Likewise.
24707 * include/grp.h: Likewise.
24708 * include/libio.h: Likewise.
24709 * include/locale.h: Likewise.
24710 * include/math.h: Likewise.
24711 * include/net/if.h: Likewise.
24712 * include/netdb.h: Likewise.
24713 * include/netinet/in.h: Likewise.
24714 * include/pthread.h: Likewise.
24715 * include/pwd.h: Likewise.
24716 * include/regex.h: Likewise.
24717 * include/sched.h: Likewise.
24718 * include/search.h: Likewise.
24719 * include/setjmp.h: Likewise.
24720 * include/signal.h: Likewise.
24721 * include/stdio.h: Likewise.
24722 * include/stdlib.h: Likewise.
24723 * include/string.h: Likewise.
24724 * include/sys/cdefs.h: Likewise.
24725 * include/sys/mman.h: Likewise.
24726 * include/sys/msg.h: Likewise.
24727 * include/sys/resource.h: Likewise.
24728 * include/sys/select.h: Likewise.
24729 * include/sys/socket.h: Likewise.
24730 * include/sys/stat.h: Likewise.
24731 * include/sys/statvfs.h: Likewise.
24732 * include/sys/time.h: Likewise.
24733 * include/sys/times.h: Likewise.
24734 * include/sys/uio.h: Likewise.
24735 * include/sys/utsname.h: Likewise.
24736 * include/sys/wait.h: Likewise.
24737 * include/termios.h: Likewise.
24738 * include/time.h: Likewise.
24739 * include/ulimit.h: Likewise.
24740 * include/unistd.h: Likewise.
24741 * include/utime.h: Likewise.
24742 * include/wchar.h: Likewise.
24743 * include/wctype.h: Likewise.
24744 * include/wordexp.h: Likewise.
24745
24746 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24747
7a270350
UD
24748 * time/time.h: TIME_UTC must be a macro.
24749 Make timespec_get available for ISO C11 only as well.
24750
7724defc
UD
247512012-02-24 Ulrich Drepper <drepper@gmail.com>
24752
24753 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24754 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24755
6b1d1d46
JM
247562012-02-24 Joseph Myers <joseph@codesourcery.com>
24757
24758 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24759
0f8bbd69
JM
247602012-02-24 Joseph Myers <joseph@codesourcery.com>
24761
24762 * manual/texinfo.tex: Update to version 2012-01-19.16.
24763
66ab80bc
JM
247642012-02-24 Joseph Myers <joseph@codesourcery.com>
24765
24766 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24767
74981cc5
RM
247682012-02-24 Roland McGrath <roland@hack.frob.com>
24769
ee968201
RM
24770 [BZ #13738]
24771 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24772 * manual/fdl-1.3.texi: New file.
24773 * manual/fdl-1.1.texi: File removed.
24774
74981cc5
RM
24775 [BZ #13738]
24776 * manual/libc.texinfo (FDL_VERSION): New @set.
24777 Use it for mention of FDL in cover text.
24778 (Documentation License): Use it in @include file name.
24779
7bb764bc
JM
247802012-02-22 Joseph Myers <joseph@codesourcery.com>
24781 Roland McGrath <roland@hack.frob.com>
24782
24783 [BZ #5461]
24784 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24785 not LONG_LONG_MAX and LONG_LONG_MIN.
24786 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24787 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24788 name.
24789 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24790
6cbeae47
JM
247912012-02-22 Joseph Myers <joseph@codesourcery.com>
24792
24793 [BZ #2547]
24794 [BZ #11365]
24795 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24796 manipulate bits before adding and subtracting TWO23[sx].
24797 * math/libm-test.inc (nearbyint_test): Add more tests.
24798
fe45ce09
JM
247992012-02-22 Joseph Myers <joseph@codesourcery.com>
24800
24801 [BZ #2548]
24802 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24803 bits before adding and subtracting TWO23[sx].
24804 * math/libm-test.inc (rint_test): Add more tests.
24805 (rint_test_tonearest): Likewise.
24806 (rint_test_towardzero): Likewise.
24807 (rint_test_downward): Likewise.
24808 (rint_test_upward: Likewise.
24809
ff3b3d82
JM
248102012-02-22 Joseph Myers <joseph@codesourcery.com>
24811
24812 [BZ #10110]
24813 * include/stdc-predef.h: New file. Extracted from features.h.
24814 * include/features.h: Include stdc-predef.h.
24815 * Makefile (headers): Add stdc-predef.h.
24816 * CONFORMANCE (Compiler limitations): Update.
24817
ef0aab35
JM
248182012-02-22 Joseph Myers <joseph@codesourcery.com>
24819
24820 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24821
58639409
DM
248222012-02-21 David S. Miller <davem@davemloft.net>
24823
24824 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24825 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24826
c0e70b25
DM
248272012-02-20 David S. Miller <davem@davemloft.net>
24828
24829 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24830 using a normal save/restore sequence, rather than allocating a
24831 dummy stack frame just to store a frame pointer and restore.
24832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24833
fb06851d
JM
248342012-02-21 Joseph Myers <joseph@codesourcery.com>
24835
24836 * manual/install.texi: Fix stray word in line-wrapped comment.
24837
7a8b71c3
DM
248382012-02-20 David S. Miller <davem@davemloft.net>
24839
d510c123
DM
24840 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24841 both binutils and gcc support GOTDATA.
24842
0722d7c2
DM
24843 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24844 "rd %pc" in the PIC register setup sequences.
24845
3d2b3019
DM
24846 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24847 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24848 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24849 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24850 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24852 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24853 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24855 (SYSCALL_ERROR_HANDLER): Likewise.
24856 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24857 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24859 (SYSCALL_ERROR_HANDLER): Likewise.
24860
c80098a9
DM
24861 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24862 (HAVE_GCC_GOTDATA): New.
24863 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24864 relocation support in both binutils and gcc.
24865 * sysdeps/sparc/elf/configure: Regenerate.
24866
3a2545a0
DM
24867 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24868 * sysdeps/sparc/sparc32/elf/configure: Delete.
24869 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24870 * sysdeps/sparc/sparc64/elf/configure: Delete.
24871 * sysdeps/sparc/elf/configure.in: New file.
24872 * sysdeps/sparc/elf/configure: Generate.
24873
7a8b71c3
DM
24874 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24875 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24876 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24877 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24878 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24879
f1e86fca
JM
248802012-02-21 Joseph Myers <joseph@codesourcery.com>
24881
24882 * manual/install.texi: Do not mention specific glibc version
24883 numbers.
24884 * manual/libc.texinfo (VERSION, UPDATED): Update.
24885 (@copying): Use @copyright{} and range of years.
24886
0e7dfaef
JM
248872012-02-21 Joseph Myers <joseph@codesourcery.com>
24888
24889 [BZ #13695]
24890 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24891 [crti.S not in sysdirs] (generated): Do not append.
24892 [crti.S not in sysdirs] (omit-deps): Likewise.
24893 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24894 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24895 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24896 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24897 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24898 Likewise.
24899 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24900 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24901 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24902 * csu/defs.awk: Remove file.
24903 * sysdeps/generic/initfini.c: Likewise.
24904 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24905 variable.
24906 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24907 Likewise.
24908
599af3ca
JM
249092012-02-20 Joseph Myers <joseph@codesourcery.com>
24910
24911 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24912 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24913 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24914 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24915 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24916 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24917 <bits/epoll.h>.
24918 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24919 (__EPOLL_PACKED): Define to empty if not defined by
24920 <bits/epoll.h>.
24921 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24923 bits/epoll.h.
24924
0e499750
JM
249252012-02-20 Joseph Myers <joseph@codesourcery.com>
24926
24927 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24928 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24929 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24930 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24931 <bits/timerfd.h>.
24932 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24934 bits/timerfd.h.
24935
5ad91f6e
JM
249362012-02-20 Joseph Myers <joseph@codesourcery.com>
24937
24938 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24939 in C locale.
24940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24941 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24942 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24944
06b99b02
AJ
249452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24946
24947 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24948 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24949
7638c0fd
AS
249502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24951
24952 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24953 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24954 defined.
24955 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24956 Likewise.
24957 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24958 entry for 2.16.
24959
92221550
AJ
249602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24961
24962 * math/w_acos.c: Use non-signaling floating-point comparisons.
24963 * math/w_acosf.c: Likewise.
24964 * math/w_acosh.c: Likewise.
24965 * math/w_acoshf.c: Likewise.
24966 * math/w_acoshl.c: Likewise.
24967 * math/w_acosl.c: Likewise.
24968 * math/w_asin.c: Likewise.
24969 * math/w_asinf.c: Likewise.
24970 * math/w_asinl.c: Likewise.
24971 * math/w_atanh.c: Likewise.
24972 * math/w_atanhf.c: Likewise.
24973 * math/w_atanhl.c: Likewise.
24974 * math/w_exp2.c: Likewise.
24975 * math/w_exp2f.c: Likewise.
24976 * math/w_exp2l.c: Likewise.
24977 * math/w_j0.c: Likewise.
24978 * math/w_j0f.c: Likewise.
24979 * math/w_j0l.c: Likewise.
24980 * math/w_j1.c: Likewise.
24981 * math/w_j1f.c: Likewise.
24982 * math/w_j1l.c: Likewise.
24983 * math/w_jn.c: Likewise.
24984 * math/w_jnf.c: Likewise.
24985 * math/w_log.c: Likewise.
24986 * math/w_log10.c: Likewise.
24987 * math/w_log10f.c: Likewise.
24988 * math/w_log10l.c: Likewise.
24989 * math/w_log2.c: Likewise.
24990 * math/w_log2f.c: Likewise.
24991 * math/w_log2l.c: Likewise.
24992 * math/w_logf.c: Likewise.
24993 * math/w_logl.c: Likewise.
24994 * math/w_sqrt.c: Likewise.
24995 * math/w_sqrtf.c: Likewise.
24996 * math/w_sqrtl.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24999 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25000 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25001 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25002
ebaf36eb
JM
250032012-02-19 Joseph Myers <joseph@codesourcery.com>
25004
25005 [BZ #9739]
25006 * manual/string.texi (strnlen): Use correct parameter name in
25007 equivalent expression.
25008
71c254a6
JM
250092012-02-19 Joseph Myers <joseph@codesourcery.com>
25010
25011 [BZ #11174]
25012 * manual/users.texi (seteuid): Consistently use neweuid for
25013 argument name.
25014
16d2c631
JM
250152012-02-19 Joseph Myers <joseph@codesourcery.com>
25016
25017 [BZ #13704]
25018 * manual/nss.texi (Services in the NSS configuration): Correct
25019 list of services in example configuration file.
25020
cd837b09
NB
250212012-02-19 Nick Bowler <nbowler@draconx.ca>
25022
25023 [BZ #11322]
25024 * manual/arith.texi: Remove statements about negative zero
25025 behaving identically to zero.
25026
02c4bbad
JM
250272012-02-18 Joseph Myers <joseph@codesourcery.com>
25028
25029 [BZ #5993]
25030 * manual/install.texi: Do not document upgrading from libc5.
25031
366842e7
JM
250322012-02-18 Joseph Myers <joseph@codesourcery.com>
25033
25034 [BZ #4596]
25035 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25036
dd54084d
DM
250372012-02-18 David S. Miller <davem@davemloft.net>
25038
25039 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25040 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25041 %o7 across the call.
25042 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25043 instead.
25044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25045 SETUP_PIC_REG_LEAF.
25046 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25047 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25048 * sysdeps/sparc/crtn.S: Likewise.
25049
2bcc53a3
UD
250502012-02-17 Ulrich Drepper <drepper@gmail.com>
25051
25052 * aout/Makefile: Remove.
25053
09c093b5
RK
250542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25055
25056 [BZ #13058]
25057 * manual/examples/argp-ex1.c (main): Format definition in GNU
25058 style.
25059 * manual/examples/argp-ex2.c (main): Likewise.
25060 * manual/examples/argp-ex3.c (main): Likewise.
25061 * manual/examples/argp-ex4.c (main): Likewise.
25062 * manual/examples/longopt.c (main): Use new-style prototype
25063 definition.
25064 * manual/examples/strncat.c (main): Specify return type and use
25065 (void) for arguments.
25066 * manual/examples/subopt.c (main): Use char **argv argument.
25067
2ee633a2
JM
250682012-02-17 Joseph Myers <joseph@codesourcery.com>
25069
25070 [BZ #5077]
25071 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25072 rounding modes.
25073
0520adde
FB
250742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25075
25076 [BZ #6907]
25077 * manual/string.texi (strchr): Change when strchrnul is
25078 recommended.
25079
3f4081cd
DGM
250802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25081
25082 [BZ #174]
25083 * manual/locale.texi (setlocale): Document LOCPATH.
25084
d1b10e78
JM
250852012-02-17 Joseph Myers <joseph@codesourcery.com>
25086
25087 [BZ #10210]
25088 * manual/process.texi (execle): Move @dots{} before last argument.
25089
79c6869c
PB
250902012-02-17 Paul Bolle <pebolle@tiscali.nl>
25091
25092 [BZ #12047]
25093 * manual/charset.texi (Generic Charset Conversion): Fix typo
25094 (LC_TYPE -> LC_CTYPE).
25095
cc6e48bc
NB
250962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25097
25098 [BZ #5805]
25099 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25100 (scalbnf): Likewise.
25101 (scalbnl): Likewise.
25102 (scalbln): Likewise.
25103 (scalblnf): Likewise.
25104 (scalblnl): Likewise.
25105 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25106 (vwarnx): Likewise.
25107 (verr): Likewise.
25108 (verrx): Likewise.
25109 * manual/filesys.texi (telldir): Use braces around return type.
25110 * manual/llio.texi (mmap): Add space after comma.
25111 (mmap64): Likewise.
25112 * manual/math.texi (jn): Use @var{} on parameter names.
25113 (jnf): Likewise.
25114 (jnl): Likewise.
25115 (yn): Likewise.
25116 (ynf): Likewise.
25117 (ynl): Likewise.
25118 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25119 line.
25120 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25121 "...".
25122 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25123 (sched_get_priority_max): Likewise.
25124 * manual/signal.texi (sigvec): Add space after comma.
25125 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25126 names.
25127 (if_indextoname): Likewise.
25128 (if_freenameindex): Likewise.
25129 (sendto): Use ',' instead of '.' in prototype.
25130 * manual/startup.texi (syscall): Use @dots{} instead of literal
25131 "...".
25132 * manual/stdio.texi (__fpending): Separate initial words of
25133 paragraph from @deftypefun line.
25134 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25135 "...".
25136 (vsyslog): Use @var{} on parameter names.
25137 * manual/terminal.texi (stty): Use @var{} on parameter names.
25138 * manual/users.texi (getutmp): Use @var{} on parameter names.
25139 (getutmpx): Likewise.
25140
5b23062f
JM
251412012-02-17 Joseph Myers <joseph@codesourcery.com>
25142
25143 [BZ #6884]
25144 * manual/stdio.texi (fopen): Fix typos in description of
25145 ",ccs=STRING".
25146
8dee4833
AJ
251472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25148
25149 [BZ #4026]
25150 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25151 get clock_id definition.
25152
9078ce93
TS
251532012-02-17 Thomas Schwinge <thomas@schwinge.name>
25154
25155 [BZ #4822]
25156 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25157 (madvise): Cast every argument to void on its own.
25158
3835c55f
JM
251592012-02-17 Joseph Myers <joseph@codesourcery.com>
25160
25161 [BZ #9902]
25162 * manual/startup.texi (Exit Status): Fix typo.
25163
35c47e37
JM
251642012-02-17 Joseph Myers <joseph@codesourcery.com>
25165
25166 [BZ #10140]
25167 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25168 * manual/examples/argp-ex2.c: Likewise.
25169 * manual/examples/argp-ex3.c: Likewise.
25170
e3b69ca7
RH
251712012-02-16 Richard Henderson <rth@redhat.com>
25172
25173 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25174 * sysdeps/s390/s390-32/initfini.c: Remove.
25175 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25176 * sysdeps/s390/s390-64/initfini.c: Remove.
25177
df83af67
KK
251782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25179
25180 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25181 compiler output for sysdeps/generic/initfini.c.
25182 * sysdeps/sh/elf/initfini.c: Remove file.
25183
f63f3380
DM
251842012-02-16 David S. Miller <davem@davemloft.net>
25185
fb59b3a4
DM
25186 [BZ #11494]
25187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25188
f63f3380
DM
25189 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25190 * sysdeps/sparc/crti.S: New file.
25191 * sysdeps/sparc/crtn.S: New file.
25192 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25193 * sysdeps/sparc/sparc64/Makefile: Likewise.
25194
df6a4a4a
MF
251952012-02-15 Mike Frysinger <vapier@gentoo.org>
25196
6dd8f3dc 25197 [BZ #3335]
df6a4a4a
MF
25198 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25199
1cac7236
RM
252002012-02-15 Roland McGrath <roland@hack.frob.com>
25201
d2c736f8
RM
25202 [BZ #4822]
25203 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25204
1cac7236
RM
25205 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25206 (write, read, close): Likewise.
25207 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25208
8e475601
JM
252092012-02-15 Joseph Myers <joseph@codesourcery.com>
25210
25211 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25212 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25213 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25214 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25215 <bits/signalfd.h>.
25216 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25218 bits/signalfd.h.
25219
ed656b40
MP
252202012-02-14 Marek Polacek <polacek@redhat.com>
25221
25222 * sysdeps/x86_64/crti.S: New file.
25223 * sysdeps/x86_64/crtn.S: New file.
25224 * sysdeps/x86_64/elf/initfini.c: Remove file.
25225
2a979d3a
JM
252262012-02-13 Joseph Myers <joseph@codesourcery.com>
25227
25228 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25229 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25230 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25231 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25232 <bits/inotify.h>.
25233 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25235 bits/inotify.h.
25236
2a418ac3
JM
252372012-02-13 Joseph Myers <joseph@codesourcery.com>
25238
25239 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25240 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25241 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25242 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25243 <bits/eventfd.h>.
25244 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25246 bits/eventfd.h.
25247
fb779be7
TS
252482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25249
e19e83c5
RM
25250 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25251 __feraiseexcept instead of feraiseexcept.
7c35ffed 25252
fb779be7
TS
25253 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25254 nanosleep invocations.
25255 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25256 strings, and add error checking for a nanosleep invocations.
25257
59ba27a6
PE
252582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25259
25260 Replace FSF snail mail address with URLs, as per GNU coding standards.
25261 Most of the snail mail addresses were wrong anyway, and omitting
25262 them makes the source code easier to maintain. Almost all of the
25263 changes are to license notices and to locale LC_IDENTIFICATION
25264 addresses, except for this one:
25265 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25266 not its snail mail address.
25267
57b957eb
RH
252682012-02-09 Richard Henderson <rth@twiddle.net>
25269
af850b1c
RH
25270 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25271 of kernel-features.h.
25272
57b957eb
RH
25273 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25274
6b73181a
MP
252752012-02-08 Marek Polacek <polacek@redhat.com>
25276
25277 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25278 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25279 * sysdeps/gnu/_G_config.h: Likewise.
25280 * sysdeps/generic/_G_config.h: Likewise.
25281
26ecc33a
AS
252822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25283
6c6dbc63
AS
25284 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25285 tests.
25286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25287
e216c012
AS
25288 * sysdeps/powerpc/powerpc32/crti.S: New file.
25289 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25290 * sysdeps/powerpc/powerpc64/crti.S: New file.
25291 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25292
26ecc33a
AS
25293 * Makeconfig (have-initfini): Don't set.
25294 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25295 * configure.in (nopic_initfini): Don't substitute.
25296 * config.h.in (HAVE_INITFINI): Don't #undef.
25297 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25298 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25299
3add8e13
JM
253002012-02-08 Joseph Myers <joseph@codesourcery.com>
25301
25302 Support crti.S and crtn.S provided directly by architectures.
25303 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25304 [crti.S in sysdirs] (omit-deps): Likewise.
25305 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25306 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25307 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25308 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25309 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25310 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25311 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25312 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25313 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25314 compiler output for sysdeps/generic/initfini.c.
25315 * sysdeps/i386/elf/Makefile: Remove file.
25316 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25317
a22f12b4
MP
253182012-02-07 Marek Polacek <polacek@redhat.com>
25319
25320 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25321 * sysdeps/gnu/_G_config.h: Likewise.
25322 * sysdeps/mach/hurd/_G_config.h: Likewise.
25323
148cf100
MP
253242012-02-07 Marek Polacek <polacek@redhat.com>
25325
25326 * math/Makefile (tests): Add tst-CMPLX2.
25327 * math/tst-CMPLX2.c: New file.
25328
cfdc0dd7
AS
253292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25330
84ba42c4
AS
25331 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25332
cfdc0dd7
AS
25333 * math/libm-test.inc (jn_test): Add missing L suffix.
25334
622c86f4
MP
253352012-02-06 Marek Polacek <polacek@redhat.com>
25336
25337 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25338 * sysdeps/i386/fpu/e_powf.S: Likewise.
25339 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25340 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25341 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25342 * sysdeps/i386/fpu/e_pow.S: Likewise.
25343 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25344 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25345 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25346 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25347 * sysdeps/i386/fpu/e_log2.S: Likewise.
25348 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25349 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25350 * sysdeps/i386/fpu/e_powl.S: Likewise.
25351 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25352 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25353 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25354 * sysdeps/i386/fpu/e_logl.S: Likewise.
25355 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25356 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25357 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25358 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25359 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25360 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25361 * sysdeps/i386/fpu/e_log.S: Likewise.
25362 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25363 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25364 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25365 * sysdeps/i386/fpu/e_logf.S: Likewise.
25366 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25367 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25368 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25369 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25370 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25371 * sysdeps/i386/fpu/e_log10.S: Likewise.
25372 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25373 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25374 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25375 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25377 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25378 * sysdeps/i386/asm-syntax.h: Likewise.
25379 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25380 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25381 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25382 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25383 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25384 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25385 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25386 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25387 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25388 * sysdeps/powerpc/sysdep.h: Likewise.
25389 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25390 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25391
d4a54ac6
JM
253922012-02-06 Joseph Myers <joseph@codesourcery.com>
25393
25394 [BZ #411]
25395 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25396
314054ea
JM
253972012-02-06 Joseph Myers <joseph@codesourcery.com>
25398
25399 * sysdeps/i386/sysdep.h: Include <features.h>.
25400 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25401 version.
25402
d8e0ca50
JM
254032012-02-05 Joseph Myers <joseph@codesourcery.com>
25404
25405 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25406 Define.
25407 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25408 LOAD_PIC_REG_STR.
25409
b1da7dd9
JM
254102012-02-03 Joseph Myers <joseph@codesourcery.com>
25411
25412 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25413 (SETUP_PIC_REG): Use GET_PC_THUNK.
25414 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25415 macro.
25416
9a1d9254
JM
254172012-02-03 Joseph Myers <joseph@codesourcery.com>
25418
25419 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25420 for non-PIC compilation.
25421 (SETUP_PIC_REG): Add .p2align directive.
25422 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25423 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25424 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25425 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25426 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25427 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25428 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25429 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25430 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25431 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25432 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25433 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25434 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25435 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25436 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25437 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25438 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25439 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25440 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25441 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25442 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25443 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25444 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25445 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25446 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25448 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25449 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25450 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25451 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25452 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25453 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25454 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25455 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25456 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25457 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25458 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25459 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25460 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25461 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25462 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25463
65dc3b75
JM
254642012-02-03 Joseph Myers <joseph@codesourcery.com>
25465
25466 * math/tst-CMPLX.c: Include <stdio.h>.
25467
d55bf177
JM
254682012-01-31 Joseph Myers <joseph@codesourcery.com>
25469
25470 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25471 float.
25472 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25473 * sysdeps/sparc/bits/mathdef.h: Likewise.
25474
69db4f8f
MP
254752012-01-31 Marek Polacek <polacek@redhat.com>
25476
25477 * libio/libio.h: Don't define _PARAMS.
25478 * locale/programs/config.h: Don't define PARAMS.
25479 * stdlib/strtol_l.c: Likewise.
25480 (__strtol_l): Remove PARAMS from the prototype.
25481
41b81892
UD
254822012-01-31 Ulrich Drepper <drepper@gmail.com>
25483
3b49edc0
UD
25484 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25485 names. Just use the correct names. Remove unnecessary wrapper
25486 functions.
25487 * malloc/arena.c: Likewise.
25488 * malloc/hooks.c: Likewise.
25489
41b81892
UD
25490 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25491 ARENA_TEST says not to. Simplify test for creation of a new arena.
25492 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25493
27a25b6e
UD
254942012-01-30 Ulrich Drepper <drepper@gmail.com>
25495
25496 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25497 into tail calls.
25498 (update_get_addr): New function.
25499 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25500 GET_ADDR_MODULE parameter.
25501
c8a89e7d
JM
255022012-01-30 Joseph Myers <joseph@codesourcery.com>
25503
25504 * crypt/cert.c: Remove __STDC__ conditionals.
25505 * crypt/crypt-entry.c: Likewise.
25506 * crypt/crypt_util.c: Likewise.
25507 * libio/filedoalloc.c: Likewise.
25508 * libio/fileops.c: Likewise.
25509 * libio/genops.c: Likewise.
25510 * libio/iofclose.c: Likewise.
25511 * libio/iofdopen.c: Likewise.
25512 * libio/iofopen.c: Likewise.
25513 * libio/iofopen64.c: Likewise.
25514 * libio/iogetdelim.c: Likewise.
25515 * libio/iopopen.c: Likewise.
25516 * libio/obprintf.c: Likewise.
25517 * libio/oldfileops.c: Likewise.
25518 * libio/oldiofclose.c: Likewise.
25519 * libio/oldiofdopen.c: Likewise.
25520 * libio/oldiofopen.c: Likewise.
25521 * libio/oldiopopen.c: Likewise.
25522 * libio/wfiledoalloc.c: Likewise.
25523 * libio/wgenops.c: Likewise.
25524 * locale/programs/xmalloc.c: Likewise.
25525 * misc/syslog.c: Likewise.
25526 * stdio-common/xbug.c: Likewise.
25527 * string/memchr.c: Likewise.
25528 * string/memcmp.c: Likewise.
25529 * string/memrchr.c: Likewise.
25530 * string/rawmemchr.c: Likewise.
25531 * sysdeps/posix/getcwd.c: Likewise.
25532 * time/strftime_l.c: Likewise.
25533
3b100462
JM
255342012-01-30 Joseph Myers <joseph@codesourcery.com>
25535
25536 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25537 * config.make.in (config-cflags-sse2avx): Define.
25538 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25539 Fix typo.
25540
607998af
CM
255412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25542
25543 * scripts/config.guess: Update from upstream config git repository.
25544 * scripts/config.sub: Likewise.
25545
3601428f
CM
255462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25547
3ac8b282
CM
25548 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25549 (EM_NUM): Update.
25550 (R_TILEPRO_*, R_TILEGX_*): New macros.
25551
e034841e
CM
25552 * scripts/firstversions.awk: Fix bug in version range handling.
25553
540d7568
CM
25554 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25555
3601428f
CM
25556 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25557
463de862
CM
25558 * include/sys/epoll.h: New file.
25559 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25560 libc_hidden_def.
25561
73139a76
UD
255622012-01-28 Ulrich Drepper <drepper@gmail.com>
25563
96bc5b45
UD
25564 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25565 Avoid unnecessary __WORDSIZE == 64 test.
25566 (fmaxf): Use VEX format if possible.
25567 (fmax): Likewise.
25568 (fminf): Likewise.
25569 (fmin): Likewise.
25570
56f6f6a2
UD
25571 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25572 * math/math_private.h: Remove libc_fegetround* and
25573 libc_fesetround*.
25574 * sysdeps/i386/configure.in: Check for -msse2avx.
25575 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25576 also if SSE2AVX is defined.
25577 Remove libc_fegetround* and libc_fesetround*.
25578 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25579 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25580 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25581 of HAS_YMM_USABLE.
25582 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25583 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25584 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25586 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25587
73139a76
UD
25588 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25589
d73f93a4
AZ
255902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25591
25592 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25593 size is not set.
25594 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25595
6ee65ed6
UD
255962012-01-27 Ulrich Drepper <drepper@gmail.com>
25597
25598 [BZ #13618]
25599 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25600 relocation.
25601 * Makeconfig (libm): Define.
25602 * elf/Makefile: Add rules to build and run tst-relsort1.
25603 * elf/tst-relsort1.c: New file.
25604 * elf/tst-relsort1mod1.c: New file.
25605 * elf/tst-relsort1mod2.c: New file.
25606
8db21882
JM
256072012-01-27 Joseph Myers <joseph@codesourcery.com>
25608
25609 * math/s_ldexp.c: Remove __STDC__ conditionals.
25610 * math/s_ldexpf.c: Likewise.
25611 * math/s_ldexpl.c: Likewise.
25612 * math/s_nextafter.c: Likewise.
25613 * math/s_nexttowardf.c: Likewise.
25614 * math/s_significand.c: Likewise.
25615 * math/s_significandf.c: Likewise.
25616 * math/s_significandl.c: Likewise.
25617 * math/w_jnl.c: Likewise.
25618 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25619 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25620 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25621 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25622 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25624 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25625 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25627 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25628 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25629 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25630 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25632 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25633 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25634 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25635 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25637 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25638 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25639 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25640 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25642 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25643 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25644 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25645 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25646 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25647 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25648 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25649 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25650 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25651 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25652 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25653 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25654 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25655 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25656 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25657 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25658 * sysdeps/ieee754/k_standard.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25703 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25704 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25733 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25734 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25738 * sysdeps/ieee754/s_matherr.c: Likewise.
25739 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25740 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25742 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25743
965a54a4
JM
257442012-01-26 Joseph Myers <joseph@codesourcery.com>
25745
25746 * crypt/md5.h: Remove __STDC__ conditionals.
25747 * libio/libioP.h: Likewise.
25748 * locale/programs/config.h: Likewise.
25749 * sysdeps/generic/sysdep.h: Likewise.
25750 * sysdeps/i386/asm-syntax.h: Likewise.
25751 * sysdeps/s390/asm-syntax.h: Likewise.
25752 * sysdeps/unix/sysdep.h: Likewise.
25753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25755
7071ad79
JM
257562012-01-26 Joseph Myers <joseph@codesourcery.com>
25757
25758 * libio/libio.h: Remove __STDC__ conditionals.
25759 * malloc/obstack.h: Likewise.
25760 * math/complex.h: Likewise.
25761 * math/math.h: Likewise.
25762 * sysdeps/generic/_G_config.h: Likewise.
25763 * sysdeps/gnu/_G_config.h: Likewise.
25764 * sysdeps/mach/hurd/_G_config.h: Likewise.
25765 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25766 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25767 * sysdeps/sparc/bits/mathdef.h: Likewise.
25768
afc5ed09
UD
257692012-01-26 Ulrich Drepper <drepper@gmail.com>
25770
25771 [BZ #13583]
25772 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25773 Clean up HAS_* macros.
afc5ed09 25774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25775 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25776 possible.
25777 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25778 HAS_AVX.
25779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25780 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25781 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25782 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25783 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25784
bdb6de1d
JM
257852012-01-25 Joseph Myers <joseph@codesourcery.com>
25786
25787 * elf/tst-unique3.cc (gets): Remove declaration.
25788 * elf/tst-unique3lib.cc (gets): Likewise.
25789 * elf/tst-unique3lib2.cc (gets): Likewise.
25790 * elf/tst-unique4.cc (gets): Likewise.
25791
b15549e6
UD
257922012-01-24 Ulrich Drepper <drepper@gmail.com>
25793
25794 * include/stdio.h: Add C++ protection. Add gets declarations and
25795 definitions.
25796 * debug/tst-chk1.c: Don't declare gets here.
25797 * stdio-common/tst-gets.c: Likewise.
25798
a037381f
JM
257992012-01-24 Joseph Myers <joseph@codesourcery.com>
25800
25801 * posix/glob: Remove directory.
25802
f1d4aa75
JM
258032012-01-24 Joseph Myers <joseph@codesourcery.com>
25804
25805 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25806
81c0c964
PT
258072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25808
25809 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25810 of the non-standard EPFNOSUPPORT.
25811
0ea698ae
ST
258122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25813
25814 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25815 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25816 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25817
d220b117
UD
258182012-01-21 Ulrich Drepper <drepper@gmail.com>
25819
25820 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25821
3e1aa84e
UD
258222012-01-20 Ulrich Drepper <drepper@gmail.com>
25823
25824 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25825 transient errors.
25826 * nscd/grpcache.c (cache_addgr): Likewise.
25827 * nscd/hstcache.c (cache_addhst): Likewise.
25828 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25829 * nscd/pwdcache.c (cache_addpw): Likewise.
25830 * nscd/servicescache.c (cache_addserv): Likewise.
25831
400aa020
UD
258322012-01-16 Ulrich Drepper <drepper@gmail.com>
25833
d77e7869
UD
25834 * malloc/malloc.c: Various cleanups.
25835 * malloc/hooks.c: Likewise.
25836
400aa020
UD
25837 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25838 * stdlib/bug-fmtmsg1.c: New file.
25839
25840 * stdlib/fmtmsg.c (init): Add missing unlock.
25841 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25842
e0a309cf
MP
258432012-01-12 Marek Polacek <polacek@redhat.com>
25844
25845 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25846 and _GNU_SOURCE.
25847
929d11c7
WS
258482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25849
25850 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25851 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25852 macro to ensure uniqueness of label name.
25853 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25854 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25855
41d0e869
UD
258562012-01-11 Ulrich Drepper <drepper@gmail.com>
25857
0cc5ed3b
UD
25858 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25859
41d0e869
UD
25860 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25861 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25862 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25864
a47a831a
UD
258652012-01-10 Ulrich Drepper <drepper@gmail.com>
25866
daa891c0
UD
25867 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25868
25869 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25870 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25871 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25872
e58ef0f2
UD
25873 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25874
a47a831a 25875 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25876 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25877 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25879
25880 * math/bits/math-finite.h: Add ldexp support.
25881
a0bfc9c7
MP
258822012-01-10 Marek Polacek <polacek@redhat.com>
25883
25884 * locale/programs/localedef.h (show_archive_content): Add noreturn
25885 attribute.
25886
d6e97a1d
UD
258872012-01-09 Ulrich Drepper <drepper@gmail.com>
25888
25889 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25890
d5835c26
UD
258912012-01-08 Ulrich Drepper <drepper@gmail.com>
25892
e5f484c6
UD
25893 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25894
d5835c26
UD
25895 * io/Makefile (headers): Add bits/poll2.h.
25896
d1f741e9
WS
258972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25898
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25900 typo #include statement.
25901
ec09c1c4
UD
259022012-01-08 Ulrich Drepper <drepper@gmail.com>
25903
25904 * include/sys/cdefs.h: Define __attribute_alloc_size.
25905 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25906 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25907 * elf/pldd.c: Likewise.
25908 * iconv/iconv_charmap.c: Likewise.
25909 * iconv/iconvconfig.c: Likewise.
25910 * iconv/strtab.c: Likewise.
25911 * locale/programs/locale.c: Likewise.
25912 * locale/programs/localedef.h: Likewise.
25913 * locale/programs/simple-hash.c: Likewise.
25914 * nscd/nscd.h: Likewise.
25915 * nss/makedb.c: Likewise.
25916 * sysdeps/generic/ldconfig.h: Likewise.
25917 * locale/programs/localedef.c: Remove xmalloc prototype.
25918 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25919
20b38e03
PP
259202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25921
25922 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25923 appropriate.
25924
a0da5fe1
UD
259252012-01-08 Ulrich Drepper <drepper@gmail.com>
25926
1d5a644a 25927 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25928 * math/tst-CMPLX.c: New file.
1d5a644a 25929
8784a6db
UD
25930 * math/complex.h (CMPLXL): Fix typo.
25931
d9a216c0
UD
25932 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25933 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25934 GLIBC_2.16.
25935 * debug/tst-chk1.c: Add poll and ppoll tests.
25936 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25937 * include/sys/poll.h: Add hidden proto for ppoll.
25938 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25939 * sysdeps/mach/hurd/ppoll.c: Likewise.
25940 * io/ppoll.c: Likewise.
25941 * debug/poll_chk.c: New file.
25942 * debug/ppoll_chk.c: New file.
25943 * include/bits/poll2.h: New file.
25944 * io/bits/poll2.h: New file.
25945
ac097f5c
UD
25946 [BZ #1350]
25947 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25948
2119dcfa
UD
25949 * configure.in: static is always set to yes. Remove.
25950 * config.make.in: Don't set build-static.
25951 * Makeconfig: Remove use of build-static.
25952 * dlfcn/Makefile: Likewise.
25953 * elf/Makefile: Likewise.
25954 * math/Makefile: Likewise.
25955 * misc/Makefile: Likewise.
25956 * nptl/Makefile: Likewise.
25957 * sysdeps/mach/hurd/Makefile: Likewise.
25958
121766a9
UD
25959 * configure.in: PWD_P is not used anymore.
25960 * config.make.in: Remove PWD_P entry.
25961
51a1d39c 25962 * configure.in: Remove last remnants of RANLIB.
8720d066 25963 No need to check for signed size_t anymore.
215f4bdc
UD
25964 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25965 and IA-64.
3857022a 25966 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25967 * aclocal.m4: Likewise.
25968
d3ed7225
UD
25969 * wcsmbs/mbrtoc16.c: Implement using towc function.
25970 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25971 * wcsmbs/wcsmbsload.c: Likewise.
25972 * iconv/gconv_simple.c: Likewise.
25973 * iconv/gconv_int.h: Likewise.
25974 * iconv/gconv_builtin.h: Likewise.
25975 * iconv/iconv_prog.c: Remove CHAR16 handling.
25976
25977 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25978
25979 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25980
a0da5fe1
UD
25981 * configure.in: Remove --with-elf and --enable-bounded options.
25982 Dont set base_machine for ia64. More non-ELF conditions removed.
25983 Remove testing and setting of leading underscore information.
25984 * config.make.in (build-bounded): Set to no.
25985 * config.h.in: Remove NO_UNDERSCORES entry.
25986 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25987 them.
25988 * csu/start.c: Remove !NO_UNDERSCORE code.
25989 * locale/localeinfo.h: Likewise.
25990 * sysdeps/generic/machine-gmon.h: Likewise.
25991 * sysdeps/generic/sysdep.h: Likewise.
25992 * sysdeps/i386/sysdep.h: Likewise.
25993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25994 * sysdeps/mach/sysdep.h: Likewise.
25995 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25996 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25997 * sysdeps/sh/sysdep.h: Likewise.
25998 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25999 * sysdeps/unix/i386/sysdep.S: Likewise.
26000 * sysdeps/unix/sparc/start.c: Likewise.
26001 * sysdeps/unix/sparc/sysdep.S: Likewise.
26002 * sysdeps/unix/sparc/sysdep.h: Likewise.
26003 * sysdeps/unix/start.c: Likewise.
26004 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26005 * sysdeps/x86_64/sysdep.h: Likewise.
26006
df78418a
UD
260072012-01-07 Ulrich Drepper <drepper@gmail.com>
26008
a784e502
UD
26009 [BZ #13553]
26010 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26011 for non-gcc.
26012 * argp/argp-fmtstream.h: Use const instead __const.
26013 * argp/argp.h: Likewise.
26014 * assert/assert.h: Likewise.
26015 * bits/fenv.h: Likewise.
26016 * bits/sched.h: Likewise.
26017 * bits/sigset.h: Likewise.
26018 * bits/sigthread.h: Likewise.
26019 * catgets/nl_types.h: Likewise.
26020 * conform/data/pthread.h-data: Likewise.
26021 * crypt/crypt-private.h: Likewise.
26022 * crypt/crypt.h: Likewise.
26023 * crypt/crypt_util.c: Likewise.
26024 * ctype/ctype.h: Likewise.
26025 * debug/execinfo.h: Likewise.
26026 * debug/mbsnrtowcs_chk.c: Likewise.
26027 * debug/mbsrtowcs_chk.c: Likewise.
26028 * debug/wcsnrtombs_chk.c: Likewise.
26029 * debug/wcsrtombs_chk.c: Likewise.
26030 * debug/wcstombs_chk.c: Likewise.
26031 * dirent/dirent.h: Likewise.
26032 * dlfcn/dlfcn.h: Likewise.
26033 * elf/neededtest4.c: Likewise.
26034 * grp/grp.h: Likewise.
26035 * gshadow/gshadow.h: Likewise.
26036 * iconv/gconv.h: Likewise.
26037 * iconv/gconv_int.h: Likewise.
26038 * iconv/gconv_simple.c: Likewise.
26039 * iconv/iconv.h: Likewise.
26040 * iconv/loop.c: Likewise.
26041 * iconv/skeleton.c: Likewise.
26042 * include/aio.h: Likewise.
26043 * include/aliases.h: Likewise.
26044 * include/argz.h: Likewise.
26045 * include/arpa/inet.h: Likewise.
26046 * include/assert.h: Likewise.
26047 * include/dirent.h: Likewise.
26048 * include/dlfcn.h: Likewise.
26049 * include/execinfo.h: Likewise.
26050 * include/fcntl.h: Likewise.
26051 * include/fenv.h: Likewise.
26052 * include/glob.h: Likewise.
26053 * include/grp.h: Likewise.
26054 * include/libintl.h: Likewise.
26055 * include/mntent.h: Likewise.
26056 * include/netdb.h: Likewise.
26057 * include/pwd.h: Likewise.
26058 * include/rpc/netdb.h: Likewise.
26059 * include/sched.h: Likewise.
26060 * include/search.h: Likewise.
26061 * include/shadow.h: Likewise.
26062 * include/signal.h: Likewise.
26063 * include/stdio.h: Likewise.
26064 * include/stdlib.h: Likewise.
26065 * include/string.h: Likewise.
26066 * include/sys/socket.h: Likewise.
26067 * include/sys/stat.h: Likewise.
26068 * include/sys/statfs.h: Likewise.
26069 * include/sys/statvfs.h: Likewise.
26070 * include/sys/syslog.h: Likewise.
26071 * include/sys/time.h: Likewise.
26072 * include/sys/uio.h: Likewise.
26073 * include/time.h: Likewise.
26074 * include/unistd.h: Likewise.
26075 * include/utmp.h: Likewise.
26076 * include/wchar.h: Likewise.
26077 * include/wctype.h: Likewise.
26078 * inet/aliases.h: Likewise.
26079 * inet/arpa/inet.h: Likewise.
26080 * inet/netinet/ether.h: Likewise.
26081 * inet/netinet/in.h: Likewise.
26082 * intl/libintl.h: Likewise.
26083 * io/bits/fcntl2.h: Likewise.
26084 * io/fcntl.h: Likewise.
26085 * io/ftw.h: Likewise.
26086 * io/sys/poll.h: Likewise.
26087 * io/sys/stat.h: Likewise.
26088 * io/sys/statfs.h: Likewise.
26089 * io/sys/statvfs.h: Likewise.
26090 * io/utime.h: Likewise.
26091 * libio/bits/stdio.h: Likewise.
26092 * libio/bits/stdio2.h: Likewise.
26093 * libio/libio.h: Likewise.
26094 * libio/libioP.h: Likewise.
26095 * libio/stdio.h: Likewise.
26096 * locale/lc-ctype.c: Likewise.
26097 * locale/locale.h: Likewise.
26098 * login/utmp.h: Likewise.
26099 * malloc/arena.c: Likewise.
26100 * malloc/malloc.c: Likewise.
26101 * malloc/malloc.h: Likewise.
26102 * malloc/mcheck.c: Likewise.
26103 * malloc/mtrace.c: Likewise.
26104 * math/bits/mathcalls.h: Likewise.
26105 * math/fenv.h: Likewise.
26106 * math/math_private.h: Likewise.
26107 * misc/bits/error.h: Likewise.
26108 * misc/bits/syslog.h: Likewise.
26109 * misc/err.h: Likewise.
26110 * misc/error.h: Likewise.
26111 * misc/fstab.h: Likewise.
26112 * misc/mntent.h: Likewise.
26113 * misc/regexp.h: Likewise.
26114 * misc/search.h: Likewise.
26115 * misc/sgtty.h: Likewise.
26116 * misc/sys/mman.h: Likewise.
26117 * misc/sys/syslog.h: Likewise.
26118 * misc/sys/uio.h: Likewise.
26119 * misc/sys/xattr.h: Likewise.
26120 * misc/ttyent.h: Likewise.
26121 * nis/rpcsvc/ypclnt.h: Likewise.
26122 * nss/nss.h: Likewise.
26123 * posix/bits/unistd.h: Likewise.
26124 * posix/fnmatch.h: Likewise.
26125 * posix/glob.h: Likewise.
26126 * posix/sched.h: Likewise.
26127 * posix/spawn.h: Likewise.
26128 * posix/sys/wait.h: Likewise.
26129 * posix/unistd.h: Likewise.
26130 * posix/wordexp.h: Likewise.
26131 * pwd/pwd.h: Likewise.
26132 * resolv/netdb.h: Likewise.
26133 * resource/sys/resource.h: Likewise.
26134 * rt/aio.h: Likewise.
26135 * rt/bits/mqueue2.h: Likewise.
26136 * rt/mqueue.h: Likewise.
26137 * shadow/shadow.h: Likewise.
26138 * signal/signal.h: Likewise.
26139 * socket/send.c: Likewise.
26140 * socket/sendto.c: Likewise.
26141 * socket/sys/socket.h: Likewise.
26142 * stdio-common/printf.h: Likewise.
26143 * stdlib/bits/stdlib.h: Likewise.
26144 * stdlib/fmtmsg.h: Likewise.
26145 * stdlib/monetary.h: Likewise.
26146 * stdlib/stdlib.h: Likewise.
26147 * stdlib/ucontext.h: Likewise.
26148 * streams/stropts.h: Likewise.
26149 * string/argz.h: Likewise.
26150 * string/bits/string2.h: Likewise.
26151 * string/string.h: Likewise.
26152 * string/strings.h: Likewise.
26153 * sunrpc/rpc/auth.h: Likewise.
26154 * sunrpc/rpc/auth_des.h: Likewise.
26155 * sunrpc/rpc/clnt.h: Likewise.
26156 * sunrpc/rpc/netdb.h: Likewise.
26157 * sunrpc/rpc/pmap_clnt.h: Likewise.
26158 * sunrpc/rpc/xdr.h: Likewise.
26159 * sysdeps/generic/inttypes.h: Likewise.
26160 * sysdeps/generic/net/if.h: Likewise.
26161 * sysdeps/generic/sys/swap.h: Likewise.
26162 * sysdeps/gnu/net/if.h: Likewise.
26163 * sysdeps/gnu/utmpx.h: Likewise.
26164 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26165 * sysdeps/i386/i486/bits/string.h: Likewise.
26166 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26167 * sysdeps/s390/bits/string.h: Likewise.
26168 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26169 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26170 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26171 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26172 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26173 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26174 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26175 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26176 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26177 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26178 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26179 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26180 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26181 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26182 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26183 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26184 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26186 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26187 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26188 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26189 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26190 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26191 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26192 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26193 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26194 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26195 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26196 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26197 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26198 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26199 * sysvipc/sys/ipc.h: Likewise.
26200 * sysvipc/sys/msg.h: Likewise.
26201 * sysvipc/sys/sem.h: Likewise.
26202 * sysvipc/sys/shm.h: Likewise.
26203 * termios/termios.h: Likewise.
26204 * time/sys/time.h: Likewise.
26205 * time/time.h: Likewise.
26206 * wcsmbs/bits/wchar2.h: Likewise.
26207 * wcsmbs/uchar.h: Likewise.
26208 * wcsmbs/wchar.h: Likewise.
26209 * wctype/wctype.h: Likewise.
26210
0269750c
UD
26211 [BZ #13551]
26212 * Makeconfig: Remove all but ELF support including AIX support.
26213 * Makerules: Likewise.
26214 * config.h.in: Likewise.
26215 * config.make.in: Likewise.
26216 * configure: Likewise.
26217 * configure.in: Likewise.
26218 * csu/Makefile: Likewise.
26219 * csu/version.c: Likewise.
26220 * debug/Makefile: Likewise.
26221 * dlfcn/Makefile: Likewise.
26222 * elf/Makefile: Likewise.
26223 * extra-lib.mk: Likewise.
26224 * iconv/Makefile: Likewise.
26225 * include/libc-symbols.h: Likewise.
26226 * include/shlib-compat.h: Likewise.
26227 * resolv/Makefile: Likewise.
26228 * resolv/res_libc.c: Likewise.
26229 * rt/Makefile: Likewise.
26230 * sysdeps/i386/asm-syntax.h: Likewise.
26231 * sysdeps/i386/sysdep.h: Likewise.
26232 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26233 * sysdeps/mach/sysdep.h: Likewise.
26234 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26235 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26236 * sysdeps/s390/asm-syntax.h: Likewise.
26237 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26239 * sysdeps/sh/sysdep.h: Likewise.
26240 * sysdeps/unix/sparc/sysdep.h: Likewise.
26241 * sysdeps/wordsize-32/divdi3.c: Likewise.
26242 * sysdeps/x86_64/sysdep.h: Likewise.
26243
00bbd29b
UD
26244 * argp/Versions: Remove _argp_unlock_xxx.
26245
26246 [BZ #13559]
26247 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26248 * abilist/libBrokenLocale.abilist: Likewise.
26249 * abilist/libanl.abilist: Likewise.
26250 * abilist/libc.abilist: Likewise.
26251 * abilist/libcrypt.abilist: Likewise.
26252 * abilist/libdl.abilist: Likewise.
26253 * abilist/libm.abilist: Likewise.
26254 * abilist/libnsl.abilist: Likewise.
26255 * abilist/libpthread.abilist: Likewise.
26256 * abilist/libresolv.abilist: Likewise.
26257 * abilist/librt.abilist: Likewise.
26258 * abilist/libthread_db.abilist: Likewise.
26259 * abilist/libutil.abilist: Likewise.
26260 * abilist/libnss_db.abilist: New file.
26261
26262 * scripts/abilist.awk: Add support for indirect functions.
26263
a2693a0e
UD
26264 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26265
3f05895f
UD
26266 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26267
ecb6fb48
UD
26268 * shlib-versions: Remove entries for ports architectures.
26269
664f8cb9
UD
26270 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26271 files in ports.
26272 * elf/stackguard-macros.h: Remove support for IA-64.
26273 * elf/tst-auditmod1.c: Likewise.
26274 * sysdeps/generic/ldsodefs.h: Likewise.
26275
7ae81d88
UD
26276 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26277 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26278 configure files.
26279
bdeba135
UD
26280 [BZ #13552]
26281 * configure.in: Remove --enable-omitfp support.
26282 * FAQ.in: Adjust.
26283 * config.make.in: Likewise.
26284 * Makeconfig: Likewise.
26285 * manual/install.texi: Likewise.
26286
d75a0a62
UD
26287 In case anyone cares, the IA-64 architecture could move to ports.
26288 * sysdeps/ia64/*: Removed.
26289 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26290 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26291
dcc9756b
UD
26292 [BZ #13555]
26293 * configure.in: Remove entries for unsupported architectures.
26294
d3761ebc 26295 [BZ #13533]
9954432e
UD
26296 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26297 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26298 routines.
26299 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26300 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26301 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26302 fall back to using wcrtomb.
26303 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26304 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26305 renaming.
26306 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26307 * wcsmbs/tst-c16c32-1.c: New file.
26308
26309 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26310 local variable.
26311
c3a87236
UD
26312 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26313
28926a1b
UD
26314 * elf/tst-unique3.cc: Add explicit declaration of gets.
26315 * elf/tst-unique3lib.cc: Likewise.
26316 * elf/tst-unique3lib2.cc: Likewise.
26317 * elf/tst-unique4.cc: Likewise.
26318
df78418a
UD
26319 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26320
8ecd6b2a
JM
263212012-01-06 Joseph Myers <joseph@codesourcery.com>
26322
26323 [BZ #13566]
26324 * assert/assert.h (static_assert): Don't define for C++.
26325 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26326 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26327
9f115170
UD
263282012-01-03 Ulrich Drepper <drepper@gmail.com>
26329
5e0d0300
UD
26330 * iconv/loop.c (single loop): Fix assertion in storing of
26331 remaining bytes.
26332
9f115170
UD
26333 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26334
81fb02b0
UD
263352012-01-01 Ulrich Drepper <drepper@gmail.com>
26336
26337 * posix/getconf.c: Update copyright year.
26338 * nss/getent.c: Likewise.
a316c1f6 26339 * nss/makedb.c: Likewise.
81fb02b0
UD
26340 * iconv/iconvconfig.c: Likewise.
26341 * iconv/iconv_prog.c: Likewise.
26342 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26343 * elf/pldd.c: Likewise.
26344 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26345 * catgets/gencat.c: Likewise.
26346 * csu/version.c: Likewise.
26347 * elf/ldd.bash.in: Likewise.
26348 * elf/sprof.c (print_version): Likewise.
26349 * locale/programs/locale.c: Likewise.
26350 * locale/programs/localedef.c: Likewise.
a316c1f6 26351 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26352 * nscd/nscd.c (print_version): Likewise.
26353 * debug/xtrace.sh: Likewise.
26354 * malloc/memusage.sh: Likewise.
26355 * malloc/mtrace.pl: Likewise.
26356 * debug/catchsegv.sh: Likewise.
26357
2ba92745
JJ
263582011-12-30 Jakub Jelinek <jakub@redhat.com>
26359
26360 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26361 pure attribute.
26362
dadebdae
UD
263632011-12-24 Ulrich Drepper <drepper@gmail.com>
26364
d3761ebc 26365 [BZ #13533]
db6af3eb
UD
26366 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26367 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26368 transformations.
26369 * iconv/gconv_int.h: Likewise.
26370 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26371 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26372 from libc for GLIBC_2.16.
26373 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26374 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26375 * wcsmbs/uchar.h: Really define mbstate_t.
26376 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26377 * wcsmbs/c16rtomb.c: New file.
26378 * wcsmbs/mbrtoc16.c: New file.
26379 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26380 for C/POSIX locale.
26381 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26382 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26383
dadebdae
UD
26384 * wcsmbs/wchar.h: Add missing __restrict.
26385
67371b56
UD
263862011-12-23 Ulrich Drepper <drepper@gmail.com>
26387
74033a25
UD
26388 [BZ #13532]
26389 * time/Makefile (routines): Add timespec_get.
26390 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26391 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26392 timespec for ISO C11.
26393 * time/timespec_get.c: New file.
26394 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26395 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26396
380d7e87
UD
26397 [BZ #13531]
26398 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26399 * stdlib/stdlib.h: Declare aligned_alloc.
26400 * Versions.def: Add GLIBC_2.16 for libc.
26401 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26402
4e9e7a35
UD
26403 [BZ 13527]
26404 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26405 ISO C11.
26406
380d7e87 26407 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26408 code.
26409
03a71829
UD
26410 [BZ #13528]
26411 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26412
839e283e
UD
26413 [BZ #13529]
26414 * assert/assert.h (static_assert): Define.
26415
ce5294e2 26416 * version.h: Update for 2.16 development version.
90fa7312 26417
8d44e150 26418 [BZ #13526]
d7809905
UD
26419 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26420 _ISOC11_SOURCE.
26421
c0da14cd
UD
26422 * version.h (RELEASE): Bump for 2.15 release.
26423 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26424
530a3249
MP
26425 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26426 Patch by Marek Polacek <mpolacek@redhat.com>.
26427
67371b56
UD
26428 * bits/byteswap.h: Protect long long constants with __extension__.
26429 * sysdeps/i386/bits/byteswap.h: Likewise.
26430 * sysdeps/ia64/bits/byteswap.h: Likewise.
26431 * sysdeps/s390/bits/byteswap.h: Likewise.
26432 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26433
15db4de1
LD
264342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26435
26436 [BZ #13540]
bbe315ea
LD
26437 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26438 destination buffer.
15db4de1
LD
26439 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26440
2b2596b1
MP
264412011-12-23 Marek Polacek <polacek@redhat.com>
26442
26443 * elf/dl-addr.c (determine_info): Add inline keyword.
26444 * elf/tst-auditmod4b.c (check_avx): Likewise.
26445 * elf/tst-auditmod6b.c (check_avx): Likewise.
26446 * elf/tst-auditmod6c.c (check_avx): Likewise.
26447 * elf/tst-auditmod7b.c (check_avx): Likewise.
26448
70c6c246
UD
264492011-12-23 Ulrich Drepper <drepper@gmail.com>
26450
26451 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26452 !__SSE_MATH__.
26453
c044cf14
LD
264542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26455
15db4de1 26456 [BZ #13540]
c044cf14
LD
26457 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26458 processing for last bytes.
26459
6b13d9d9
BH
264602011-08-06 Bruno Haible <bruno@clisp.org>
26461
d455f537
BH
26462 [BZ #13061]
26463 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26464 U+0385, not to U+1FEE.
26465
6b13d9d9
BH
26466 [BZ #13062]
26467 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26468 entry for U+00A5 U+0301.
26469
db910efd
UD
264702011-12-22 Ulrich Drepper <drepper@gmail.com>
26471
27deeafc
UD
26472 [BZ #13166]
26473 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26474 buffer for the output is too small.
26475
aed9d171
UD
26476 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26477 optimization.
26478
db910efd
UD
26479 [BZ #13185]
26480 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26481 SSE flags if possible.
26482
2bd779ae
LD
264832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26484
e7f9dac3 26485 [BZ #13540]
2bd779ae
LD
26486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26487 processing for last bytes.
26488
154bfc16
JM
264892011-12-22 Joseph Myers <joseph@codesourcery.com>
26490
26491 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26492 (syscall-list-default-options, syscall-list-default-condition)
26493 (syscall-list-includes): Define.
26494 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26495 list of ABIs and options and #if conditions for each ABI. Do not
26496 handle common syscalls between ABIs specially.
26497 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26498 Remove.
26499 (syscall-list-variants, syscall-list-32bit-options)
26500 (syscall-list-32bit-condition, syscall-list-64bit-options)
26501 (syscall-list-64bit-condition): Define.
26502 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26503 (syscall-list-variants, syscall-list-32bit-options)
26504 (syscall-list-32bit-condition, syscall-list-64bit-options)
26505 (syscall-list-64bit-condition): Define.
26506 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26507 Remove.
26508 (syscall-list-variants, syscall-list-32bit-options)
26509 (syscall-list-32bit-condition, syscall-list-64bit-options)
26510 (syscall-list-64bit-condition): Define.
26511 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26512 Remove.
26513 (syscall-list-variants, syscall-list-32bit-options)
26514 (syscall-list-32bit-condition, syscall-list-64bit-options)
26515 (syscall-list-64bit-condition): Define.
26516
21eaf3a5
UD
265172011-12-22 Ulrich Drepper <drepper@gmail.com>
26518
16c6f992
UD
26519 * locale/iso-639.def: Add brx entry.
26520
41043168
UD
26521 [BZ #13328]
26522 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26523 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26524
21eaf3a5
UD
26525 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26526 __feraiseexcept_renamed.
26527
e3a851a2
UD
265282011-12-21 Ulrich Drepper <drepper@gmail.com>
26529
4920765e
UD
26530 [BZ #13538]
26531 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26532 EPOLLET with unsigned values.
26533 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26534 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26535
e3a851a2
UD
26536 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26537 to large cancellation.
26538 * math/s_cacoshf.c: Likewise.
26539 * math/s_cacoshl.c: Likewise.
26540
b27e24b8
RK
265412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26542
26543 [BZ #13305]
aebefeee 26544 [BZ #12786]
b27e24b8
RK
26545 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26546 * math/s_cacoshf.c: Likewise.
26547 * math/s_cacoshl.c: Likewise.
26548
ee190f67
UD
265492011-12-21 Ulrich Drepper <drepper@gmail.com>
26550
26551 [BZ #13439]
26552 * iconv/gconv.h: Define __GCONV_SWAP.
26553 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26554 * iconvdata/utf-16.c: Likewise.
26555 * iconvdata/utf-32.c: Likewise.
26556
707f25df
AS
265572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26558
26559 [BZ #13524]
26560 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26561 numerator after shifting it by one limb.
26562
d2daaa1e
RÁE
265632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26564
26565 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26566 under [__USE_EXTERN_INLINES].
26567
a4647e72
UD
265682011-12-17 Ulrich Drepper <drepper@gmail.com>
26569
26570 [BZ #13446]
26571 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26572
f0b264f1
AZ
265732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26574
26575 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26576 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26577 optimized code.
26578 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26579 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26580 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26581 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26582 for strncasecmp/strncasecmp_l compilation.
26583 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26584 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26585
8ef4f244
MP
265862011-12-08 Marek Polacek <mpolacek@redhat.com>
26587
26588 [BZ #13484]
26589 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26590 of __asm__.
26591
97ac2654
UD
265922011-12-17 Ulrich Drepper <drepper@gmail.com>
26593
26594 [BZ #13506]
26595 * time/tzfile.c (__tzfile_read): Check values from file header.
26596
91d2a845
WS
265972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26598
26599 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26600 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26601 * powerpc/powerpc32/dl-start.S: Likewise.
26602 * powerpc/powerpc32/elf/start.S: Likewise.
26603 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26604 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26605 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26606 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26607 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26608 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26609 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26610 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26611 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26612 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26613 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26614 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26615 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26616 * powerpc/powerpc32/memset.S: Likewise.
26617 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26618 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26619 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26620 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26621 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26622 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26623 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26624 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26625 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26626 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26627 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26628 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26629 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26630
a1267ba1
AZ
266312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26632
26633 * math/libm-test.inc: Added more nearbyint tests.
26634 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26638
ad8ac1bd
RL
266392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26640
26641 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26642 FD_CLOEXEC.
26643
1d3e4b61
UD
266442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26645
26646 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26647 Add wcscpy-ssse3 wcscpy-c.
26648 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26649 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26650 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26651 * sysdeps/x86_64/wcschr.S: New file.
26652 * sysdeps/x86_64/wcsrchr.S: New file.
26653 * string/test-strcmp.c: Remove checking of wcscmp function for
26654 wrong alignments.
26655 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26656 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26657 wcsrchr-sse2 wcsrchr-c.
26658 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26659 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26660 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26661 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26662 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26663 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26664 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26665 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26666 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26667 * wcsmbc/wcschr.c (WCSCHR): New macro.
26668
5b330a2d
UD
266692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26670
26671 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26672 * wcsmbs/test-wcsrchr.c: New file.
26673 * string/test-strrchr.c: Add wcsrchr support.
26674 (WIDE): New macro.
26675 * wcsmbs/test-wcscpy.c: New file.
26676 * string/test-strcpy.c: Add wcscpy support.
26677 (WIDE): New macro.
26428b7c 26678
f039c043
UD
266792011-12-10 Ulrich Drepper <drepper@gmail.com>
26680
26681 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26682 the inner loop.
26683
850fb039
AS
266842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26685
26686 [BZ #13472]
26687 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26688
4efbd5cb
UD
266892011-12-04 Ulrich Drepper <drepper@gmail.com>
26690
52ff5dd0 26691 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26692 Minor optimizations.
52ff5dd0 26693
4efbd5cb
UD
26694 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26695 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26696 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26697
8a426e12
UD
266982011-12-03 Ulrich Drepper <drepper@gmail.com>
26699
aff2453d
UD
26700 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26701 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26702 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26703 for gcc to avoid warnings.
26704 * inet/Makefile (tests): Add tst-checks.
26705 * inet/tst-checks.c: New file.
26706
26707 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26708 warning.
26709
26710 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26711 __wmemcmp_sse2.
26712
26713 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26714 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26715
8a426e12
UD
26716 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26717
9bea3473
UD
267182011-12-02 Ulrich Drepper <drepper@gmail.com>
26719
3a965496
UD
26720 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26721 problem.
26722
9bea3473
UD
26723 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26724
f101631b
UD
267252011-11-29 Joseph Myers <joseph@codesourcery.com>
26726
26727 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26728 conditional on GCC version.
26729 (__arch_compare_and_exchange_val_8_acq)
26730 (__arch_compare_and_exchange_val_16_acq)
26731 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26732 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26733 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26734
a98275aa
UD
267352011-12-02 Joseph Myers <joseph@codesourcery.com>
26736
26737 * sysdeps/sh/backtrace.c: New file.
26738
d4cc29a2
AS
267392011-12-02 Andreas Schwab <schwab@redhat.com>
26740
26741 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26742 parenthesis.
26743
6257af2d
AS
267442011-12-01 Andreas Schwab <schwab@redhat.com>
26745
26746 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26747 falling back to utime.
26748
b5f44c1a
AS
267492011-11-30 Andreas Schwab <schwab@redhat.com>
26750
26751 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26752 expectations for float.
26753
f3a6cc0a
AS
267542011-11-29 Andreas Schwab <schwab@redhat.com>
26755
26756 * locale/weight.h (findidx): Add parameter len.
26757 * locale/weightwc.h (findidx): Likewise.
26758 * posix/fnmatch_loop.c (FCT): Adjust caller.
26759 * posix/regcomp.c (build_equiv_class): Likewise.
26760 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26761 * posix/regexec.c (check_node_accept_bytes): Likewise.
26762 * string/strcoll_l.c (STRCOLL): Likewise.
26763 * string/strxfrm_l.c (STRXFRM): Likewise.
26764
9d65ea3a
UD
267652011-11-17 Ulrich Drepper <drepper@gmail.com>
26766
26767 * Makefile.in: Remove CVSOPT handling.
26768 * configure.in: Remove use of AC_REVISION.
26769 * iconvdata/Makefile (distribute): No need to filter out CVS.
26770 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26771 handling.
26772
5583a086
AS
267732011-11-16 Andreas Schwab <schwab@redhat.com>
26774
26775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26776 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26777 [USE_AS_STRNCASECMP_L]: Likewise.
26778 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26779 NO_TLS_DIRECT_SEG_REFS.
26780 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26781 Fix argument offsets for non-PIC.
26782 [USE_AS_STRNCASECMP_L]: Likewise.
26783 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26784 NO_TLS_DIRECT_SEG_REFS.
26785
d62a8200
UD
267862011-11-15 Ulrich Drepper <drepper@gmail.com>
26787
9d65ea3a 26788 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26789 O_CLOEXEC.
26790 * locale/loadlocale.c (_nl_load_locale): Likewise.
26791
09f93bd3
AS
267922011-11-15 Andreas Schwab <schwab@redhat.com>
26793
446514f9
AS
26794 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26795 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26796 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26797 (SYSCALL_GETTIME): Set errno on error.
26798
09f93bd3
AS
26799 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26800 count references to noai6ai_cached.
26801
312be3f9
UD
268022011-11-15 Ulrich Drepper <drepper@gmail.com>
26803
26804 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26805
26806 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26807 FD_CLOEXEC for /proc/self/maps.
26808
26809 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26810 FD_CLOEXEC for /proc/meminfo.
26811
26812 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26813 gai.conf.
26814
26815 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26816 FD_CLOEXEC for given file.
26817
26818 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26819
26820 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26821 FD_CLOEXEC for /etc/hosts.
26822 (_gethtent): Likewise.
26823
26824 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26825
26826 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26827 cancellation and set FD_CLOEXEC for /etc/netgroup.
26828
26829 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26830 reading /etc/publickey.
26831
26832 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26833 allow cancellation when reading /etc/group.
26834
26835 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26836 cancellation.
26837 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26838
26839 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26840 when using data file.
26841
26842 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26843
26844 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26845 (write_nis_obj): Use "c" and "e" in fopen.
26846
26847 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26848
26849 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26850
26851 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26852
26853 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26854
26855 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26856 locale.alias.
26857
26858 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26859
26860 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26861
26862 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26863
26864 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26865 file parsing and set FD_CLOEXEC.
26866
82af0fa8
UD
268672011-11-14 Ulrich Drepper <drepper@gmail.com>
26868
26869 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26870
a5fb313c
AS
268712011-11-14 Andreas Schwab <schwab@redhat.com>
26872
26873 * malloc/arena.c (arena_get2): Don't call reused_arena when
26874 _int_new_arena failed.
26875
6abf3465
UD
268762011-11-14 Ulrich Drepper <drepper@gmail.com>
26877
26878 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26879 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26880 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26881 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26883 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26884 to compile strcasecmp and strncasecmp.
26885 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26886 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26887
26888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26889
76e3966e
UD
268902011-11-13 Ulrich Drepper <drepper@gmail.com>
26891
26892 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26893 locale-defines.sym to gen-as-const-headers.
26894 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26895 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26897 to compile strcasecmp and strncasecmp.
26898 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26899 strcasecmp_l and strncasecmp_l.
26900 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26901 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26902 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26903 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26904 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26905 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26906 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26907 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26908 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26909 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26910 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26911
ab26144e
UD
269122011-11-12 Ulrich Drepper <drepper@gmail.com>
26913
7edb22ef
UD
26914 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26915 result of SYSDEP_GETTIME_CPU to retval.
26916 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26917 parameter list to macro. Remove trailing semicolon. Adjust users.
26918
9694fc44
UD
26919 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26920 variable.
26921
8ad89ef8
UD
26922 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26923 mantissa words.
26924 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26925
0c822ef9
UD
26926 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26927 from unused variable.
26928
874e0564
UD
26929 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26930 DWARF definitions.
26931 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26932 for assembling.
26933
3a2edc79
UD
26934 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26935 over namespaces.
26936
f3c2577f
UD
26937 * sunrpc/rpc_prot.c (rejected): Fix case value.
26938
294ce126
UD
26939 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26940 unsigned long long int to avoid warnings in shift.
26941
5e2b63c6
UD
26942 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26943 of use of trans.
26944 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26945 variable tmp.
26946
e7f4b08e
UD
26947 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26948 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26949 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26950
ab26144e
UD
26951 * nis/nis_table.c (nis_list): Use variable of correct type for
26952 result of __follow_path call.
26953
8a6d5255
AZ
269542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26955
26956 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26957 of math functions ceil, trunc, floor, round, and sqrt, when
26958 avaliable on the platform.
26959 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26960 name clash.
26961 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26962 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26963 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26964
aaddc98c
MP
269652011-10-30 Marek Polacek <mpolacek@redhat.com>
26966
26967 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26968 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26969
95b7042b
RM
269702011-11-11 Roland McGrath <roland@hack.frob.com>
26971
26972 * include/unistd.h: Fix __readlink return type.
26973 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26974
57769839
UD
269752011-11-11 Ulrich Drepper <drepper@gmail.com>
26976
26977 * stdlib/ucontext.h: Undo last change for makecontext.
26978
edc5984d
AS
269792011-11-11 Andreas Schwab <schwab@redhat.com>
26980
98591e58
AS
26981 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26982
edc5984d
AS
26983 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26984 * setjmp/setjmp.h: Mark functions as non-leaf.
26985 * setjmp/bits/setjmp2.h: Likewise.
26986 * stdlib/ucontext.h: Likewise.
26987
77cdc054
AS
269882011-11-10 Andreas Schwab <schwab@redhat.com>
26989
26990 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26991 (reused_arena): Don't check arena limit.
26992 (arena_get2): Atomically check arena limit.
26993
fe72eebd
UD
269942011-11-08 Ulrich Drepper <drepper@gmail.com>
26995
5f078c32
UD
26996 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26997 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26998
fe72eebd
UD
26999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27000 instructions.
27001
ae1bc2fa
AS
270022011-11-07 Andreas Schwab <schwab@redhat.com>
27003
7583a88d
AS
27004 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27005 handler when locking.
27006
ae1bc2fa
AS
27007 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27008 Fix size of allocated buffer.
27009
10fb0bfa
AS
270102011-11-04 Andreas Schwab <schwab@redhat.com>
27011
998832a4
AS
27012 [BZ #10103]
27013 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27014 declarations for long double functions.
27015 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27016
10fb0bfa
AS
27017 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27018
3d7ba52b
AS
270192011-11-03 Andreas Schwab <schwab@redhat.com>
27020
a9ae54a1
AS
27021 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27022 installed.
27023
3d7ba52b
AS
27024 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27025 is disabled.
27026
bc8db248
ST
270272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27028
27029 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27030
45b96dd6
AS
270312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27032
647776f6
AS
27033 * include/alloca.h (stackinfo_alloca_round): Define.
27034 (extend_alloca): Use it.
27035 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27036 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27037 here.
27038
d91a8b93
AS
27039 * scripts/check-local-headers.sh: Ignore libaudit.h.
27040
45b96dd6
AS
27041 * nscd/Makefile (extra-objs): Make recursively expanded.
27042
432d41ce
UD
270432011-11-01 Ulrich Drepper <drepper@gmail.com>
27044
34372fc6
UD
27045 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27047
fadb59f8
UD
27048 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27049 * posix/tst-rfc3484-2.c: Likewise.
27050 * posix/tst-rfc3484-3.c: Likewise.
27051
78239589
UD
27052 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27053 process_vm_writev.
27054 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27055 process_vm_writev.
27056 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27057 process_vm_writev from libc using GLIBC_2.15 version.
27058
432d41ce
UD
27059 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27060
02f9c6cf
PP
270612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27062
27063 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27064 stack usage.
27065
3a2c0242
UD
270662011-10-31 Ulrich Drepper <drepper@gmail.com>
27067
f4ec4833
UD
27068 [BZ #13367]
27069 * nss/getent.c (initgroups_keys): Show error message in case no group
27070 names are given.
27071
3a2c0242
UD
27072 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27073 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27074 __bump_nl_timestamp.
27075 * nscd/connections (nscd_init): When host database is served open
27076 netlink socket and request notification about configuration changes.
27077 (main_loop_poll): Track netlink file descriptor and bump timestamp
27078 in case data becomes available.
27079 (main_loop_epoll): Likewise.
27080 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27081 (database_pers_head): Add extra_data fileds.
27082 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27083 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27084 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27085 Adjust caller.
27086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27087 in6ai data, call __free_in6ai.
27088 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27089 Add -DHAVE_NETLINK.
27090 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27091 interface information. Reuse previous data if netlink timestamp
27092 is not changed.
27093 (__bump_nl_timestamp): New function.
27094 (__free_in6ai): New function.
27095
636064eb
UD
270962011-10-30 Ulrich Drepper <drepper@gmail.com>
27097
27098 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27099 close_not_cancel_no_status here.
27100 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27101
9beb2334
UD
271022011-10-29 Ulrich Drepper <drepper@gmail.com>
27103
6ef76f3b
UD
27104 [BZ #13276]
27105 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27106 return value.
27107
0ffc4f3e 27108 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27109 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27110 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27111
cb95113e
UD
271122011-07-03 Andreas Jaeger <aj@suse.de>
27113
27114 [BZ #10709]
27115 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27116 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27117 * math/libm-test.inc (sin_test): Add test case.
27118
a1b560ff
UD
271192011-10-29 Ulrich Drepper <drepper@gmail.com>
27120
c9aaface
UD
27121 [BZ #13337]
27122 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27123 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27124
d272e7f1
UD
27125 * elf/chroot_canon.c (chroot_canon): Cleanups.
27126
1bc33071
UD
27127 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27128
1760874d
TJ
27129 [BZ #13335]
27130 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27131 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27132
51d91b18
UD
27133 * string/test-strchr.c: Make usable for strchrnul testing.
27134 * string/test-strchrnul.c: New file.
27135 * string/Makefile (strop-tests): Add strchrnul.
27136
a1b560ff 27137 * po/it.po: Update from translation team.
b611fb81 27138 * po/es.po: Likewise.
a1b560ff 27139
a5b81e1f
UD
271402011-10-28 Ulrich Drepper <drepper@gmail.com>
27141
fd52bc6d
UD
27142 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27143 the three constants needed as parameters. Drop the others.
27144 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27145 __m128i_strloadu_tolower.
52e4b9eb
UD
27146 Create and initialize variable zero and use it in all the places
27147 where _mm_setzero_si128 was used.
fd52bc6d 27148
a5b81e1f
UD
27149 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27150 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27151 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27152 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27153 anymore.
27154 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27155 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27156 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27157 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27158 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27159 __mpranred, __mptan.
27160 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27161 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27162 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27163 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27164 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27165 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27166 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27167 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27168 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27169
b4343346
AS
271702011-10-28 Andreas Schwab <schwab@redhat.com>
27171
0c92d8a8
AS
27172 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27173 redefine if SHARED.
27174 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27175
b4343346
AS
27176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27177 wide char related routines to wcsmbs subdir.
27178
3871f58f
AS
271792011-10-27 Andreas Schwab <schwab@redhat.com>
27180
27181 [BZ #13344]
27182 * misc/sys/cdefs.h (__THROWNL): Define.
27183 * posix/unistd.h: Use __THREADNL instead of __THREAD
27184 for memory synchronization functions.
27185
94d44d9f
RM
271862011-10-26 Roland McGrath <roland@hack.frob.com>
27187
21b64b15 27188 [BZ #13349]
94d44d9f
RM
27189 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27190 doesn't exist.
27191 * manual/stdio.texi (Obstack Streams): Node removed.
27192
f6ce9294
AS
271932011-10-26 Andreas Schwab <schwab@redhat.com>
27194
80479147
AS
27195 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27196 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27197 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27198
f6ce9294
AS
27199 * math/math_private.h (math_force_eval): Allow non-addressable
27200 arguments.
27201 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27202
618280a1
UD
272032011-10-25 Ulrich Drepper <drepper@gmail.com>
27204
e0016b11
UD
27205 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27206 file is not needed.
27207
27208 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27209 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27211 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27212 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27213 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27214 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27215 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27216 Add AVX variants.
27217 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27218 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27219 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27220 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27221 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27222 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27223 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27224 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27225 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27226 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27227 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27228 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27229 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27230 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27231 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27232 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27233 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27234 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27235 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27236
27237 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27238 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27239
618280a1
UD
27240 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27241 place. Use VEX encoding when compiling for AVX.
27242
37822576
AS
272432011-10-25 Andreas Schwab <schwab@redhat.com>
27244
1f1e1947
AS
27245 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27246 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27247
37822576
AS
27248 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27249
31ea014d
UD
272502011-10-25 Ulrich Drepper <drepper@gmail.com>
27251
d7826aa1 27252 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27253 useless if() expression.
d7826aa1
UD
27254 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27255 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27258 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27259 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27260 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27261 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27262 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27263 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27264 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27265 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27266 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27267 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27268 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27269 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27270 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27272 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27273
31ea014d
UD
27274 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27275
16437fec
AS
272762011-10-25 Andreas Schwab <schwab@redhat.com>
27277
27278 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27279 condition.
27280 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27281
31d3cc00
UD
272822011-10-25 Ulrich Drepper <drepper@gmail.com>
27283
27284 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27285 .text section. Avoid duplicate constants.
27286 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27293 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27294 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27295 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27296 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27297 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27298 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27299 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27300 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27301 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27302 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27303 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27304 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27306 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27307 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27308 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27309 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27310 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27311 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27312 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27313 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27314 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27315 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27316 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27317 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27318 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27319 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27320 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27321 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27322 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27323 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27324 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27325 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27326 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27327 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27328 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27329 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27330 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27331
58985aa9
UD
273322011-10-24 Ulrich Drepper <drepper@gmail.com>
27333
202c9deb
UD
27334 * sysdeps/x86_64/dla.h: Move to ...
27335 * sysdeps/x86_64/fpu/dla.h: ...here.
27336 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27337 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27338
af968f62
UD
27339 * config.make.in: Add have-mfma4 entry.
27340 * configure.in: Substitute libc_cv_cc_fma4.
27341 * math/Makefile (dbl-only-routines): Add sincostab.
27342 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27343 Use __sincostab not sincos.
27344 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27345 name is a macro.
27346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27350 using __copysign.
27351 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27352 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27353 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27354 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27355 and __inv.
27356 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27357 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27358 __copysign.
27359 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27360 define aliases when function name is a macro.
27361 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27362 sysdeps/ieee754/dbl-64/sincos.tbl.
27363 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27364 fma4-enabled routines.
27365 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27366 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27367 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27368 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27370 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27372 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27374 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27375 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27377 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27378 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27379 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27380 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27381 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27382 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27383 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27385 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27386 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27387 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27388 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27389 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27390 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27391 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27392 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27393 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27394 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27395
58985aa9
UD
27396 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27397 rename.
27398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27406
a201fbcf
AS
274072011-10-24 Andreas Schwab <schwab@redhat.com>
27408
27409 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27410
fc2ee42a
LD
274112011-10-23 Ulrich Drepper <drepper@gmail.com>
27412
bb3129bd
UD
27413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27414
0275fff8
UD
27415 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27416 prediction.
27417 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27418
2fa2ae85
UD
27419 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27420 Remove unused variable magic_bits.
27421 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27422
fc2ee42a
LD
27423 * string/strnlen.c: Define and use STRNLEN macro.
27424 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27425 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27426 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27427 * wcsmbs/wcslen.c: Define and use WCSLEN.
27428 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27429 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27430 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27431 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27432 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27433 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27434 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27435
ce7dd29f
LD
274362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27437
27438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27439 strnlen-sse2-no-bsf.
27440 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27442 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27443 Add strnlen support.
27444 (USE_AS_STRNLEN): New macro.
27445 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27446 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27447 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27448 * sysdeps/x86_64/wcslen.S: New file.
27449
979c70a3
MZ
274502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27451
27452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27453 XMM-moves are used for copying on small sizes.
27454
2d09f82f
LD
274552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27456
27457 * wcsmbs/Makefile (strop-tests): Add wcschr.
27458 * wcsmbs/test-wcschr.c: New file.
27459 * string/test-strchr.c: Update.
27460 Add wcschr support.
27461 (WIDE): New macro.
27462
619fccca
LD
274632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27464
2d09f82f 27465 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27466 * wcsmbs/test-wcslen.c: New file.
27467 * string/test-strlen.c: Update.
27468 Add wcslen support.
27469 (WIDE): New macro.
27470
09f699ea
UD
274712011-10-23 Ulrich Drepper <drepper@gmail.com>
27472
27473 * po/it.po: Update from translation team.
27474
95584d3b
LD
274752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27476
27477 * sysdeps/x86_64/wcscmp.S: Update.
27478 Fix wrong comparison semantics.
27479 wcscmp shall use signed comparison not unsigned.
27480 Don't use substraction to avoid overflow bug.
27481 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27482 * wcsmbc/wcscmp.c: Likewise.
27483 * string/test-strcmp.c: Likewise.
27484 Add new tests to check cases with negative values.
27485
c8b3296b
UD
274862011-10-23 Ulrich Drepper <drepper@gmail.com>
27487
27488 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27489 * sysdeps/x86_64/dla.h: ...here. New file.
27490 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27497 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27499
246ad57a
AS
275002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27501
27502 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27503 __ynl_finite aliases.
27504
a1a87169
UD
275052011-10-22 Ulrich Drepper <drepper@gmail.com>
27506
0d355eb7
UD
27507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27508
a1a87169
UD
27509 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27510 define DLA_FMA.
27511 [DLA_FMA] (EMULV): Use DLA_FMA.
27512 [DLA_FMA] (MUL12): Use EMULV.
27513 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27514 that are not needed.
27515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27522
ee2aafe0
AS
275232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27524
27525 * math/s_nan.c: Undef __nan.
27526 * math/s_nanf.c: Undef __nanf.
27527 * math/s_nanl.c: Undef __nanl.
27528 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27529 "math_private.h".
27530
bc62c2fb
UD
275312011-10-22 Ulrich Drepper <drepper@gmail.com>
27532
77425c63
UD
27533 * math/s_catan.c: Add branch predictions.
27534 * math/s_catanf.c: Likewise.
27535 * math/s_catanh.c: Likewise.
27536 * math/s_catanhf.c: Likewise.
27537 * math/s_catanhl.c: Likewise.
27538 * math/s_catanl.c: Likewise.
27539 * math/s_cexp.c: Likewise.
27540 * math/s_cexpf.c: Likewise.
27541 * math/s_cexpl.c: Likewise.
27542 * math/s_clog.c: Likewise.
27543 * math/s_clog10.c: Likewise.
27544 * math/s_clog10f.c: Likewise.
27545 * math/s_clog10l.c: Likewise.
27546 * math/s_clogf.c: Likewise.
27547 * math/s_clogl.c: Likewise.
27548 * math/s_csqrt.c: Likewise.
27549 * math/s_csqrtf.c: Likewise.
27550 * math/s_csqrtl.c: Likewise.
27551 * math/s_ctanf.c: Likewise.
27552 * math/s_ctanh.c: Likewise.
27553 * math/s_ctanhf.c: Likewise.
27554 * math/s_ctanhl.c: Likewise.
27555 * math/s_ctanl.c: Likewise.
27556
bc62c2fb
UD
27557 * math/math_private.h: Define __nan, __nanf, __nanl.
27558 * math/s_cacosh.c: Include <math_private.h>.
27559 * math/s_cacoshl.c: Likewise.
27560 * math/s_casinh.c: Likewise.
27561 * math/s_casinhf.c: Likewise.
27562 * math/s_casinhl.c: Likewise.
27563 * math/s_ccos.c: Rely entire on ccosh.
27564 * math/s_ccosf.c: Rely entire on ccoshf.
27565 * math/s_ccosl.c: Rely entirely on ccoshl.
27566 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27567 Remove tests for FE_INVALID.
27568 * math/s_ccoshf.c: Likewise.
27569 * math/s_ccoshl.c: Likewise.
27570 * math/s_csin.c: Likewise.
27571 * math/s_csinf.c: Likewise.
27572 * math/s_csinh.c Likewise.
27573 * math/s_csinhf.c: Likewise.
27574 * math/s_csinhl.c: Likewise.
27575 * math/s_csinl.c: Likewise.
27576 * math/s_ctan.c: Likewise.
27577 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27578 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27579 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27580
8ec250a4
UD
275812011-10-21 Ulrich Drepper <drepper@gmail.com>
27582
c196fed8
UD
27583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27584 compilation problems.
27585
8ec250a4
UD
27586 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27587 __builtin_expect.
27588
8d4f46c6
UD
275892011-10-20 Ulrich Drepper <drepper@gmail.com>
27590
ed72b654
UD
27591 * sysdeps/i386/configure.in: Test for -mfma4 option.
27592 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27593 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27594 COMMON_CPUID_INDEX_80000001.
27595 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27596 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27597 use it if FMA3 is not supported.
27598 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27599
8d4f46c6
UD
27600 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27601 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27602
d45c60c2
AS
276032011-10-20 Andreas Schwab <schwab@redhat.com>
27604
27605 [BZ #12892]
27606 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27607 it would create a cycle with a link time dependency.
27608
d9a4d2ab
UD
276092011-10-19 Ulrich Drepper <drepper@gmail.com>
27610
855d1560
UD
27611 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27612 instruction.
27613 * string/Makefile (strop-tests): Add rawmemchr.
27614 * string/test-rawmemchr.c: New file.
27615
d9a4d2ab
UD
27616 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27618 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27619 when compiling str{,n}casecmp and when AVX is available. Hook up
27620 new optimized code in initializers.
27621
8f3b1ffe
AS
276222011-10-19 Andreas Schwab <schwab@redhat.com>
27623
27624 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27625 __feraiseexcept instead of feraiseexcept.
27626
d38f1dba
UD
276272011-10-18 Ulrich Drepper <drepper@gmail.com>
27628
d9a8d0ab
UD
27629 * math/math_private.h: Define defaults for libc_fetestexcept and
27630 libc_feupdateenv.
27631 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27632 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27633 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27634 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27635 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27636 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27637 libc_fetestexcept and libc_feupdateenv.
27638
4855e3dd
UD
27639 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27640 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27641 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27642 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27643 libc_feholdexcept_setround.
27644
581d30e3
UD
27645 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27646 Add s_nearbyint-c and s_nearbyintf-c.
27647 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27648 nearbyintf inlines.
27649 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27650 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27651 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27652 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27653
d38f1dba
UD
27654 * math/math_private.h: Define defaults for libc_fegetround,
27655 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27656 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27657 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27658 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27659 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27660 standard functions.
27661 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27662 Remove comments and hacks for old compiler versions.
27663 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27664 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27665 libc_feholdexceptl.
27666
caa6c9d8
AS
276672011-10-18 Andreas Schwab <schwab@redhat.com>
27668
27669 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27670 (__feraiseexcept_renamed): Add __NTH.
27671 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27672 namespace violations.
27673
97c066e6
UD
276742011-10-17 Ulrich Drepper <drepper@gmail.com>
27675
99ce7b04
UD
27676 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27677
1004d182
UD
27678 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27679
228a984d
UD
27680 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27681 recently added interfaces.
27682 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27683
c8553a6a
UD
27684 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27685 about macro parameter expansion.
27686
ed22dcf6
UD
27687 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27688 __NO_MATH_INLINES is defined. Cleanups.
27689
27690 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27691 and __floorf is target has SSE4.1.
27692 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27693 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27694 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27695 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27696
b171c137
UD
27697 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27698 name.
27699 (floorf): Likewise.
27700
97c066e6
UD
27701 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27702
629f62ef
AS
277032011-10-17 Andreas Schwab <schwab@redhat.com>
27704
49a43d80
AS
27705 * misc/sys/cdefs.h: Fix last change.
27706
629f62ef
AS
27707 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27708 database lookup.
27709
e453f6cd
UD
277102011-10-16 Ulrich Drepper <drepper@gmail.com>
27711
aa78043a
UD
27712 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27713
ad0f5cad
UD
27714 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27715 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27716 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27717 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27718 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27719 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27720 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27721 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27722 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27723 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27724 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27725 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27726 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27727 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27728 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27729 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27730 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27731 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27732 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27733 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27734 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27735 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27736
27737 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27738 ceil, ceilf, floor, floorf.
27739
27740 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27741 Perform IRELATIVE relocations last.
27742
e453f6cd
UD
27743 * elf/do-rel.h: Add another parameter nrelative, replacing the
27744 local variable with the same name. Change name of the function
27745 to end in Rel or Rela (uppercase).
27746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27747 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27748 elf_dynamic_do_##reloc function.
27749
fd5bdc09
UD
277502011-10-15 Ulrich Drepper <drepper@gmail.com>
27751
79b195b5
UD
27752 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27753 is sufficient, at least on modern CPUs.
27754
d4a28569
UD
27755 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27756
b61099b5
UD
27757 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27758 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27759
bcf01e6d
UD
27760 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27761 __expl_finite.
27762 * math/bits/math-finite.h: Add entries for exp.
27763 * math/e_expl.c: Add __*_finite alias.
27764 * sysdeps/i386/fpu/e_exp.S: Likewise.
27765 * sysdeps/i386/fpu/e_expf.S: Likewise.
27766 * sysdeps/i386/fpu/e_expl.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27768 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27772 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27773 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27774
ba1a0d59
UD
27775 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27776 is sufficient, at least on modern CPUs.
27777
fd5bdc09
UD
27778 * ctype/ctype-info.c (__ctype_init): Define.
27779 * include/ctype.h (__ctype_init): Declare.
27780 (__ctype_b_loc): The variable is always initialized.
27781 (__ctype_toupper_loc): Likewise.
27782 (__ctype_tolower_loc): Likewise.
27783 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27784 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27785
7872cfb0
AS
277862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27787
b468825a
AS
27788 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27789
7872cfb0
AS
27790 * configure.in: Also look in $cxxmachine/include for C++ system
27791 headers.
27792
be13f7bf
LD
277932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27794
27795 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27796 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27797 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27798 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27800 (USE_AS_WMEMCMP): New macro.
27801 Fixing indents.
27802 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27803 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27804 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27805 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27807 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27808 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27809 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27810 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27811 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27812 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27813 (USE_AS_WMEMCMP): New macro.
27814 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27815 * sysdeps/string/test-memcmp.c: Update.
27816 Fix simple_wmemcmp.
27817 Add new tests.
27818 * wcsmbs/wmemcmp.c: Update.
27819 (WMEMCMP): New macro.
27820 Fix overflow bug.
27821
556a2007
AJ
278222011-10-12 Andreas Jaeger <aj@suse.de>
27823
27824 [BZ #13268]
27825 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27826
538faaa7
UD
278272011-10-15 Ulrich Drepper <drepper@gmail.com>
27828
ab6737ff
UD
27829 * libio/iofwide.c (do_length): Avoid warning.
27830
538faaa7
UD
27831 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27832
396a21b1
UD
278332011-10-14 Ulrich Drepper <drepper@gmail.com>
27834
cdf2901f
UD
27835 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27836
38ad40ce
UD
27837 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27838 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27839 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27840 * sysdeps/i386/i686/fpu/e_log.S: New file.
27841 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27842 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27843
396a21b1
UD
27844 * ctype/ctype.h: Add support for inlined isXXX functions when
27845 compiling C++ code.
27846
6b1f68c9
AS
278472011-10-14 Andreas Schwab <schwab@redhat.com>
27848
349290c0
AS
27849 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27850
6b1f68c9
AS
27851 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27852
f2282d42
RM
278532011-10-13 Roland McGrath <roland@hack.frob.com>
27854
27855 [BZ #13291]
27856 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27857
5298ffa8
AS
278582011-10-13 Andreas Schwab <schwab@redhat.com>
27859
714fad23
AS
27860 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27861 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27862 feraiseexcept.
27863
81dcc7fb
AS
27864 * sysdeps/x86_64/memrchr.S: Check for zero size.
27865
5298ffa8
AS
27866 * string/stratcliff.c: Add memrchr tests.
27867
951fbcec
LD
278682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27869
27870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27871 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27872 rawmemchr-sse2 rawmemchr-sse2-bsf.
27873 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27874 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27875 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27876 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27877 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27878 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27879 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27880 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27881 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27882 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27883 * string/memrchr.c (MEMRCHR): New macro.
27884
0ac5ae23
UD
278852011-10-12 Ulrich Drepper <drepper@gmail.com>
27886
27887 Add integration with gcc's -ffinite-math-only and optimize wrapper
27888 functions in libm.
27889 * Versions.def: Define GLIBC_2.15 version for libm.
27890 * math/Makefile (headers): Add bits/math-finite.h.
27891 * math/bits/math-finite.h: New file.
27892 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27893 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27894 * math/e_acoshl.c: Add __*_finite alias.
27895 * math/e_acosl.c: Likewise.
27896 * math/e_asinl.c: Likewise.
27897 * math/e_atan2l.c: Likewise.
27898 * math/e_atanhl.c: Likewise.
27899 * math/e_coshl.c: Likewise.
27900 * math/e_exp10.c: Likewise.
27901 * math/e_exp10f.c: Likewise.
27902 * math/e_exp10l.c: Likewise.
27903 * math/e_exp2l.c: Likewise.
27904 * math/e_fmodl.c: Likewise.
27905 * math/e_gammal_r.c: Likewise.
27906 * math/e_hypotl.c: Likewise.
27907 * math/e_j0l.c: Likewise.
27908 * math/e_j1l.c: Likewise.
27909 * math/e_jnl.c: Likewise.
27910 * math/e_lgammal_r.c: Likewise.
27911 * math/e_log10l.c: Likewise.
27912 * math/e_log2l.c: Likewise.
27913 * math/e_logl.c: Likewise.
27914 * math/e_powl.c: Likewise.
27915 * math/e_sinhl.c: Likewise.
27916 * math/e_sqrtl.c: Likewise.
27917 * math/e_scalb.c: Completely rewritten and optimized.
27918 * math/e_scalbf.c: Likewise.
27919 * math/e_scalbl.c: Likewise.
27920 * math/w_acos.c: Likewise.
27921 * math/w_acosf.c: Likewise.
27922 * math/w_acosl.c: Likewise.
27923 * math/w_acosh.c: Likewise.
27924 * math/w_acoshf.c: Likewise.
27925 * math/w_acoshl.c: Likewise.
27926 * math/w_asin.c: Likewise.
27927 * math/w_asinf.c: Likewise.
27928 * math/w_asinl.c: Likewise.
27929 * math/w_atan2.c: Likewise.
27930 * math/w_atan2f.c: Likewise.
27931 * math/w_atan2l.c: Likewise.
27932 * math/w_atanh.c: Likewise.
27933 * math/w_atanhf.c: Likewise.
27934 * math/w_atanhl.c: Likewise.
27935 * math/w_exp10.c: Likewise.
27936 * math/w_exp10f.c: Likewise.
27937 * math/w_exp10l.c: Likewise.
27938 * math/w_fmod.c: Likewise.
27939 * math/w_fmodf.c: Likewise.
27940 * math/w_fmodl.c: Likewise.
27941 * math/w_j0.c: Likewise.
27942 * math/w_j0f.c: Likewise.
27943 * math/w_j0l.c: Likewise.
27944 * math/w_j1.c: Likewise.
27945 * math/w_j1f.c: Likewise.
27946 * math/w_j1l.c: Likewise.
27947 * math/w_jn.c: Likewise.
27948 * math/w_jnf.c: Likewise.
27949 * math/w_log.c: Likewise.
27950 * math/w_logf.c: Likewise.
27951 * math/w_logl.c: Likewise.
27952 * math/w_log10.c: Likewise.
27953 * math/w_log10f.c: Likewise.
27954 * math/w_log10l.c: Likewise.
27955 * math/w_log2.c: Likewise.
27956 * math/w_log2f.c: Likewise.
27957 * math/w_log2l.c: Likewise.
27958 * math/w_pow.c: Likewise.
27959 * math/w_powf.c: Likewise.
27960 * math/w_powl.c: Likewise.
27961 * math/w_remainder.c: Likewise.
27962 * math/w_remainderf.c: Likewise.
27963 * math/w_remainderl.c: Likewise.
27964 * math/w_scalb.c: Likewise.
27965 * math/w_scalbf.c: Likewise.
27966 * math/w_scalbl.c: Likewise.
27967 * math/w_sqrt.c: Likewise.
27968 * math/w_sqrtf.c: Likewise.
27969 * math/w_sqrtl.c: Likewise.
27970 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27971 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27972 used.
27973 * math/math_private.h: Declare __kernel_standard_f.
27974 * math/w_cosh.c: Remove cruft and optimize a bit.
27975 * math/w_coshf.c: Likewise.
27976 * math/w_coshl.c: Likewise.
27977 * math/w_exp2.c: Likewise.
27978 * math/w_exp2f.c: Likewise.
27979 * math/w_exp2l.c: Likewise.
27980 * math/w_hypot.c: Likewise.
27981 * math/w_hypotf.c: Likewise.
27982 * math/w_hypotl.c: Likewise.
27983 * math/w_lgamma.c: Likewise.
27984 * math/w_lgamma_r.c: Likewise.
27985 * math/w_lgammaf.c: Likewise.
27986 * math/w_lgammaf_r.c: Likewise.
27987 * math/w_lgammal.c: Likewise.
27988 * math/w_lgammal_r.c: Likewise.
27989 * math/w_sinh.c: Likewise.
27990 * math/w_sinhf.c: Likewise.
27991 * math/w_sinhl.c: Likewise.
27992 * math/w_tgamma.c: Likewise.
27993 * math/w_tgammaf.c: Likewise.
27994 * math/w_tgammal.c: Likewise.
27995 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27996 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27997 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27998 Minor optimizations. Pretty printing. Remove cruft.
27999 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28000 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28001 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28002 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28003 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28004 * sysdeps/i386/fpu/e_asin.S: Likewise.
28005 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28006 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28007 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28008 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28009 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28010 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28011 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28012 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28013 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28014 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28015 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28016 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28017 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28018 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28019 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28020 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28021 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28022 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28023 * sysdeps/i386/fpu/e_log.S: Likewise.
28024 * sysdeps/i386/fpu/e_log10.S: Likewise.
28025 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28026 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28027 * sysdeps/i386/fpu/e_log2.S: Likewise.
28028 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28029 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28030 * sysdeps/i386/fpu/e_logf.S: Likewise.
28031 * sysdeps/i386/fpu/e_logl.S: Likewise.
28032 * sysdeps/i386/fpu/e_pow.S: Likewise.
28033 * sysdeps/i386/fpu/e_powf.S: Likewise.
28034 * sysdeps/i386/fpu/e_powl.S: Likewise.
28035 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28036 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28037 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28038 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28039 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28040 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28041 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28042 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28043 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28045 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28047 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28049 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28050 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28051 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28055 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28057 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28058 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28060 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28061 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28064 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28065 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28066 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28067 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28068 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28069 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28070 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28071 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28072 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28073 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28074 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28075 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28076 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28077 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28078 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28079 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28080 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28081 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28082 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28083 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28084 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28085 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28086 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28088 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28090 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28093 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28094 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28095 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28096 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28097 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28099 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28100 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28101 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28104 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28105 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28108 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28109 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28112 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28113 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28114 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28115 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28118 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28119 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28120 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28121 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28122 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28123 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28124 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28125 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28126 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28127 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28128 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28129 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28130 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28131 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28132 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28133 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28134 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28135 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28136 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28137 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28138 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28139 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28140 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28141 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28142 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28143 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28144 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28145 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28146 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28147 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28148 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28149 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28150 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28151 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28152 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28153 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28154 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28155 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28156 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28157 (__isnanf): Likewise.
28158 (__isinf_ns): Likewise.
28159 (__isinf_nsf): Likewise.
28160 (__finite): Likewise.
28161 (__finitef): Likewise.
28162 (__ieee754_sqrt): Define as macro.
28163 (__ieee754_sqrtf): Define as macro.
28164 (__ieee754_sqrtl): Define as macro.
28165 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28166 inlined copy.
28167 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28168 __FINITE_MATH_ONLY__ consistent.
28169 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28170
12cc2fcd
AS
281712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28172
a843a204
AS
28173 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28174 of rawmemchr.
28175
12cc2fcd
AS
28176 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28177
c853acd5
UD
281782011-10-09 Ulrich Drepper <drepper@gmail.com>
28179
28180 * po/ja.po: Update from translation team.
28181
c658d255
RM
281822011-10-08 Roland McGrath <roland@hack.frob.com>
28183
110946e4
RM
28184 * locale/programs/locarchive.c (prepare_address_space): New function.
28185 (create_archive, enlarge_archive, open_archive): Use it.
28186
50604220
RM
28187 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28188 inside [SHARED], where it is used.
28189
c658d255
RM
28190 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28191
28192 * nss/getent.c (netgroup_keys): Remove unused variable.
28193 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28194
6a621eb7
UD
281952011-10-08 Ulrich Drepper <drepper@gmail.com>
28196
7edb55ce
UD
28197 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28198 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28200 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28201 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28202 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28203 * math/Makefile (libm-calls): Add s_isinf_ns.
28204 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28205 * math/multc3.c: Likewise.
28206 * math/s_casin.c: Likewise.
28207 * math/s_casinf.c: Likewise.
28208 * math/s_casinl.c: Likewise.
28209 * math/s_ccos.c: Likewise.
28210 * math/s_ccosf.c: Likewise.
28211 * math/s_ccosl.c: Likewise.
28212 * math/s_ctan.c: Likewise.
28213 * math/s_ctanf.c: Likewise.
28214 * math/s_ctanh.c: Likewise.
28215 * math/s_ctanhf.c: Likewise.
28216 * math/s_ctanhl.c: Likewise.
28217 * math/s_ctanl.c: Likewise.
28218 * math/w_fmod.c: Likewise.
28219 * math/w_fmodf.c: Likewise.
28220 * math/w_fmodl.c: Likewise.
28221 * math/w_remainder.c: Likewise.
28222 * math/w_remainderf.c: Likewise.
28223 * math/w_remainderl.c: Likewise.
28224 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28225 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28226 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28228 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28229 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28230 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28231 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28232
187da0ae
UD
28233 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28234 of the number.
28235 * stdio-common/printf_fphex.c: Likewise.
28236 * stdio-common/printf_size.c: Likewise.
28237
9277c064
UD
28238 * math/e_exp10.c: Include math_private.h using <...> not "...".
28239 * math/e_exp10f.c: Likewise.
28240 * math/e_exp10l.c: Likewise.
28241 * math/e_exp2l.c: Likewise.
28242 * math/e_j0l.c: Likewise.
28243 * math/e_j1l.c: Likewise.
28244 * math/e_jnl.c: Likewise.
28245 * math/e_lgammal_r.c: Likewise.
28246 * math/e_rem_pio2l.c: Likewise.
28247 * math/e_scalb.c: Likewise.
28248 * math/e_scalbf.c: Likewise.
28249 * math/e_scalbl.c: Likewise.
28250 * math/k_cosl.c: Likewise.
28251 * math/k_sinl.c: Likewise.
28252 * math/k_tanl.c: Likewise.
28253 * math/s_cacoshf.c: Likewise.
28254 * math/s_catan.c: Likewise.
28255 * math/s_catanf.c: Likewise.
28256 * math/s_catanh.c: Likewise.
28257 * math/s_catanhf.c: Likewise.
28258 * math/s_catanhl.c: Likewise.
28259 * math/s_catanl.c: Likewise.
28260 * math/s_ccosh.c: Likewise.
28261 * math/s_ccoshf.c: Likewise.
28262 * math/s_ccoshl.c: Likewise.
28263 * math/s_cexp.c: Likewise.
28264 * math/s_cexpf.c: Likewise.
28265 * math/s_cexpl.c: Likewise.
28266 * math/s_clog.c: Likewise.
28267 * math/s_clog10.c: Likewise.
28268 * math/s_clog10f.c: Likewise.
28269 * math/s_clog10l.c: Likewise.
28270 * math/s_clogf.c: Likewise.
28271 * math/s_clogl.c: Likewise.
28272 * math/s_csin.c: Likewise.
28273 * math/s_csinf.c: Likewise.
28274 * math/s_csinh.c: Likewise.
28275 * math/s_csinhf.c: Likewise.
28276 * math/s_csinhl.c: Likewise.
28277 * math/s_csinl.c: Likewise.
28278 * math/s_csqrt.c: Likewise.
28279 * math/s_csqrtf.c: Likewise.
28280 * math/s_csqrtl.c: Likewise.
28281 * math/s_ctan.c: Likewise.
28282 * math/s_ctanf.c: Likewise.
28283 * math/s_ctanh.c: Likewise.
28284 * math/s_ctanhf.c: Likewise.
28285 * math/s_ctanhl.c: Likewise.
28286 * math/s_ctanl.c: Likewise.
28287 * math/s_ldexp.c: Likewise.
28288 * math/s_ldexpf.c: Likewise.
28289 * math/s_ldexpl.c: Likewise.
28290 * math/s_significand.c: Likewise.
28291 * math/s_significandf.c: Likewise.
28292 * math/s_significandl.c: Likewise.
28293 * math/w_acos.c: Likewise.
28294 * math/w_acosf.c: Likewise.
28295 * math/w_acosh.c: Likewise.
28296 * math/w_acoshf.c: Likewise.
28297 * math/w_acoshl.c: Likewise.
28298 * math/w_acosl.c: Likewise.
28299 * math/w_asin.c: Likewise.
28300 * math/w_asinf.c: Likewise.
28301 * math/w_asinl.c: Likewise.
28302 * math/w_atan2.c: Likewise.
28303 * math/w_atan2f.c: Likewise.
28304 * math/w_atan2l.c: Likewise.
28305 * math/w_atanh.c: Likewise.
28306 * math/w_atanhf.c: Likewise.
28307 * math/w_atanhl.c: Likewise.
28308 * math/w_cosh.c: Likewise.
28309 * math/w_coshf.c: Likewise.
28310 * math/w_coshl.c: Likewise.
28311 * math/w_dremf.c: Likewise.
28312 * math/w_exp10.c: Likewise.
28313 * math/w_exp10f.c: Likewise.
28314 * math/w_exp10l.c: Likewise.
28315 * math/w_exp2.c: Likewise.
28316 * math/w_exp2f.c: Likewise.
28317 * math/w_fmod.c: Likewise.
28318 * math/w_fmodf.c: Likewise.
28319 * math/w_fmodl.c: Likewise.
28320 * math/w_hypot.c: Likewise.
28321 * math/w_hypotf.c: Likewise.
28322 * math/w_hypotl.c: Likewise.
28323 * math/w_j0.c: Likewise.
28324 * math/w_j0f.c: Likewise.
28325 * math/w_j0l.c: Likewise.
28326 * math/w_j1.c: Likewise.
28327 * math/w_j1f.c: Likewise.
28328 * math/w_j1l.c: Likewise.
28329 * math/w_jn.c: Likewise.
28330 * math/w_jnf.c: Likewise.
28331 * math/w_jnl.c: Likewise.
28332 * math/w_lgamma.c: Likewise.
28333 * math/w_lgamma_r.c: Likewise.
28334 * math/w_lgammaf.c: Likewise.
28335 * math/w_lgammaf_r.c: Likewise.
28336 * math/w_lgammal.c: Likewise.
28337 * math/w_lgammal_r.c: Likewise.
28338 * math/w_log.c: Likewise.
28339 * math/w_log10.c: Likewise.
28340 * math/w_log10f.c: Likewise.
28341 * math/w_log10l.c: Likewise.
28342 * math/w_log2.c: Likewise.
28343 * math/w_log2f.c: Likewise.
28344 * math/w_log2l.c: Likewise.
28345 * math/w_logf.c: Likewise.
28346 * math/w_logl.c: Likewise.
28347 * math/w_pow.c: Likewise.
28348 * math/w_powf.c: Likewise.
28349 * math/w_powl.c: Likewise.
28350 * math/w_remainder.c: Likewise.
28351 * math/w_remainderf.c: Likewise.
28352 * math/w_remainderl.c: Likewise.
28353 * math/w_scalb.c: Likewise.
28354 * math/w_scalbf.c: Likewise.
28355 * math/w_scalbl.c: Likewise.
28356 * math/w_sinh.c: Likewise.
28357 * math/w_sinhf.c: Likewise.
28358 * math/w_sinhl.c: Likewise.
28359 * math/w_sqrt.c: Likewise.
28360 * math/w_sqrtf.c: Likewise.
28361 * math/w_sqrtl.c: Likewise.
28362 * math/w_tgamma.c: Likewise.
28363 * math/w_tgammaf.c: Likewise.
28364 * math/w_tgammal.c: Likewise.
28365
6a621eb7
UD
28366 * po/ja.po: Update from translation team.
28367
bf582445
AJ
283682011-09-29 Andreas Jaeger <aj@suse.de>
28369
f9efbf3a
AJ
28370 [BZ #13179]
28371 * sunrpc/netname.c (netname2host): Fix logic.
28372
bf582445
AJ
28373 [BZ #6779]
28374 [BZ #6783]
28375 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28376 correctly.
28377 * math/w_remainder.c (__remainder): Likewise.
28378 * math/w_remainderf.c (__remainderf): Likewise.
28379 * math/libm-test.inc (remainder_test): Add test cases.
28380
48693bea
AK
283812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28382
28383 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28384 sdiv_qrnnd.
28385
42622229
LD
283862011-10-07 Ulrich Drepper <drepper@gmail.com>
28387
28388 * string/test-memcmp.c: Avoid unncessary #defines.
28389 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28390
093ecf92
LD
283912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28392
28393 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28394 Use new sse2 version for core i3 - i7 as it's faster
28395 than sse42 version.
28396 (bit_Prefer_PMINUB_for_stringop): New.
28397 * sysdeps/x86_64/rawmemchr.S: Update.
28398 Replace with faster SSE2 version.
28399 * sysdeps/x86_64/memrchr.S: New file.
28400 * sysdeps/x86_64/memchr.S: Update.
28401 Replace with faster SSE2 version.
28402
fde56e5c
MP
284032011-09-12 Marek Polacek <mpolacek@redhat.com>
28404
28405 * elf/dl-load.c (lose): Add cast to avoid warning.
28406
21fd49a9
UD
284072011-10-07 Ulrich Drepper <drepper@gmail.com>
28408
5a06e643
UD
28409 * po/ca.po: Update from translation team.
28410
684ae515
UD
28411 * inet/getnetgrent_r.c: Hook up nscd.
28412 * nscd/Makefile (routines): Add nscd_netgroup.
28413 (nscd-modules): Add netgroupcache.
28414 (CFLAGS-netgroupcache.c): Define.
28415 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28416 (cache_search): Add const to second parameter.
28417 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28418 INNETGR.
28419 (dbs): Add netgrdb entry.
28420 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28421 (verify_persistent_db): Handle netgrdb.
28422 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28423 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28424 GETFDNETGR.
28425 (netgroup_response_header): Define.
28426 (innetgroup_response_header): Define.
28427 (datahead): Add netgroup_response_header and innetgroup_response_header
28428 elements.
28429 * nscd/nscd.conf: Add entries for netgroup cache.
28430 * nscd/nscd.h (dbtype): Add netgrdb.
28431 (_PATH_NSCD_NETGROUP_DB): Define.
28432 (netgroup_iov_disabled): Declare.
28433 (xmalloc, xcalloc, xrealloc): Move declarations here.
28434 (cache_search): Adjust prototype.
28435 Add netgroup-related prototypes.
28436 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28437 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28438 (__nscd_innetgr): Declare.
28439 * nscd/selinux.c (perms): Use access_vector_t as element type and
28440 add netgroup-related initializers.
28441 * nscd/netgroupcache.c: New file.
28442 * nscd/nscd_netgroup.c: New file.
28443 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28444 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28445 For four parameters use innetgr.
28446 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28447 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28448 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28449 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28450
21fd49a9
UD
28451 * nscd/connections.c (register_traced_file): Don't register file
28452 for disabled databases.
28453
054c0457
UD
284542011-10-06 Ulrich Drepper <drepper@gmail.com>
28455
32b63198
UD
28456 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28457
054c0457
UD
28458 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28459 from tree and freeing node.
28460
64031225
JO
284612011-09-25 Jiri Olsa <jolsa@redhat.com>
28462
28463 * nss/nsswitch.c (__nss_database_lookup): Handle
28464 nss_parse_service_list out of memory case.
28465
0490345c
JO
284662011-09-15 Jiri Olsa <jolsa@redhat.com>
28467
28468 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28469 out of memory case.
28470
3a62d00d
AS
284712011-10-04 Andreas Schwab <schwab@redhat.com>
28472
28473 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28474 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28475 pass it down.
28476 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28477 elf_machine_rela, elf_machine_lazy_rel.
28478 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28479 (ELF_DYNAMIC_DO_REL): Likewise.
28480 (ELF_DYNAMIC_DO_RELA): Likewise.
28481 (ELF_DYNAMIC_RELOCATE): Likewise.
28482 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28483 to ELF_DYNAMIC_DO_REL.
28484 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28485 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28486 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28487 elf_machine_rela.
28488 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28489 skip_ifunc, don't call ifunc function if non-zero.
28490 (elf_machine_rela): Likewise.
28491 (elf_machine_lazy_rel): Likewise.
28492 (elf_machine_lazy_rela): Likewise.
28493 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28494 (elf_machine_lazy_rel): Likewise.
28495 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28496 Likewise.
28497 (elf_machine_lazy_rel): Likewise.
28498 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28499 Likewise.
28500 (elf_machine_lazy_rel): Likewise.
28501 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28502 (elf_machine_lazy_rel): Likewise.
28503 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28504 (elf_machine_lazy_rel): Likewise.
28505 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28506 (elf_machine_lazy_rel): Likewise.
28507 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28508 (elf_machine_lazy_rel): Likewise.
28509 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28510 (elf_machine_lazy_rel): Likewise.
28511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28512 (elf_machine_lazy_rel): Likewise.
28513
68577918
UD
285142011-09-28 Ulrich Drepper <drepper@gmail.com>
28515
28516 * nss/nss_files/files-init.c (_nss_files_init): Use static
28517 initialization for all the *_traced_file variables.
28518
68822d74
AS
285192011-09-28 Andreas Schwab <schwab@redhat.com>
28520
28521 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28522
2056100b
RM
285232011-09-27 Roland McGrath <roland@hack.frob.com>
28524
28525 [BZ #13226]
28526 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28527
32c76b63
AS
285282011-09-27 Andreas Schwab <schwab@redhat.com>
28529
28530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28531 Reread the line before reparsing it.
28532
bf972c9d
AS
285332011-09-26 Andreas Schwab <schwab@redhat.com>
28534
28535 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28536
e057a1b5
JM
285372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28538 Maxim Kuvyrkov <maxim@codesourcery.com>
28539 Joseph Myers <joseph@codesourcery.com>
28540
28541 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28542 if needed for __stack_chk_guard.
28543
bc7e1c36
RM
285442011-09-19 Roland McGrath <roland@hack.frob.com>
28545
ecb1482f
RM
28546 * sysdeps/posix/spawni.c (script_execute): Always define it.
28547 It will be optimized away if unused.
28548 (maybe_script_execute): New function.
28549 (__spawni): Call it.
28550
bc7e1c36
RM
28551 * Makerules: Don't include tls.make.
28552 (config-tls): Always set to thread.
28553 * tls.make.c: File removed.
28554
1c3b002b
MF
285552011-09-19 Mike Frysinger <vapier@gentoo.org>
28556
28557 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28558 * config.make.in (CPPFLAGS-config): New substituted variable.
28559
2840865d
UD
285602011-09-15 Ulrich Drepper <drepper@gmail.com>
28561
88738eb6
UD
28562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28563
cbf645a6 28564 [BZ #13192]
2840865d
UD
28565 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28566 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28567
b402e91a
RM
285682011-09-15 Roland McGrath <roland@hack.frob.com>
28569
28570 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28571 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28572 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28573 (CALL_FAIL): Likewise.
28574 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28575 (CALL_FAIL): Macro removed.
28576 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28577
4c1a1f71
UD
285782011-09-15 Ulrich Drepper <drepper@gmail.com>
28579
28580 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28581 for __FINITE_MATH_ONLY__ == 1.
28582
edc121be
AS
285832011-09-15 Andreas Schwab <schwab@redhat.com>
28584
28585 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28586 __ieee754_sqrt instead of sqrt.
28587 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28588 __ieee754_sqrtf instead of sqrtf.
28589 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28590 __floorf instead of floorf.
28591 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28592 __floorf, __truncf instead of floorf, truncf.
28593
cd205654
UD
285942011-09-14 Ulrich Drepper <drepper@gmail.com>
28595
ee4d0315
UD
28596 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28597
cd205654
UD
28598 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28599 __extern_always_inline.
28600 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28601 32-bit.
28602
48b67d71
AS
286032011-09-14 Andreas Schwab <schwab@redhat.com>
28604
28605 * elf/rtld.c (dl_main): Also relocate in dependency order when
28606 doing symbol dependency testing.
28607
1ae12c75
AS
286082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28609
28610 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28611 Always define `refsym'.
28612
995a80df
AS
286132011-09-13 Andreas Schwab <schwab@redhat.com>
28614
e529793b
AS
28615 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28616 (__FD_ELT): Renamed from __FDELT.
28617 * misc/bits/select2.h (__FD_ELT): Likewise.
28618 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28619 __FD_MASK instead of __FDELT, __FDMASK.
28620 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28621 Likewise.
28622 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28623 Likewise.
28624
52d4fef8
AS
28625 * elf/Makefile (gen-ldd): Fix pattern.
28626
995a80df
AS
28627 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28628 (init_tls): Likewise.
28629
8682f8b0
UD
286302011-09-12 Ulrich Drepper <drepper@gmail.com>
28631
28632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28633
de82006d
AS
286342011-09-12 Andreas Schwab <schwab@redhat.com>
28635
a7c8e6a1
AS
28636 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28637 `struct cmsghdr *' instead of `void *'.
28638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28639 Likewise.
28640
0f31fe77
AS
286412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28642
28643 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28644 if non-absolute.
28645 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28646 ldd_rewrite_script.
0f31fe77 28647
32b4c839
UD
286482011-09-11 Ulrich Drepper <drepper@gmail.com>
28649
83cd1420
UD
28650 * configure.in: Remove --with-tls option.
28651 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28652 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28653 out in case it is missing.
28654 * sysdeps/ia64/elf/configure.in: Likewise.
28655 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28656 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28657 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28658 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28659 * sysdeps/sh/elf/configure.in: Likewise.
28660 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28661 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28662 * sysdeps/x86_64/elf/configure.in: Likewise.
28663 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28664 * sysdeps/mach/hurd/tls.h: Likewise.
28665
633f745d
UD
28666 [BZ #13067]
28667 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28668
f318beb8
UD
28669 [BZ #13090]
28670 * configure.in: Fix use of AC_INIT.
28671
32b4c839
UD
28672 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28673
3ce1f295
UD
286742011-09-10 Ulrich Drepper <drepper@gmail.com>
28675
bb016596
UD
28676 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28677 __set_errno.
8e58439c
UD
28678 * malloc/hooks.c: Likewise.
28679
aebae053 28680 [BZ #11929]
02d46fc4
UD
28681 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28682 variables statically.
28683 (narenas): Initialize.
28684 (list_lock): Initialize.
bb016596
UD
28685 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28686 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28687 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28688 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28689 Add initializers to main_arena and mp_.
28690 (malloc_state): Remove pagesize member. Change all users to use
28691 GLRO(dl_pagesize).
28692
28693 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28694 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28695 is always initialized.
28696
22a89187
UD
28697 * malloc/malloc.c: Removed unused configurations and dead code.
28698 * malloc/arena.c: Likewise.
28699 * malloc/hooks.c: Likewise.
02d46fc4 28700 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28701
d063d164
UD
28702 * include/tls.h: Removed. USE___THREAD must always be defined.
28703 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28704 * elf/dl-libc.c: Likewise.
28705 * elf/dl-tsd.c: Likewise.
28706 * include/errno.h: Likewise.
28707 * include/netdb.h: Likewise.
28708 * include/resolv.h: Likewise.
28709 * inet/herrno-loc.c: Likewise.
28710 * inet/herrno.c: Likewise.
28711 * malloc/arena.c: Likewise.
28712 * malloc/hooks.c: Likewise.
28713 * malloc/malloc.c: Likewise.
28714 * resolv/res-state.c: Likewise.
28715 * resolv/res_libc.c: Likewise.
28716 * sysdeps/i386/dl-machine.h: Likewise.
28717 * sysdeps/ia64/dl-machine.h: Likewise.
28718 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28719 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28720 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28721 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28722 * sysdeps/sh/dl-machine.h: Likewise.
28723 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28724 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28725 * sysdeps/unix/i386/sysdep.S: Likewise.
28726 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28727 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28729 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28732 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28736 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28737 * sysdeps/x86_64/dl-machine.h: Likewise.
28738 * tls.make.c: Likewise.
28739
3ce1f295
UD
28740 * configure.in: Remove --with-__thread option. Make tests for
28741 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28742 tls_model attribute fail if no support is available. Remove
28743 USE_IN_LIBIO.
28744 * Makeconfig: Adjust for dropped configure option. All features are
28745 now mandatory.
28746 * Makerules: Likewise.
28747 * Versions.def: Likewise.
28748 * argp/argp-fmtstream.c: Likewise.
28749 * argp/argp-fmtstream.h: Likewise.
28750 * argp/argp-help.c: Likewise.
28751 * assert/assert.c: Likewise.
28752 * config.h.in: Likewise.
28753 * config.make.in: Likewise.
28754 * configure: Likewise.
28755 * configure.in: Likewise.
28756 * csu/Versions: Likewise.
28757 * csu/init.c: Likewise.
28758 * elf/tst-audit2.c: Likewise.
28759 * elf/tst-tls10.c: Likewise.
28760 * elf/tst-tls10.h: Likewise.
28761 * elf/tst-tls11.c: Likewise.
28762 * elf/tst-tls12.c: Likewise.
28763 * elf/tst-tls14.c: Likewise.
28764 * elf/tst-tlsmod11.c: Likewise.
28765 * elf/tst-tlsmod12.c: Likewise.
28766 * elf/tst-tlsmod13.c: Likewise.
28767 * elf/tst-tlsmod13a.c: Likewise.
28768 * elf/tst-tlsmod14a.c: Likewise.
28769 * elf/tst-tlsmod15b.c: Likewise.
28770 * elf/tst-tlsmod16a.c: Likewise.
28771 * elf/tst-tlsmod16b.c: Likewise.
28772 * elf/tst-tlsmod7.c: Likewise.
28773 * elf/tst-tlsmod8.c: Likewise.
28774 * elf/tst-tlsmod9.c: Likewise.
28775 * gmon/gmon.c: Likewise.
28776 * grp/fgetgrent_r.c: Likewise.
28777 * grp/putgrent.c: Likewise.
28778 * hurd/fopenport.c: Likewise.
28779 * include/libc-symbols.h: Likewise.
28780 * include/tls.h: Likewise.
28781 * intl/gettextP.h: Likewise.
28782 * intl/loadinfo.h: Likewise.
28783 * locale/global-locale.c: Likewise.
28784 * locale/localeinfo.h: Likewise.
28785 * mach/devstream.c: Likewise.
28786 * malloc/arena.c: Likewise.
28787 * malloc/set-freeres.c: Likewise.
28788 * misc/err.c: Likewise.
28789 * misc/getttyent.c: Likewise.
28790 * misc/mntent_r.c: Likewise.
28791 * posix/getopt.c: Likewise.
28792 * posix/wordexp.c: Likewise.
28793 * pwd/fgetpwent_r.c: Likewise.
28794 * resolv/Versions: Likewise.
28795 * resolv/res_hconf.c: Likewise.
28796 * shadow/fgetspent_r.c: Likewise.
28797 * shadow/putspent.c: Likewise.
28798 * stdio-common/printf_fphex.c: Likewise.
28799 * stdio-common/tmpfile.c: Likewise.
28800 * stdlib/abort.c: Likewise.
28801 * stdlib/fmtmsg.c: Likewise.
28802 * sunrpc/auth_unix.c: Likewise.
28803 * sunrpc/clnt_perr.c: Likewise.
28804 * sunrpc/clnt_tcp.c: Likewise.
28805 * sunrpc/clnt_udp.c: Likewise.
28806 * sunrpc/clnt_unix.c: Likewise.
28807 * sunrpc/openchild.c: Likewise.
28808 * sunrpc/svc_simple.c: Likewise.
28809 * sunrpc/svc_tcp.c: Likewise.
28810 * sunrpc/svc_udp.c: Likewise.
28811 * sunrpc/svc_unix.c: Likewise.
28812 * sunrpc/xdr.c: Likewise.
28813 * sunrpc/xdr_array.c: Likewise.
28814 * sunrpc/xdr_rec.c: Likewise.
28815 * sunrpc/xdr_ref.c: Likewise.
28816 * sunrpc/xdr_stdio.c: Likewise.
28817
1248c1c4
PB
288182011-09-09 Ulrich Drepper <drepper@gmail.com>
28819
28820 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28821
288222011-07-03 Andreas Jaeger <aj@suse.de>
28823
28824 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28825 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28826 regenerate with gen-libm-tests.pl.
28827
288282010-05-12 Petr Baudis <pasky@suse.cz>
28829
28830 [BZ #11589]
28831 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28832 around j0() zero points by switching to j1().
28833 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28834 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28837
f22e1074
UD
288382011-09-09 Ulrich Drepper <drepper@gmail.com>
28839
f19009c1
UD
28840 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28841 instead of 0.
28842 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28843 instead of 0.
f19009c1
UD
28844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28845 Patch in part by Pavel Roskin <proski@gnu.org>.
28846
3f8cc204
UD
28847 [BZ #13138]
28848 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28849 realloc.
28850 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28851 Free memory block if necessary.
28852
f22e1074
UD
28853 [BZ #12847]
28854 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28855 be NULL. Don't lock in this case.
28856
0a2349f9
RM
288572011-09-09 Roland McGrath <roland@hack.frob.com>
28858
28859 * elf/elf.h (ELFOSABI_GNU): New macro.
28860 (ELFOSABI_LINUX): Define to that.
28861
f3cdd467
DZ
288622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28863
28864 * string/strncat.c (strncat): Undef the symbol in case it has been
28865 defined in bits/string.h.
28866
74718d13
UD
288672011-09-09 Ulrich Drepper <drepper@gmail.com>
28868
633e9e0f
UD
28869 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28870
0a2349f9 28871 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28872 link map.
28873
f9924780
AJ
288742011-08-17 Andreas Jaeger <aj@suse.de>
28875
28876 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28877
7f5517aa
PP
288782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28879 Ian Lance Taylor <iant@google.com>
28880
28881 * math/libm-test.inc (lround_test): New testcase.
28882 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28883
762011fe
UD
288842011-09-08 Ulrich Drepper <drepper@gmail.com>
28885
92963737
UD
28886 * Makefile: Remove support for automatic cvs check-ins.
28887 * Makerules: Likewise.
28888 * config.make.in: Likewise.
28889 * configure.in: Likewise.
28890 * intl/Makefile: Likewise.
28891 * locale/Makefile: Likewise.
28892 * po/Makefile: Likewise.
28893 * posix/Makefile: Likewise.
28894 * sysdeps/gnu/Makefile: Likewise.
28895 * sysdeps/mach/hurd/Makefile: Likewise.
28896 * sysdeps/sparc/sparc32/Makefile: Likewise.
28897
b0727fd8
JS
28898 [BZ #13118]
28899 * posix/Makefile (bug-regex32-ENV): Define.
28900 Patch by John Stanley <jpsinthemix@verizon.net>.
28901
a0f33f99
UD
28902 * misc/Makefile (headers): Add bits/select2.h.
28903 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28904 * misc/bits/select2.h: New file.
28905 * include/bits/select2.h: New file.
28906 * debug/Makefile (routines): Add fdelt_chk.
28907 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28908 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28909 FD_ISSET.
28910 * debug/fdelt_chk.c: New file.
28911
762011fe
UD
28912 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28913 * wcsmbs/test-wmemcmp.c: Likewise.
28914 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28915 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28916
289172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28918
28919 * string/Makefile (strop-tests): Add memcmp.
28920 * string/test-wmemcmp.c: New file.
28921 * string/test-memcmp.c: Add wmemcmp support.
28922
7f513ec8
RM
289232011-09-08 Roland McGrath <roland@hack.frob.com>
28924
0442afb4
RM
28925 [BZ #13153]
28926 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28927 2011-07-19 change.
28928
7f513ec8
RM
28929 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28930 garbage value in a __mach_port_mod_refs call in the cases of the
28931 task-self and thread-self ports.
28932
a12b2239
ST
289332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28934
28935 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28936
610f9ab4
AS
289372011-09-08 Andreas Schwab <schwab@redhat.com>
28938
7f513ec8 28939 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28940
48882a1a
LD
289412011-09-07 Ulrich Drepper <drepper@gmail.com>
28942
b49865be
UD
28943 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28944
fdc86bc9
UD
28945 * elf/dl-libc.c (dlerror_run): Pass back error code from
28946 dl_catch_error.
28947
c966526a
UD
28948 [BZ #13123]
28949 * elf/dl-load.c (lose): Free l_origin if it is valid.
28950
48882a1a
LD
28951 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28952 names.
28953 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28954 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28955 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28956 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28957 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28958 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28959
77a2a8b4
AZ
289602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28961
28962 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28963 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28964 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28965 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28966 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28967 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28968 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28969 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28970 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28971 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28972
24f579d8
AM
289732011-08-15 Alan Modra <amodra@gmail.com>
28974
28975 [BZ #13092]
28976 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28977 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28978 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28979 ppc_mcount to static-only-routines.
28980 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28981 __mcount_internal.
28982 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28983 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28984
3d4837df
UD
289852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28986
28987 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28988 for finite and infinity parameters.
28989
22700377
WS
289902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28991
28992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28993 and add nop instructions for throughput optimization.
28994 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28995
5025581e
WS
289962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28997
28998 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28999 aligned copy for power7 with vector-scalar instructions.
29000 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29001
08a300c9
L
290022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29003
29004 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29005 AVX check.
29006
59178ef9
AS
290072011-09-07 Andreas Schwab <schwab@redhat.com>
29008
29009 [BZ #13144]
29010 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29011 last change.
29012
e38ba7ab
UD
290132011-09-07 Ulrich Drepper <drepper@gmail.com>
29014
29015 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29016 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29017 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29018 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29019 clock_gettime.
29020
d53a73ac
UD
290212011-09-06 Ulrich Drepper <drepper@gmail.com>
29022
fc8bffcc
UD
29023 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29024 Forgot to demangle the pointer.
29025
ceaa0c5d
UD
29026 * sysdeps/i386/sysdep.h: Define atom_text_section.
29027 * sysdeps/x86_64/sysdep.h: Likewise.
29028 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29029 section with atom_text_section.
29030 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29031 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29032 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29033 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29034 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29035
a77d3c17
UD
29036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29037 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29038 already be defined. Change to take two parameters and don't assign
29039 result to variable. Adjust all users.
29040 Define INTERNAL_GETTIME if not already defined.
29041 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29042 call.
29043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29044 HAVE_CLOCK_GETTIME_VSYSCALL.
29045 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29046
d53a73ac
UD
29047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29048 gettimeofday vsyscall, just use time.
29049
a8f84144
AS
290502011-09-06 Andreas Schwab <schwab@redhat.com>
29051
29052 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29053 <errno.h>.
29054
ef606249
UD
290552011-09-06 Ulrich Drepper <drepper@gmail.com>
29056
29057 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29058 syscall on x86-64.
29059 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29060 syscall.
29061 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29062 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29063 syscall if possible.
29064
6585cb60
UD
290652011-09-05 Ulrich Drepper <drepper@gmail.com>
29066
29067 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29068 e_ident. Don't pass to find_mapsXX.
29069 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29070
a5f524e4
LD
290712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29072
29073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29074 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29075 * sysdeps/x86_64/multiarch/strchr.S: Update.
29076 Check bit_slow_BSF bit.
29077 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29078 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29079 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29080
554881ef
UD
290812011-09-05 Ulrich Drepper <drepper@gmail.com>
29082
d96de963
UD
29083 [BZ #13134]
29084 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29085 before glibc 2.15.
29086 (tryshell): Define.
29087 (__spawni): Change last parameter to be flag. Test
29088 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29089 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29090 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29091 * posix/spawni.c: Likewise.
29092 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29093 * posix/spawnp.c: Likewise. Change normal version to use
29094 SPAWN_XFLAGS_USE_PATH.
29095 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29096 SPAWN_XFLAGS_TRY_SHELL.
29097
d48e5868
UD
29098 [BZ #13150]
29099 * posix/glob.h: Remove gcc 1.x support.
29100
554881ef
UD
29101 [BZ #13068]
29102 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29103
693fb948
LD
291042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29105
29106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29107 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29108 strrchr-sse2-bsf
29109 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29110 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29111 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29112 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29113 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29114 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29115
1b48c537
UD
291162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29117
49d42c37
UD
29118 * sysdeps/x86_64/wcscmp.S: New file.
29119
1b48c537
UD
29120 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29121 wcscmp-c wcscmp-sse2
29122 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29123 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29124 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29125 * wcsmbs/wcscmp.c: Allow renaming.
29126
15c95c5d
DM
291272011-09-05 David S. Miller <davem@davemloft.net>
29128
29129 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29130 stack slot, rather than the struct return pointer slot.
29131 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29132 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29134 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29135
2f0ad8f3
UD
291362011-09-05 Ulrich Drepper <drepper@gmail.com>
29137
d88ae418
UD
29138 * po/ja.po: Update from translation team.
29139
2f0ad8f3
UD
29140 [BZ #13144]
29141 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29142 kernel in 64-bit binaries.
29143
5f4318d1
DM
291442011-09-01 David S. Miller <davem@davemloft.net>
29145
29146 * elf/elf.h (HWCAP_SPARC_*): Move to..
29147 * sysdeps/sparc/sysdep.h: this new file and add new values.
29148 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29149 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29150 _DL_HWCAP_COUNT to 24.
29151 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29152 entries.
29153 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29154 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29155 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29157 instead of magic constants.
29158 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29159
3ba57516
DM
291602011-08-31 David S. Miller <davem@davemloft.net>
29161
29162 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29163 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29164 Reimplement to do errno handling inline.
29165 (SYSCALL_ERROR_HANDLER): New macro.
29166 (__SYSCALL_STRING): Do not do errno handling in asm.
29167 (__CLONE_SYSCALL_STRING): Delete.
29168 (__INTERNAL_SYSCALL_STRING): Delete.
29169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29170 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29171 (PSEUDO): Reimplement to do errno handling inline.
29172 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29173 (SYSCALL_ERROR_HANDLER): New macro.
29174 (__SYSCALL_STRING): Do not do errno handling in asm.
29175 (__CLONE_SYSCALL_STRING): Delete.
29176 (__INTERNAL_SYSCALL_STRING): Delete.
29177 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29178 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29179 i386.
29180 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29181 (inline_syscall*): Add 'err' argument.
29182 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29183 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29184 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29185 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29186
29187 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29188 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29189
2bc17433
AS
291902011-08-30 Andreas Schwab <schwab@redhat.com>
29191
29192 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29193
fbeb5f4d
JO
291942011-08-29 Jiri Olsa <jolsa@redhat.com>
29195
29196 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29197 directive.
29198
ad69cc26
DM
291992011-08-24 David S. Miller <davem@davemloft.net>
29200
29201 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29202
39dd69df
AS
292032011-08-24 Andreas Schwab <schwab@redhat.com>
29204
29205 * elf/Makefile: Add rules to build and run unload8 test.
29206 * elf/unload8.c: New file.
29207 * elf/unload8mod1.c: New file.
29208 * elf/unload8mod1x.c: New file.
29209 * elf/unload8mod2.c: New file.
29210 * elf/unload8mod3.c: New file.
29211
29212 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29213 it wasn't used.
29214
2c0b250a
DM
292152011-08-23 David S. Miller <davem@davemloft.net>
29216
29217 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29218 subtract stack bias.
29219 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29220 %sp not %fp in calculations.
29221 (_JMPBUF_UNWINDS_ADJ): Likewise.
29222
22044b48
DM
29223 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29224 (aio_suspend): Call it to force an exception region around the
29225 AIO_MISC_WAIT() invocation.
29226
2cae4995
AS
292272011-08-23 Andreas Schwab <schwab@redhat.com>
29228
29229 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29230 backslash.
29231
873a772e
AJ
292322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29233
29234 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29235 protection macro.
29236 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29237 and <dl-machine.h>.
29238 (Elf64_FuncDesc): Remove.
29239
25ad0df1
DM
292402011-08-22 David S. Miller <davem@davemloft.net>
29241
29242 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29243 sigaltstack check, add missing cfi directives.
29244 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29245 missing cfi directives, and sigaltstack handling.
29246
e888bcbe
AS
292472011-08-16 Andreas Schwab <schwab@redhat.com>
29248
29249 [BZ #11724]
29250 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29251 object is seen twice.
29252 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29253
29254 * elf/Makefile (distribute): Add tst-initorder2.c.
29255 (tests): Add tst-initorder2.
29256 (modules-names): Add tst-initorder2a tst-initorder2b
29257 tst-initorder2c tst-initorder2d. Add rules to build them.
29258 ($(objpfx)tst-initorder2.out): New rule.
29259 * elf/tst-initorder2.c: New file.
29260 * elf/tst-initorder2.exp: New file.
29261
87162f46
AS
292622011-08-22 Andreas Schwab <schwab@redhat.com>
29263
70538b7f
AS
29264 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29265
f55ffe58
AS
29266 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29267 dependencies back to end of function.
29268
87162f46
AS
29269 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29270 $(elfobjdir)/ld.so.
29271
91b392a4
UD
292722011-08-21 Ulrich Drepper <drepper@gmail.com>
29273
29274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29275 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29277 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29278 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29279 of __vdso_gettimeofday.
29280 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29281 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29282 attribute_hidden.
29283 (_libc_vdso_platform_setup): Remove initialization of
29284 __vdso_gettimeofday and __vdso_time.
29285
5c43483f
UD
292862011-08-20 Ulrich Drepper <drepper@gmail.com>
29287
775a77e7
UD
29288 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29289 and fgetc_unlocked.
29290 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29291 getc_unlocked.
89f447ed 29292
49c74ba9
UD
29293 * elf/dl-open.c (add_to_global): Report additions to the global scope
29294 for LD_DEBUG=scopes.
29295 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29296 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29297
5c43483f
UD
29298 [BZ #13114]
29299 * stdio-common/Makefile (tests): Add bug24.
29300 * stdio-common/bug24.c: New file.
29301
a101b025
AJ
293022011-08-19 Andreas Jaeger <aj@suse.de>
29303
29304 [BZ #13114]
29305 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29306 non-existant file when using close-on-exec mode.
29307
c88f1766
UD
293082011-08-20 Ulrich Drepper <drepper@gmail.com>
29309
0276a718
UD
29310 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29311 the very first instruction.
29312
c88f1766
UD
29313 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29314 the CFI state in the end.
29315 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29316 inclusion of dl-trampoline.h.
29317 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29318
51ccffa0
AS
293192011-08-19 Andreas Schwab <schwab@redhat.com>
29320
94d7165f
AS
29321 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29322 expectations for long double.
29323
51ccffa0
AS
29324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29325 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29326
fd708658 293272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29328
29329 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29330 artificual limit depends upon the system page size.
29331
44f0a71e
UD
293322011-08-17 Ulrich Drepper <drepper@gmail.com>
29333
29334 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29335 * resolv/Makefile: Define CFLAGS-libresolv.
29336
8de79a24
AS
293372011-08-17 Andreas Schwab <schwab@redhat.com>
29338
29339 * nss/makedb.c (compute_tables): Make variables used in nested
29340 function static.
29341
27724598
UD
293422011-08-17 Ulrich Drepper <drepper@gmail.com>
29343
c5305d88
UD
29344 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29345 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29346 if buffer was too small.
29347
27724598
UD
29348 * elf/pldd.c (main): Attach to all threads in the process.
29349 Rewrite /proc handling to use *at functions.
29350
076fe015
UD
293512011-08-16 Ulrich Drepper <drepper@gmail.com>
29352
174baab3
UD
29353 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29354 specifies first scope to show.
29355 (dl_open_worker): Update callers. Move printing scope of new
29356 object to before the relocation.
44f0a71e 29357 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29358 * sysdeps/generic/ldsodefs.h: Update declaration.
29359
076fe015
UD
29360 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29361 string for the scope number.
29362
a60df2c3
UD
293632011-08-14 Ulrich Drepper <drepper@gmail.com>
29364
29365 * nscd/servicescache.c (cache_addserv): Make sure written is always
29366 initialized.
29367
5e4287d1
RM
293682011-08-14 Roland McGrath <roland@hack.frob.com>
29369
85ae0589
RM
29370 * sysdeps/i386/i486/bits/atomic.h
29371 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29372 statement expression, so as to suppress "set but not used" warning.
29373 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29374
69f63097
RM
29375 * string/strncat.c (STRNCAT): Use prototype definition.
29376
675456ef
RM
29377 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29378 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29379 -Iprograms here.
29380 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29381 (localedef-modules): Add localedef.
29382 (locale-modules): Add locale.
29383
5e4287d1
RM
29384 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29385 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29386 to avoid a warning.
29387
9c96ff23
DM
293882011-08-14 David S. Miller <davem@davemloft.net>
29389
29390 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29391 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29392
f9ddf089
UD
293932011-08-13 Ulrich Drepper <drepper@gmail.com>
29394
44f0a71e 29395 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29396 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29397 * elf/rtld.c (dl_main): Set l_name of vDSO.
29398 Call _dl_show_scope when DL_DEBUG_SCOPES.
29399 (process_dl_debug): Recognize scopes flag and also set it for all.
29400 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29401 Declare _dl_show_scope.
29402
1dc27704
UD
29403 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29404 (do_dlopen): Pass caller_dlopen to dl_open.
29405 (__libc_dlopen_mode): Initialize caller_dlopen.
29406
f9ddf089
UD
29407 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29408 of libc. Make tolower call locale-independent. Optimize a bit by
29409 using isdigit instead of isalnum.
29410 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29411
9ac533d3
UD
294122011-08-12 Ulrich Drepper <drepper@gmail.com>
29413
29414 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29415 was a dependency or dynamically loaded.
29416
89edf2e9
UD
294172011-08-11 Ulrich Drepper <drepper@gmail.com>
29418
8e999d29
UD
29419 * intl/l10nflist.c: Allow architecture-specific pop function.
29420 * sysdeps/x86_64/l10nflist.c: New file.
29421
89edf2e9
UD
29422 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29423 classification.
29424
14d96785
AS
294252011-08-10 Andreas Schwab <schwab@redhat.com>
29426
29427 * include/dirent.h: Add libc_hidden_proto for scandirat and
29428 scandirat64. Don't declare __scandirat64.
29429 * dirent/scandirat.c: Add libc_hidden_def.
29430 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29431 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29432
6761ac04
DM
294332011-08-10 David S. Miller <davem@davemloft.net>
29434
29435 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29436 enum.
29437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29438 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29439 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29440
c55fbd1e
UD
294412011-08-09 Ulrich Drepper <drepper@gmail.com>
29442
29443 * Versions.def [libc]: Add GLIBC_2.15.
29444 * dirent/Makefile (routines): Add scandirat and scandirat64.
29445 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29446 GLIBC_2.15.
29447 * dirent/dirent.h: Declare scandirat and scandirat64.
29448 * dirent/scandirat.c: New file.
29449 * dirent/scandirat64.c: New file.
29450 * sysdeps/wordsize-64/scandirat.c: New file.
29451 * sysdeps/wordsize-64/scandirat64.c: New file.
29452 * dirent/opendir.c: Define opendirat.
29453 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29454 using scandirat.
29455 * dirent/scandir64.c: Adjust for scandir.c change.
29456 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29457 __scandirat64, and __scandir_cancel_handler.
29458 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29459 additional parameter and use openat instead of open (outside of ld.so).
29460 Add new __opendir as wrapper around __opendirat.
29461 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29462 here without requiring old scandirat implementation.
29463
879165f2
UD
294642011-08-08 Ulrich Drepper <drepper@gmail.com>
29465
29466 * dirent/scandir.c (cancel_handler): Renamed to
29467 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29468 defined. Adjust users.
29469 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29470 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29471
cb7e923b
UD
294722011-08-04 Ulrich Drepper <drepper@gmail.com>
29473
16292edd
UD
29474 * string/test-string.h (IMPL): Use __STRING to expand name and then
29475 stringify it.
29476
cb7e923b
UD
29477 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29478 of cleanups.
29479
cff82933
LD
294802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29481
29482 * string/Makefile: Update.
29483 (strop-tests): Append strncat.
29484 * string/test-wcscmp.c: New file.
29485 New comprehensive test for wcscmp.
29486 * string/test-strcmp.c: Update.
29487 (WIDE): New define.
29488
9be9bfcc
AS
294892011-07-22 Andreas Schwab <schwab@redhat.com>
29490
29491 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29492 line.
29493
2e96f1c7
AS
294942011-07-26 Andreas Schwab <schwab@redhat.com>
29495
29496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29497 encoding to ACE if AI_IDN.
29498
85188888
JJ
294992011-08-01 Jakub Jelinek <jakub@redhat.com>
29500
29501 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29502 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29503
5fa16e9b
LD
295042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29505
29506 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29507 Fix overflow bug in strncat.
29508 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29509
29510 * string/test-strncat.c: Update.
29511 Add new tests for checking overflow bugs.
29512
295132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29514
29515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29516 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29517 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29518 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29520 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29521 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29522 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29523 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29524
29525 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29526 (USE_AS_STRCAT): Define.
29527 Add strcat and strncat support.
29528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29529
8c1a459f
AS
295302011-07-25 Andreas Schwab <schwab@redhat.com>
29531
29532 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29533 __n bigger than INT_MAX+1.
29534 (__strncmp_g): Likewise.
29535
bba33c28
UD
295362011-07-23 Ulrich Drepper <drepper@gmail.com>
29537
798be72d
UD
29538 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29539 * libio/stido.h: Likewise.
29540
8accd4dc
UD
29541 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29542 (AF_NFC): Define.
29543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29544 (AF_NFC): Define.
29545
cbff0d96
UD
29546 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29547 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29548 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29549 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29551
9191c04a
UD
29552 [BZ #13021]
29553 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29554 installed.
29555
bba33c28
UD
29556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29557 typo.
29558 (_dl_x86_64_save_sse): Likewise.
29559
90f139dd
UD
295602011-07-22 Ulrich Drepper <drepper@gmail.com>
29561
1aae088a
UD
29562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29563 OSXSAVE.
29564 (_dl_x86_64_save_sse): Likewise.
29565
8e2045f5
UD
29566 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29567
90f139dd
UD
29568 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29569
1d002f25
AS
295702011-07-21 Andreas Schwab <schwab@redhat.com>
29571
29572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29573 change.
29574 (_dl_x86_64_save_sse): Use correct AVX check.
29575
21137f89
UD
295762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29577
29578 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29579 bug in strncpy/strncat.
29580 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29581
a65c0b7a
UD
295822011-07-21 Ulrich Drepper <drepper@gmail.com>
29583
29584 * string/tester.c (test_strcat): Add tests for different alignments
29585 of source and destination.
29586 (test_strncat): Likewise.
29587
6986b98a
UD
295882011-07-20 Ulrich Drepper <drepper@gmail.com>
29589
90bb2039
UD
29590 [BZ #12852]
29591 * posix/glob.c (glob): Check passed in values before using them in
29592 expressions to avoid some overflows.
29593 (glob_in_dir): Likewise.
29594
5644ef54
UD
29595 [BZ #13007]
29596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29597 check for AVX enablement so that we don't crash with old kernels and
29598 new hardware.
29599 * elf/tst-audit4.c: Add same checks here.
29600 * elf/tst-audit6.c: Likewise.
29601
29602 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29603
bfc9dc9b
AS
296042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29605
29606 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29607
702e64bb
UD
296082011-07-20 Ulrich Drepper <drepper@gmail.com>
29609
29610 * po/cs.po: Update from translation team.
29611 * po/bg.po: Likewise.
29612
295e904f
MP
296132011-07-12 Marek Polacek <mpolacek@redhat.com>
29614
29615 * misc/sys/cdefs.h: Add support for const attribute.
29616 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29617 to gnu_dev_{major,minor,makedev} functions.
29618
3ff94596
MP
296192011-07-20 Marek Polacek <mpolacek@redhat.com>
29620
29621 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29622
28b59fca
AS
296232011-07-20 Andreas Schwab <schwab@redhat.com>
29624
29625 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29626 strlen results.
29627
19df733e
AK
296282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29629
29630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29631 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29632 register in order to avoid conflicts with the soft frame pointer
29633 being held in r11 when necessary.
29634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29635 (INTERNAL_VSYSCALL_NCS): Likewise.
29636
c8835729
MP
296372011-07-14 Marek Polacek <mpolacek@redhat.com>
29638
29639 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29640 * elf/dl-fini.c (_dl_fini): Adjust caller.
29641 * elf/dl-close.c (_dl_close_worker): Likewise.
29642 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29643
b902330c
MP
296442011-07-15 Marek Polacek <mpolacek@redhat.com>
29645
8991e135
MP
29646 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29647 "aux_cache->nlibs < 0".
29648
b902330c
MP
29649 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29650 in the reload-count case.
29651
99710781
LD
296522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29653
29654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29655 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29656 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29657 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29658 * sysdeps/x86_64/multiarch/strcat.S: New file.
29659 * sysdeps/x86_64/multiarch/strncat.S: New file.
29660 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29661 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29662 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29663 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29664 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29665 (USE_AS_STRCAT): Define.
29666 Add strcat and strncat support.
29667 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29668 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29669 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29670 * string/strncat.c: Update.
29671 (USE_AS_STRNCAT): Define.
29672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29673 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29674 and i7.
29675 * sysdeps/x86_64/multiarch/init-arch.h
29676 (bit_Prefer_PMINUB_for_stringop): New.
29677 (index_Prefer_PMINUB_for_stringop): Likewise.
29678 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29679 bit_Prefer_PMINUB_for_stringop.
29680
7dc6bd90
UD
296812011-07-19 Ulrich Drepper <drepper@gmail.com>
29682
29683 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29684 buffer64.
29685 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29686 of casting of buffer.
29687 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29688 buffer32 and buffer64.
29689 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29690 writes instead of casting of buffer.
29691 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29692 buffer32.
29693 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29694 casting of buffer.
29695
e0e72284
AS
296962011-07-19 Andreas Schwab <schwab@redhat.com>
29697
29698 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29699
feb1eb0b
UD
297002011-07-19 Ulrich Drepper <drepper@gmail.com>
29701
29702 * nscd/nscd.c (termination_handler): Don't do anything for a database
29703 if it has not yet been initialized.
29704
298711ff
UD
297052011-07-18 Ulrich Drepper <drepper@gmail.com>
29706
29707 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29708
297092011-07-15 Marek Polacek <mpolacek@redhat.com>
29710
29711 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29712
f9d68389
UD
297132011-07-18 Ulrich Drepper <drepper@gmail.com>
29714
29715 * po/nl.po: Update from translation team.
29716 * po/sv.po: Likewise.
29717
db290cf5
RM
297182011-07-16 Roland McGrath <roland@hack.frob.com>
29719
29720 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29721 now disallowed by GCC.
5c550700 29722
fd5e21c7
RM
29723 * configure.in (use-default-link): Default to yes if a test -shared
29724 link meets our qualifications.
29725 * configure: Regenerated.
29726
5c550700
RM
29727 * config.make.in (output-format): New variable.
29728 * configure.in: Check for ld --print-output-format support.
29729 * configure: Regenerated.
29730 * Makerules ($(common-objpfx)format.lds)
29731 [$(output-format) != unknown]: Just use $(output-format),
29732 instead of the linker-script munging.
29733
9fa2c032
RM
297342011-07-14 Roland McGrath <roland@hack.frob.com>
29735
a6928d51
RM
29736 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29737 of $(common-objpfx)shlib.lds.
29738 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29739
661607b3
RM
29740 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29741 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29742
9fa2c032
RM
29743 * configure.in (-z relro check): Adjust test code to add a large
29744 writable data section after it.
29745 * configure: Regenerated.
29746
defe9061
RM
297472011-07-11 Roland McGrath <roland@hack.frob.com>
29748
29749 * configure.in (-z relro check): Fix test code to make the variable
29750 truly const.
29751 * configure: Regenerated.
29752
319b9ad4
UD
297532011-07-11 Ulrich Drepper <drepper@gmail.com>
29754
29755 * nscd/nscd.h (struct traced_file): Define.
29756 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29757 elements. Add traced_files.
29758 (inotify_fd): Declare.
29759 (register_traced_file): Declare.
29760 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29761 (inotify_fd): Export.
29762 (resolv_conf_descr): Remove.
29763 (nscd_init): Move inotify descriptor creation to main.
29764 Don't register files for notification here.
29765 (register_traced_file): New function.
29766 (invalidate_cache): Don't use reset_res to determine whether to call
29767 res_init, go through the list of registered files.
29768 (main_loop_poll): The inotify descriptors are now stored in the
29769 structures for the traced files.
29770 (main_loop_epoll): Likewise
29771 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29772 to __nss_disable_nscd.
29773 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29774 for a database anymore. Check the records for all the registered
29775 files instead.
29776 * nss/Makefile (libnss_files-routines): Add files-init.
29777 (libnss_db-routines): Add db-init.
29778 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29779 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29780 * nss/nss_db/db-init.c: New file.
29781 * nss/nss_files/files-init.c: New file.
29782 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29783 __nss_lookup_function.
29784 (__nss_lookup_function): Call nss_load_library.
29785 (nss_load_all_libraries): New function.
29786 (__nss_disable_nscd): Take parameter with callback function for files
29787 to register. Set is_nscd. Load all the DSOs for the NSS modules
29788 used for the cached services.
29789 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29790 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29791 options for features to all the files in nscd.
29792
29793 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29794
23bee3e8
RM
297952011-07-10 Roland McGrath <roland@hack.frob.com>
29796
29797 * csu/elf-init.c (__libc_csu_init): Comment typo.
29798
46a5b7f0
UD
297992011-07-09 Ulrich Drepper <drepper@gmail.com>
29800
29801 * po/pl.po: Update from translation team.
29802 * po/ja.po: Likewise.
29803 * po/ru.po: Likewise.
29804 * po/ko.po: Likewise.
29805 * po/fr.po: Likewise.
29806
d30cf5bb
RM
298072011-07-09 Roland McGrath <roland@hack.frob.com>
29808
113ddea4
RM
29809 * configure.in (.ctors/.dtors header and trailer check):
29810 Use an empirical test on a built program.
29811 * configure: Regenerated.
29812
574920b4
RM
29813 * configure.in (-z relro check): Use an empirical test on a built DSO.
29814 Detect, but do not require, on ia64.
29815 * configure: Regenerated.
29816
d30cf5bb
RM
29817 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29818 Update tests that use readelf to use $READELF instead.
29819 * configure: Regenerated.
29820
8538fdb3
UD
298212011-07-08 Ulrich Drepper <drepper@gmail.com>
29822
29823 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29824 if the result is not used.
29825
04d08991
AJ
298262011-07-05 Andreas Jaeger <aj@suse.de>
29827
29828 [BZ#9696]
29829 * stdlib/tst-strtod.c: Add testcase.
29830
de283087
AD
298312011-07-07 Ulrich Drepper <drepper@gmail.com>
29832
4e5f31c8 29833 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29834 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29835 The latter has a higher limit. Take additional parameter to pass to
29836 the new function.
29837 (__pathconf): Pass file to __statfs_link_max.
29838 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29839 __statfs_link_max.
29840 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29841 __statfs_link_max.
29842
de283087
AD
29843 [BZ #12868]
29844 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29845 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29846 Handle Lustre.
29847 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29848 (__statfs_filesize_max): Likewise.
29849 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29850
c75fa153
AJ
298512011-07-05 Andreas Jaeger <aj@suse.de>
29852
29853 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29854
1a544854
UD
298552011-07-06 Marek Polacek <mpolacek@redhat.com>
29856
29857 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29858 `status' variable.
29859 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29860 Likewise.
29861
6f0eec67
UD
298622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29863
29864 * Makefile (strop-tests): Add strncat.
29865 * string/test-strncat.c: New file.
29866
aae30307
UD
298672011-06-30 Marek Polacek <mpolacek@redhat.com>
29868
29869 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29870
c0cfb5eb
UD
298712011-06-21 Andreas Jaeger <aj@suse.de>
29872
29873 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29874 Copy rule from iconvdata/Makefile.
29875
01636b21
UD
298762011-07-06 Ulrich Drepper <drepper@gmail.com>
29877
29878 [BZ #12922]
29879 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29880 but no long options are defined, just return 'W'.
29881
9895c8bc
UD
298822011-06-22 Marek Polacek <mpolacek@redhat.com>
29883
29884 [BZ #9696]
29885 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29886
5d4cf042
UD
298872011-07-06 Ulrich Drepper <drepper@gmail.com>
29888
29889 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29890 netgroups to read.
960e5535 29891 (innetgr): Likewise.
5d4cf042 29892
751eb97e
RM
298932011-07-05 Roland McGrath <roland@hack.frob.com>
29894
29895 * config.make.in (install_root): Default to $(DESTDIR).
29896
f15f1e45
UD
298972011-07-05 Ulrich Drepper <drepper@gmail.com>
29898
29899 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29900
4e34ac6a
RM
299012011-07-02 Roland McGrath <roland@hack.frob.com>
29902
5e9b6af4
RM
29903 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29904
84f9ea0f
RM
29905 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29906 containing directory rather than embedding absolute directory names.
29907
ea5ee9f7
RM
29908 * scripts/check-local-headers.sh: Rewritten using awk.
29909 Match by word, not by line. Print error messages for matches.
29910 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29911
1b74661a
RM
29912 * Makerules [shlib-lds-flags empty]:
29913 ($(common-objpfx)libc_pic.opts): New target.
29914 ($(common-objpfx)libc_pic.os.clean): New target.
29915 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29916
29917 * config.make.in (OBJCOPY): New variable.
29918 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29919 * configure: Regenerated.
29920
f781ef40
RM
29921 * config.make.in (use-default-link): New variable.
29922 * configure.in (use_default_link): Grok --with-default-link to set it.
29923 * configure: Regenerated.
29924 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29925 (shlib-lds, shlib-lds-flags): Define to empty.
29926
2d4fa81e
RM
29927 * Makerules (shlib-lds): New variable.
29928 (shlib-lds-flags): New variable.
29929 (build-shlib, build-moduile, build-module-asneeded): Use it.
29930 ($(common-objpfx)libc.so): Use $(shlib-lds).
29931 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29932 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29933
31fffa6b
RM
29934 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29935 DT_FLAGS/DT_FLAGS_1 with zero flags.
29936
4e34ac6a
RM
29937 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29938 linker script munging.
29939
fcfc776b
UD
299402011-07-02 Ulrich Drepper <drepper@gmail.com>
29941
29942 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29943 as 128-bit value.
29944 * crypt/sha512.c (sha512_process_block): Perform total addition using
29945 128-bit if possible.
29946 (__sha512_finish_ctx): Likewise.
29947 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29948 as 64-bit value.
29949 * crypt/sha256.c (SWAP64): Define.
29950 (sha256_process_block): Perform total addition using 64-bit if
29951 possible.
29952 (__sha256_finish_ctx): Likewise.
29953
99231d9a
UD
299542011-07-01 Ulrich Drepper <drepper@gmail.com>
29955
29956 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29957 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29958 * nscd/hstcache.c (cache_addhst): Likewise.
29959 * nscd/grpcache.c (cache_addgr): Likewise.
29960 * nscd/aicache.c (addhstaiX): Likewise
29961 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29962
445b4a53
TK
299632011-07-01 Thorsten Kukuk <kukuk@suse.de>
29964
29965 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29967 * nscd/hstcache.c (cache_addhst): Likewise.
29968 * nscd/grpcache.c (cache_addgr): Likewise.
29969 * nscd/aicache.c (addhstaiX): Likewise
29970
6d4d8e8e
AS
299712011-07-01 Andreas Schwab <schwab@redhat.com>
29972
29973 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29974 domain only when needed.
29975
89f654c5
AS
299762011-06-30 Andreas Schwab <schwab@redhat.com>
29977
29978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29979 is always restored.
29980
cf3b23ff
UD
299812011-06-29 Ulrich Drepper <drepper@gmail.com>
29982
29983 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29984 are re-adding the entry.
29985 * nscd/servicescache.c (cache_addserv): Likewise.
29986
751626f9
AJ
299872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29988
29989 * sysdeps/generic/dl-irel.h: fix protection against multiple
29990 inclusions.
29991 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29992
9113ea1f
UD
299932011-06-28 Ulrich Drepper <drepper@gmail.com>
29994
5c0b8d90
UD
29995 [BZ #12935]
29996 * malloc/memusage.sh: Fix quoting in message.
29997 * debug/xtrace.sh: Likewise.
29998
9113ea1f
UD
29999 * configure.in: Remove support for --experimental-malloc option, make
30000 it the default.
30001 * config.make.in: Likewise.
30002 * malloc/Makefile: Likewise.
30003
a4172181
AS
300042011-06-27 Andreas Schwab <schwab@redhat.com>
30005
30006 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30007 two-byte characters.
30008
78a7eee7
RM
300092011-06-27 Roland McGrath <roland@hack.frob.com>
30010
62bede13
RM
30011 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30012 AC_CACHE_CHECK invocation.
30013 * configure: Regenerated.
30014
78a7eee7
RM
30015 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30016
5ce33a62
UD
300172011-06-27 Ulrich Drepper <drepper@gmail.com>
30018
034807a9
UD
30019 [BZ #12350]
30020 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30021 bit from old_res_options.
30022
4902da17
UD
30023 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30024
5ce33a62
UD
30025 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30026 value type for setfct.
30027
c2344f56
L
300282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30029
30030 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30031 __gettimeofday instead of gettimeofday.
30032
68468076
UD
300332011-06-26 Ulrich Drepper <drepper@gmail.com>
30034
30035 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30036
acb0d739
L
300372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30038
30039 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30040
30041 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30042 info.
30043
8912479f
L
300442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30045
30046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30047 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30048 strcpy-sse2-unaligned strncpy-sse2-unaligned
30049 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30050 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30051 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30052 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30053 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30054 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30055 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30056 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30057 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30058 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30059 (STRCPY): Support SSE2 and SSSE3 versions.
30060
d5495a11
UD
300612011-06-24 Ulrich Drepper <drepper@gmail.com>
30062
30063 [BZ #12874]
30064 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30065 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30066 kernels which artificially limit size of requests.
30067
0b1cbaae
L
300682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30069
30070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30071 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30072 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30073 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30074 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30075 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30076 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30077 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30078 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30079 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30080 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30081 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30082 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30083 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30084 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30086 Enable unaligned load optimization for Intel Core i3, i5 and i7
30087 processors.
30088 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30089 Define.
30090 (index_Fast_Unaligned_Load): Define.
30091 (HAS_FAST_UNALIGNED_LOAD): Define.
30092
07f494a0
MP
300932011-06-23 Marek Polacek <mpolacek@redhat.com>
30094
30095 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30096
fa3fc0fe
UD
300972011-06-22 Ulrich Drepper <drepper@gmail.com>
30098
30099 [BZ #12907]
30100 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30101 until it is clear that the information is realy needed.
30102 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30103
e12df166
AS
301042011-06-22 Andreas Schwab <schwab@redhat.com>
30105
30106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30107
852eb34d
UD
301082011-06-22 Ulrich Drepper <drepper@gmail.com>
30109
84e2a551
UD
30110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30111 /sys/devices/system/cpu/online if it is usable.
30112
852eb34d
UD
30113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30114 reading the information from the /proc filesystem to once a second.
30115
6e502e19
UD
301162011-06-21 Andreas Jaeger <aj@suse.de>
30117
30118 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30119 NULL after inclusion of kernel headers.
30120
75d39ff2
UD
301212011-06-21 Ulrich Drepper <drepper@gmail.com>
30122
51f9aa6a
UD
30123 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30124 calls to internal_setent.
30125
c0244a9d
UD
30126 [BZ #12885]
30127 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30128 addresses using gethostbyname4_r ignore IPv4 addresses.
30129
c5e3c2ae
UD
30130 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30131 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30132
75d39ff2
UD
30133 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30134
42675c6f
DM
301352011-06-20 David S. Miller <davem@davemloft.net>
30136
30137 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30138 inclusions.
30139 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30140
30141 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30142 (elf_irel): Use it.
30143 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30144 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30145 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30146 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30147 * sysdeps/x86_64/dl-irel.h: Likewise.
30148
30149 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30150 * elf/dl-sym.c: Likewise.
30151
57912a71
UD
301522011-06-15 Ulrich Drepper <drepper@gmail.com>
30153
30154 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30155 need to dereference resplen2.
30156
ee22793d
AS
301572011-06-14 Andreas Schwab <schwab@redhat.com>
30158
30159 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30160
a9e836b0
UD
301612011-06-15 Ulrich Drepper <drepper@gmail.com>
30162
77fb9117
UD
30163 * Makeconfig: Define vardbdir and inst_vardbdir.
30164 * nss/Makefile: Add rules to install db-Makefile.
30165
40c1b22c
UD
30166 * nss/nss_db/db-XXX.c: Cleanup.
30167
9f2da732
UD
30168 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30169 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30170 GLIBC_PRIVATE.
30171 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30172 * nss/makedb.c: Implement -g option to specify that value strings
30173 are generated and should not be added to table iterated over for
30174 get*ent calls.
30175 * nss/nss_db/db-initgroups.c: New file.
30176
82e9a1f7
UD
30177 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30178 interface.
30179
c41af17e
UD
30180 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30181 (internal_getgrouplist): Adjust to name change.
30182 Update use_initgroups_entry if this is not the first call.
30183 * nss/databases.def: Add initgroups entry.
30184
a9e836b0
UD
30185 * nss/makedb.c (compute_tables): Check result of multiple hash table
30186 sizes to minimize maximum chain length.
30187
2666d441
UD
301882011-06-14 Ulrich Drepper <drepper@gmail.com>
30189
30190 * Versions.def: Add entry for libnss_db.
30191 * shlib-versions: Likewise.
30192 * nss/Makefile: Add rules to build libnss_db.
30193 * nss/Versions: Add libnss_db information. Organize libnss_files
30194 entries better.
30195 * nss/db-Makefile: Add gshadow support. Change rules for the new
30196 makedb progra. Some minor improvements to generate smaller files.
30197 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30198 here from...
30199 * nss/makedb.c: ...here.
30200 Improve database format to be smaller and require less memory at
30201 runtime.
30202 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30203 db anymore.
30204 * nss/nss_db/db-netgrp.c: Likewise.
30205 * nss/nss_db/db-open.c: Likewise.
30206 * nss/nss_files/flies-XXX.x: Adjust comments.
30207 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30208 * nss/nss_files/files-grp.c: Likewise.
30209 * nss/nss_files/files-hosts.c: Likewise.
30210 * nss/nss_files/files-network.c: Likewise.
30211 * nss/nss_files/files-proto.c: Likewise.
30212 * nss/nss_files/files-pwd.c: Likewise.
30213 * nss/nss_files/files-rpc.c: Likewise.
30214 * nss/nss_files/files-service.c: Likewise.
30215 * nss/nss_files/files-sgrp.c: Likewise.
30216 * nss/nss_files/files-spwd.c: Likewise.
30217 * nss/nss_db/db-alias.c: Removed.
30218 * nss/nss_db/dummy-db.h: Removed.
30219
9ee76b5a
UD
302202011-06-02 Ulrich Drepper <drepper@gmail.com>
30221
30222 * nss/makedb.c: Rewritten to not use database library.
30223 * nss/Makefile: Update to build new makedb program.
30224
c71ca1f8
AJ
302252011-06-14 Andreas Jaeger <aj@suse.de>
30226
30227 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30228 memset declaration.
30229
3154bfb8
UD
302302011-06-10 Andreas Schwab <schwab@redhat.com>
30231
30232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30233 tmpbuf.
30234
b350afab
RM
302352011-06-10 Roland McGrath <roland@hack.frob.com>
30236
decd4e50
RM
30237 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30238 * elf/Makefile ($(objpfx)ld.so): Likewise.
30239
5615eaf2
RM
30240 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30241 Don't list ld.so twice in dependencies.
30242
30243 * posix/bug-regex31.c: Include <stdlib.h>.
30244
30245 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30246
30247 * nis/nss_compat/compat-spwd.c
30248 (getspent_next_nss_netgr): Remove unused variable.
30249 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30250
30251 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30252 nonmembers" output to use the right array.
30253
30254 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30255
30256 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30257
30258 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30259 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30260 * catgets/gencat.c (read_input_file): Likewise.
30261 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30262
30263 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30264 variable definition inside #if's controlling its use.
30265
30266 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30267
30268 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30269
30270 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30271
30272 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30273 unreachable code.
30274
30275 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30276
b68e08db
RM
30277 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30278 * configure: Regenerated.
30279
b350afab
RM
30280 * Makerules: Revert last change.
30281 * elf/Makefile: Likewise.
30282
28368601
RM
302832011-06-09 Roland McGrath <roland@hack.frob.com>
30284
30285 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30286 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30287 (reloc-link): Likewise.
30288
11988f8f
UD
302892011-06-09 Ulrich Drepper <drepper@gmail.com>
30290
30291 * elf/Makefile: Add rules to build pldd.
30292 * elf/pldd.c: New file.
30293 * elf/pldd-xx.c: New file.
30294
e80fab37
UD
302952011-06-07 Ulrich Drepper <drepper@gmail.com>
30296
30297 * version.h: Update for 2.15 development version.
30298
9b849836
DM
302992011-06-07 David S. Miller <davem@davemloft.net>
30300
30301 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30302 ifuncs.
30303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30304 elf_machine_lazy_rel): Likewise.
30305 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30307 elf_machine_lazy_rel): Likewise.
30308 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30309 dl_hwcap via passed in argument.
30310 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30311 Likewise.
30312
5a31b283
AK
303132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30314
30315 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30316
069e52f8
RM
303172011-06-06 Roland McGrath <roland@hack.frob.com>
30318
30319 [BZ #12849]
30320 * manual/fdl-1.1.texi: New file, verbatim from:
30321 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30322 * manual/lgpl-2.1.texi: New file, verbatim from:
30323 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30324 * manual/Makefile (licenses): New variable, list those new file names.
30325 (texis): Use it.
30326 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30327
30328 * manual/fdl.texi: File removed.
30329 * manual/lesser.texi: File removed.
30330 * manual/libc.texinfo (Copying, Documentation License):
30331 Use new @include file names, put @appendix directive before @include.
30332
f16846a5
JJ
303332011-06-04 Jakub Jelinek <jakub@redhat.com>
30334
30335 [BZ #12841]
30336 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30337 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30338 (mq_open): Add __NTH.
30339
3d29045b
L
303402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30341
30342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30343 Assume Intel Core i3/i5/i7 processor if AVX is available.
30344
8c297311
UD
303452011-05-31 Ulrich Drepper <drepper@gmail.com>
30346
30347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30348 typo.
30349
c8fc0c91
UD
303502011-05-31 Andreas Schwab <schwab@redhat.com>
30351
30352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30353 memory. Use alloca_account. Fix memory leak when retrying.
30354
5b27a807
UD
303552011-05-31 Ulrich Drepper <drepper@gmail.com>
30356
356f8bc6
UD
30357 * version.h (RELEASE): Bump for 2.14 release.
30358 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30359
5b27a807
UD
30360 * config.make.in (RANLIB): Remove entry.
30361
01f16ab0
UD
303622011-05-30 Ulrich Drepper <drepper@gmail.com>
30363
41fce8bd
UD
30364 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30365 (libc.pot): Work around missing support for .ksh extension in xgettext.
30366
4769ae77
UD
30367 [BZ #12684]
30368 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30369 if both request failed.
30370 (send_dg): In case of server errors clear resplen or *resplen2.
30371
6b1e7d19
UD
30372 [BZ #12454]
30373 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30374 when there are multiple maps.
30375 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30376 (_dl_fini): Remove test here.
30377
01f16ab0
UD
30378 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30379
b1ebd700
UD
303802011-05-29 Ulrich Drepper <drepper@gmail.com>
30381
7ae22829
UD
30382 [BZ #12350]
30383 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30384 bit from old_res_options.
30385 (gaih_inet): Likewise.
30386
553149f6 30387 [BZ #11099]
18a84741 30388 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30389 as signed.
30390
652ffab1
UD
30391 * resolv/res_init.c (res_setoptions): Make the code more compact.
30392
16985fd0
UD
30393 [BZ #11558]
30394 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30395 set RES_USEVC.
30396
0464f746
UD
30397 [BZ #11634]
30398 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30399
7d17596c
UD
30400 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30401
cf6bbbd7
UD
30402 [BZ #11781]
30403 * malloc/malloc.h: Declare malloc hook variables as volatile.
30404
13f1ab36
UD
30405 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30406 in last patch.
30407
b1ebd700
UD
30408 [BZ #11799]
30409 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30410 raise in the comment.
80e2212d
UD
30411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30413 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30414
ce67228d
UD
304152011-05-28 Ulrich Drepper <drepper@gmail.com>
30416
8887a920
UD
30417 [BZ #12811]
30418 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30419 grow the buffers more if it already has to be sufficient.
30420 (build_wcs_upper_buffer): Likewise.
30421 * posix/regexec.c (check_matching): Likewise.
30422 (clean_state_log_if_needed): Likewise.
30423 (extend_buffers): Don't enlarge buffers beyond size of the input
30424 buffer.
30425 Patches mostly by Emil Wojak <emil@wojak.eu>.
30426 * posix/bug-regex32.c: New file.
30427 * posix/Makefile (tests): Add bug-regex32.
30428
4f031072
UD
30429 * locale/findlocale.c (_nl_find_locale): Return right away if
30430 _nl_explode_name failed.
30431 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30432
d0478f0c
UD
30433 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30434
de81b246
UD
30435 * debug/xtrace.sh: Unify messages.
30436 * malloc/memusage.sh: Likewise.
30437
c738465a
UD
30438 [BZ #12813]
30439 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30440 time symbol from vDSO. Substitute with vsyscall if not available.
30441 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30442 __vdso_time.
30443
f1f929d7
UD
30444 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30445 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30446 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30447 Add sendmmsg and internal_sendmmsg.
30448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30449 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30451
ce67228d
UD
30452 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30453 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30454 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30455
e57420c6
UD
304562011-05-27 Ulrich Drepper <drepper@gmail.com>
30457
a8509ca5
UD
30458 [BZ #12813]
30459 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30460 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30461 available.
30462 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30463 __vdso_getcpu.
30464
e57420c6
UD
30465 [BZ #12814]
30466 * iconvdata/Makefile (tests): Add bug-iconv9.
30467 * iconvdata/bug-iconv9.c: New file.
30468
4d07db15
AS
304692011-05-27 Andreas Schwab <schwab@redhat.com>
30470
30471 [BZ #12814]
30472 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30473
ea486f69
JJ
304742011-05-25 Jakub Jelinek <jakub@redhat.com>
30475
30476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30477 (struct user_regs_struct): Change intcs field back to cs.
30478
6f038433
UD
304792011-05-25 Ulrich Drepper <drepper@gmail.com>
30480
30481 * po/ja.po: Update from translation team.
30482
67f86a25
UD
304832011-05-23 Ulrich Drepper <drepper@gmail.com>
30484
30485 [BZ #12795]
30486 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30487 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30488
def7fbd6
AS
304892011-05-20 Andreas Schwab <schwab@redhat.com>
30490
30491 * stdlib/longlong.h: Update from GCC.
30492
f50ef8f1
AS
304932011-05-23 Andreas Schwab <schwab@redhat.com>
30494
30495 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30496 parameter name.
30497 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30498 Add parameter name.
30499 (__sysconf): Pass it down.
30500
de7ce8f1
UD
305012011-05-22 Ulrich Drepper <drepper@gmail.com>
30502
f2962a71
UD
30503 [BZ #12671]
30504 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30505 some situations.
30506 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30507 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30508 add in in __libc_use_alloca calls. Adjust callers.
30509 (glob): Use malloc in some situations.
30510
de7ce8f1
UD
30511 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30512 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30513 pltexit.
30514
aec84f53
UD
305152011-05-21 Ulrich Drepper <drepper@gmail.com>
30516
05bb4a68
UD
30517 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30518 and CLOCK_BOOTTIME_ALARM.
30519
7ea72f99
UD
30520 [BZ #12782]
30521 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30522 is returned.
30523
7e4afad5
UD
30524 * string/_strerror.c (__strerror_r): Print negative errors as signed
30525 numbers.
30526
8e211fec
UD
30527 [BZ #12777]
30528 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30529 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30530 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30531
f7d82dc9
UD
30532 * configure.in: Fix typo in redirection and correct removal of test
30533 files in two cases.
30534
cc9e536d
UD
30535 [BZ #12788]
30536 * locale/setlocale.c (new_composite_name): Fix test to check for
30537 identical name of all categories.
30538
aec84f53
UD
30539 [BZ #12792]
30540 * libio/filedoalloc.c (local_isatty): New function.
30541 (_IO_file_doallocate): Use local_isatty.
30542 * stdio-common/perror.c (perror): In case a new stream is used
30543 forward the stream error.
30544 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30545 error flag.
30546
78e64fdc
RT
305472011-05-20 Ulrich Drepper <drepper@gmail.com>
30548
34a9094f
UD
30549 [BZ #11869]
30550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30551 alloca.
30552 * include/alloca.h (extend_alloca_account): Define.
30553
78e64fdc
RT
30554 [BZ #11857]
30555 * posix/regex.h: Fix comments with documentation of user-accessible
30556 fields after compilation and describe correct free'ing of pattern
30557 after re_compile_pattern.
30558 Patch by Reuben Thomas <rrt@sc3d.org>.
30559
457bddfc
RA
305602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30561
30562 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30563 and -mno-altivec to prevent the compiler from using Altivec and/or
30564 VSX instructions when the corresponding registers are not available.
30565
a4527b51
AS
305662011-05-19 Andreas Schwab <schwab@redhat.com>
30567
30568 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30569
ed690b2f
UD
305702011-05-19 Ulrich Drepper <drepper@gmail.com>
30571
30572 * libio/freopen.c (freopen): Use __dup2, not dup2.
30573 * libio/freopen64.c (freopen64): Likewise.
30574
8db73634
L
305752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30576
30577 [BZ #12775]
30578 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30579 * math/Makefile (tests): Add test-powl.
30580 (CFLAGS-test-powl.c): Define.
30581 * math/test-powl.c: New file.
30582
0a197a9d
L
305832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30584
30585 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30586
ee30c380
UD
305872011-05-17 Ulrich Drepper <drepper@gmail.com>
30588
30589 [BZ #11837]
30590 * iconvdata/gb18030.c: Update to GB18020-2005.
30591
6ce75379
UD
305922011-05-16 Ulrich Drepper <drepper@gmail.com>
30593
a4b89fd8
AR
30594 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30595 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30596 Patch by Aharon Robbins <arnold@skeeve.com>.
30597
ea389b12
UD
30598 [BZ #11892]
30599 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30600 on the stack.
30601
68a3f91f
UD
30602 [BZ #11895]
30603 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30604 through underflows.
30605
15cc7dd1
UD
30606 [BZ #12766]
30607 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30608 point to strings before performing equality test for error_one_per_line
30609 mode.
30610
f3799213
UD
30611 [BZ #11697]
30612 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30613
d79a9c94
UD
30614 [BZ #11820]
30615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30616 (struct user_fpregs_struct): Avoid __uint*_t types.
30617
56e5eb46
UD
30618 [BZ #6420]
30619 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30620 symbol info. Use it instead of calling _dl_addr locally.
30621 (lock_and_info): New function.
30622 (tr_freehook): Call lock_and_info and pass symbol info as additional
30623 parameter to tr_where.
30624 (tr_mallochook): Likewise.
30625 (tr_reallochook): Likewise.
30626 (tr_memalignhook): Likewise.
30627
6ce75379
UD
30628 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30629 used and couldn't be at all thread-safe.
30630
f8a3b5bf
UD
306312011-05-15 Ulrich Drepper <drepper@gmail.com>
30632
94b7cc37
UD
30633 * libio/freopen.c (freopen): Don't close old file descriptor
30634 before the new one is opened. Instead dup the new file descriptor
30635 to the old one after the new stream is created.
30636 * libio/freopen64.c (freopen64): Likewise.
30637 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30638 * libio/fileops.c (_IO_new_file_close_it): Handle new
30639 _IO_FLAGS2_NOCLOSE flag.
30640 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30641 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30642 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30643 _IO_FLAGS2_NOCLOSE flag.
30644 * include/unistd.h: Add hidden_proto for dup3.
30645 Define __have_dup3.
30646 * io/dup3.c: Define hidden symbol.
30647 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30648
bd25564e
UD
30649 [BZ #7101]
30650 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30651 when an incomplete long option is used.
30652 * posix/tst-getopt_long1.c: New file.
30653 * posix/Makefile (tests): Add tst-getopt_long1.
30654
c84cfef4
UD
30655 [BZ #10138]
30656 * scripts/config.guess: Update from autoconf-2.68.
30657 * scripts/config.sub: Likewise.
30658
3b85df27
UD
30659 [BZ #10157]
30660 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30661 tests into ...
30662 (has_cpuclock): ...this. New function.
30663 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30664 macro here based on has_cpuclock code.
30665
15a856b1
UD
30666 [BZ #10149]
30667 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30668 First byte (not low byte) is now always NUL.
30669 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30670
05f399e6
UD
30671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30672 Use non-cancelable interfaces.
30673
10a52685 30674 [BZ #9809]
94ecc67d
UD
30675 * locale/iso-639.def: Add entry for Sorani.
30676
f8a3b5bf
UD
30677 [BZ #11901]
30678 * include/stdlib.h: Move include protection to the right place.
30679 Define abort_msg_s. Declare __abort_msg with it.
30680 * stdlib/abort.c (__abort_msg): Adjust type.
30681 * assert/assert.c (__assert_fail_base): New function. Majority
30682 of code from __assert_fail. Allocate memory for __abort_msg with
30683 mmap.
30684 (__assert_fail): Now call __assert_fail_base.
30685 * assert/assert-perr.c: Remove bulk of implementation. Use
30686 __assert_fail_base.
30687 * include/assert.hL Declare __assert_fail_base.
30688 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30689 mmap.
30690 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30691
1af4e298
UD
306922011-05-14 Ulrich Drepper <drepper@gmail.com>
30693
f8a3b5bf 30694 [BZ #11952]
d26dfc60
MG
30695 [BZ #12453]
30696 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30697 until all modules are registered in the DTV.
30698 * elf/Makefile: Add rules to build and run tst-tls19.
30699 * elf/tst-tls19.c: New file.
30700 * elf/tst-tls19mod1.c: New file.
30701 * elf/tst-tls19mod2.c: New file.
30702 * elf/tst-tls19mod3.c: New file.
30703 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30704
2fc54d6f
UD
30705 [BZ #12083]
30706 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30707 correctly.
30708
98d76b46
UD
30709 [BZ #12601]
30710 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30711 two-byte sequence errors.
30712 * iconvdata/Makefile (tests): Add bug-iconv8.
30713 * iconvdata/bug-iconv8.c: New file.
30714
da3c19ef
UD
30715 [BZ #12626]
30716 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30717 buf2 definition.
30718
ca408c15
UD
30719 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30720
d6f67f7d
UD
30721 [BZ #12432]
30722 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30723 (dummy_getcfa): New function.
30724 (init): Get _Unwind_GetCFA address, use dummy if not found.
30725 (backtrace_helper): In recursion check, also check whether CFA changes.
30726 (__backtrace): Completely initialize arg.
30727
1af4e298 30728 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30729 storing incomplete byte sequence in state object. Avoid testing for
30730 guaranteed too small input if we know there is enough data available.
1af4e298 30731
da62f81b
AS
307322011-05-11 Andreas Schwab <schwab@redhat.com>
30733
30734 * Makeconfig (+link-pie): Indent.
30735 * Rules (binaries-pie): Define if $(have-fpie) and
30736 $(build-shared).
30737 (binaries-shared): Also filter out $(binaries-pie).
30738 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30739 * nscd/Makefile (others-pie): Add nscd.
30740 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30741 ($(objpfx)nscd): Remove command override.
30742 * login/Makefile (others-pie): Add pt_chown.
30743 ($(objpfx)pt_chown): Remove command override.
30744 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30745 remove command overrides.
30746
fcabc0f8
UD
307472011-05-13 Ulrich Drepper <drepper@gmail.com>
30748
20030ae6
UD
30749 * libio/tst_putwc.c: Fix error messages.
30750
fcabc0f8
UD
30751 [BZ #12724]
30752 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30753 currently writing and seek to current position when not.
30754 * libio/Makefile (tests): Add bug-fclose1.
30755 * libio/bug-fclose1.c: New file.
30756
320a5dc0
PB
307572011-05-12 Ulrich Drepper <drepper@gmail.com>
30758
30759 [BZ #12511]
30760 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30761 don't set DF_1_NODELETE here.
30762 (do_lookup_x): When entering new entry test for copy relocation
30763 and if necessary set DF_1_NODELETE flag.
30764 * elf/tst-unique4.cc: New file.
30765 * elf/tst-unique4.h: New file.
30766 * elf/tst-unique4lib.cc: New file.
30767 * elf/Makefile: Add rules to build and run tst-unique4.
30768 Patch by Piotr Bury <pbury@goahead.com>.
30769
22836f52
UD
307702011-05-11 Ulrich Drepper <drepper@gmail.com>
30771
f574184a
UD
30772 [BZ #12052]
30773 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30774
e1fb097f
UD
30775 [BZ #12625]
30776 * misc/mntent_r.c (addmntent): Flush the stream after the output
30777
22836f52
UD
30778 [BZ #12393]
30779 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30780 (is_trusted_path_normalize): Skip initial colon. Append slash
30781 to empty buffer. Duplicate is_trusted_path code but allow
30782 constructed patch to be prefix.
30783 (is_dst): Allow $ORIGIN followed by /.
30784 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30785 Correct testing of result of is_trusted_path_normalize
30786 (decompose_rpath): Fix warning.
30787
7b3b0b2a
UD
307882011-05-10 Ulrich Drepper <drepper@gmail.com>
30789
30790 [BZ #11257]
30791 * grp/initgroups.c (internal_getgrouplist): When we found the service
30792 list through the initgroups entry in nsswitch.conf do not always
30793 continue on a successful lookup. Don't always use the
eac80ce2 30794 __nss_group_database value if it is set.
7b3b0b2a
UD
30795 * nss/nsswitch.conf (initgroups): Change action for successful db
30796 lookup to continue for compatibility.
30797
2a81eaa5
UD
307982011-05-09 Ulrich Drepper <drepper@gmail.com>
30799
be97a69e
UD
30800 [BZ #11532]
30801 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30802 and CP774 modules.
30803 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30804 and CP774 modules.
30805 * iconvdata/tst-tables.sh: Likewise.
30806 * iconvdata/cp770.c: New file.
30807 * iconvdata/cp771.c: New file.
30808 * iconvdata/cp772.c: New file.
30809 * iconvdata/cp773.c: New file.
30810 * iconvdata/cp774.c: New file.
30811 * iconvdata/testdata/CP770: New file.
30812 * iconvdata/testdata/CP770..UTF8: New file.
30813 * iconvdata/testdata/CP771: New file.
30814 * iconvdata/testdata/CP771..UTF8: New file.
30815 * iconvdata/testdata/CP772: New file.
30816 * iconvdata/testdata/CP772..UTF8: New file.
30817 * iconvdata/testdata/CP773: New file.
30818 * iconvdata/testdata/CP773..UTF8: New file.
30819 * iconvdata/testdata/CP774: New file.
30820 * iconvdata/testdata/CP774..UTF8: New file.
30821
30822 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30823 END CHARMAP line.
30824 * iconvdata/gen-8bit-gap.sh: Likewise.
30825 * iconvdata/gen-8bit.sh: Likewise.
30826
c1e9e399
UD
30827 * locale/iso-639.def: Add ary entry.
30828
24c55fb3 30829 [BZ #11258]
96b4b1b0
UD
30830 * locale/C-translit.h.in: Add U20A1 transliteration.
30831
bdc2f971
KB
30832 [BZ #12178]
30833 * locale/iso-639.def: Add wae entry.
30834 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30835
2952b117
UD
30836 [BZ #12545]
30837 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30838 for n.
30839
2a81eaa5
UD
30840 [BZ #12711]
30841 * locale/C-translit.h.in: Add entry for U20B9.
30842 Patch by pravin.d.s@gmail.com.
30843
28377d1b
UD
308442011-05-08 Ulrich Drepper <drepper@gmail.com>
30845
7fb90fb8
UD
30846 [BZ #12713]
30847 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30848 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30849 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30850 in rtld. Use *stat64.
7fb90fb8 30851 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30852 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30853 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30854 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30855 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30856 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30857 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30858 __fstatat64 macros.
7fb90fb8
UD
30859 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30860 * dirent/rewinddir.c: Add libc_hidden_def.
30861 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30862 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30863
28377d1b
UD
30864 * include/dirent.h (__alloc_dir): Add flags parameter.
30865 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30866 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30867 __alloc_dir.
30868 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30869 from fdopendir if O_CLOEXEC is already set.
30870
66bdbaa4
AM
308712011-03-15 Alan Modra <amodra@gmail.com>
30872
30873 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30874 l_tls_firstbyte_offset non-zero. Save padding offset in
30875 l_tls_firstbyte_offset for later use.
30876 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30877 freeing static tls block.
30878
95721191
JN
308792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30880
30881 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30882 where #ifdef was intended. The intent is to prevent ARG_MAX from
30883 being defined by the kernel headers.
30884
f87dfb1f
UD
308852011-05-07 Ulrich Drepper <drepper@gmail.com>
30886
30887 [BZ #12734]
30888 * resolv/resolv.h: Define RES_NOTLDQUERY.
30889 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30890 no-tld-query and set RES_NOTLDQUERY.
30891 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30892 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30893 modern BIND to search name as TLD unless forbidden.
30894
47c3cd7a
UD
308952011-05-07 Petr Baudis <pasky@suse.cz>
30896 Ulrich Drepper <drepper@gmail.com>
30897
30898 [BZ #12393]
30899 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30900 (is_trusted_path): ...to here.
c1e9ea35 30901 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30902 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30903 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30904
8a35c912
PP
309052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30906
30907 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30908 __BEGIN/__END_DECLS.
30909
acd41f47
UD
309102011-05-06 Ulrich Drepper <drepper@gmail.com>
30911
30912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30913 NSS_STATUS_NOTFOUND if no record was found.
30914
597df647
AS
309152011-05-05 Andreas Schwab <schwab@redhat.com>
30916
30917 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30918 (headers-not-in-tirpc): Remove rpc/netdb.h
30919 * resolv/netdb.h: Revert last change.
30920
b9af1301
PP
309212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30922
30923 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30924 circular dependency between libgcc.a and libc.a.
30925
4e34d5f5
AS
309262011-05-05 Andreas Schwab <schwab@redhat.com>
30927
30928 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30929 * nis/Makefile: Don't install rpcsvc/*.
30930 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30931 instead of <rpc/types.h>.
30932 (MAXHOSTNAMELEN): Define.
30933
00ee369c
AS
309342011-05-03 Andreas Schwab <schwab@redhat.com>
30935
30936 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30937
0b592a30
MB
309382011-04-28 Maciej Babinski <mbabinski@google.com>
30939
30940 [BZ #12714]
30941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30942 gethostbyname4_r when IPv6 results are possible.
30943
6e04cbbe
UD
309442011-05-02 Ulrich Drepper <drepper@gmail.com>
30945
30946 [BZ #12723]
30947 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30948 _PC_PIPE_BUF handling.
30949
e4ecafe0
BH
309502011-04-30 Bruno Haible <bruno@clisp.org>
30951
30952 [BZ #12717]
30953 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30954 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30955 to 'int'.
30956 * inet/getnameinfo.c (getnameinfo): Likewise.
30957
125ee683
UD
309582011-04-29 Ulrich Drepper <drepper@gmail.com>
30959
30960 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30961 to groups setting in database lookup.
30962 * nss/nsswitch.conf: Add initgroups entry.
30963
b722481a
EB
309642011-04-22 Ulrich Drepper <drepper@gmail.com>
30965
30966 [BZ #12685]
30967 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30968 mode string.
30969 Patch by Eric Blake <eblake@redhat.com>.
30970
4df46dbd
L
309712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30972
30973 * sunrpc/Makefile (need-export-routines): Add svc_run.
30974 (routines): Remove svc_run.
30975 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30976 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30977 * sunrpc/svc_run.c (svc_run): Likewise.
30978 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30979
e84142d2
UD
309802011-04-21 Ulrich Drepper <drepper@gmail.com>
30981
30982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30983 problem in reallocation in last patch.
30984
877175d8
UD
309852011-04-20 Ulrich Drepper <drepper@gmail.com>
30986
30987 * sunrpc/Makefile: Move inclusion of Rules.
30988
ab8eed78
UD
309892011-04-19 Ulrich Drepper <drepper@gmail.com>
30990
30991 * nss/nss_files/files-initgroups.c: New file.
30992 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30993 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30994 _nss_files_initgroups_dyn.
30995
e3d8f584
RS
309962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30997
30998 * elf/elf.h (R_ARM_IRELATIVE): Define.
30999
af190f45
UD
310002011-04-19 Ulrich Drepper <drepper@gmail.com>
31001
31002 * po/ru.po: Update from translation team.
31003
53cf59ef
UD
310042011-04-17 Ulrich Drepper <drepper@gmail.com>
31005
31006 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31007 dependencies.
31008
4c559bcd
MF
310092011-02-06 Mike Frysinger <vapier@gentoo.org>
31010
31011 [BZ #12653]
31012 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31013 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31014 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31015 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31016 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31017
4420675c
AS
310182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31019
31020 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31021 differing bytes.
31022 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31025
75ea32ab
UD
310262011-04-17 Ulrich Drepper <drepper@gmail.com>
31027
31028 [BZ #12420]
31029 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31030 storing it.
31031 * stdlib/bug-getcontext.c: New file.
31032 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31033
27390476
AK
310342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31035
31036 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31037 instructions into .machine "z9-109".
31038 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31039 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31040
10442705
AK
310412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31042
31043 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31044 between environment variables and auxiliary vector.
31045
7b57bfe5
UD
310462011-04-16 Ulrich Drepper <drepper@gmail.com>
31047
31048 * Makefile: Add rules to build linkobj/libc.so.
31049 * include/libc-symbols.h: Define libc_hidden_nolink.
31050 * include/rpc/auth.h: Mark functions which are to be hidden.
31051 * include/rpc/auth_des.h: Likewise.
31052 * include/rpc/auth_unix.h: Likewise.
31053 * include/rpc/clnt.h: Likewise.
31054 * include/rpc/des_crypt.h: Likewise.
31055 * include/rpc/key_prot.h: Likewise.
31056 * include/rpc/pmap_clnt.h: Likewise.
31057 * include/rpc/pmap_prot.h: Likewise.
31058 * include/rpc/pmap_rmt.h: Likewise.
31059 * include/rpc/rpc_msg.h: Likewise.
31060 * include/rpc/svc.h: Likewise.
31061 * include/rpc/svc_auth.h: Likewise.
31062 * include/rpc/xdr.h: Likewise.
31063 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31064 * nss/Makefile: Likewise.
31065 * sunrpc/Makefile: Don't install headers. Build library with normal
31066 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31067 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31068 for the compat linking library. Remove use of INTDEF/INTUSE.
31069 * sunrpc/auth_none.c: Likewise.
31070 * sunrpc/auth_unix.c: Likewise.
31071 * sunrpc/authdes_prot.c: Likewise.
31072 * sunrpc/authuxprot.c: Likewise.
31073 * sunrpc/clnt_gen.c: Likewise.
31074 * sunrpc/clnt_perr.c: Likewise.
31075 * sunrpc/clnt_raw.c: Likewise.
31076 * sunrpc/clnt_simp.c: Likewise.
31077 * sunrpc/clnt_tcp.c: Likewise.
31078 * sunrpc/clnt_udp.c: Likewise.
31079 * sunrpc/clnt_unix.c: Likewise.
31080 * sunrpc/des_crypt.c: Likewise.
31081 * sunrpc/des_soft.c: Likewise.
31082 * sunrpc/get_myaddr.c: Likewise.
31083 * sunrpc/key_call.c: Likewise.
31084 * sunrpc/key_prot.c: Likewise.
31085 * sunrpc/netname.c: Likewise.
31086 * sunrpc/pm_getmaps.c: Likewise.
31087 * sunrpc/pm_getport.c: Likewise.
31088 * sunrpc/pmap_clnt.c: Likewise.
31089 * sunrpc/pmap_prot.c: Likewise.
31090 * sunrpc/pmap_prot2.c: Likewise.
31091 * sunrpc/pmap_rmt.c: Likewise.
31092 * sunrpc/publickey.c: Likewise.
31093 * sunrpc/rpc_cmsg.c: Likewise.
31094 * sunrpc/rpc_common.c: Likewise.
31095 * sunrpc/rpc_dtable.c: Likewise.
31096 * sunrpc/rpc_prot.c: Likewise.
31097 * sunrpc/rpc_thread.c: Likewise.
31098 * sunrpc/rtime.c: Likewise.
31099 * sunrpc/svc.c: Likewise.
31100 * sunrpc/svc_auth.c: Likewise.
31101 * sunrpc/svc_authux.c: Likewise.
31102 * sunrpc/svc_raw.c: Likewise.
31103 * sunrpc/svc_run.c: Likewise.
31104 * sunrpc/svc_simple.c: Likewise.
31105 * sunrpc/svc_tcp.c: Likewise.
31106 * sunrpc/svc_udp.c: Likewise.
31107 * sunrpc/svc_unix.c: Likewise.
31108 * sunrpc/svcauth_des.c: Likewise.
31109 * sunrpc/xcrypt.c: Likewise.
31110 * sunrpc/xdr.c: Likewise.
31111 * sunrpc/xdr_array.c: Likewise.
31112 * sunrpc/xdr_float.c: Likewise.
31113 * sunrpc/xdr_intXX_t.c: Likewise.
31114 * sunrpc/xdr_mem.c: Likewise.
31115 * sunrpc/xdr_rec.c: Likewise.
31116 * sunrpc/xdr_ref.c: Likewise.
31117 * sunrpc/xdr_sizeof.c: Likewise.
31118 * sunrpc/xdr_stdio.c: Likewise.
31119
e6c61494
UD
311202011-04-10 Ulrich Drepper <drepper@gmail.com>
31121
31122 [BZ #12650]
31123 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31124 * sysdeps/ia64/dl-tls.h: Likewise.
31125 * sysdeps/powerpc/dl-tls.h: Likewise.
31126 * sysdeps/s390/dl-tls.h: Likewise.
31127 * sysdeps/sh/dl-tls.h: Likewise.
31128 * sysdeps/sparc/dl-tls.h: Likewise.
31129 * sysdeps/x86_64/dl-tls.h: Likewise.
31130 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31131
34fe483e
AS
311322011-03-14 Andreas Schwab <schwab@redhat.com>
31133
31134 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31135 rpath element also skip the following colon.
31136 (expand_dynamic_string_token): Add is_path parameter and pass
31137 down to DL_DST_REQUIRED and _dl_dst_substitute.
31138 (decompose_rpath): Call expand_dynamic_string_token with
31139 non-zero is_path. Ignore empty rpaths.
31140 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31141 with zero is_path.
31142
f12a32e6
AS
311432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31144
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31146 Make cancelable.
31147
38a7d692
UD
311482011-04-09 Ulrich Drepper <drepper@gmail.com>
31149
31150 [BZ #12655]
31151 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31152 Patch by Filipe David Manana <fdmanana@apache.org>.
31153
e451d22b
AS
311542011-04-07 Andreas Schwab <schwab@redhat.com>
31155
31156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31157 Maintain aligned stack.
31158 (CHECK_RSP): Remove unused macro.
31159
dedc7c7b
UD
311602011-04-03 Ulrich Drepper <drepper@gmail.com>
31161
31162 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31163 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31164
94521213
UD
311652011-04-02 Ulrich Drepper <drepper@gmail.com>
31166
31167 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31168
8cb700c0 31169 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31170
0354e355
L
311712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31172
31173 [BZ #12518]
31174 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31175 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31176 * sysdeps/x86_64/memmove.c: New file.
31177 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31178 (memcpy): Renamed to ...
31179 (__new_memcpy): This.
31180 (memcpy): Provide GLIBC_2_14 memcpy.
31181 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31182 (memcpy): Provide GLIBC_2_2_5 memcpy.
31183
8593482f
UD
311842011-04-01 Ulrich Drepper <drepper@gmail.com>
31185
31186 [BZ #12631]
31187 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31188
81a5726b
AS
311892011-03-30 Andreas Schwab <schwab@redhat.com>
31190
31191 * misc/syncfs.c: New file.
31192 * misc/Makefile (routines): Add syncfs.
31193 * posix/unistd.h: Declare syncfs.
31194 * sysdeps/unix/syscalls.list: Add syncfs.
31195
00e5419f
AS
311962011-04-01 Andreas Schwab <schwab@redhat.com>
31197
31198 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31199 open_by_handle_at.
31200 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31201 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31203 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31205 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31207
748876bf
UD
312082011-04-01 Ulrich Drepper <drepper@gmail.com>
31209
658e451d
UD
31210 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31211 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31212 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31217
748876bf
UD
31218 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31219 sync_file_range.c with -fexceptions.
31220 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31221 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31222 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31223 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31224 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31225 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31227 sync_file_range as cancellation point
31228 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31229 now a wrapper around __call_sync_file_range with cancellation handling.
31230 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31231 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31232 function name to __call_sync_file_range.
31233 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31234 Add call_sync_file_range.
748876bf 31235
6e63d5e1
AS
312362011-04-01 Andreas Schwab <schwab@redhat.com>
31237
31238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31239 bits/timex.h.
6e63d5e1 31240
46998f74
UD
312412011-04-01 Ulrich Drepper <drepper@gmail.com>
31242
4c1423ed
UD
31243 * iconv/iconv.h: Fix typo in comment.
31244 * io/fcntl.h: Likewise.
31245 * libio/stdio.h: Likewise.
31246 * posix/spawn.h: Likewise.
31247 * posix/unistd.h: Likewise.
31248 * stdlib/stdlib.h: Likewise.
31249 * time/time.h: Likewise.
31250 * wcsmbs/wchar.h: Likewise.
31251
158648c0
UD
31252 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31253 open_by_handle): Add.
31254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31255 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31256 Augment a few comments.
31257 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31259 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31262 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31263 open_by_handle.
31264
46998f74
UD
31265 * io/fcntl.h (AT_EMPTY_PATH): Define.
31266
83fe108b
UD
312672011-03-30 Ulrich Drepper <drepper@gmail.com>
31268
31269 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31270 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31271 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31272 to...
31273 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31274 * Versions.def: Add GLIBC_2.14.
31275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31276 Export.
83fe108b 31277
bb242059
UD
312782011-03-22 Ulrich Drepper <drepper@gmail.com>
31279
31280 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31281 round counter.
31282 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31283
c97a1282
L
312842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31285
31286 [BZ #12597]
31287 * string/test-strncmp.c (do_page_test): New function.
31288 (check2): Likewise.
31289 (test_main): Call check2.
31290 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31291
2a115601
UD
312922011-03-20 Ulrich Drepper <drepper@gmail.com>
31293
31294 [BZ #12587]
31295 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31296 Handle cache information in CPU leaf 4.
31297 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31298
8126d904
UD
312992011-03-18 Ulrich Drepper <drepper@gmail.com>
31300
042c49c6 31301 [BZ #12583]
8126d904
UD
31302 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31303 character representation.
31304 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31305
ccfe366e
RA
313062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31307
31308 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31309 END(__isnan) to END(__isnanf) to match function entry point/label
31310 EALIGN(__isnanf,...).
31311
c6e13027
JJ
313122011-03-10 Jakub Jelinek <jakub@redhat.com>
31313
31314 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31315
33f85a3f
UD
313162011-03-10 Ulrich Drepper <drepper@gmail.com>
31317
028478fa
UD
31318 [BZ #12510]
31319 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31320 copy from the symbol referenced in the relocation to initialize the
31321 used variable.
31322 Patch by Piotr Bury <pbury@goahead.com>.
31323 * elf/Makefile: Add rules to build and tst-unique3.
31324 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31325 * elf/tst-unique3.cc: New file.
31326 * elf/tst-unique3.h: New file.
31327 * elf/tst-unique3lib.cc: New file.
31328 * elf/tst-unique3lib2.cc: New file.
31329
33f85a3f
UD
31330 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31331
03592fc7
MF
313322011-03-10 Mike Frysinger <vapier@gentoo.org>
31333
31334 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31335 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31336 to _start.
03592fc7 31337
6a5ee102
UD
313382011-03-06 Ulrich Drepper <drepper@gmail.com>
31339
31340 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31341 to-be-loaded object along a path to loader is ld.so.
31342
7e4ba49c
HJ
313432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31344 Ulrich Drepper <drepper@gmail.com>
31345
31346 * sysdeps/x86_64/memset.S: After aligning destination, code
31347 branches to different locations depending on the value of
31348 misalignment, when multiarch is enabled. Fix this.
31349
313502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31351
31352 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31353 Set _x86_64_preferred_memory_instruction for AMD processsors.
31354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31355 Set bit_Prefer_SSE_for_memop for AMD processors.
31356
13a804de
UD
313572011-03-04 Ulrich Drepper <drepper@gmail.com>
31358
31359 * libio/fmemopen.c (fmemopen): Optimize a bit.
31360
9d25c392
AS
313612011-03-03 Andreas Schwab <schwab@redhat.com>
31362
31363 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31364
a5543c6a
RM
313652011-03-03 Roland McGrath <roland@redhat.com>
31366
31367 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31368
012d35f7
DM
313692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31370
7e4ba49c 31371 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31372 __bzero_ultra1 instead of __memset_ultra1.
31373
4bff6e01
AS
313742011-02-23 Andreas Schwab <schwab@redhat.com>
31375 Ulrich Drepper <drepper@gmail.com>
31376
31377 [BZ #12509]
31378 * include/link.h (struct link_map): Add l_orig_initfini.
31379 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31380 returning unsuccessfully.
31381 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31382 close of a file loaded at startup, restore the original l_initfini
31383 list.
31384 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31385 list, store the pointer.
31386 * elf/Makefile ($(objpfx)noload-mem): New rule.
31387 (noload-ENV): Define.
31388 (tests): Add $(objpfx)noload-mem.
31389 * elf/noload.c: Include <memcheck.h>.
31390 (main): Call mtrace. Close all opened handles.
31391
f2092faf
AS
313922011-02-17 Andreas Schwab <schwab@redhat.com>
31393
31394 [BZ #12454]
31395 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31396 dependencies are missing.
31397
6c8a2e88
ST
313982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31399
f2092faf 31400 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31401 Hurd needs munmap.
31402 * sysdeps/mach/hurd/ifreq.h: New file.
31403
84a42118
PB
314042011-01-27 Petr Baudis <pasky@suse.cz>
31405 Ulrich Drepper <drepper@gmail.com>
31406
071f805e 31407 [BZ 12445]#
84a42118
PB
31408 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31409 to extend_alloca().
31410 * stdio-common/bug23.c: New file.
31411 * stdio-common/Makefile (tests): Add bug23.
31412
e23fe25b
AS
314132010-09-28 Andreas Schwab <schwab@redhat.com>
31414 Ulrich Drepper <drepper@gmail.com>
31415
31416 [BZ #12489]
31417 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31418 before performing relro protection. At old place add assertion
31419 to make sure nothing changed.
31420
d3f02e10
NS
314212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31422 Glauber de Oliveira Costa <glommer@gmail.com>
31423
31424 * elf/elf.h: Add new ARM TLS relocs.
31425
d55fd7a5
RA
314262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31427
31428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31429 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31430 cast from r3.
31431 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31432 'tests' variable.
31433 * sysdeps/wordsize-64/tst-writev.c: New file.
31434
2206397e
RA
314352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31436
31437 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31438 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31439 insns in _dl_start to prevent a TOC reference before relocs are
31440 resolved.
31441
e9433893
UD
314422011-02-15 Ulrich Drepper <drepper@gmail.com>
31443
31444 [BZ #12469]
31445 * Makeconfig: Remove RANLIB definition.
31446 * Makerules: Don't use RANLIB.
31447 * aclocal.m4: Remove ranlib test.
31448 * configure.in: No need to check for ranlib.
31449 * elf/rtld-Rules: Don't use RANLIB.
31450
f75286c6
ST
314512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31452
8e31c82d
ST
31453 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31454 protection macro.
31455 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31456 inclusion protection macro.
31457
f75286c6
ST
31458 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31459 SIGRTMIN and SIGRTMAX and print information in that case only when
31460 SIGRTMIN is defined.
31461
c1d0e639
JJ
314622011-02-11 Jakub Jelinek <jakub@redhat.com>
31463
31464 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31465 arginfo fn returning -1.
31466
31467 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31468 and thousands string is zero terminated.
31469
edf9294e
AS
314702011-02-03 Andreas Schwab <schwab@redhat.com>
31471
31472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31473 sysdeps/unix/sysv/linux/bits/socket.h.
31474
2b7e92df
ST
314752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31476
edf9294e
AS
31477 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31478 (__CPU_COUNT): Remove old macros.
31479 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31480 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31481 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31482 (__sched_cpualloc, __sched_cpufree): Add declarations.
31483
a4c7ea7b
UD
314842011-02-05 Ulrich Drepper <drepper@gmail.com>
31485
31486 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31487 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31488 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31489 (readdhstai): Return value of addhstaiX call.
31490 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31491 (addgrbyX): Return value returned by cache_addgr.
31492 (readdgrbyname): Return value returned by addgrbyX.
31493 (readdgrbygid): Likewise.
31494 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31495 (addpwbyX): Return value returned by cache_addpw.
31496 (readdpwbyname): Return value returned by addhstbyX.
31497 (readdpwbyuid): Likewise.
31498 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31499 (addservbyX): Return value returned by cache_addserv.
31500 (readdservbyname): Return value returned by addservbyX:
31501 (readdservbyport): Likewise.
31502 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31503 (addhstbyX): Return value returned by cache_addhst.
31504 (readdhstbyname): Return value returned by addhstbyX.
31505 (readdhstbyaddr): Likewise.
31506 (readdhstbynamev6): Likewise.
31507 (readdhstbyaddrv6): Likewise.
31508 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31509 (readdinitgroups): Return value returned by addinitgroupsX.
31510 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31511 (prune_cache): Keep track of timeout value of re-added entries.
31512 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31513 * nscd/nscd.h: Adjust prototypes of readd* functions.
31514
a0bf67cc
RM
315152011-02-04 Roland McGrath <roland@redhat.com>
31516
31517 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31518 (nis_stats): Likewise.
31519 * nis/nis_modify.c (nis_modify): Likewise.
31520 * nis/nis_remove.c (nis_remove): Likewise.
31521 * nis/nis_add.c (nis_add): Likewise.
31522
31523 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31524
31525 * posix/fnmatch_loop.c: Add some consts.
31526
31527 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31528
435b95eb
L
315292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31530
31531 [BZ #12460]
31532 * config.make.in (config-cflags-novzeroupper): Define.
31533 * configure.in: Substitute libc_cv_cc_novzeroupper.
31534 * elf/Makefile (AVX-CFLAGS): Define.
31535 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31536 (CFLAGS-tst-auditmod4a.c): Likewise.
31537 (CFLAGS-tst-auditmod4b.c): Likewise.
31538 (CFLAGS-tst-auditmod6b.c): Likewise.
31539 (CFLAGS-tst-auditmod6c.c): Likewise.
31540 (CFLAGS-tst-auditmod7b.c): Likewise.
31541 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31542
8517b15e
UD
315432011-02-02 Ulrich Drepper <drepper@gmail.com>
31544
31545 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31546 function to the callback.
31547 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31548
10a656fe
AS
315492011-02-02 Andreas Schwab <schwab@redhat.com>
31550
31551 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31552 of errno.
31553
968dad0a
UD
315542011-01-19 Ulrich Drepper <drepper@gmail.com>
31555
9f94d2ea 31556 [BZ #11724]
968dad0a
UD
31557 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31558 of constructors.
31559 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31560 of destructors.
31561 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31562
31563 [BZ #11724]
31564 * elf/Makefile: Add rules to build and run new test.
31565 * elf/tst-initorder.c: New file.
31566 * elf/tst-initorder.exp: New file.
31567 * elf/tst-initordera1.c: New file.
31568 * elf/tst-initordera2.c: New file.
31569 * elf/tst-initordera3.c: New file.
31570 * elf/tst-initordera4.c: New file.
31571 * elf/tst-initorderb1.c: New file.
31572 * elf/tst-initorderb2.c: New file.
31573 * elf/tst-order-a1.c: New file.
31574 * elf/tst-order-a2.c: New file.
31575 * elf/tst-order-a3.c: New file.
31576 * elf/tst-order-a4.c: New file.
31577 * elf/tst-order-b1.c: New file.
31578 * elf/tst-order-b2.c: New file.
31579 * elf/tst-order-main.c: New file.
31580 New test case by George Gensure <werkt0@gmail.com>.
31581
86e92359
UD
315822010-10-01 Andreas Schwab <schwab@redhat.com>
31583
31584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31585 decoding ACE if AI_CANONIDN.
31586
5d5732b0
UD
315872011-01-18 Ulrich Drepper <drepper@gmail.com>
31588
31589 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31590
a77e8cbc
UD
315912011-01-17 Ulrich Drepper <drepper@gmail.com>
31592
6392473f
UD
31593 * version.h (RELEASE): Bump for 2.13 release.
31594 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31595
620a0529
UD
31596 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31597
18ba70a5
UD
31598 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31599 MADV_NOHUGEPAGE.
32465c3e
UD
31600 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31601 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31602 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31603 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31604 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31605 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31606
c0dafcf1
UD
31607 * posix/getconf.c: Update copyright year.
31608 * catgets/gencat.c: Likewise.
31609 * csu/version.c: Likewise.
31610 * debug/catchsegv.sh: Likewise.
31611 * debug/xtrace.sh: Likewise.
31612 * elf/ldconfig.c: Likewise.
31613 * elf/ldd.bash.in: Likewise.
31614 * elf/sprof.c (print_version): Likewise.
31615 * iconv/iconv_prog.c: Likewise.
31616 * iconv/iconvconfig.c: Likewise.
31617 * locale/programs/locale.c: Likewise.
31618 * locale/programs/localedef.c: Likewise.
31619 * malloc/memusage.sh: Likewise.
31620 * malloc/mtrace.pl: Likewise.
31621 * nscd/nscd.c (print_version): Likewise.
31622 * nss/getent.c: Likewise.
31623
a77e8cbc
UD
31624 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31625 PF_CAIF, and PF_ALG.
31626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31627
77e8bddf
AS
316282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31629
1f20b93a
AS
31630 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31631 (modules-names): Use them.
31632 (ifunc-test-modules, ifunc-pie-tests): Define.
31633 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31634 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31635 (test-extras): Likewise.
31636 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31637 $(compile-command.c).
31638 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31639 (all-built-dso): Define.
31640 (check-textrel.out, check-execstack.out): Depend on it.
31641
77e8bddf
AS
31642 * configure.in: Don't override --enable-multi-arch.
31643
bc425b33
UD
316442011-01-15 Ulrich Drepper <drepper@gmail.com>
31645
31646 [BZ #6812]
31647 * nscd/hstcache.c (tryagain): Define.
31648 (cache_addhst): Return tryagain not notfound for temporary errors.
31649 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31650 failed.
31651
794c3ad3
UD
316522011-01-14 Ulrich Drepper <drepper@gmail.com>
31653
70181fdd
UD
31654 [BZ #10563]
31655 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31656 to make the syscall.
31657 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31658
794c3ad3
UD
31659 [BZ #12378]
31660 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31661 and fall back to matching as normal character if the string ends before
31662 the matching ']' is found. This is what POSIX requires.
31663 * posix/testfnm.c: Adjust test result.
31664 * posix/globtest.sh: Adjust test result. Add new test.
31665 * posix/tst-fnmatch.input: Likewise.
31666 * posix/tst-fnmatch2.c: Add new test.
31667
68dc9497
AS
316682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31669
31670 * elf/Makefile (check-execstack): Revert last change. Depend on
31671 check-execstack.h.
31672 (check-execstack.h): New target.
31673 (generated): Add check-execstack.h.
31674 * elf/check-execstack.c: Include "check-execstack.h".
31675 (main): Revert last change.
31676 (handle_file): Return zero if GNU_STACK is absent and
31677 DEFAULT_STACK_PERMS doesn't include PF_X.
31678
451f001b
UD
316792011-01-13 Ulrich Drepper <drepper@gmail.com>
31680
cfa28e56
UD
31681 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31682 in child fails because the descriptor is already closed.
8cf8ce17
UD
31683 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31684 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31685 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31686
1086d70d
UD
31687 [BZ #12397]
31688 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31689 syscall.
31690
451f001b
UD
31691 [BZ #10484]
31692 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31693 temporary buffer used to handle multi lookups locally.
a85b5cb4 31694 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31695
08769175
UD
316962011-01-12 Ulrich Drepper <drepper@gmail.com>
31697
31698 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31699 loader is ld.so.
31700
5e49c52e
UD
317012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31702
31703 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31704 alignment for SSE2.
31705
60522a5f
UD
317062011-01-12 Ulrich Drepper <drepper@gmail.com>
31707
31708 [BZ #12394]
31709 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31710 characters. When rounding increased number of integer digits recompute
31711 number of groups.
31712 * stdio-common/tst-grouping.c: New file.
31713 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31714
f257bbd7
UD
317152011-01-09 Ulrich Drepper <drepper@gmail.com>
31716
31717 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31718 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31719
31720 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31721 void.
31722 * bits/select.h: Likewise.
31723
fa9c15cb
UD
317242011-01-08 Ulrich Drepper <drepper@gmail.com>
31725
31726 * po/ja.po: Update from translation team.
31727
16c2895f
DM
317282011-01-04 David S. Miller <davem@sunset.davemloft.net>
31729
31730 [BZ #11155]
31731 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31732 implementation just like for lxstat, fxstatat, et al.
31733
2543fef2
JM
317342010-12-27 Jim Meyering <meyering@redhat.com>
31735
31736 [BZ #12348]
31737 * posix/regexec.c (build_trtable): Return failure indication upon
31738 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31739
98727dbe
UD
317402010-12-25 Ulrich Drepper <drepper@gmail.com>
31741
5bd6dc5c
UD
31742 [BZ #12201]
31743 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31744 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31746 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31747
97983464
UD
31748 [BZ #12207]
31749 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31750
98727dbe
UD
31751 [BZ #12204]
31752 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31753 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31754
4a531bb0
L
317552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31756
31757 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31758 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31759 script has SORT_BY_INIT_PRIORITY.
31760 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31761 NO_CTORS_DTORS_SECTIONS is defined.
31762 * elf/soinit.c: Likewise.
31763 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31764 NO_CTORS_DTORS_SECTIONS is defined.
31765 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31766 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31767 * sysdeps/sh/init-first.c: Likewise.
31768 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31769
07eb4b71
UD
317702010-12-24 Ulrich Drepper <drepper@gmail.com>
31771
31772 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31773 always use the slow path.
31774
30950a5f
RA
317752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31776
31777 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31778 similar rule which adds the sysdep directories to the header search in
31779 order to pick up the correct platform stackinfo.h.
31780 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31781 perform test if it is, otherwise return successfully without testing.
31782 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31783 DEFAULT_STACK_PERMS define in stackinfo.h.
31784 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31785 defined in stackinfo.h.
31786 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31787 DEFAULT_STACK_PERMS defined in stackinfo.h.
31788 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31789 * sysdeps/ia64/stackinfo.h: Likewise.
31790 * sysdeps/s390/stackinfo.h: Likewise.
31791 * sysdeps/sh/stackinfo.h: Likewise.
31792 * sysdeps/sparc/stackinfo.h: Likewise.
31793 * sysdeps/x86_64/stackinfo.h: Likewise.
31794 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31795 PF_X for powerpc64. Retain PF_X for powerpc32.
31796
db753e2c
UD
317972010-12-19 Ulrich Drepper <drepper@gmail.com>
31798
14b697f7
UD
31799 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31800 accurately.
db753e2c
UD
31801 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31802 GETDENTS_64BIT_ALIGNED.
31803
28300719
UD
318042010-12-14 Ulrich Drepper <dreper@gmail.com>
31805
14b697f7 31806 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31807
4f197237
AS
318082010-12-10 Andreas Schwab <schwab@redhat.com>
31809
dbb0472f
AS
31810 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31811 _GNU_SOURCE.
31812
4f197237
AS
31813 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31814 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31815 Remove __restrict.
31816 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31817 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31818
fb88ac72
UD
318192010-12-09 Ulrich Drepper <drepper@gmail.com>
31820
31821 [BZ #11655]
31822 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31823 are initialized.
31824
42acbb92
JJ
318252010-12-09 Jakub Jelinek <jakub@redhat.com>
31826
31827 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31828
c038d98d
UD
318292010-12-03 Ulrich Drepper <drepper@gmail.com>
31830
31831 * po/it.po: Update from translation team.
31832
3a4a2499
L
318332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31834
31835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31836 unused codes.
31837
1e24cf6e
UD
318382010-11-30 Ulrich Drepper <drepper@gmail.com>
31839
31840 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31841
a7690819
AS
318422010-11-24 Andreas Schwab <schwab@redhat.com>
31843
31844 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31845 specially.
31846 (gaih_getanswer_slice): Likewise.
31847
3bf8d1b1
JJ
318482010-10-20 Jakub Jelinek <jakub@redhat.com>
31849
31850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31851
6db52fbb
PB
318522010-05-31 Petr Baudis <pasky@suse.cz>
31853
31854 [BZ #11149]
31855 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31856 silently even in the chroot mode.
31857
eaca7569
UD
318582010-11-22 Ulrich Drepper <drepper@gmail.com>
31859
31860 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31861 last patch a bit. Pretty printing
31862
3056dcdb
UD
318632010-05-31 Petr Baudis <pasky@suse.cz>
31864
31865 [BZ #10085]
31866 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31867 initialization of skip_initgroups_dyn.
31868
cf7c9078
UD
318692010-11-19 Ulrich Drepper <drepper@gmail.com>
31870
31871 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31872 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31873
a1fb5e3e
UD
318742010-11-16 Ulrich Drepper <drepper@gmail.com>
31875
31876 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31877
3540d66b
AS
318782010-11-11 Andreas Schwab <schwab@redhat.com>
31879
31880 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31881 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31882 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31883 ($(objpfx)tst-fnmatch-mem): New rule.
31884 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31885 * posix/tst-fnmatch.c (main): Call mtrace.
31886
13b69574
L
318872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31888
31889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31890 Support Intel processor model 6 and model 0x2c.
31891
da93d214
LM
318922010-11-10 Luis Machado <luisgpm@br.ibm.com>
31893
31894 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31895 signed comparison.
31896
8ca52c6e
L
318972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31898
31899 [BZ #12205]
31900 * string/test-strncasecmp.c (check_result): New function.
31901 (do_one_test): Use it.
31902 (check1): New function.
31903 (test_main): Use it.
31904 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31905 Support strcasecmp and strncasecmp.
31906
69da074d
UD
319072010-11-08 Ulrich Drepper <drepper@gmail.com>
31908
31909 [BZ #12194]
31910 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31911 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31912
ff02d528
L
319132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31914
31915 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31916 IFUNC support.
31917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31918 memset-x86-64.
31919 * sysdeps/x86_64/multiarch/bzero.S: New file.
31920 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31921 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31922 * sysdeps/x86_64/multiarch/memset.S: New file.
31923 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31925 Set bit_Prefer_SSE_for_memop for Intel processors.
31926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31927 Define.
31928 (index_Prefer_SSE_for_memop): Define.
31929 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31930
344d0b54
LM
319312010-11-04 Luis Machado <luisgpm@br.ibm.com>
31932
31933 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31934 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31935
c0dde15b
UD
319362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31937
31938 [BZ #12191]
31939 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31940 (__x86_64_raw_data_cache_size_half): Likewise.
31941 (__x86_64_raw_shared_cache_size): Likewise.
31942 (__x86_64_raw_shared_cache_size_half): Likewise.
31943
31944 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31945 (__x86_64_raw_data_cache_size_half): Likewise.
31946 (__x86_64_raw_shared_cache_size): Likewise.
31947 (__x86_64_raw_shared_cache_size_half): Likewise.
31948 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31949 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31950 and __x86_64_raw_shared_cache_size_half. Round
31951 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31952 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31953 to multiple of 256 bytes.
31954
0e516e0e
MS
319552010-11-03 Ulrich Drepper <drepper@gmail.com>
31956
31957 [BZ #12167]
31958 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31959 of inacessible symlinks. Verify result of symlink before returning it.
31960 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31961 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31962
0e012e87
ER
319632010-10-28 Erich Ritz <erichritz@gmail.com>
31964
31965 * math/math.h (isinf): Fix typo in comment.
31966
de0ff7bc
UD
319672010-11-01 Ulrich Drepper <drepper@gmail.com>
31968
31969 * po/da.po: Update from translation team.
31970
fa41c84d
UD
319712010-10-26 Ulrich Drepper <drepper@gmail.com>
31972
31973 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31974 is added to the list.
31975
f0967738
AK
319762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31977 Ulrich Drepper <drepper@gmail.com>
31978
31979 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31980 the global list here. Move code to...
31981 (_dl_add_to_namespace_list): ...here. New function.
31982 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31983 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31984 * elf/dl-load.c (lose): Don't remove the element from the list.
31985 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31986 (_dl_map_object): Likewise.
31987
319882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31989
31990 [BZ #12159]
31991 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31992 into all bytes of SSE register.
31993 Patch by Richard Li <richardpku@gmail.com>.
31994
f0967738 319952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31996
31997 [BZ #12140]
31998 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31999 perturbing.
32000
d0b9e94f
MB
320012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32002
32003 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32004 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32005 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32006 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32008 submachine.
32009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32010
8e9f92e9
AS
320112010-10-22 Andreas Schwab <schwab@redhat.com>
32012
32013 * include/dlfcn.h (__RTLD_SECURE): Define.
32014 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32015 mode & __RTLD_SECURE instead.
32016 (open_path): Rename preloaded parameter to secure.
32017 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32018 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32019 * elf/dl-deps.c (openaux): Likewise.
32020 * elf/rtld.c (struct map_args): Remove is_preloaded.
32021 (map_doit): Don't use it.
32022 (dl_main): Likewise.
32023 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32024 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32025
bc96fbda
AS
320262010-09-09 Andreas Schwab <schwab@redhat.com>
32027
32028 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32029 (sysd-rules-targets): Remove duplicates.
32030 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32031 rtld-%.$o dependency.
32032
22cd1c9b
AS
320332010-10-18 Andreas Schwab <schwab@redhat.com>
32034
32035 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32036 _dl_map_object do it.
32037
18edac48
UD
320382010-10-19 Ulrich Drepper <drepper@gmail.com>
32039
32040 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32041 fast fma builtins, define the macros in the C99 standard.
32042 (FP_FAST_FMAF): Likewise.
32043 (FP_FAST_FMAL): Likewise.
32044 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32045
32046 * bits/mathdef.h: Update copyright year.
32047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32048
d2050124
MM
320492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32050
32051 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32052 builtins, define the macros in the C99 standard.
32053 (FP_FAST_FMAF): Likewise.
32054 (FP_FAST_FMAL): Likewise.
32055 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32056 multiply/add.
32057 (FP_FAST_FMAF): Likewise.
32058
475facd1
JJ
320592010-10-15 Jakub Jelinek <jakub@redhat.com>
32060
32061 [BZ #3268]
32062 * math/libm-test.inc (fma_test): Some new testcases.
32063 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32064 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32065 y and infinite z. Do multiplication by C already in long double.
32066 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32068 y and infinite z. Do bitwise or of inexact bit into u.d.
32069 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32070 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32071 * sysdeps/i386/fpu/s_fma.S: Removed.
32072 * sysdeps/i386/fpu/s_fmal.S: Removed.
32073
7c08a05c
JJ
320742010-10-16 Jakub Jelinek <jakub@redhat.com>
32075
32076 [BZ #3268]
32077 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32079 computation is not scheduled after fetestexcept. Fix value
32080 of minimum denormal long double.
32081
f3f7372d
JJ
320822010-10-14 Jakub Jelinek <jakub@redhat.com>
32083
32084 [BZ #3268]
32085 * math/libm-test.inc (fma_test): Add some more tests.
32086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32087 correctly.
32088
14d43591
AS
320892010-10-15 Andreas Schwab <schwab@redhat.com>
32090
32091 * scripts/data/localplt-s390-linux-gnu.data: New file.
32092 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32093
5e908464
JJ
320942010-10-13 Jakub Jelinek <jakub@redhat.com>
32095
32096 [BZ #3268]
32097 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32098 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32099 instead of dbl-64.
32100 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32101 inlines.
32102 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32104 if one of x and y is very large and the other is subnormal.
32105 * sysdeps/s390/fpu/s_fmaf.c: New file.
32106 * sysdeps/s390/fpu/s_fma.c: New file.
32107 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32108 * sysdeps/powerpc/fpu/s_fma.S: New file.
32109 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32110 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32111 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32112
321132010-10-12 Jakub Jelinek <jakub@redhat.com>
32114
32115 [BZ #3268]
32116 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32117 fma tests.
32118 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32119 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32120 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32121 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32122 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32123 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32124 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32125
b833d51f
UD
321262010-10-12 Ulrich Drepper <drepper@redhat.com>
32127
32128 [BZ #12078]
32129 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32130 * posix/bug-regex31.input: Add test case.
32131
1751705d
UD
321322010-10-11 Ulrich Drepper <drepper@gmail.com>
32133
e9b9cbf5
UD
32134 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32135 * posix/bug-regex31.input: New file.
32136
32137 [BZ #12078]
32138 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32139 (parse_sub_exp): Fix last change, use postorder.
32140
ef06edbe
UD
32141 * posix/bug-regex31.c: New file.
32142 * posix/Makefile: Add rules to build and run bug-regex31.
32143
a129c80d
UD
32144 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32145
32146 [BZ #12078]
32147 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32148
b76b818e
UD
32149 [BZ #12108]
32150 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32151 to have entries in sys_siglist.
32152
1751705d
UD
32153 [BZ #12093]
32154 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32155 be NULL.
32156
9ff8d36f
JJ
321572010-10-07 Jakub Jelinek <jakub@redhat.com>
32158
32159 [BZ #3268]
32160 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32161 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32162 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32163 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32164 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32165 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32166 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32167 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32168 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32169 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32170 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32171 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32172 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32173 * math/ftestexcept.c (fetestexcept): Likewise.
32174 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32175 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32176 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32177 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32178 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32179 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32180 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32181
af325969
UD
321822010-10-11 Ulrich Drepper <drepper@gmail.com>
32183
c579b202 32184 [BZ #12107]
af325969
UD
32185 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32186 newline.
32187
67a67b95
UD
321882010-10-06 Ulrich Drepper <drepper@gmail.com>
32189
32190 * string/bug-strstr1.c: New file.
32191 * string/Makefile: Add rules to build and run bug-strstr1.
32192
5fb308bc
EB
321932010-10-05 Eric Blake <eblake@redhat.com>
32194
32195 [BZ #12092]
32196 * string/str-two-way.h (two_way_long_needle): Always clear memory
32197 when skipping input due to the shift table.
32198
45db99c7
UD
321992010-10-03 Ulrich Drepper <drepper@gmail.com>
32200
3b111893
UD
32201 [BZ #12005]
32202 * malloc/mcheck.c: Handle large requests.
32203
45db99c7
UD
32204 [BZ #12077]
32205 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32206 for strncmp and strncasecmp.
32207 * string/stratcliff.c: Add tests for strcmp and strncmp.
32208 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32209
cf7a1eb8
NI
322102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32211
32212 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32213 __set_fpscr.
32214
6484ba5e
AJ
322152010-09-30 Andreas Jaeger <aj@suse.de>
32216
32217 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32218 (CGROUP_SUPER_MAGIC): Define.
32219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32220 Handle btrfs and cgroup file systems.
32221 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32222 Likewise.
32223
91c42559
LM
322242010-09-27 Luis Machado <luisgpm@br.ibm.com>
32225
32226 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32227 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32228
87a97932
AK
322292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32230
32231 [BZ #12067]
32232 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32233 trying to locate the ELF header.
32234
c21cc9bc
AS
322352010-09-27 Andreas Schwab <schwab@redhat.com>
32236
32237 [BZ #11611]
32238 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32239 Mask out sign-bit copies when constructing f_fsid.
32240
315970f6
PB
322412010-09-24 Petr Baudis <pasky@suse.cz>
32242
32243 * debug/stack_chk_fail_local.c: Add missing licence exception.
32244 * debug/warning-nop.c: Likewise.
32245
1ac7a2c7
JM
322462010-09-15 Joseph Myers <joseph@codesourcery.com>
32247
32248 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32249 implementing getdents64 using getdents syscall, set d_type if
32250 __ASSUME_GETDENTS32_D_TYPE.
32251
56801c50
AS
322522010-09-16 Andreas Schwab <schwab@redhat.com>
32253
32254 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32255 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32256
dda51327
UD
322572010-09-21 Ulrich Drepper <drepper@redhat.com>
32258
32259 [BZ #12037]
32260 * posix/unistd.h: Undo change of feature selection for ftruncate from
32261 2010-01-11.
32262
8ffcee4a
UD
322632010-09-20 Ulrich Drepper <drepper@redhat.com>
32264
a545ecd9 32265 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32266 detection.
32267
e24f0a8b
AS
322682010-09-20 Andreas Schwab <schwab@redhat.com>
32269
32270 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32271 fanotify_mark.
32272 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32273
7291c56f
AS
322742010-09-14 Andreas Schwab <schwab@redhat.com>
32275
32276 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32277 variables after CHECK_SP call.
32278 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32279
bc5fb037
AS
322802010-09-13 Andreas Schwab <schwab@redhat.com>
32281 Ulrich Drepper <drepper@redhat.com>
32282
32283 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32284 re-relocationg ld.so.
32285 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32286 _dl_init_paths call.
32287 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32288 here anymore.
32289
e66e7419
UD
322902010-09-14 Ulrich Drepper <drepper@redhat.com>
32291
32292 * resolv/res_init.c (__res_vinit): Count the default server we added.
32293
c044aa75
CLT
322942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32295 Ulrich Drepper <drepper@redhat.com>
32296
32297 [BZ #11968]
32298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32299 (____longjmp_chk): Use %ebx for saving value across system call.
32300 Add unwind info.
32301
32cf4069
AS
323022010-09-06 Andreas Schwab <schwab@redhat.com>
32303
32304 * manual/Makefile: Don't mix pattern rules with normal rules.
32305
817328ee
AS
323062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32307
32308 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32309 operation.
32310 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32311 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32312 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32313 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32315 Likewise.
32316
29fddf61
UD
323172010-09-04 Ulrich Drepper <drepper@redhat.com>
32318
32319 [BZ #11979]
32320 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32321 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32322
0959ffc9
UD
323232010-09-02 Ulrich Drepper <drepper@redhat.com>
32324
32325 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32326 * sysdeps/x86_64/addmul_1.S: Likewise.
32327 * sysdeps/x86_64/lshift.S: Likewise.
32328 * sysdeps/x86_64/mul_1.S: Likewise.
32329 * sysdeps/x86_64/rshift.S: Likewise.
32330 * sysdeps/x86_64/sub_n.S: Likewise.
32331 * sysdeps/x86_64/submul_1.S: Likewise.
32332
ece29840
ST
323332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32334
0959ffc9
UD
32335 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32336 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32337 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32338 * bits/sched.h [__need_schedparam]
ece29840 32339 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32340 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32341 (__defined_schedparam): Define to 1.
ece29840
ST
32342 (__sched_param): New structure, identical to sched_param.
32343 (__need_schedparam): Undefine.
32344
e53a31fe
MF
323452010-08-31 Mike Frysinger <vapier@gentoo.org>
32346
fdc0c10d
MF
32347 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32348 (epoll_create1): Declare.
32349
e53a31fe
MF
32350 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32351
a726d796
AS
323522010-08-31 Andreas Schwab <schwab@redhat.com>
32353
32354 [BZ #7066]
32355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32356 shifting retval into place.
32357
2f3e3dc7
UD
323582010-09-01 Ulrich Drepper <drepper@redhat.com>
32359
f2933da9
UD
32360 * nis/rpcsvc/nis.h: Update copyright notice.
32361 * nis/rpcsvc/nis.x: Likewise.
32362 * nis/rpcsvc/nis_callback.h: Likewise.
32363 * nis/rpcsvc/nis_callback.x: Likewise.
32364 * nis/rpcsvc/nis_object.x: Likewise.
32365 * nis/rpcsvc/nis_tags.h: Likewise.
32366 * nis/rpcsvc/yp.h: Likewise.
32367 * nis/rpcsvc/yp.x: Likewise.
32368 * nis/rpcsvc/ypupd.h: Likewise.
32369 * nis/yp_xdr.c: Likewise.
32370 * nis/ypupdate_xdr.c: Likewise.
32371
2f3e3dc7
UD
32372 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32373 mainly the body of pmap_getport. Add parameters to specify timeouts.
32374 (pmap_getport): Use __libc_rpc_getport.
32375 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32376 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32377 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32378
f3dcc2f9
AS
323792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32380
32381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32382 fanotify_mark.
32383
6d34eb5b
RM
323842010-08-27 Roland McGrath <roland@redhat.com>
32385
32386 * sysdeps/i386/i686/multiarch/Makefile
32387 (CFLAGS-varshift.c): New variable.
32388
9ea3de11
UD
323892010-08-27 Ulrich Drepper <drepper@redhat.com>
32390
c96d23fc
UD
32391 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32392 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32393
9ea3de11
UD
32394 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32395
32396 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32397
623aac7f
L
323982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32399
32400 * sysdeps/x86_64/strlen.S: Unroll the loop.
32401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32402 strlen-sse2 strlen-sse2-bsf.
32403 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32404 __strlen_no_bsf if bit_Slow_BSF is set.
32405 (__strlen_sse42): Removed.
32406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32407 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32408
8b2b7715
RM
324092010-08-25 Roland McGrath <roland@redhat.com>
32410
32411 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32412 * sysdeps/x86_64/multiarch/varshift.c: New file.
32413 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32414 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32415 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32416 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32417
e73015f2
L
324182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32419
32420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32421 strlen-sse2 strlen-sse2-bsf.
32422 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32423 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32424 (__strlen_sse2): Removed.
32425 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32426 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32428 bit_Slow_BSF for Atom.
32429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32430 (index_Slow_BSF): Define.
32431 (HAS_SLOW_BSF): Define.
32432
df24a73e
UD
324332010-08-25 Ulrich Drepper <drepper@redhat.com>
32434
32435 [BZ #10851]
32436 * resolv/res_init.c (__res_vinit): When no server address at all
32437 is given default to loopback.
32438
f2ac4868
RM
324392010-08-24 Roland McGrath <roland@redhat.com>
32440
09055553
RM
32441 * configure.in: Remove config-name.h generation.
32442 * configure: Regenerated.
32443 * config-name.in: File removed.
32444 * scripts/config-uname.sh: New file.
32445 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32446 ($(objdir)config-name.h): New target.
32447
f2ac4868
RM
32448 * sunrpc/rpc_parse.h: Avoid nested comment.
32449
73f27d5e
RH
324502010-08-24 Richard Henderson <rth@redhat.com>
32451 Ulrich Drepper <drepper@redhat.com>
32452 H.J. Lu <hongjiu.lu@intel.com>
32453
32454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32456 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32457 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32458 _mm_alignr_epi8 with _mm_loadu_si128.
32459 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32460 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32461 (__m128i_shift_right): Removed.
32462 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32463 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32464 * sysdeps/x86_64/multiarch/varshift.h: New file.
32465 * sysdeps/x86_64/multiarch/varshift.S: New file.
32466
84b9230c
MF
324672010-08-21 Mike Frysinger <vapier@gentoo.org>
32468
32469 * configure.in: Move assembler checks to before sysdep dir checking.
32470
9bbd0ddc
PB
324712010-08-20 Petr Baudis <pasky@suse.cz>
32472
32473 * LICENSES: Sync the sunrpc license.
32474
9da4bb31
UD
324752010-08-19 Ulrich Drepper <drepper@redhat.com>
32476
a7ab6ec8
UD
32477 * sunrpc/auth_des.c: Update copyright notice once again.
32478 * sunrpc/auth_none.c: Likewise.
32479 * sunrpc/auth_unix.c: Likewise.
32480 * sunrpc/authdes_prot.c: Likewise.
32481 * sunrpc/authuxprot.c: Likewise.
32482 * sunrpc/bindrsvprt.c: Likewise.
32483 * sunrpc/clnt_gen.c: Likewise.
32484 * sunrpc/clnt_perr.c: Likewise.
32485 * sunrpc/clnt_raw.c: Likewise.
32486 * sunrpc/clnt_simp.c: Likewise.
32487 * sunrpc/clnt_tcp.c: Likewise.
32488 * sunrpc/clnt_udp.c: Likewise.
32489 * sunrpc/clnt_unix.c: Likewise.
32490 * sunrpc/des_crypt.c: Likewise.
32491 * sunrpc/des_soft.c: Likewise.
32492 * sunrpc/get_myaddr.c: Likewise.
32493 * sunrpc/getrpcport.c: Likewise.
32494 * sunrpc/key_call.c: Likewise.
32495 * sunrpc/key_prot.c: Likewise.
32496 * sunrpc/openchild.c: Likewise.
32497 * sunrpc/pm_getmaps.c: Likewise.
32498 * sunrpc/pm_getport.c: Likewise.
32499 * sunrpc/pmap_clnt.c: Likewise.
32500 * sunrpc/pmap_prot.c: Likewise.
32501 * sunrpc/pmap_prot2.c: Likewise.
32502 * sunrpc/pmap_rmt.c: Likewise.
32503 * sunrpc/rpc/auth.h: Likewise.
32504 * sunrpc/rpc/auth_unix.h: Likewise.
32505 * sunrpc/rpc/clnt.h: Likewise.
32506 * sunrpc/rpc/des_crypt.h: Likewise.
32507 * sunrpc/rpc/key_prot.h: Likewise.
32508 * sunrpc/rpc/netdb.h: Likewise.
32509 * sunrpc/rpc/pmap_clnt.h: Likewise.
32510 * sunrpc/rpc/pmap_prot.h: Likewise.
32511 * sunrpc/rpc/pmap_rmt.h: Likewise.
32512 * sunrpc/rpc/rpc.h: Likewise.
32513 * sunrpc/rpc/rpc_des.h: Likewise.
32514 * sunrpc/rpc/rpc_msg.h: Likewise.
32515 * sunrpc/rpc/svc.h: Likewise.
32516 * sunrpc/rpc/svc_auth.h: Likewise.
32517 * sunrpc/rpc/types.h: Likewise.
32518 * sunrpc/rpc/xdr.h: Likewise.
32519 * sunrpc/rpc_clntout.c: Likewise.
32520 * sunrpc/rpc_cmsg.c: Likewise.
32521 * sunrpc/rpc_common.c: Likewise.
32522 * sunrpc/rpc_cout.c: Likewise.
32523 * sunrpc/rpc_dtable.c: Likewise.
32524 * sunrpc/rpc_hout.c: Likewise.
32525 * sunrpc/rpc_main.c: Likewise.
32526 * sunrpc/rpc_parse.c: Likewise.
32527 * sunrpc/rpc_parse.h: Likewise.
32528 * sunrpc/rpc_prot.c: Likewise.
32529 * sunrpc/rpc_sample.c: Likewise.
32530 * sunrpc/rpc_scan.c: Likewise.
32531 * sunrpc/rpc_scan.h: Likewise.
32532 * sunrpc/rpc_svcout.c: Likewise.
32533 * sunrpc/rpc_tblout.c: Likewise.
32534 * sunrpc/rpc_util.c: Likewise.
32535 * sunrpc/rpc_util.h: Likewise.
32536 * sunrpc/rpcinfo.c: Likewise.
32537 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32538 * sunrpc/rpcsvc/key_prot.x: Likewise.
32539 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32540 * sunrpc/rpcsvc/mount.x: Likewise.
32541 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32542 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32543 * sunrpc/rpcsvc/rex.x: Likewise.
32544 * sunrpc/rpcsvc/rstat.x: Likewise.
32545 * sunrpc/rpcsvc/rusers.x: Likewise.
32546 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32547 * sunrpc/rpcsvc/spray.x: Likewise.
32548 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32549 * sunrpc/rtime.c: Likewise.
32550 * sunrpc/svc.c: Likewise.
32551 * sunrpc/svc_auth.c: Likewise.
32552 * sunrpc/svc_authux.c: Likewise.
32553 * sunrpc/svc_raw.c: Likewise.
32554 * sunrpc/svc_run.c: Likewise.
32555 * sunrpc/svc_simple.c: Likewise.
32556 * sunrpc/svc_tcp.c: Likewise.
32557 * sunrpc/svc_udp.c: Likewise.
32558 * sunrpc/svc_unix.c: Likewise.
32559 * sunrpc/svcauth_des.c: Likewise.
32560 * sunrpc/xcrypt.c: Likewise.
32561 * sunrpc/xdr.c: Likewise.
32562 * sunrpc/xdr_array.c: Likewise.
32563 * sunrpc/xdr_float.c: Likewise.
32564 * sunrpc/xdr_mem.c: Likewise.
32565 * sunrpc/xdr_rec.c: Likewise.
32566 * sunrpc/xdr_ref.c: Likewise.
32567 * sunrpc/xdr_sizeof.c: Likewise.
32568 * sunrpc/xdr_stdio.c: Likewise.
32569
9da4bb31
UD
32570 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32571 handling.
32572
bdaa77bc
AS
325732010-08-19 Andreas Schwab <schwab@redhat.com>
32574
32575 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32576
fe2f79db
LM
325772010-08-19 Luis Machado <luisgpm@br.ibm.com>
32578
32579 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32580 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32581 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32582 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32583 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32584 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32585 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32586 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32588 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32589 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32590 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32591 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32592 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32593
b9b42ee0
AB
325942010-07-26 Anton Blanchard <anton@samba.org>
32595
32596 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32597 * malloc/arena.c (heap_trim): Likewise.
32598
1c06ba31
UD
325992010-08-16 Ulrich Drepper <drepper@redhat.com>
32600
32601 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32602 here. Not...
32603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32604 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32605
f8392f40
L
326062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32607
32608 * sysdeps/i386/elf/Makefile: New file.
32609
3162f12e
AS
326102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32611
32612 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32613 from fanotify_init.
32614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32616
28c90b2c
UD
326172010-08-15 Ulrich Drepper <drepper@redhat.com>
32618
32619 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32620 of strncasecmp_l.
1feccb6c 32621 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32622
ca6bb004
UD
326232010-08-14 Ulrich Drepper <drepper@redhat.com>
32624
e9f82e0d
UD
32625 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32626 strncase_l-nonascii.
32627 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32628 Add strncase_l-ssse3.
32629 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32630 * sysdeps/x86_64/strcmp.S: Likewise.
32631 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32632 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32633 * sysdeps/x86_64/strncase.S: New file.
32634 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32635 * sysdeps/x86_64/strncase_l.S: New file.
32636 * string/Makefile (strop-tests): Add strncasecmp.
32637 * string/test-strncasecmp.c: New file.
32638
32639 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32640 warning.
32641
ca6bb004
UD
32642 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32643 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32644
052fa7b3
AS
326452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32646
32647 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32648
962dba78
UD
326492010-08-12 Ulrich Drepper <drepper@redhat.com>
32650
32651 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32652 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32653 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32654
bebff237
AM
326552010-05-01 Alan Modra <amodra@gmail.com>
32656
32657 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32658 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32659 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32660 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32661 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32662 tidying. Don't tail-call __sigjmp_save for static lib.
32663 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32664 save location.
32665 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32666 (CALL_MCOUNT): Add eh info, and nop after bl.
32667 (TAIL_CALL_SYSCALL_ERROR): New macro.
32668 (PSEUDO_RET): Use it.
32669 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32670 Correct save location of integer regs and cr.
32671 (_dl_profile_resolve): Correct cr save location. Delete nops
32672 after bl when SHARED. Reduce cfi size a little by better
32673 placement of cfi directives.
32674 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32675 make a stack frame. Instead use parm save area as a temp.
32676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32677 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32679 Don't make a stack frame for parent, use parm save area.
32680 Increase child stack frame to 112 bytes. Don't save unused reg,
32681 and adjust reg usage. Set up cfi on error recovery and
32682 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32684 (__makecontext): Add dummy nop after jump to exit.
32685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32686 Use correct parm save area and cr save, reduce stack frame.
32687 Correct cfi for possible PSEUDO_RET frame setup.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32689 Branch to local label emitted by PSEUDO_RET rather than
32690 __syscall_error.
32691
02637374
AS
326922010-08-12 Andreas Schwab <schwab@redhat.com>
32693
32694 [BZ #11904]
32695 * locale/programs/locale.c (print_assignment): New function.
32696 (show_locale_vars): Use it.
32697
c3e2f19b
UD
326982010-08-11 Ulrich Drepper <drepper@redhat.com>
32699
3cdaa6ad
UD
32700 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32701 field.
32702 (struct statfs64): Likewise.
32703 (_STATFS_F_FLAGS): Define.
32704 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32705 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32706 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32707 (ST_VALID): Define locally.
32708 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32709 __statvfs_getflags, use the provided value.
32710 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32711 __ASSUME_STATFS_F_FLAGS.
32712
754f7da3
UD
32713 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32714
10b3bedc
UD
32715 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32716 Add sys/fanotify.h.
32717 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32718 fanotify_mask for GLIBC_2.13.
32719 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32720 fanotify_init and fanotify_mark.
32721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32722 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32723
c08fb0d7
UD
32724 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32725 Add prlimit.
32726 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32727 prlimit64 for GLIBC_2.13.
32728 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32729 prlimit64.
32730 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32731 syscall.
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32733 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32734 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32735 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32737 add prlimit alias.
32738 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32739
15bac72b
UD
32740 [BZ #11903]
32741 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32742 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32743
c3e2f19b
UD
32744 * nss/Makefile: Add rules to build and run tst-nss-test1.
32745 * shlib-versions: Add entry for libnss_test1.
32746 * nss/nss_test1.c: New file.
32747 * nss/tst-nss-test1.c: New file.
32748
32749 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32750 (__nss_configure_lookup): Set appropriate entry in
32751 __nss_configure_lookup to true.
32752 * nss/nsswitch.h: Define enum with indeces of databases in
32753 databases and __nss_database_custom arrays. Declare
32754 __nss_database_custom.
32755 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32756 to avoid using nscd when custom rules are installed.
32757 * nss/getXXbyYY_r.c: Likewise.
32758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32759
32760 * nss/nss_files/files-parse.c: Whitespace fixes.
32761
f15ce4d8
UD
327622010-08-09 Ulrich Drepper <drepper@redhat.com>
32763
32764 [BZ #11883]
32765 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32766 * posix/fnmatch_loop.c: Likewise.
32767
d22e4cc9
AK
327682010-07-17 Andi Kleen <ak@linux.intel.com>
32769
32770 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32771 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32772 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32773 * Versions.def [GLIBC_2.13]: Add.
32774
805bc17d
UD
327752010-08-06 Ulrich Drepper <drepper@redhat.com>
32776
32777 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32778 Also fail if tpwd after pwuid call is NULL.
32779
5a42321d
ST
327802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32781
32782 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32783 when converting to ms.
32784
fd3ebeda
ST
327852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32786
32787 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32788 EOPNOTSUPP errors with ENOTTY.
32789 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32790 EOPNOTSUPP errors with ENOTTY.
32791
73507d3a
UD
327922010-07-31 Ulrich Drepper <drepper@redhat.com>
32793
32794 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32795 Add strcasecmp_l-ssse3.
32796 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32797 strcasecmp.
32798 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32799 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32800 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32801
fe36dd02
UD
328022010-07-30 Ulrich Drepper <drepper@redhat.com>
32803
66f6765a
UD
32804 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32805
42e08a54
UD
32806 * string/Makefile (strop-tests): Add strcasecmp.
32807 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32808 strcasecmp_l-nonascii.
32809 (gen-as-const-headers): Add locale-defines.sym.
32810 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32811 * sysdeps/x86_64/strcasecmp.S: New file.
32812 * sysdeps/x86_64/strcasecmp_l.S: New file.
32813 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32814 * sysdeps/x86_64/locale-defines.sym: New file.
32815 * string/test-strcasecmp.c: New file.
32816
fe36dd02
UD
32817 * string/test-strcasestr.c: Test both ends of the range of characters.
32818 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32819
48cbc0d6
RM
328202010-07-29 Roland McGrath <roland@redhat.com>
32821
76e6d6bc 32822 [BZ #11856]
48cbc0d6
RM
32823 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32824
880113d9
UD
328252010-07-27 Ulrich Drepper <drepper@redhat.com>
32826
32827 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32828 for ld.so.
32829
deb9cabb
AS
328302010-07-27 Andreas Schwab <schwab@redhat.com>
32831
32832 * manual/memory.texi (Malloc Tunable Parameters): Document
32833 M_PERTURB.
32834
1c7570ff
RM
328352010-07-26 Roland McGrath <roland@redhat.com>
32836
32837 [BZ #11840]
32838 * configure.in (-fgnu89-inline check): Set and substitute
32839 gnu89_inline, not libc_cv_gnu89_inline.
32840 * configure: Regenerated.
32841 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32842
24fb0f88
UD
328432010-07-26 Ulrich Drepper <drepper@redhat.com>
32844
32845 * string/test-strnlen.c: New file.
32846 * string/Makefile (strop-tests): Add strnlen.
32847 * string/tester.c (test_strnlen): Add a few more test cases.
32848 * string/tst-strlen.c: Better error reporting.
32849
32850 * sysdeps/x86_64/strnlen.S: New file.
32851
8e96b93a
UD
328522010-07-24 Ulrich Drepper <drepper@redhat.com>
32853
32854 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32855 lower-latency instructions.
32856
dbc676d4
UD
328572010-07-23 Ulrich Drepper <drepper@redhat.com>
32858
32859 * string/test-strcasestr.c: New file.
32860 * string/test-strstr.c: New file.
32861 * string/Makefile (strop-tests): Add strstr and strcasestr.
32862 * string/str-two-way.h: Don't undefine MAX.
32863 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32864
f6a31e0e
AS
328652010-07-21 Andreas Schwab <schwab@redhat.com>
32866
32867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32868 strcasestr-nonascii.
32869 (CFLAGS-strcasestr-nonascii.c): Define.
32870 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32872 Remove unused attribute.
32873
5dbc3b6c
RM
328742010-07-20 Roland McGrath <roland@redhat.com>
32875
32876 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32877 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32878 ld.so.cache was broken. With it, there is no way to disable dsocaps
32879 like LD_HWCAP_MASK can disable hwcaps.
32880
23d101d8
EPM
328812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32882
32883 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32884
cc9f2e47
UD
328852010-07-16 Ulrich Drepper <drepper@redhat.com>
32886
32887 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32888 call in strcasestr.
32889 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32890 __strcasestr_sse42_nonascii.
32891 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32892 strcasestr-nonascii.c.
32893 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32894
77c1b069
LM
328952010-06-15 Luis Machado <luisgpm@br.ibm.com>
32896
32897 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32898 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32899 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32900 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32901
440566c3
UD
329022010-07-09 Ulrich Drepper <drepper@redhat.com>
32903
32904 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32905 fcntl.
32906
5be9d05d
AS
329072010-07-06 Andreas Schwab <schwab@redhat.com>
32908
c30b7ee2 32909 [BZ #11577]
5be9d05d
AS
32910 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32911 dl_signal_cerror.
32912
8a492a67
UD
329132010-07-06 Ulrich Drepper <drepper@redhat.com>
32914
32915 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32916 _PC_PIPE_BUF using F_GETPIPE_SZ.
32917
713df3d5
RM
329182010-07-05 Roland McGrath <roland@redhat.com>
32919
32920 * manual/arith.texi (Rounding Functions): Fix rint description
32921 implicit in round description.
32922
702e8f14
UD
329232010-07-02 Ulrich Drepper <drepper@redhat.com>
32924
32925 * elf/Makefile: Fix linking for a few tests to make recent linker
32926 happy.
32927
52ed8be9
AS
329282010-06-30 Andreas Schwab <schwab@redhat.com>
32929
32930 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32931 $(common-objpfx)libc_nonshared.a.
32932
f47c9a11
LM
329332010-06-21 Luis Machado <luisgpm@br.ibm.com>
32934
32935 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32936 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32937 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32938 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32939 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32940 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32941 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32942 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32957 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32958 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32959 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32960 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32961 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32962 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32963 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32964 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32965 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32966 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32967 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32968 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32983
6fb8cbcb
L
329842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32985
32986 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32987 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32988 * string/memmove.c (memmove): Renamed to ...
32989 (MEMMOVE): ...this. Default to memmove.
32990 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32991 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32992 (END_CHK): Define.
32993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32994 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32995 mempcpy-ssse3-back memmove-ssse3-back.
32996 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32999 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33000 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33001 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33002 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33003 * sysdeps/x86_64/multiarch/memmove.c: New file.
33004 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33005 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33006 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33007 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33008 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33009 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33010 Define.
33011 (index_Fast_Copy_Backward): Define.
33012 (HAS_ARCH_FEATURE): Define.
33013 (HAS_FAST_REP_STRING): Define.
33014 (HAS_FAST_COPY_BACKWARD): Define.
33015
4e733bac 330162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33017
33018 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33019 Restore proper fallback handling.
33020
63c4ed22
UD
330212010-06-19 Ulrich Drepper <drepper@redhat.com>
33022
ac2b484c
UD
33023 [BZ #11701]
33024 * posix/group_member.c (__group_member): Correct checking loop.
33025
63c4ed22
UD
33026 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33027 OOM in getpwuid_r correctly. Return error number when the caller
33028 should return, otherwise -1.
33029 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33030 call returning > 0 value.
33031 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33032
765ade4b
AS
330332010-06-07 Andreas Schwab <schwab@redhat.com>
33034
33035 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33036 libc_nonshared.a from targets in modules-names.
33037
80da2e09
KS
330382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33039
33040 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33041 requires it.
33042
158db122
LM
330432010-06-10 Luis Machado <luisgpm@br.ibm.com>
33044
33045 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33046 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33049
caa78cf8
AS
330502010-06-02 Andreas Schwab <schwab@redhat.com>
33051
33052 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33053
b2ef2c01
UD
330542010-06-14 Ulrich Drepper <drepper@redhat.com>
33055
33056 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33057 and F_GETPIPE_SZ.
33058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33063 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33064
fbd643b6
RM
330652010-06-14 Roland McGrath <roland@redhat.com>
33066
33067 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33068
f32f2869
JJ
330692010-06-07 Jakub Jelinek <jakub@redhat.com>
33070
33071 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33072 __REDIRECT followed by __THROW.
33073 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33074 * posix/getopt.h (getopt): Likewise.
33075
2a50c078
EPM
330762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33077
33078 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33079 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33080 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33081 in AT_FLAGS.
33082 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33083 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33084
eb5ad2eb
LM
330852010-05-28 Luis Machado <luisgpm@br.ibm.com>
33086
33087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33088
3c88fe1e
L
330892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33090
33091 [BZ #11640]
33092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33093 Properly check family and model.
33094
d2f73151
TY
330952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33096
33097 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33098
ebd2e13d
LM
330992010-05-24 Luis Machado <luisgpm@br.ibm.com>
33100
33101 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33102
b32b8b45
UD
331032010-05-21 Ulrich Drepper <drepper@redhat.com>
33104
33105 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33106 symbol reference.
33107
9acbe24d
AS
331082010-05-19 Andreas Schwab <schwab@redhat.com>
33109
33110 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33111 symbol reference.
33112
f0ccf6ea
AS
331132010-05-21 Andreas Schwab <schwab@redhat.com>
33114
3d04ff3a
AS
33115 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33116 and internal_recvmmsg.
33117 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33118 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33119 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33120 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33121
f0ccf6ea
AS
33122 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33123 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33124 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33125
5b08ac57
AS
331262010-05-20 Andreas Schwab <schwab@redhat.com>
33127
33128 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33129
4828935d
LM
331302010-05-17 Luis Machado <luisgpm@br.ibm.com>
33131
33132 POWER7 optimizations.
33133 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33134 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33135
373d545e
UD
331362010-05-19 Ulrich Drepper <drepper@redhat.com>
33137
33138 * version.h: Update for 2.13 development version.
33139
21a2b1ae
AS
331402010-05-12 Andrew Stubbs <ams@codesourcery.com>
33141
33142 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33143 exceptions. Return 0.
33144
3f7dcb2b
RM
331452010-05-07 Roland McGrath <roland@redhat.com>
33146
33147 * elf/ldconfig.c (main): Add a const.
33148
5f24d53a 331492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33150
a160f8d8
UD
33151 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33152 (args_options): Add no-idn option.
33153 (ahosts_keys_int): Add idn_flags to ai_flags.
33154 (parse_option): Handle 'i' option to clear idn_flags.
33155
5f24d53a
UD
33156 * malloc/malloc.c (_int_free): Possible race in the most recently
33157 added check. Only act on the data if no current modification
33158 happened.
265bb1ce
UD
33159
33160See ChangeLog.17 for earlier changes.